~ubuntu-branches/ubuntu/hardy/php5/hardy-updates

« back to all changes in this revision

Viewing changes to Zend/build.mk

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-10-09 03:14:32 UTC
  • Revision ID: james.westby@ubuntu.com-20051009031432-kspik3lobxstafv9
Tags: upstream-5.0.5
ImportĀ upstreamĀ versionĀ 5.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile to generate build tools
 
2
#
 
3
# Standard usage:
 
4
#        make -f build.mk
 
5
#
 
6
# Written by Sascha Schumann
 
7
#
 
8
# $Id: build.mk,v 1.2 1999/10/10 02:02:13 sascha Exp $ 
 
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
 
 
19
targets = $(makefile_in_files) $(LT_TARGETS) configure $(config_h_in)
 
20
 
 
21
all: $(targets)
 
22
 
 
23
clean:
 
24
        rm -f $(targets)
 
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
 
 
36
$(config_h_in): configure.in acconfig.h
 
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