Makefile.in 976 B

123456789101112131415161718192021222324252627282930313233343536
  1. VPATH = @srcdir@
  2. srcdir = @srcdir@
  3. top_srcdir = @top_srcdir@
  4. VERSION = $(shell cat verion-nr)
  5. GENFILES = version.h
  6. include Makefile.conf
  7. SUBDIRS = include lib optlib intl dpkg-deb split scripts utils main \
  8. utils @DSELECTDIR@ po methods doc
  9. all: version.h all-recursive
  10. install: all install-recursive
  11. clean: clean-recursive
  12. rm -f $(GENFILES)
  13. distclean: clean distclean-recursive
  14. rm -f Makefile.conf Makefile config.cache config.h config.log config.status
  15. rm -f automake/gettext.m4 automake/progtest.m4 automake/lcmessage.m4
  16. version.h: version-nr
  17. echo "#define DPKG_VERSION \"$(VERSION)\" /* This line modified by Makefile */" > version.h
  18. all-recursive install-recursive clean-recursive distclean-recursive:
  19. set -e ; target=`echo $@ | sed s/-recursive//`; \
  20. for d in $(SUBDIRS) ; do \
  21. $(MAKE) $(MFLAGS) -C $$d $$target ; \
  22. done;
  23. .PHONY: all install clean distclean
  24. .PHONY: all-recursive install-recursive clean-recursive distclean-recursive