]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/gperf/Makefile.devel
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / gperf / 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 SHELL = /bin/sh
5 MAKE = make
6
7 all : configures src/config.h.in src/config.h.msvc src/config.h_vms doc/gperf.1
8
9 CONFIGURES = configure lib/configure src/configure tests/configure doc/configure
10
11 configures : $(CONFIGURES)
12
13 configure : configure.ac aclocal.m4
14         autoconf -I .
15
16 lib/configure : lib/configure.ac aclocal.m4
17         cd lib && autoconf -I ..
18
19 src/configure : src/configure.ac aclocal.m4
20         cd src && autoconf -I ..
21
22 tests/configure : tests/configure.ac aclocal.m4
23         cd tests && autoconf -I ..
24
25 doc/configure : doc/configure.ac aclocal.m4
26         cd doc && autoconf -I ..
27
28 check-configures : $(CONFIGURES)
29         set -e; for f in $(CONFIGURES); do bash -x -n $$f; done
30
31 src/config.h.in : src/configure.ac aclocal.m4
32         cd src && autoheader -I ..
33
34 src/config.h.msvc : src/config.h.in
35         cp src/config.h.in src/config.h.msvc
36
37 src/config.h_vms : src/config.h.in
38         cp src/config.h.in src/config.h_vms
39
40 doc/gperf.1 : force
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
42
43 force :
44