Makefile 780 B

1234567891011121314151617181920212223242526272829303132333435
  1. all: clean aclocal autoheader autoconf clean_again
  2. aclocal:
  3. @rm -rf aclocal.m4
  4. aclocal -I includes/
  5. autoheader:
  6. @rm -rf ../config.h.in
  7. @echo "Autoheader..."
  8. @autoheader
  9. @mv -f config.h.in ../config.h.in
  10. @ls -al ../config.h.in
  11. autoconf:
  12. @rm -rf ../configure
  13. @echo "Autoconf...."
  14. @autoconf
  15. @echo "Fixing configure for cache_file"
  16. @(if ! sed configure -e "s/^cache_file=\/dev\/null/cache_file=\.\/config.cache/" \
  17. -e "s/&& echo \"updating cache .cache_file\"//" > ../configure; then \
  18. cp configure ../configure; \
  19. rm configure; \
  20. fi)
  21. @chmod 700 ../configure
  22. @ls -al ../configure
  23. clean:
  24. @echo "Cleaning..."
  25. @rm -rf autom4te.cache/ configure config.h.in aclocal.m4
  26. clean_again:
  27. @echo "Cleaning..."
  28. @rm -rf autom4te.cache/ configure config.h.in aclocal.m4