summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2017-12-11 14:38:33 +1100
committerDarren Tucker <dtucker@zip.com.au>2017-12-11 14:38:33 +1100
commit79c0e1d29959304e5a49af1dbc58b144628c09f3 (patch)
tree8ae564d1b5672d82a45e806bb52c5a177315c01f /Makefile.in
parentf001de8fbf7f3faddddd8efd03df18e57601f7eb (diff)
Add autogenerated dependency info to Makefile.
Adds a .depend file containing dependency information generated by makedepend, which is appended to the generated Makefile by configure. You can regen the file with "make -f Makefile.in depend" if necessary, but we'll be looking at some way to automatically keep this up to date. "no objection" djm@
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in15
1 files changed, 13 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index ec4f3a683..b679e4f6e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -298,9 +298,18 @@ catman-do:
298 >$$base.0 ; \ 298 >$$base.0 ; \
299 done 299 done
300 300
301distprep: catman-do 301depend: depend-rebuild
302 rm -f .depend.bak
303
304depend-rebuild:
305 makedepend -w1000 -Y. -f .depend *.c 2>/dev/null
306
307depend-check: depend-rebuild
308 cmp .depend .depend.bak || (echo .depend stale && exit 1)
309
310distprep: catman-do depend-check
302 $(AUTORECONF) 311 $(AUTORECONF)
303 -rm -rf autom4te.cache 312 -rm -rf autom4te.cache .depend.bak
304 313
305install: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files install-sysconf host-key check-config 314install: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files install-sysconf host-key check-config
306install-nokeys: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files install-sysconf 315install-nokeys: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files install-sysconf
@@ -632,3 +641,5 @@ package: $(CONFIGFILES) $(MANPAGES) $(TARGETS)
632 if [ "@MAKE_PACKAGE_SUPPORTED@" = yes ]; then \ 641 if [ "@MAKE_PACKAGE_SUPPORTED@" = yes ]; then \
633 sh buildpkg.sh; \ 642 sh buildpkg.sh; \
634 fi 643 fi
644
645# @DEPEND@