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.

61 lines
1.5 KiB

25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
  1. # This is the developer's makefile, not the user's makefile.
  2. # Don't use it unless you know exactly what you do!
  3. # Some important programs:
  4. SHELL = /bin/sh
  5. MAKE = make
  6. # GNU tar together with GNU bzip2. Slow, but excellent compresion rates.
  7. PACK = tar
  8. PACKOPT = cvfhj
  9. PACKEXT = .tar.bz2
  10. EXCLUDE=--exclude CVS --exclude \*.o --exclude *.lo --exclude .cvsignore \
  11. --exclude \*~ --exclude .\#\* --exclude .libs \
  12. --exclude ${AUTOCONF_CACHE}
  13. all: configures documentation
  14. CONFIGURES = configure
  15. CONFIGURES_IN = configure.ac
  16. AUTOCONF_FILES = autoconf/aclocal.m4
  17. AUTOCONF = autoconf
  18. AUTOCONF_CACHE = autom4te.cache
  19. configures: ${CONFIGURES}
  20. configure: configure.ac ${AUTOCONF_FILES}
  21. ${AUTOCONF} --include=autoconf
  22. # This is the upstream location for most of the .m4 files:
  23. CLISP_M4DIR = ~/contrib/clisp/src/m4
  24. autoconf/aclocal.m4: ${wildcard m4/*.m4}
  25. aclocal -I m4 -I ${CLISP_M4DIR} --output=autoconf/aclocal.m4
  26. # Release:
  27. SRC_DIST=/tmp/cln-${VER}${PACKEXT}
  28. VER=${shell echo `grep "CL_VERSION " include/cln/version.h |sed 's/^.*CL_VERSION \(.*\)$$/\1/'`}
  29. src-distrib: include/cln/version.h force
  30. ${MAKE} -f Makefile.devel src--distrib TOPDIR=cln-${VER}
  31. src--distrib: force
  32. ln -s . ${TOPDIR}
  33. ${PACK} ${PACKOPT} ${SRC_DIST} ${EXCLUDE} --exclude ${TOPDIR}/${TOPDIR} ${TOPDIR}
  34. rm -f ${TOPDIR}
  35. # Syntaxcheck:
  36. check-configures: ${CONFIGURES}
  37. set -e; for f in ${CONFIGURES}; do bash -x -n $$f; done
  38. documentation: force
  39. cd doc && ${MAKE} -f Makefile.devel documentation
  40. force: