Makefile 901 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. all: clean aclocal autoheader autoconf clean_again
  2. aclocal:
  3. @rm -rf aclocal.m4
  4. @mkdir src
  5. aclocal -I includes/
  6. autoheader:
  7. @rm -f ../../src/config.h.in
  8. @echo "Autoheader..."
  9. @autoheader
  10. @mv -f src/config.h.in ../../src/config.h.in
  11. @ls -al ../../src/config.h.in
  12. autoconf:
  13. @rm -rf ../../configure
  14. @echo "Autoconf...."
  15. @autoconf
  16. @echo "Fixing configure temp paths"
  17. @(if ! sed configure \
  18. -e 's:config\.log:build/config.log:g' \
  19. -e 's:config\.status:build/config.status:g' \
  20. -e 's:confdefs\.h:build/confdefs.h:g' \
  21. > ../../configure; then \
  22. echo "FAILED TO FIX configure" >&2; \
  23. cp configure ../../configure; \
  24. rm configure; \
  25. fi)
  26. @chmod 700 ../../configure
  27. @ls -al ../../configure
  28. clean:
  29. @echo "Cleaning..."
  30. @rm -rf autom4te.cache/ configure aclocal.m4 src/
  31. clean_again:
  32. @echo "Cleaning..."
  33. @rm -rf autom4te.cache/ configure aclocal.m4 src/