NWGNUexpires revision cf7ca2f9eaa6523fefcccba4287b91637391fb51
d8fe750649d3c87ea141981dde0182e879e27892Daniel Couto Vale# Make sure all needed macro's are defined
d0e19b833d7f9c691a36342c365029720c095742henning mueller# Get the 'head' of the build environment if necessary. This includes default
d8fe750649d3c87ea141981dde0182e879e27892Daniel Couto Vale# targets and paths to tools
ec96c6e3605c2e9eb5c0113e4e1b07b3b5228c8chenning muellerifndef EnvironmentDefined
d95c0de1fbdb66e2aa8d2dc223ad554413f1dc87Julian Kornberger# These directories will be at the beginning of the include list, followed by
92c8f40524b3849c1964e357e13a4101b005c9acTimo KohorstXINCDIRS += \
aa7327ac2097bc1cec25790f373965b2531d80a4Timo Kohorst $(APR)/include \
2e08e51b941a9fa3b4c23b14d427d45abf68244cTimo Kohorst $(APRUTIL)/include \
4b019622d4ba4514958de12f2609b8af960ce238Timo Kohorst $(AP_WORK)/include \
20c94fa632f5b9a5a1b2fbc28fa46f2afe7c65c2Tim Reddehase# These flags will come after CFLAGS
0cd37f42517da8081f1e90a0fdfbb82a526c1704henning mueller# These defines will come after DEFINES
015f3b206cf74c7974d891c633e7d0ec8a0dc865Eugen Kuksa# These flags will be added to the link.opt file
6563cb6fc17e253425e201dab181c945ec7c71b9Eugen Kuksa# These values will be appended to the correct variables based on the value of
6563cb6fc17e253425e201dab181c945ec7c71b9Eugen Kuksaifeq "$(RELEASE)" "debug"
6563cb6fc17e253425e201dab181c945ec7c71b9Eugen KuksaXINCDIRS += \
8d3c173a1529b595399b5a2523a84e0aba912a07Eugen Kuksaifeq "$(RELEASE)" "noopt"
78138263df40607408b1390049d9a1ae89756f95Eugen KuksaXDEFINES += \
a8dfb084fae639d0948cb334fb69525b574e185bEugen Kuksaifeq "$(RELEASE)" "release"
a8dfb084fae639d0948cb334fb69525b574e185bEugen KuksaXINCDIRS += \
4ae600b01cda15be2d0ef49dc3fc4ad9006911d7Tim Reddehase# These are used by the link target if an NLM is being generated
f3b8c4da2db512a2ad58709c1c6bb0d93d1866bbhenning mueller# This is used by the link 'name' directive to name the nlm. If left blank
f3b8c4da2db512a2ad58709c1c6bb0d93d1866bbhenning mueller# TARGET_nlm (see below) will be used.
a4707bb77f9894e31b9e5b924c34e0095681cfe3Eugen KuksaNLM_NAME = expires
f3b8c4da2db512a2ad58709c1c6bb0d93d1866bbhenning mueller# This is used by the link '-desc ' directive.
f3b8c4da2db512a2ad58709c1c6bb0d93d1866bbhenning mueller# If left blank, NLM_NAME will be used.
777277547289aa27dd829f34bfa8ae6900cadbe7Eugen KuksaNLM_DESCRIPTION = Apache $(VERSION_STR) Expires Module
f3b8c4da2db512a2ad58709c1c6bb0d93d1866bbhenning mueller# This is used by the '-threadname' directive. If left blank,
f3b8c4da2db512a2ad58709c1c6bb0d93d1866bbhenning mueller# NLM_NAME Thread will be used.
f3b8c4da2db512a2ad58709c1c6bb0d93d1866bbhenning muellerNLM_THREAD_NAME = Expires Module
f3b8c4da2db512a2ad58709c1c6bb0d93d1866bbhenning mueller# If this is specified, it will override VERSION value in
a2cfedf970eadd36fa2b5e81c2e8a24396a86792Daniel Couto Vale# If this is specified, it will override the default of 64K
a2cfedf970eadd36fa2b5e81c2e8a24396a86792Daniel Couto ValeNLM_STACK_SIZE = 8192
f3b8c4da2db512a2ad58709c1c6bb0d93d1866bbhenning mueller# If this is specified it will be used by the link '-entry' directive
777277547289aa27dd829f34bfa8ae6900cadbe7Eugen KuksaNLM_ENTRY_SYM =
f3b8c4da2db512a2ad58709c1c6bb0d93d1866bbhenning mueller# If this is specified it will be used by the link '-exit' directive
61fdfd6e7ee93fca56a15fee37d9982528d85a60Sascha GraefNLM_EXIT_SYM =
f3b8c4da2db512a2ad58709c1c6bb0d93d1866bbhenning mueller# If this is specified it will be used by the link '-check' directive
6ef37875f247fe11ed2d07014ad74711ee17321cEugen KuksaNLM_CHECK_SYM =
6ef37875f247fe11ed2d07014ad74711ee17321cEugen Kuksa# If these are specified it will be used by the link '-flags' directive
6ef37875f247fe11ed2d07014ad74711ee17321cEugen Kuksa# If this is specified it will be linked in with the XDCData option in the def
6ef37875f247fe11ed2d07014ad74711ee17321cEugen Kuksa# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
2ea8ea78359d29810b6f45a3a57e6cc9bae1cfcdSascha Graef# by setting APACHE_UNIPROC in the environment
985ad360b6abec4b1133f231e37c3163110f00c1Eugen Kuksa# If there is an NLM target, put it here
985ad360b6abec4b1133f231e37c3163110f00c1Eugen KuksaTARGET_nlm = \
296f03208bf82551e7ab646c8b874d618d9c44a4Eugen Kuksa# If there is an LIB target, put it here
8ca8c974c5b60b881e5e509c33a7c2ab56eb4acfEugen KuksaTARGET_lib = \
8ca8c974c5b60b881e5e509c33a7c2ab56eb4acfEugen Kuksa# These are the OBJ files needed to create the NLM target above.
8ca8c974c5b60b881e5e509c33a7c2ab56eb4acfEugen Kuksa# Paths must all use the '/' character
8ca8c974c5b60b881e5e509c33a7c2ab56eb4acfEugen KuksaFILES_nlm_objs = \
12499f46bb83dba7d8c5ef4ab9d9e5a592f99f12Tim Reddehase# These are the LIB files needed to create the NLM target above.
986b1475ccd7f42e55f86db8212e52ddd69292f5Tim Reddehase# These will be added as a library command in the link.opt file.
12499f46bb83dba7d8c5ef4ab9d9e5a592f99f12Tim ReddehaseFILES_nlm_libs = \
b5513f660ba0c032a3667f9628e303e498e66b20Tim Reddehase# These are the modules that the above NLM target depends on to load.
b5513f660ba0c032a3667f9628e303e498e66b20Tim Reddehase# These will be added as a module command in the link.opt file.
12499f46bb83dba7d8c5ef4ab9d9e5a592f99f12Tim ReddehaseFILES_nlm_modules = \
9b9d0de2b383747e766f7734b9de2521c6663e43Tim Reddehase# If the nlm has a msg file, put it's path here
9b9d0de2b383747e766f7734b9de2521c6663e43Tim ReddehaseFILE_nlm_msg =
9b9d0de2b383747e766f7734b9de2521c6663e43Tim Reddehase# If the nlm has a hlp file put it's path here
a4707bb77f9894e31b9e5b924c34e0095681cfe3Eugen KuksaFILE_nlm_hlp =
f8c2def0cfd21d8c73a7932919fae27c0db03297Eugen Kuksa# If this is specified, it will override $(NWOS)\copyright.txt.
f8c2def0cfd21d8c73a7932919fae27c0db03297Eugen KuksaFILE_nlm_copyright =
985ad360b6abec4b1133f231e37c3163110f00c1Eugen Kuksa# Any additional imports go here
985ad360b6abec4b1133f231e37c3163110f00c1Eugen KuksaFILES_nlm_Ximports = \
@libc.imp \
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
include $(APBUILD)/NWGNUtail.inc