aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-04-26 10:10:25 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-04-26 10:10:25 +0000
commit6a205aa09a38fca86ff27798c9f40228d5be52a1 (patch)
tree4994d059a1a7f5cce8f152a436418cb1359b2a26 /Makefile
parentcd81d92f27ee9af77405e81ef4671cf4d9705e74 (diff)
downloadbusybox-w32-6a205aa09a38fca86ff27798c9f40228d5be52a1.tar.gz
busybox-w32-6a205aa09a38fca86ff27798c9f40228d5be52a1.tar.bz2
busybox-w32-6a205aa09a38fca86ff27798c9f40228d5be52a1.zip
- patch from Denis Vlasenko to make sizes PHONY and to add objsizes which prints
the sizes of the individual object files. git-svn-id: svn://busybox.net/trunk/busybox@14943 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 977df5d4e..bcf25fe6d 100644
--- a/Makefile
+++ b/Makefile
@@ -136,6 +136,7 @@ help:
136 @echo ' randconfig - generate a random configuration' 136 @echo ' randconfig - generate a random configuration'
137 @echo ' release - create a distribution tarball' 137 @echo ' release - create a distribution tarball'
138 @echo ' sizes - show size of all enabled busybox symbols' 138 @echo ' sizes - show size of all enabled busybox symbols'
139 @echo ' objsizes - show size of each .o object built'
139 @echo 140 @echo
140 141
141 142
@@ -349,9 +350,14 @@ check test: busybox
349 bindir=$(top_builddir) srcdir=$(top_srcdir)/testsuite \ 350 bindir=$(top_builddir) srcdir=$(top_srcdir)/testsuite \
350 $(top_srcdir)/testsuite/runtest $(CHECK_VERBOSE) 351 $(top_srcdir)/testsuite/runtest $(CHECK_VERBOSE)
351 352
353.PHONY: sizes
352sizes: busybox_unstripped 354sizes: busybox_unstripped
353 $(NM) --size-sort $(<) 355 $(NM) --size-sort $(<)
354 356
357.PHONY: objsizes
358objsizes: busybox_unstripped
359 $(SHELL) $(top_srcdir)/scripts/objsizes
360
355# Documentation Targets 361# Documentation Targets
356doc: docs/busybox.pod docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html 362doc: docs/busybox.pod docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html
357 363