NWGNUheaders revision bb2b38cd44b032118359afbc743efbea12f48e61
6ae232055d4d8a97267517c5e50074c2c819941and#
6ae232055d4d8a97267517c5e50074c2c819941and# Make sure all needed macro's are defined
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd#
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd#
6ae232055d4d8a97267517c5e50074c2c819941and# Get the 'head' of the build environment if necessary. This includes default
6ae232055d4d8a97267517c5e50074c2c819941and# targets and paths to tools
6ae232055d4d8a97267517c5e50074c2c819941and#
6ae232055d4d8a97267517c5e50074c2c819941and
96ad5d81ee4a2cc66a4ae19893efc8aa6d06fae7jailletcifndef EnvironmentDefined
6ae232055d4d8a97267517c5e50074c2c819941andinclude $(AP_WORK)\build\NWGNUhead.inc
6ae232055d4d8a97267517c5e50074c2c819941andendif
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen
2e545ce2450a9953665f701bb05350f0d3f26275nd#
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# These directories will be at the beginning of the include list, followed by
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# INCDIRS
6ae232055d4d8a97267517c5e50074c2c819941and#
6ae232055d4d8a97267517c5e50074c2c819941andXINCDIRS += \
6ae232055d4d8a97267517c5e50074c2c819941and $(AP_WORK)/include \
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen $(NWOS) \
3f08db06526d6901aa08c110b5bc7dde6bc39905nd $(AP_WORK)/modules/arch/netware \
6ae232055d4d8a97267517c5e50074c2c819941and $(AP_WORK)/srclib/apr/include \
6ae232055d4d8a97267517c5e50074c2c819941and $(AP_WORK)/srclib/apr-util/include \
6ae232055d4d8a97267517c5e50074c2c819941and $(AP_WORK)/srclib/apr \
b43f840409794ed298e8634f6284741f193b6c4ftakashi $(EOLIST)
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and#
6ae232055d4d8a97267517c5e50074c2c819941and# These flags will come after CFLAGS
b43f840409794ed298e8634f6284741f193b6c4ftakashi#
6ae232055d4d8a97267517c5e50074c2c819941andXCFLAGS += \
e1e8390280254f7f0580d701e583f670643d4f3fnilgun -prefix pre_nw.h \
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung $(EOLIST)
6ae232055d4d8a97267517c5e50074c2c819941and
b43f840409794ed298e8634f6284741f193b6c4ftakashi#
b43f840409794ed298e8634f6284741f193b6c4ftakashi# These defines will come after DEFINES
b43f840409794ed298e8634f6284741f193b6c4ftakashi#
b43f840409794ed298e8634f6284741f193b6c4ftakashiXDEFINES += \
6ae232055d4d8a97267517c5e50074c2c819941and $(EOLIST)
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and#
6ae232055d4d8a97267517c5e50074c2c819941and# These flags will be added to the link.opt file
6ae232055d4d8a97267517c5e50074c2c819941and#
6ae232055d4d8a97267517c5e50074c2c819941andXLFLAGS += \
6ae232055d4d8a97267517c5e50074c2c819941and $(EOLIST)
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and#
6ae232055d4d8a97267517c5e50074c2c819941and# These values will be appended to the correct variables based on the value of
6ae232055d4d8a97267517c5e50074c2c819941and# RELEASE
6ae232055d4d8a97267517c5e50074c2c819941and#
6ae232055d4d8a97267517c5e50074c2c819941andifeq "$(RELEASE)" "debug"
6ae232055d4d8a97267517c5e50074c2c819941andXINCDIRS += \
6ae232055d4d8a97267517c5e50074c2c819941and $(EOLIST)
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941andXCFLAGS += \
6ae232055d4d8a97267517c5e50074c2c819941and $(EOLIST)
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh
1f1b6bf13313fdd14a45e52e553d3ff28689b717coarXDEFINES += \
6ae232055d4d8a97267517c5e50074c2c819941and $(EOLIST)
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941andXLFLAGS += \
6ae232055d4d8a97267517c5e50074c2c819941and $(EOLIST)
6ae232055d4d8a97267517c5e50074c2c819941andendif
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941andifeq "$(RELEASE)" "noopt"
6ae232055d4d8a97267517c5e50074c2c819941andXINCDIRS += \
6ae232055d4d8a97267517c5e50074c2c819941and $(EOLIST)
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941andXCFLAGS += \
6ae232055d4d8a97267517c5e50074c2c819941and $(EOLIST)
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941andXDEFINES += \
6ae232055d4d8a97267517c5e50074c2c819941and $(EOLIST)
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941andXLFLAGS += \
6ae232055d4d8a97267517c5e50074c2c819941and $(EOLIST)
6ae232055d4d8a97267517c5e50074c2c819941andendif
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941andifeq "$(RELEASE)" "release"
6ae232055d4d8a97267517c5e50074c2c819941andXINCDIRS += \
6ae232055d4d8a97267517c5e50074c2c819941and $(EOLIST)
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941andXCFLAGS += \
b43f840409794ed298e8634f6284741f193b6c4ftakashi $(EOLIST)
6ae232055d4d8a97267517c5e50074c2c819941and
e1e8390280254f7f0580d701e583f670643d4f3fnilgunXDEFINES += \
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung $(EOLIST)
727872d18412fc021f03969b8641810d8896820bhumbedooh
0d0ba3a410038e179b695446bb149cce6264e0abndXLFLAGS += \
727872d18412fc021f03969b8641810d8896820bhumbedooh $(EOLIST)
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedoohendif
0d0ba3a410038e179b695446bb149cce6264e0abnd
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh#
727872d18412fc021f03969b8641810d8896820bhumbedooh# These are used by the link target if an NLM is being generated
0d0ba3a410038e179b695446bb149cce6264e0abnd# This is used by the link 'name' directive to name the nlm. If left blank
0d0ba3a410038e179b695446bb149cce6264e0abnd# TARGET_nlm (see below) will be used.
0d0ba3a410038e179b695446bb149cce6264e0abnd#
ac082aefa89416cbdc9a1836eaf3bed9698201c8humbedoohNLM_NAME = headers
0d0ba3a410038e179b695446bb149cce6264e0abnd
0d0ba3a410038e179b695446bb149cce6264e0abnd#
0d0ba3a410038e179b695446bb149cce6264e0abnd# This is used by the link '-desc ' directive.
727872d18412fc021f03969b8641810d8896820bhumbedooh# If left blank, NLM_NAME will be used.
0d0ba3a410038e179b695446bb149cce6264e0abnd#
0d0ba3a410038e179b695446bb149cce6264e0abndNLM_DESCRIPTION = Headers Module
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh
205f749042ed530040a4f0080dbcb47ceae8a374rjung#
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen# This is used by the '-threadname' directive. If left blank,
0d0ba3a410038e179b695446bb149cce6264e0abnd# NLM_NAME Thread will be used.
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd#
7fec19672a491661b2fe4b29f685bc7f4efa64d4ndNLM_THREAD_NAME = Headers Module
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd
6ae232055d4d8a97267517c5e50074c2c819941and#
# If this is specified, it will override VERSION value in
# $(AP_WORK)\build\NWGNUenvironment.inc
#
NLM_VERSION =
#
# If this is specified, it will override the default of 64K
#
NLM_STACK_SIZE = 8192
#
# If this is specified it will be used by the link '-entry' directive
#
NLM_ENTRY_SYM = _LibCPrelude
#
# If this is specified it will be used by the link '-exit' directive
#
NLM_EXIT_SYM = _LibCPostlude
#
# If this is specified it will be used by the link '-check' directive
#
NLM_CHECK_SYM =
#
# If these are specified it will be used by the link '-flags' directive
#
NLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
#
# If this is specified it will be linked in with the XDCData option in the def
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
# by setting APACHE_UNIPROC in the environment
#
XDCDATA =
#
# If there is an NLM target, put it here
#
TARGET_nlm = \
$(OBJDIR)/headers.nlm \
$(EOLIST)
#
# If there is an LIB target, put it here
#
TARGET_lib = \
$(EOLIST)
#
# These are the OBJ files needed to create the NLM target above.
# Paths must all use the '/' character
#
FILES_nlm_objs = \
$(OBJDIR)/mod_headers.o \
$(EOLIST)
#
# These are the LIB files needed to create the NLM target above.
# These will be added as a library command in the link.opt file.
#
FILES_nlm_libs = \
libcpre.o \
$(EOLIST)
#
# These are the modules that the above NLM target depends on to load.
# These will be added as a module command in the link.opt file.
#
FILES_nlm_modules = \
aprlib \
libc \
$(EOLIST)
#
# If the nlm has a msg file, put it's path here
#
FILE_nlm_msg =
#
# If the nlm has a hlp file put it's path here
#
FILE_nlm_hlp =
#
# If this is specified, it will override $(NWOS)\copyright.txt.
#
FILE_nlm_copyright =
#
# Any additional imports go here
#
FILES_nlm_Ximports = \
@$(APR)/aprlib.imp \
@$(NWOS)/httpd.imp \
@libc.imp \
$(EOLIST)
#
# Any symbols exported to here
#
FILES_nlm_exports = \
headers_module \
$(EOLIST)
#
# These are the OBJ files needed to create the LIB target above.
# Paths must all use the '/' character
#
FILES_lib_objs = \
$(EOLIST)
#
# implement targets and dependancies (leave this section alone)
#
libs :: $(OBJDIR) $(TARGET_lib)
nlms :: libs $(TARGET_nlm)
#
# Updated this target to create necessary directories and copy files to the
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
#
install :: nlms FORCE
#
# Any specialized rules here
#
#
# Include the 'tail' makefile that has targets that depend on variables defined
# in this makefile
#
include $(AP_WORK)\build\NWGNUtail.inc