NWGNUusertrk revision 44f575c8cb19a7a5cd61664a7848be6bc197df02
9d0567bda351efa4286f38e85fb3e41ecd3683eaChristian Maeder# Make sure all needed macro's are defined
9d0567bda351efa4286f38e85fb3e41ecd3683eaChristian Maeder# Get the 'head' of the build environment if necessary. This includes default
9d0567bda351efa4286f38e85fb3e41ecd3683eaChristian Maeder# targets and paths to tools
9d0567bda351efa4286f38e85fb3e41ecd3683eaChristian Maederifndef EnvironmentDefined
20bd79f8844604c145510c616fecdaf47eba2fdbChristian Maeder# These directories will be at the beginning of the include list, followed by
20bd79f8844604c145510c616fecdaf47eba2fdbChristian Maeder $(APR)/include \
20bd79f8844604c145510c616fecdaf47eba2fdbChristian Maeder $(APRUTIL)/include \
2119c0874c93fc1cdfea381bcfea69e8fdb8b6e2Christian Maeder $(SRC)/include \
3b48e17c1da54ee669e70b626d9fbc32ce495b2cChristian Maeder# These flags will come after CFLAGS
2119c0874c93fc1cdfea381bcfea69e8fdb8b6e2Christian Maeder# These defines will come after DEFINES
2119c0874c93fc1cdfea381bcfea69e8fdb8b6e2Christian Maeder# These flags will be added to the link.opt file
1a38107941725211e7c3f051f7a8f5e12199f03acmaeder# These values will be appended to the correct variables based on the value of
1a38107941725211e7c3f051f7a8f5e12199f03acmaederifeq "$(RELEASE)" "debug"
1a38107941725211e7c3f051f7a8f5e12199f03acmaederXDEFINES += \
1a38107941725211e7c3f051f7a8f5e12199f03acmaederXLFLAGS += \
ab0274ab68a174d3e92235b4c4ca865c03901583Christian Maederifeq "$(RELEASE)" "noopt"
23a0d43ca980983c7d7aebaa9f03bfe120be7de8Christian Maederifeq "$(RELEASE)" "release"
df15a183ca8bf1c25db69775979905198d7cc8bbChristian Maeder# These are used by the link target if an NLM is being generated
2119c0874c93fc1cdfea381bcfea69e8fdb8b6e2Christian Maeder# This is used by the link 'name' directive to name the nlm. If left blank
2119c0874c93fc1cdfea381bcfea69e8fdb8b6e2Christian Maeder# TARGET_nlm (see below) will be used.
df15a183ca8bf1c25db69775979905198d7cc8bbChristian MaederNLM_NAME = usertrk
2119c0874c93fc1cdfea381bcfea69e8fdb8b6e2Christian Maeder# This is used by the link '-desc ' directive.
38504dc968167ba2e82dd568edeae8d6af4dc145Christian Maeder# If left blank, NLM_NAME will be used.
2119c0874c93fc1cdfea381bcfea69e8fdb8b6e2Christian MaederNLM_DESCRIPTION = Apache $(VERSION_STR) User Track Module
d3f192025f2836285d9705a959542350e057f281Christian Maeder# This is used by the '-threadname' directive. If left blank,
df15a183ca8bf1c25db69775979905198d7cc8bbChristian Maeder# NLM_NAME Thread will be used.
2119c0874c93fc1cdfea381bcfea69e8fdb8b6e2Christian MaederNLM_THREAD_NAME = User Track Module
d3f192025f2836285d9705a959542350e057f281Christian Maeder# If this is specified, it will override VERSION value in
2119c0874c93fc1cdfea381bcfea69e8fdb8b6e2Christian Maeder# If this is specified, it will override the default of 64K
d3f192025f2836285d9705a959542350e057f281Christian MaederNLM_STACK_SIZE = 8192
d3f192025f2836285d9705a959542350e057f281Christian Maeder# If this is specified it will be used by the link '-entry' directive
df15a183ca8bf1c25db69775979905198d7cc8bbChristian MaederNLM_ENTRY_SYM =
df15a183ca8bf1c25db69775979905198d7cc8bbChristian Maeder# If this is specified it will be used by the link '-exit' directive
2119c0874c93fc1cdfea381bcfea69e8fdb8b6e2Christian MaederNLM_EXIT_SYM =
2119c0874c93fc1cdfea381bcfea69e8fdb8b6e2Christian Maeder# If this is specified it will be used by the link '-check' directive
df15a183ca8bf1c25db69775979905198d7cc8bbChristian MaederNLM_CHECK_SYM =
2119c0874c93fc1cdfea381bcfea69e8fdb8b6e2Christian Maeder# If these are specified it will be used by the link '-flags' directive
2119c0874c93fc1cdfea381bcfea69e8fdb8b6e2Christian Maeder# If this is specified it will be linked in with the XDCData option in the def
df15a183ca8bf1c25db69775979905198d7cc8bbChristian Maeder# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
df15a183ca8bf1c25db69775979905198d7cc8bbChristian Maeder# by setting APACHE_UNIPROC in the environment
d3f192025f2836285d9705a959542350e057f281Christian Maeder# If there is an NLM target, put it here
2119c0874c93fc1cdfea381bcfea69e8fdb8b6e2Christian MaederTARGET_nlm = \
$(OBJDIR)/mod_usertrack.o \
# These will be added as a library command in the link.opt file.
# These will be added as a module command in the link.opt file.
# If this is specified, it will override $(NWOS)\copyright.txt.
@aprlib.imp \
@httpd.imp \
@libc.imp \
# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
include $(APBUILD)/NWGNUtail.inc