1 # This is the developer's makefile, not the user's makefile.
2 # Don't use it unless you know exactly what you do!
7 all : configures src/config.h.in src/config.h.msvc src/config.h_vms doc/gperf.1
9 CONFIGURES = configure lib/configure src/configure tests/configure doc/configure
11 configures : $(CONFIGURES)
13 configure : configure.ac aclocal.m4
16 lib/configure : lib/configure.ac aclocal.m4
17 cd lib && autoconf -I ..
19 src/configure : src/configure.ac aclocal.m4
20 cd src && autoconf -I ..
22 tests/configure : tests/configure.ac aclocal.m4
23 cd tests && autoconf -I ..
25 doc/configure : doc/configure.ac aclocal.m4
26 cd doc && autoconf -I ..
28 check-configures : $(CONFIGURES)
29 set -e; for f in $(CONFIGURES); do bash -x -n $$f; done
31 src/config.h.in : src/configure.ac aclocal.m4
32 cd src && autoheader -I ..
34 src/config.h.msvc : src/config.h.in
35 cp src/config.h.in src/config.h.msvc
37 src/config.h_vms : src/config.h.in
38 cp src/config.h.in src/config.h_vms
41 prog=`PATH=build/src:src:$$PATH which gperf`; if test -n "$$prog"; then doc/help2man --name='generate a perfect hash function from a key set' --section=1 $$prog > doc/gperf.1; fi