runit/chpst: "change process state" utility
[oweals/busybox.git] / Makefile
1 # Makefile for busybox
2 #
3 # Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
4 #
5 # Licensed under GPLv2, see the file LICENSE in this tarball for details.
6 #
7
8 # You shouldn't have to edit anything in this file for configuration
9 # purposes, try "make help" or read http://busybox.net/FAQ.html.
10
11 .PHONY: dummy subdirs release distclean clean config oldconfig menuconfig \
12         tags check test depend dep buildtree hosttools _all checkhelp \
13         sizes bloatcheck baseline objsizes
14
15 noconfig_targets := menuconfig config oldconfig randconfig hosttools \
16         defconfig allyesconfig allnoconfig allbareconfig \
17         clean distclean help \
18         release tags
19
20 nocheck_targets := clean distclean help release tags
21
22 # the toplevel sourcedir
23 ifndef top_srcdir
24 top_srcdir=$(CURDIR)
25 endif
26 # toplevel directory of the object-tree
27 ifndef top_builddir
28 top_builddir=$(CURDIR)
29 endif
30
31 export srctree=$(top_srcdir)
32 vpath %/Config.in $(srctree)
33
34 DIRS:=applets archival archival/libunarchive coreutils console-tools \
35         debianutils editors findutils init miscutils modutils networking \
36         networking/libiproute networking/udhcp procps loginutils shell \
37         sysklogd util-linux e2fsprogs libpwdgrp coreutils/libcoreutils \
38         runit libbb
39
40 SRC_DIRS:=$(patsubst %,$(top_srcdir)/%,$(DIRS))
41
42 # That's our default target when none is given on the command line
43 _all:
44
45 CONFIG_CONFIG_IN = $(top_srcdir)/Config.in
46
47 ifeq ($(BUILD_SRC),)
48 ifdef O
49   ifeq ("$(origin O)", "command line")
50     BUILD_OUTPUT := $(O)
51     top_builddir := $(O)
52   endif
53 else
54 # If no alternate output-dir was specified, we build in cwd
55 # We are using BUILD_OUTPUT nevertheless to make sure that we create
56 # Rules.mak and the toplevel Makefile, in case they don't exist.
57   BUILD_OUTPUT := $(top_builddir)
58 endif
59
60 # see if we are in verbose mode
61 BUILD_VERBOSE :=
62 ifdef V
63   ifeq ("$(origin V)", "command line")
64     BUILD_VERBOSE := $(V)
65   endif
66 endif
67 ifdef VERBOSE
68   ifeq ("$(origin VERBOSE)", "command line")
69     BUILD_VERBOSE := $(VERBOSE)
70   endif
71 endif
72
73 ifneq ($(strip $(BUILD_VERBOSE)),)
74   export BUILD_VERBOSE
75   CHECK_VERBOSE := -v
76 # ARFLAGS+=v
77 endif
78
79 ifneq ($(strip $(HAVE_DOT_CONFIG)),y)
80 # pull in settings early
81 -include $(top_srcdir)/Rules.mak
82 endif
83
84 # All object directories.
85 OBJ_DIRS := $(DIRS)
86 all_tree := $(patsubst %,$(top_builddir)/%,$(OBJ_DIRS) scripts scripts/config include)
87 all_tree: $(all_tree)
88 $(all_tree):
89         @mkdir -p "$@"
90
91 ifneq ($(BUILD_OUTPUT),)
92 # Invoke a second make in the output directory, passing relevant variables
93 # Check that the output directory actually exists
94 saved-output := $(BUILD_OUTPUT)
95 BUILD_OUTPUT := $(shell cd $(BUILD_OUTPUT) && /bin/pwd)
96 $(if $(wildcard $(BUILD_OUTPUT)),, \
97      $(error output directory "$(saved-output)" does not exist))
98
99 .PHONY: $(MAKECMDGOALS)
100
101 $(filter-out _all,$(MAKECMDGOALS)) _all: $(BUILD_OUTPUT)/Rules.mak $(BUILD_OUTPUT)/Makefile all_tree
102         $(Q)$(MAKE) -C $(BUILD_OUTPUT) \
103         top_srcdir=$(top_srcdir) \
104         top_builddir=$(top_builddir) \
105         BUILD_SRC=$(top_srcdir) \
106         -f $(CURDIR)/Makefile $@
107
108 $(BUILD_OUTPUT)/Rules.mak:
109         @echo > $@
110         @echo top_srcdir=$(top_srcdir) >> $@
111         @echo top_builddir=$(BUILD_OUTPUT) >> $@
112         @echo include $(top_srcdir)/Rules.mak >> $@
113
114 $(BUILD_OUTPUT)/Makefile:
115         @echo > $@
116         @echo top_srcdir=$(top_srcdir) >> $@
117         @echo top_builddir=$(BUILD_OUTPUT) >> $@
118         @echo BUILD_SRC='$$(top_srcdir)' >> $@
119         @echo include '$$(BUILD_SRC)'/Makefile >> $@
120
121 # Leave processing to above invocation of make
122 skip-makefile := 1
123 endif # ifneq ($(BUILD_OUTPUT),)
124 endif # ifeq ($(BUILD_SRC),)
125
126 ifeq ($(skip-makefile),)
127
128 # We only need a copy of the Makefile for the config targets and reuse
129 # the rest from the source directory, i.e. we do not cp ALL_MAKEFILES.
130 scripts/config/Makefile: $(top_srcdir)/scripts/config/Makefile
131         cp $< $@
132
133 _all: all
134
135 help:
136         @echo 'Cleaning:'
137         @echo '  clean                  - delete temporary files created by build'
138         @echo '  distclean              - delete all non-source files (including .config)'
139         @echo
140         @echo 'Build:'
141         @echo '  all                    - Executable and documentation'
142         @echo '  busybox                - the swiss-army executable'
143         @echo '  doc                    - docs/BusyBox.{txt,html,1}'
144         @echo '  html                   - create html-based cross-reference'
145         @echo
146         @echo 'Configuration:'
147         @echo '  allnoconfig            - disable all symbols in .config'
148         @echo '  allyesconfig           - enable all symbols in .config (see defconfig)'
149         @echo '  allbareconfig          - enable all applets without any sub-features'
150         @echo '  config         - text based configurator (of last resort)'
151         @echo '  defconfig              - set .config to largest generic configuration'
152         @echo '  menuconfig             - interactive curses-based configurator'
153         @echo '  oldconfig              - resolve any unresolved symbols in .config'
154         @echo '  hosttools              - build sed for the host.'
155         @echo '                           You can use these commands if the commands on the host'
156         @echo '                           is unusable. Afterwards use it like:'
157         @echo '                   make SED="$(top_builddir)/sed"'
158         @echo
159         @echo 'Installation:'
160         @echo '  install                - install busybox into $(PREFIX)'
161         @echo '  uninstall'
162         @echo
163         @echo 'Development:'
164         @echo '  baseline               - create busybox_old for bloatcheck.'
165         @echo '  bloatcheck             - show size difference between old and new versions'
166         @echo '  check                  - run the test suite for all applets'
167         @echo '  checkhelp              - check for missing help-entries in Config.in'
168         @echo '  randconfig             - generate a random configuration'
169         @echo '  release                - create a distribution tarball'
170         @echo '  sizes                  - show size of all enabled busybox symbols'
171         @echo '  objsizes               - show size of each .o object built'
172         @echo
173
174
175 include $(top_srcdir)/Rules.mak
176
177 ifneq ($(strip $(HAVE_DOT_CONFIG)),y)
178
179 # Default target if none was requested explicitly
180 all: menuconfig
181
182 # warn if no configuration exists and we are asked to build a non-config target
183 .config:
184         @echo ""
185         @echo "No $(top_builddir)/$@ found!"
186         @echo "Please refer to 'make  help', section Configuration."
187         @echo ""
188         @exit 1
189
190 # configuration
191 # ---------------------------------------------------------------------------
192
193 scripts/config/conf: scripts/config/Makefile
194         $(Q)$(MAKE) -C scripts/config conf
195         -@if [ ! -f .config ] ; then \
196                 touch .config; \
197         fi
198
199 scripts/config/mconf: scripts/config/Makefile
200         $(Q)$(MAKE) -C scripts/config ncurses conf mconf
201         -@if [ ! -f .config ] ; then \
202                 touch .config; \
203         fi
204
205 menuconfig: scripts/config/mconf
206         @[ -f .config ] || $(MAKE) $(MAKEFLAGS) defconfig
207         @./scripts/config/mconf $(CONFIG_CONFIG_IN)
208
209 config: scripts/config/conf
210         @./scripts/config/conf $(CONFIG_CONFIG_IN)
211
212 oldconfig: scripts/config/conf
213         @./scripts/config/conf -o $(CONFIG_CONFIG_IN)
214
215 randconfig: scripts/config/conf
216         @./scripts/config/conf -r $(CONFIG_CONFIG_IN)
217
218 allyesconfig: scripts/config/conf
219         @./scripts/config/conf -y $(CONFIG_CONFIG_IN) > /dev/null
220
221 allnoconfig: scripts/config/conf
222         @./scripts/config/conf -n $(CONFIG_CONFIG_IN) > /dev/null
223
224 # defconfig is allyesconfig minus any features that are specialized enough
225 # or cause enough behavior change that the user really should switch them on
226 # manually if that's what they want.  Sort of "maximum sane config".
227
228 defconfig: scripts/config/conf
229         @./scripts/config/conf -y $(CONFIG_CONFIG_IN) > /dev/null
230         @$(SED) -i -r -e "s/^(CONFIG_(DEBUG.*|STATIC|SELINUX|NITPICK|BUILD_(AT_ONCE|LIBBUSYBOX)|FEATURE_(DEVFS|FULL_LIBBUSYBOX|SHARED_BUSYBOX|MTAB_SUPPORT|CLEAN_UP|UDHCP_DEBUG)|INSTALL_NO_USR))=.*/# \1 is not set/" .config
231         @./scripts/config/conf -o $(CONFIG_CONFIG_IN) > /dev/null
232
233
234 allbareconfig: scripts/config/conf
235         @./scripts/config/conf -y $(CONFIG_CONFIG_IN) > /dev/null
236         @$(SED) -i -r -e "s/^(CONFIG_(DEBUG|STATIC|SELINUX|DEVFSD|NC_GAPING_SECURITY_HOLE|BUILD_AT_ONCE)).*/# \1 is not set/" .config
237         @$(SED) -i -e "/FEATURE/s/=.*//;/^[^#]/s/.*FEATURE.*/# \0 is not set/;" .config
238         @echo "CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y" >> .config
239         @yes n | ./scripts/config/conf -o $(CONFIG_CONFIG_IN) > /dev/null
240
241 hosttools:
242         $(Q)cp .config .config.bak || noold=yea
243         $(Q)$(MAKE) CC="$(HOSTCC)" CFLAGS="$(HOSTCFLAGS) $(INCS)" allnoconfig
244         $(Q)mv .config .config.in
245         $(Q)(grep -v CONFIG_SED .config.in ; \
246          echo "CONFIG_SED=y" ; ) > .config
247         $(Q)$(MAKE) CC="$(HOSTCC)" CFLAGS="$(HOSTCFLAGS) $(INCS)" oldconfig include/bb_config.h
248         $(Q)$(MAKE) CC="$(HOSTCC)" CFLAGS="$(HOSTCFLAGS) $(INCS)" busybox
249         $(Q)[ -f .config.bak ] && mv .config.bak .config || rm .config
250         mv busybox sed
251         @echo "Now do: $(MAKE) SED=$(top_builddir)/sed <target>"
252
253 else # ifneq ($(strip $(HAVE_DOT_CONFIG)),y)
254
255 all: busybox busybox.links doc
256
257 # In this section, we need .config
258 -include $(top_builddir)/.config.cmd
259 include $(patsubst %,%/Makefile.in, $(SRC_DIRS))
260
261 endif # ifneq ($(strip $(HAVE_DOT_CONFIG)),y)
262
263 -include $(top_builddir)/.config
264 -include $(top_builddir)/.depend
265
266
267 ifeq ($(strip $(CONFIG_BUILD_AT_ONCE)),y)
268 libraries-y:=
269 # Which parts of the internal libs are requested?
270 # Per default we only want what was actually selected.
271 # -a denotes all while -y denotes the selected ones.
272 ifeq ($(strip $(CONFIG_FEATURE_FULL_LIBBUSYBOX)),y)
273 LIBRARY_DEFINE:=$(LIBRARY_DEFINE-a)
274 LIBRARY_SRC   :=$(LIBRARY_SRC-a)
275 else # CONFIG_FEATURE_FULL_LIBBUSYBOX
276 LIBRARY_DEFINE:=$(LIBRARY_DEFINE-y)
277 LIBRARY_SRC   :=$(LIBRARY_SRC-y)
278 endif # CONFIG_FEATURE_FULL_LIBBUSYBOX
279 APPLET_SRC:=$(APPLET_SRC-y)
280 APPLETS_DEFINE:=$(APPLETS_DEFINE-y)
281 else  # CONFIG_BUILD_AT_ONCE
282 APPLET_SRC:=
283 # no --combine, build archives out of the individual .o
284 # This was the old way the binary was built.
285 libbusybox-obj:=archival/libunarchive/libunarchive.a \
286         networking/libiproute/libiproute.a \
287         libpwdgrp/libpwdgrp.a \
288         coreutils/libcoreutils/libcoreutils.a \
289         libbb/libbb.a
290 libbusybox-obj:=$(patsubst %,$(top_builddir)/%,$(libbusybox-obj))
291
292 ifeq ($(strip $(CONFIG_FEATURE_SHARED_BUSYBOX)),y)
293 # linking against libbusybox, so don't build the .a already contained in the .so
294 libraries-y:=$(filter-out $(libbusybox-obj),$(libraries-y))
295 endif # CONFIG_FEATURE_SHARED_BUSYBOX
296 endif # CONFIG_BUILD_AT_ONCE
297
298
299 ifeq ($(strip $(CONFIG_BUILD_LIBBUSYBOX)),y)
300 LD_LIBBUSYBOX:=libbusybox.so
301 LIBBUSYBOX_SONAME:=$(LD_LIBBUSYBOX).$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL_VERSION)
302 DO_INSTALL_LIBS:=$(LD_LIBBUSYBOX) \
303         $(LD_LIBBUSYBOX).$(MAJOR_VERSION) \
304         $(LD_LIBBUSYBOX).$(MAJOR_VERSION).$(MINOR_VERSION)
305 endif # CONFIG_BUILD_LIBBUSYBOX
306
307 ifeq ($(strip $(CONFIG_BUILD_AT_ONCE)),y)
308 ifneq ($(strip $(CONFIG_FEATURE_SHARED_BUSYBOX)),y)
309 # --combine but not linking against libbusybox, so compile all
310 BUSYBOX_SRC   := $(LIBRARY_SRC)
311 BUSYBOX_DEFINE:= $(LIBRARY_DEFINE)
312 endif # !CONFIG_FEATURE_SHARED_BUSYBOX
313 $(LIBBUSYBOX_SONAME): $(LIBRARY_SRC)
314 else # CONFIG_BUILD_AT_ONCE
315 $(LIBBUSYBOX_SONAME): $(libbusybox-obj)
316 endif # CONFIG_BUILD_AT_ONCE
317
318 ifeq ($(strip $(CONFIG_FEATURE_SHARED_BUSYBOX)),y)
319 LDBUSYBOX:=-L$(top_builddir) -lbusybox
320 endif
321
322 ifeq ($(strip $(CONFIG_BUILD_LIBBUSYBOX)),y)
323 $(LIBBUSYBOX_SONAME):
324 ifndef MAJOR_VERSION
325         $(error MAJOR_VERSION needed for $@ is not defined)
326 endif
327         $(do_link.so) \
328         -Wl,-soname=$(LD_LIBBUSYBOX).$(MAJOR_VERSION) \
329         -Wl,-z,combreloc
330         @rm -f $(DO_INSTALL_LIBS)
331         @for i in $(DO_INSTALL_LIBS); do ln -s $(@) $$i ; done
332         $(do_strip)
333
334 endif # ifeq ($(strip $(CONFIG_BUILD_LIBBUSYBOX)),y)
335
336 busybox_unstripped: .depend $(LIBBUSYBOX_SONAME) $(BUSYBOX_SRC) $(APPLET_SRC) $(libraries-y)
337         $(do_link)
338
339 busybox: busybox_unstripped
340         $(Q)cp busybox_unstripped busybox
341         $(do_strip)
342
343 %.bflt: %_unstripped
344         $(do_elf2flt)
345
346 busybox.links: $(top_srcdir)/applets/busybox.mkll include/bb_config.h $(top_srcdir)/include/applets.h
347         $(Q)-$(SHELL) $^ >$@
348
349 install: $(top_srcdir)/applets/install.sh busybox busybox.links
350         $(Q)DO_INSTALL_LIBS="$(strip $(LIBBUSYBOX_SONAME) $(DO_INSTALL_LIBS))" \
351                 $(SHELL) $< $(PREFIX) $(INSTALL_OPTS)
352 ifeq ($(strip $(CONFIG_FEATURE_SUID)),y)
353         @echo
354         @echo
355         @echo --------------------------------------------------
356         @echo You will probably need to make your busybox binary
357         @echo setuid root to ensure all configured applets will
358         @echo work properly.
359         @echo --------------------------------------------------
360         @echo
361 endif
362
363 uninstall: busybox.links
364         rm -f $(PREFIX)/bin/busybox
365         for i in `cat busybox.links` ; do rm -f $(PREFIX)$$i; done
366 ifneq ($(strip $(DO_INSTALL_LIBS)),n)
367         for i in $(LIBBUSYBOX_SONAME) $(DO_INSTALL_LIBS); do \
368                 rm -f $(PREFIX)$$i; \
369         done
370 endif
371
372 check test: busybox
373         bindir=$(top_builddir) srcdir=$(top_srcdir)/testsuite SED="$(SED)" \
374         $(SHELL) $(top_srcdir)/testsuite/runtest $(CHECK_VERBOSE)
375
376 checkhelp:
377         $(Q)$(top_srcdir)/scripts/checkhelp.awk \
378                 $(wildcard $(patsubst %,%/Config.in,$(SRC_DIRS) ./))
379
380 sizes: busybox_unstripped
381         $(NM) --size-sort $(<)
382
383 bloatcheck: busybox_old busybox_unstripped
384         @$(top_srcdir)/scripts/bloat-o-meter busybox_old busybox_unstripped
385
386 baseline: busybox_unstripped
387         @mv busybox_unstripped busybox_old
388
389 objsizes: busybox_unstripped
390         $(SHELL) $(top_srcdir)/scripts/objsizes
391
392 # Documentation Targets
393 doc: docs/busybox.pod docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html
394
395 docs/busybox.pod : $(top_srcdir)/docs/busybox_header.pod $(top_srcdir)/include/usage.h $(top_srcdir)/docs/busybox_footer.pod $(top_srcdir)/docs/autodocifier.pl
396         $(disp_doc)
397         $(Q)-mkdir -p docs
398         $(Q)-( cat $(top_srcdir)/docs/busybox_header.pod ; \
399             $(top_srcdir)/docs/autodocifier.pl $(top_srcdir)/include/usage.h ; \
400             cat $(top_srcdir)/docs/busybox_footer.pod ; ) > docs/busybox.pod
401
402 docs/BusyBox.txt: docs/busybox.pod
403         $(disp_doc)
404         $(Q)-mkdir -p docs
405         $(Q)-pod2text $< > $@
406
407 docs/BusyBox.1: docs/busybox.pod
408         $(disp_doc)
409         $(Q)-mkdir -p docs
410         $(Q)-pod2man --center=BusyBox --release="version $(VERSION)" \
411                 $< > $@
412
413 docs/BusyBox.html: docs/busybox.net/BusyBox.html
414         $(disp_doc)
415         $(Q)-mkdir -p docs
416         $(Q)-rm -f docs/BusyBox.html
417         $(Q)-cp docs/busybox.net/BusyBox.html docs/BusyBox.html
418
419 docs/busybox.net/BusyBox.html: docs/busybox.pod
420         $(Q)-mkdir -p docs/busybox.net
421         $(Q)-pod2html --noindex $< > \
422             docs/busybox.net/BusyBox.html
423         $(Q)-rm -f pod2htm*
424
425 # The nifty new dependency stuff
426 scripts/bb_mkdep: $(top_srcdir)/scripts/bb_mkdep.c
427         $(do_link.h)
428
429 DEP_INCLUDES := include/bb_config.h
430
431 ifeq ($(strip $(CONFIG_BBCONFIG)),y)
432 DEP_INCLUDES += include/bbconfigopts.h
433
434 include/bbconfigopts.h: .config $(top_srcdir)/scripts/config/mkconfigs
435         $(disp_gen)
436         $(Q)$(top_srcdir)/scripts/config/mkconfigs > $@
437 endif
438
439 ifeq ($(strip $(CONFIG_FEATURE_COMPRESS_USAGE)),y)
440 USAGE_BIN:=scripts/usage
441 $(USAGE_BIN): $(top_srcdir)/scripts/usage.c .config \
442                 $(top_srcdir)/include/usage.h
443         $(do_link.h)
444
445 DEP_INCLUDES += include/usage_compressed.h
446
447 include/usage_compressed.h: .config $(USAGE_BIN) \
448                 $(top_srcdir)/scripts/usage_compressed
449         $(Q)SED="$(SED)" $(SHELL) $(top_srcdir)/scripts/usage_compressed \
450         "$(top_builddir)/scripts" > $@
451 endif # CONFIG_FEATURE_COMPRESS_USAGE
452
453 depend dep: .depend
454 .depend: scripts/bb_mkdep $(USAGE_BIN) $(DEP_INCLUDES)
455         $(disp_gen)
456         $(Q)rm -f .depend
457         $(Q)mkdir -p include/config
458         $(Q)scripts/bb_mkdep -I $(top_srcdir)/include $(top_srcdir) > $@.tmp
459         $(Q)mv $@.tmp $@
460
461 include/bb_config.h: .config
462         @if [ ! -x $(top_builddir)/scripts/config/conf ] ; then \
463             $(MAKE) -C scripts/config conf; \
464         fi;
465         @$(top_builddir)/scripts/config/conf -o $(CONFIG_CONFIG_IN)
466
467 clean:
468         - $(MAKE) -C scripts/config $@
469         - rm -f docs/busybox.dvi docs/busybox.ps \
470             docs/busybox.pod docs/busybox.net/busybox.html \
471             docs/busybox pod2htm* *.gdb *.elf *~ core .*config.log \
472             docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html \
473             docs/busybox.net/BusyBox.html busybox.links \
474             libbusybox.so* \
475             .config.old busybox busybox_unstripped \
476             include/usage_compressed.h scripts/usage
477         - rm -r -f _install testsuite/links
478         - find . -name .\*.flags -o -name \*.o  -o -name \*.om -o -name \*.syn \
479             -o -name \*.os -o -name \*.osm -o -name \*.a | xargs rm -f
480
481 distclean: clean
482         rm -f scripts/bb_mkdep scripts/usage
483         rm -r -f include/config include/config.h $(DEP_INCLUDES)
484         find . -name .depend'*' -print0 | xargs -0 rm -f
485         find . -name '*.rej' -print0 | xargs -0 rm -f
486         rm -f .hdepend busybox_old .config .config.old .config.cmd
487
488 release: distclean #doc
489         cd ..; \
490         rm -r -f $(PROG)-$(VERSION); \
491         cp -a busybox $(PROG)-$(VERSION); \
492         \
493         find $(PROG)-$(VERSION)/ -type d \
494                 -name .svn \
495                 -print \
496                 -exec rm -r -f {} \; ; \
497         \
498         find $(PROG)-$(VERSION)/ -type f \
499                 -name .\#* \
500                 -print \
501                 -exec rm -f {} \; ; \
502         \
503         tar -cvzf $(PROG)-$(VERSION).tar.gz $(PROG)-$(VERSION)/;
504
505 tags:
506         ctags -R .
507
508 # documentation, cross-reference
509 # Modern distributions already ship synopsis packages (e.g. debian)
510 # If you have an old distribution go to http://synopsis.fresco.org/
511 syn_tgt := $(wildcard $(patsubst %,%/*.c,$(SRC_DIRS)))
512 syn     := $(patsubst %.c, %.syn, $(syn_tgt))
513
514 %.syn: %.c
515         synopsis -p C -l Comments.SSDFilter,Comments.Previous $(INCS) -Wp,verbose,debug,preprocess,cppflags="'$(CFLAGS) $(EXTRA_CFLAGS) $(LDFLAGS) $(PROG_CFLAGS) $(PROG_LDFLAGS) $(CFLAGS_COMBINE) $(APPLETS_DEFINE) $(BUSYBOX_DEFINE)'" -o $@ $<
516 html: $(syn)
517         synopsis -f HTML -Wf,title="'BusyBox Documentation'" -o $@ $^
518
519
520 endif # ifeq ($(skip-makefile),)
521