2000-03-25 07:45:29 +00:00
# This is the developer's makefile, not the user's makefile.
# Don't use it unless you know exactly what you do!
SHELL = /bin/sh
MAKE = make
2011-11-28 12:29:16 +00:00
all : configures src /config .h .in src /config .h .msvc src /config .h_vms doc /gperf .1
2000-03-25 07:45:29 +00:00
CONFIGURES = configure lib/configure src/configure tests/configure doc/configure
configures : $( CONFIGURES )
2011-11-28 12:29:16 +00:00
configure : configure .ac aclocal .m 4
autoconf -I .
2000-03-25 07:45:29 +00:00
2011-11-28 12:29:16 +00:00
lib/configure : lib /configure .ac aclocal .m 4
cd lib && autoconf -I ..
2000-03-25 07:45:29 +00:00
2011-11-28 12:29:16 +00:00
src/configure : src /configure .ac aclocal .m 4
cd src && autoconf -I ..
2000-03-25 07:45:29 +00:00
2011-11-28 12:29:16 +00:00
tests/configure : tests /configure .ac aclocal .m 4
cd tests && autoconf -I ..
2000-03-25 07:45:29 +00:00
2011-11-28 12:29:16 +00:00
doc/configure : doc /configure .ac aclocal .m 4
cd doc && autoconf -I ..
2000-03-25 07:45:29 +00:00
check-configures : $( CONFIGURES )
set -e; for f in $( CONFIGURES) ; do bash -x -n $$ f; done
2011-11-28 12:29:16 +00:00
src/config.h.in : src /configure .ac aclocal .m 4
cd src && autoheader -I ..
src/config.h.msvc : src /config .h .in
cp src/config.h.in src/config.h.msvc
src/config.h_vms : src /config .h .in
cp src/config.h.in src/config.h_vms
2000-03-25 07:45:29 +00:00
2000-10-13 12:04:55 +00:00
doc/gperf.1 : force
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
2000-03-25 07:45:29 +00:00
force :