You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
871 B

  1. # Makefile to generate build tools
  2. #
  3. # Standard usage:
  4. # make -f build.mk
  5. #
  6. # Written by Sascha Schumann
  7. #
  8. # $Id$
  9. LT_TARGETS = ltmain.sh ltconfig
  10. config_h_in = zend_config.h.in
  11. makefile_am_files = Makefile.am
  12. makefile_in_files = $(makefile_am_files:.am=.in)
  13. makefile_files = $(makefile_am_files:e.am=e)
  14. targets = $(makefile_in_files) $(LT_TARGETS) configure $(config_h_in)
  15. all: $(targets)
  16. clean:
  17. rm -f $(targets)
  18. $(LT_TARGETS):
  19. rm -f $(LT_TARGETS)
  20. libtoolize --automake $(AMFLAGS) -f
  21. $(makefile_in_files): $(makefile_am_files)
  22. automake -a -i $(AMFLAGS) $(makefile_files)
  23. aclocal.m4: configure.in acinclude.m4
  24. aclocal
  25. $(config_h_in): configure.in acconfig.h
  26. # explicitly remove target since autoheader does not seem to work
  27. # correctly otherwise (timestamps are not updated)
  28. @rm -f $@
  29. autoheader
  30. configure: aclocal.m4 configure.in
  31. autoconf