~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to srclib/apr/build/NWGNUmakefile

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Declare the sub-directories to be built here
 
3
#
 
4
 
 
5
SUBDIRS = \
 
6
        $(EOLIST) 
 
7
 
 
8
#
 
9
# Get the 'head' of the build environment.  This includes default targets and
 
10
# paths to tools
 
11
#
 
12
 
 
13
include $(APR_WORK)\build\NWGNUhead.inc
 
14
 
 
15
#
 
16
# build this level's files
 
17
 
 
18
FILES_prebuild_headers = \
 
19
        $(APR)/include/apr.h \
 
20
        $(APRUTIL)/include/apu.h \
 
21
        $(APRUTIL)/include/apu_want.h \
 
22
        $(APRUTIL)/include/apr_ldap.h \
 
23
        $(APRUTIL)/include/private/apu_config.h \
 
24
        $(APRUTIL)/include/private/apu_select_dbm.h \
 
25
        $(APRUTIL)/xml/expat/lib/expat.h \
 
26
        $(APRUTIL)/xml/expat/lib/config.h \
 
27
        $(EOLIST) 
 
28
    
 
29
nlms :: $(APR)/aprlib.imp
 
30
 
 
31
$(APR)/aprlib.imp : make_nw_export.awk nw_export.i
 
32
        @echo Generating $(subst /,\,$@)
 
33
        awk -f make_nw_export.awk nw_export.i | sort >$(APR)/aprlib.imp
 
34
    
 
35
nw_export.i : nw_export.inc $(FILES_prebuild_headers) $(NLM_NAME)_cc.opt
 
36
        @echo Generating $(subst /,\,$@)
 
37
        $(CC) $< @$(NLM_NAME)_cc.opt
 
38
 
 
39
$(NLM_NAME)_cc.opt : NWGNUmakefile $(APR_WORK)\build\NWGNUenvironment.inc $(APR_WORK)\build\NWGNUhead.inc $(APR_WORK)\build\NWGNUtail.inc $(CUSTOM_INI)
 
40
        $(CHK) $@ $(DEL) $@
 
41
        @echo -P >> $@
 
42
        @echo -EP >> $@
 
43
        @echo -nosyspath >> $@
 
44
        @echo -w nocmdline >> $@
 
45
        @echo $(DEFINES) -DGENEXPORTS >> $@
 
46
        @echo -I$(APR)\include >> $@
 
47
        @echo -I$(APR)\include\arch\netware >> $@
 
48
        @echo -I$(APR)\include\arch\unix >> $@
 
49
        @echo -I$(APRUTIL)\include >> $@
 
50
        @echo -ir $(NOVELLLIBC) >> $@
 
51
ifneq "$(LDAPSDK)" ""
 
52
        @echo -ir $(LDAPSDK) >> $@
 
53
endif
 
54
 
 
55
$(APR)/include/%.h: $(subst /,\,$(APR))\include\%.hnw
 
56
        @echo Creating $(subst /,\,$@)
 
57
        copy $< $(subst /,\,$(APR))\include\$(@F)
 
58
 
 
59
$(APRUTIL)/include/%.h: $(subst /,\,$(APRUTIL))\include\%.hnw
 
60
        @echo Creating $(subst /,\,$@)
 
61
        copy $< $(subst /,\,$(APRUTIL))\include\$(@F)
 
62
 
 
63
$(APRUTIL)/include/private/%.h: $(subst /,\,$(APRUTIL))\include\private\%.hw
 
64
        @echo Creating $(subst /,\,$@)
 
65
        copy $< $(subst /,\,$(APRUTIL))\include\private\$(@F)
 
66
 
 
67
$(APRUTIL)/xml/expat/lib/%.h: $(subst /,\,$(APRUTIL))\xml\expat\lib\%.hnw
 
68
        @echo Creating $(subst /,\,$@)
 
69
        copy $< $(subst /,\,$(APRUTIL))\xml\expat\lib\$(@F)
 
70
 
 
71
$(APRUTIL)/xml/expat/lib/%.h: $(subst /,\,$(APRUTIL))\xml\expat\lib\%.h.in
 
72
        @echo Creating $(subst /,\,$@)
 
73
        copy $< $(subst /,\,$(APRUTIL))\xml\expat\lib\$(@F)
 
74
 
 
75
#
 
76
# You can use this target if all that is needed is to copy files to the
 
77
# installation area
 
78
#
 
79
install :: nlms FORCE
 
80
        
 
81
 
 
82
clean ::
 
83
        $(CHK) nw_export.i                                              $(DEL) nw_export.i
 
84
        $(CHK) $(NLM_NAME)_cc.opt                                       $(DEL) $(NLM_NAME)_cc.opt
 
85
        $(CHK) NWGNUversion.inc                                         $(DEL) NWGNUversion.inc 
 
86
        $(CHK) $(subst /,\,$(APR))\include\apr.h                        $(DEL) $(subst /,\,$(APR))\include\apr.h
 
87
        $(CHK) $(subst /,\,$(APRUTIL))\include\apu.h                    $(DEL) $(subst /,\,$(APRUTIL))\include\apu.h
 
88
        $(CHK) $(subst /,\,$(APRUTIL))\include\apr_ldap.h               $(DEL) $(subst /,\,$(APRUTIL))\include\apr_ldap.h
 
89
        $(CHK) $(subst /,\,$(APRUTIL))\include\private\apu_config.h     $(DEL) $(subst /,\,$(APRUTIL))\include\private\apu_config.h
 
90
        $(CHK) $(subst /,\,$(APRUTIL))\include\private\apu_select_dbm.h $(DEL) $(subst /,\,$(APRUTIL))\include\private\apu_select_dbm.h
 
91
        $(CHK) $(subst /,\,$(APRUTIL))\xml\expat\lib\expat.h            $(DEL) $(subst /,\,$(APRUTIL))\xml\expat\lib\expat.h
 
92
        $(CHK) $(subst /,\,$(APRUTIL))\xml\expat\lib\config.h           $(DEL) $(subst /,\,$(APRUTIL))\xml\expat\lib\config.h
 
93
        $(CHK) $(subst /,\,$(APR))\aprlib.imp                           $(DEL) $(subst /,\,$(APR))\aprlib.imp
 
94