File: Makefile.devel

package info (click to toggle)
gperf 3.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,924 kB
  • sloc: exp: 6,462; cpp: 5,795; perl: 2,118; sh: 1,007; ansic: 875; makefile: 669
file content (39 lines) | stat: -rw-r--r-- 1,021 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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

all : configures src/config.h.in

CONFIGURES = configure lib/configure src/configure tests/configure doc/configure

configures : $(CONFIGURES)

configure : configure.ac aclocal.m4
	autoconf -I . && rm -rf autom4te.cache

lib/configure : lib/configure.ac aclocal.m4
	cd lib && autoconf -I .. && rm -rf autom4te.cache

src/configure : src/configure.ac aclocal.m4
	cd src && autoconf -I .. && rm -rf autom4te.cache

tests/configure : tests/configure.ac aclocal.m4
	cd tests && autoconf -I .. && rm -rf autom4te.cache

doc/configure : doc/configure.ac aclocal.m4
	cd doc && autoconf -I .. && rm -rf autom4te.cache

check-configures : $(CONFIGURES)
	set -e; for f in $(CONFIGURES); do bash -x -n $$f; done

src/config.h.in : src/configure.ac aclocal.m4
	cd src && autoheader -I .. && rm -rf autom4te.cache

totally-clean : force
	rm -f $(CONFIGURES)
	rm -f src/config.h.in

force :