]> www.ginac.de Git - cln.git/blob - Makefile.devel
* autoconf/ltmain.sh: Upgrade to libtool-1.4.2.
[cln.git] / Makefile.devel
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
4
5 # Some important programs:
6 SHELL = /bin/sh
7 MAKE = make
8
9
10 # GNU tar together with GNU bzip2. Excellent performance.
11 PACK = tar
12 PACKOPT = cvfhj
13 PACKEXT = .tar.bz2
14
15
16 all : configures documentation
17
18
19 CONFIGURES = configure
20 CONFIGURES_IN = configure.in
21
22 AUTOCONF_FILES = autoconf/aclocal.m4 autoconf/acgeneral.m4 autoconf/acspecific.m4
23
24 configures : $(CONFIGURES)
25
26 configure : configure.in $(AUTOCONF_FILES)
27         ./autoconf/autoconf -m autoconf
28
29 CLISP_ACLOCAL = /home/kreckel/contrib/src/clisp/src/autoconf/aclocal.m4
30 ACSELECT = /home/kreckel/contrib/src/clisp/src/autoconf/acselect
31 LIBTOOLMACROS = /home/kreckel/contrib/libtool/libtool.m4
32
33 autoconf/aclocal.m4 : $(CLISP_ACLOCAL)
34         ($(ACSELECT) `cat $(CONFIGURES_IN) | grep '^[A-Z][A-Z]_' | sed 's,[^A-Z_].*$$,,g' | sort | uniq` < $(CLISP_ACLOCAL) ; cat $(LIBTOOLMACROS) | sed -e 's,AC_CANONICAL_HOST,CL_CANONICAL_HOST,g' -e 's,AC_PROG_RANLIB,CL_PROG_RANLIB,g'; cat autoconf/acinclude.m4) > autoconf/aclocal.m4
35
36 # Syntaxcheck
37 check-configures : $(CONFIGURES)
38         set -e; for f in $(CONFIGURES); do bash -x -n $$f; done
39
40
41 documentation : force
42         cd doc && $(MAKE) -f Makefile.devel documentation
43
44 force :
45