Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 44 lines (31 sloc) 0.86 kb
f2608c3 build.mk can be used to generate build tools. It is usually
Sascha Schumann authored
1 # Makefile to generate build tools
2 #
3 # Standard usage:
4 # make -f build.mk
5 #
6 # Written by Sascha Schumann
7 #
8 # $Id$
9
10
11 LT_TARGETS = ltmain.sh ltconfig
12
13 config_h_in = zend_config.h.in
14
15 makefile_am_files = Makefile.am
16 makefile_in_files = $(makefile_am_files:.am=.in)
17 makefile_files = $(makefile_am_files:e.am=e)
18
ea567a7 Add clean target which removes standard targets
Sascha Schumann authored
19 targets = $(makefile_in_files) $(LT_TARGETS) configure $(config_h_in)
20
21 all: $(targets)
22
23 clean:
24 rm -f $(targets)
f2608c3 build.mk can be used to generate build tools. It is usually
Sascha Schumann authored
25
26 $(LT_TARGETS):
27 rm -f $(LT_TARGETS)
28 libtoolize --automake $(AMFLAGS) -f
29
30 $(makefile_in_files): $(makefile_am_files)
31 automake -a -i $(AMFLAGS) $(makefile_files)
32
33 aclocal.m4: configure.in acinclude.m4
34 aclocal
35
353077d Rasmus Lerdorf Get rid of autoconf warnings
rlerdorf authored
36 $(config_h_in): configure.in
f2608c3 build.mk can be used to generate build tools. It is usually
Sascha Schumann authored
37 # explicitly remove target since autoheader does not seem to work
38 # correctly otherwise (timestamps are not updated)
39 @rm -f $@
40 autoheader
41
42 configure: aclocal.m4 configure.in
43 autoconf
Something went wrong with that request. Please try again.