-
Notifications
You must be signed in to change notification settings - Fork 65
/
Makefile
562 lines (428 loc) · 16.6 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
# The olsr.org Optimized Link-State Routing daemon (olsrd)
#
# (c) by the OLSR project
#
# See our Git repository to find out who worked on this file
# and thus is a copyright holder on it.
#
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
# * Neither the name of olsr.org, olsrd nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# Visit http://www.olsr.org for more information.
#
# If you find this software useful feel free to make a donation
# to the project. For more information see the website or contact
# the copyright holders.
#
# Please also write a new version to:
# gui/win32/Main/Frontend.rc (line 71, around "CAPTION [...]")
# gui/win32/Inst/installer.nsi (line 57, around "MessageBox MB_YESNO [...]")
VERS = pre-0.9.9
TOPDIR = $(shell pwd)
INSTALLOVERWRITE ?=
include Makefile.inc
# pass generated variables to save time
MAKECMD = $(MAKE) OS="$(OS)" WARNINGS="$(WARNINGS)" VERBOSE="$(VERBOSE)" SANITIZE_ADDRESS="$(SANITIZE_ADDRESS)"
LIBS += $(OS_LIB_DYNLOAD)
ifeq ($(OS), win32)
LDFLAGS += -Wl,--out-implib=libolsrd.a
LDFLAGS += -Wl,--export-all-symbols
endif
SWITCHDIR = src/olsr_switch
CFGDIR = src/cfgparser
include $(CFGDIR)/local.mk
TAG_SRCS = $(SRCS) $(HDRS) $(sort $(wildcard $(CFGDIR)/*.[ch] $(SWITCHDIR)/*.[ch]))
SGW_SUPPORT = 0
ifeq ($(OS),linux)
SGW_SUPPORT = 1
endif
ifeq ($(OS),android)
SGW_SUPPORT = 1
endif
.PHONY: default_target switch
default_target: $(EXENAME)
ANDROIDREGEX=
ifeq ($(OS),android)
# On Android Google forgot to include regex engine code for Froyo version (but also there was
# no support in older versions for it) so we have here this missing code.
# http://groups.google.com/group/android-ndk/browse_thread/thread/5ea6f0650f0e3fc
CFLAGS += -D__POSIX_VISIBLE
ANDROIDREGEX=$(REGEX_LIB)
endif
$(EXENAME): $(OBJS) $(ANDROIDREGEX) src/builddata.o
ifeq ($(VERBOSE),0)
@echo "[LD] $@"
endif
$(MAKECMDPREFIX)$(CC) $(LDFLAGS) -lm -o $@ $^ $(LIBS)
cfgparser: $(CFGDEPS) src/builddata.o
$(MAKECMDPREFIX)$(MAKECMD) -C $(CFGDIR)
switch:
$(MAKECMDPREFIX)$(MAKECMD) -C $(SWITCHDIR)
# generate it always
.PHONY: builddata.txt
builddata.txt:
$(MAKECMDPREFIX)./make/hash_source.sh "$@" "$(VERS)" "$(VERBOSE)"
# only overwrite it when it doesn't exists or when it has changed
src/builddata.c: builddata.txt
$(MAKECMDPREFIX)if [ ! -f "$@" ] || [ -n "$$(diff "$<" "$@")" ]; then cp -p "$<" "$@"; fi
.PHONY: help libs clean_libs libs_clean clean distclean uberclean install_libs uninstall_libs libs_install libs_uninstall install_bin uninstall_bin install_olsrd uninstall_olsrd install uninstall build_all install_all uninstall_all clean_all gui clean_gui cfgparser_install cfgparser_clean
clean:
-rm -f $(OBJS) $(SRCS:%.c=%.d) $(EXENAME) $(EXENAME).exe src/builddata.c $(TMPFILES)
-rm -f libolsrd.a
-rm -f olsr_switch.exe
-rm -f gui/win32/Main/olsrd_cfgparser.lib
-rm -f olsr-setup.exe
-rm -fr gui/win32/Main/Release
-rm -fr gui/win32/Shim/Release
gui:
ifeq ($(OS),linux)
$(MAKECMDPREFIX)$(MAKECMD) -C gui/linux-gtk all
else
@echo "target gui not supported on $(OS)"
@exit 1
endif
clean_gui:
$(MAKECMDPREFIX)$(MAKECMD) -C gui/linux-gtk clean
distclean: uberclean
uberclean: clean clean_libs clean_gui
-rm -f $(TAGFILE)
# BSD-xargs has no "--no-run-if-empty" aka "-r"
find . \( -name '*.[od]' -o -name '*~' \) -not -path "*/.hg*" -type f -print0 | xargs -0 rm -f
$(MAKECMDPREFIX)$(MAKECMD) -C $(SWITCHDIR) clean
$(MAKECMDPREFIX)$(MAKECMD) -C $(CFGDIR) clean
$(MAKECMDPREFIX)rm -f builddata.txt
install: install_olsrd
uninstall: uninstall_olsrd
cfgparser_install: cfgparser
$(MAKECMDPREFIX)$(MAKECMD) -C $(CFGDIR) install
cfgparser_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C $(CFGDIR) clean
install_bin:
mkdir -p $(SBINDIR)
install -m 755 $(EXENAME) $(SBINDIR)
$(STRIP) $(SBINDIR)/$(EXENAME)
ifeq ($(SGW_SUPPORT),1)
$(MAKECMDPREFIX)if [ -e $(SBINDIR)/$(SGW_POLICY_SCRIPT) ]; then \
cp -f files/$(SGW_POLICY_SCRIPT) $(SBINDIR)/$(SGW_POLICY_SCRIPT).new; \
echo "Policy routing script was saved as $(SBINDIR)/$(SGW_POLICY_SCRIPT).new"; \
else \
cp -f files/$(SGW_POLICY_SCRIPT) $(SBINDIR)/$(SGW_POLICY_SCRIPT); \
fi
endif
uninstall_bin:
rm -f $(SBINDIR)/$(EXENAME)
rmdir -p $(SBINDIR) || true
install_olsrd: install_bin
@echo ========= C O N F I G U R A T I O N - F I L E ============
@echo $(EXENAME) uses the configfile $(CFGFILE)
@echo a default configfile. A sample RFC-compliance aimed
@echo configfile can be found in olsrd.conf.default.rfc.
@echo However none of the larger OLSRD using networks use that
@echo so install a configfile with activated link quality exstensions
@echo per default.
@echo can be found at files/olsrd.conf.default.lq
@echo ==========================================================
mkdir -p $(ETCDIR)
$(MAKECMDPREFIX)if [ -e $(CFGFILE) ]; then \
cp -f files/olsrd.conf.default.lq $(CFGFILE).new; \
echo "Configuration file was saved as $(CFGFILE).new"; \
else \
cp -f files/olsrd.conf.default.lq $(CFGFILE); \
fi
@echo -------------------------------------------
@echo Edit $(CFGFILE) before running olsrd!!
@echo -------------------------------------------
@echo Installing manpages $(EXENAME)\(8\) and $(CFGNAME)\(5\)
ifneq ($(MANDIR),)
mkdir -p $(MANDIR)/man8/
cp files/olsrd.8.gz $(MANDIR)/man8/$(EXENAME).8.gz
mkdir -p $(MANDIR)/man5/
cp files/olsrd.conf.5.gz $(MANDIR)/man5/$(CFGNAME).5.gz
endif
ifneq ($(RCDIR),)
cp $(RCFILE) $(RCDIR)/olsrd
endif
ifneq ($(DOCDIR_OLSRD),)
mkdir -p "$(DOCDIR_OLSRD)"
cp -t "$(DOCDIR_OLSRD)" "CHANGELOG" "README-Olsr-Extensions" \
"README-LINUX_NL80211.txt" "files/olsrd.conf.default" \
"files/olsrd.conf.default.txt" "license.txt"
endif
uninstall_olsrd: uninstall_bin
ifneq ($(DOCDIR_OLSRD),)
rm -f "$(DOCDIR_OLSRD)/CHANGELOG" "$(DOCDIR_OLSRD)/README-Olsr-Extensions" \
"$(DOCDIR_OLSRD)/README-LINUX_NL80211.txt" "$(DOCDIR_OLSRD)/olsrd.conf.default" \
"$(DOCDIR_OLSRD)/olsrd.conf.default.txt" "$(DOCDIR_OLSRD)/license.txt"
rmdir -p --ignore-fail-on-non-empty "$(DOCDIR_OLSRD)"
endif
ifneq ($(MANDIR),)
rm -f $(MANDIR)/man5/$(CFGNAME).5.gz
rmdir -p $(MANDIR)/man5/ || true
rm -f $(MANDIR)/man8/$(EXENAME).8.gz
rmdir -p $(MANDIR)/man8/ || true
endif
rm -f $(CFGFILE) $(CFGFILE).new
rmdir -p $(ETCDIR) || true
ifneq ($(RCDIR),)
rm -f $(RCDIR)/olsrd
rmdir -p $(RCDIR) || true
endif
tags:
$(TAGCMD) -o $(TAGFILE) $(TAG_SRCS)
rpm:
$(MAKECMDPREFIX)$(MAKECMD) -C redhat
#
# PLUGINS
#
# This is quite ugly but at least it works
ifeq ($(OS),linux)
SUBDIRS := arprefresh bmf dot_draw dyn_gw dyn_gw_plain filtergw httpinfo info jsoninfo mdns mini nameservice netjson poprouting p2pd pgraph pud quagga secure sgwdynspeed txtinfo watchdog
else
ifeq ($(OS),win32)
SUBDIRS := dot_draw httpinfo info jsoninfo mini netjson pgraph secure txtinfo
else
ifeq ($(OS),android)
SUBDIRS := arprefresh bmf dot_draw dyn_gw dyn_gw_plain httpinfo info jsoninfo mdns mini nameservice netjson p2pd pgraph secure sgwdynspeed txtinfo watchdog
else
SUBDIRS := dot_draw httpinfo info jsoninfo mini nameservice netjson pgraph secure txtinfo watchdog
endif
endif
endif
libs:
$(MAKECMDPREFIX)set -e;for dir in $(SUBDIRS);do $(MAKECMD) -C lib/$$dir LIBDIR=$(LIBDIR);done
libs_clean clean_libs:
-for dir in $(SUBDIRS);do $(MAKECMD) -C lib/$$dir LIBDIR=$(LIBDIR) clean;rm -f lib/$$dir/*.so lib/$$dir/*.dll;done
libs_install install_libs:
$(MAKECMDPREFIX)set -e;for dir in $(SUBDIRS);do $(MAKECMD) -C lib/$$dir LIBDIR=$(LIBDIR) install;done
libs_uninstall uninstall_libs:
$(MAKECMDPREFIX)set -e;for dir in $(SUBDIRS);do $(MAKECMD) -C lib/$$dir LIBDIR=$(LIBDIR) uninstall;done
rmdir -p $(LIBDIR) || true
#
# DOCUMENTATION
#
.PHONY: doc doc_clean
doc:
$(MAKECMDPREFIX)$(MAKECMD) -C doc OS=$(OS)
doc-pdf:
$(MAKECMDPREFIX)$(MAKECMD) -C doc-pdf OS=$(OS)
doc_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C doc OS=$(OS) clean
#
# PLUGINS
#
arprefresh:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/arprefresh
arprefresh_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/arprefresh DESTDIR=$(DESTDIR) clean
arprefresh_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/arprefresh DESTDIR=$(DESTDIR) install
arprefresh_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/arprefresh DESTDIR=$(DESTDIR) uninstall
bmf:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/bmf
bmf_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/bmf DESTDIR=$(DESTDIR) clean
bmf_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/bmf DESTDIR=$(DESTDIR) install
bmf_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/bmf DESTDIR=$(DESTDIR) uninstall
dot_draw:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/dot_draw
dot_draw_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/dot_draw DESTDIR=$(DESTDIR) clean
dot_draw_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/dot_draw DESTDIR=$(DESTDIR) install
dot_draw_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/dot_draw DESTDIR=$(DESTDIR) uninstall
dyn_gw:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/dyn_gw
dyn_gw_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/dyn_gw DESTDIR=$(DESTDIR) clean
dyn_gw_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/dyn_gw DESTDIR=$(DESTDIR) install
dyn_gw_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/dyn_gw DESTDIR=$(DESTDIR) uninstall
dyn_gw_plain:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/dyn_gw_plain
dyn_gw_plain_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/dyn_gw_plain DESTDIR=$(DESTDIR) clean
dyn_gw_plain_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/dyn_gw_plain DESTDIR=$(DESTDIR) install
dyn_gw_plain_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/dyn_gw_plain DESTDIR=$(DESTDIR) uninstall
filtergw:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/filtergw
filtergw_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/filtergw DESTDIR=$(DESTDIR) clean
filtergw_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/filtergw DESTDIR=$(DESTDIR) install
filtergw_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/filtergw DESTDIR=$(DESTDIR) uninstall
httpinfo:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/httpinfo
httpinfo_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/httpinfo DESTDIR=$(DESTDIR) clean
httpinfo_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/httpinfo DESTDIR=$(DESTDIR) install
httpinfo_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/httpinfo DESTDIR=$(DESTDIR) uninstall
info:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/info
info_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/info DESTDIR=$(DESTDIR) clean
info_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/info DESTDIR=$(DESTDIR) install
info_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/info DESTDIR=$(DESTDIR) uninstall
info_java:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/info.java
info_java_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/info.java DESTDIR=$(DESTDIR) clean
info_java_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/info.java DESTDIR=$(DESTDIR) install
info_java_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/info.java DESTDIR=$(DESTDIR) uninstall
jsoninfo: info
$(MAKECMDPREFIX)$(MAKECMD) -C lib/jsoninfo
jsoninfo_clean: info_clean
$(MAKECMDPREFIX)$(MAKECMD) -C lib/jsoninfo DESTDIR=$(DESTDIR) clean
jsoninfo_install: info_install
$(MAKECMDPREFIX)$(MAKECMD) -C lib/jsoninfo DESTDIR=$(DESTDIR) install
jsoninfo_uninstall: info_uninstall
$(MAKECMDPREFIX)$(MAKECMD) -C lib/jsoninfo DESTDIR=$(DESTDIR) uninstall
mdns:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/mdns
mdns_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/mdns DESTDIR=$(DESTDIR) clean
mdns_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/mdns DESTDIR=$(DESTDIR) install
mdns_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/mdns DESTDIR=$(DESTDIR) uninstall
#
# no targets for mini: it's an example plugin
#
nameservice:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/nameservice clean
$(MAKECMDPREFIX)$(MAKECMD) -C lib/nameservice
nameservice_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/nameservice DESTDIR=$(DESTDIR) clean
nameservice_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/nameservice DESTDIR=$(DESTDIR) install
nameservice_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/nameservice DESTDIR=$(DESTDIR) uninstall
netjson: info
$(MAKECMDPREFIX)$(MAKECMD) -C lib/netjson
netjson_clean: info_clean
$(MAKECMDPREFIX)$(MAKECMD) -C lib/netjson DESTDIR=$(DESTDIR) clean
netjson_install: info_install
$(MAKECMDPREFIX)$(MAKECMD) -C lib/netjson DESTDIR=$(DESTDIR) install
netjson_uninstall: info_uninstall
$(MAKECMDPREFIX)$(MAKECMD) -C lib/netjson DESTDIR=$(DESTDIR) uninstall
poprouting: info
$(MAKECMDPREFIX)$(MAKECMD) -C lib/poprouting
poprouting_clean: info_clean
$(MAKECMDPREFIX)$(MAKECMD) -C lib/poprouting DESTDIR=$(DESTDIR) clean
poprouting_install: info_install
$(MAKECMDPREFIX)$(MAKECMD) -C lib/poprouting DESTDIR=$(DESTDIR) install
poprouting_uninstall: info_uninstall
$(MAKECMDPREFIX)$(MAKECMD) -C lib/poprouting DESTDIR=$(DESTDIR) uninstall
p2pd:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/p2pd
p2pd_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/p2pd DESTDIR=$(DESTDIR) clean
p2pd_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/p2pd DESTDIR=$(DESTDIR) install
p2pd_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/p2pd DESTDIR=$(DESTDIR) uninstall
pgraph:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/pgraph
pgraph_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/pgraph DESTDIR=$(DESTDIR) clean
pgraph_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/pgraph DESTDIR=$(DESTDIR) install
pgraph_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/pgraph DESTDIR=$(DESTDIR) uninstall
pud:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/pud
pud_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/pud DESTDIR=$(DESTDIR) clean
pud_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/pud DESTDIR=$(DESTDIR) install
pud_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/pud DESTDIR=$(DESTDIR) uninstall
pud_java: pud
$(MAKECMDPREFIX)$(MAKECMD) -C lib/pud DESTDIR=$(DESTDIR) java
pud_java_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/pud DESTDIR=$(DESTDIR) java-install
pud_java_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/pud DESTDIR=$(DESTDIR) java-uninstall
quagga:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/quagga
quagga_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/quagga DESTDIR=$(DESTDIR) clean
quagga_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/quagga DESTDIR=$(DESTDIR) install
quagga_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/quagga DESTDIR=$(DESTDIR) uninstall
secure:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/secure
secure_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/secure DESTDIR=$(DESTDIR) clean
secure_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/secure DESTDIR=$(DESTDIR) install
secure_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/secure DESTDIR=$(DESTDIR) uninstall
sgwdynspeed:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/sgwdynspeed
sgwdynspeed_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/sgwdynspeed DESTDIR=$(DESTDIR) clean
sgwdynspeed_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/sgwdynspeed DESTDIR=$(DESTDIR) install
sgwdynspeed_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/sgwdynspeed DESTDIR=$(DESTDIR) uninstall
txtinfo: info
$(MAKECMDPREFIX)$(MAKECMD) -C lib/txtinfo
txtinfo_clean: info_clean
$(MAKECMDPREFIX)$(MAKECMD) -C lib/txtinfo DESTDIR=$(DESTDIR) clean
txtinfo_install: info_install
$(MAKECMDPREFIX)$(MAKECMD) -C lib/txtinfo DESTDIR=$(DESTDIR) install
txtinfo_uninstall: info_uninstall
$(MAKECMDPREFIX)$(MAKECMD) -C lib/txtinfo DESTDIR=$(DESTDIR) uninstall
watchdog:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/watchdog
watchdog_clean:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/watchdog DESTDIR=$(DESTDIR) clean
watchdog_install:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/watchdog DESTDIR=$(DESTDIR) install
watchdog_uninstall:
$(MAKECMDPREFIX)$(MAKECMD) -C lib/watchdog DESTDIR=$(DESTDIR) uninstall
build_all: all switch libs
install_all: install install_libs
uninstall_all: uninstall uninstall_libs
clean_all: uberclean clean_libs