Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 \
  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 \
  22. > ../../configure; then \
  23. echo "FAILED TO FIX configure" >&2; \
  24. cp configure ../../configure; \
  25. rm configure; \
  26. fi)
  27. @chmod 700 ../../configure
  28. @ls -al ../../configure
  29. @cp -f `automake --print-libdir`/config.guess .
  30. @cp -f `automake --print-libdir`/config.sub .
  31. @cp -f `automake --print-libdir`/depcomp .
  32. @cp -f `automake --print-libdir`/install-sh .
  33. clean:
  34. @echo "Cleaning..."
  35. @rm -rf autom4te.cache/ configure aclocal.m4 src/
  36. clean_again:
  37. @echo "Cleaning..."
  38. @rm -rf autom4te.cache/ configure aclocal.m4 src/