NWGNUusertrk revision 8ffac2c334103c0336602aaede650cb578611151
35480afaefafb77b28d35b29039989ab888aafe9Stephen Gallagher# Make sure all needed macro's are defined
35480afaefafb77b28d35b29039989ab888aafe9Stephen Gallagher# Get the 'head' of the build environment if necessary. This includes default
35480afaefafb77b28d35b29039989ab888aafe9Stephen Gallagher# targets and paths to tools
35480afaefafb77b28d35b29039989ab888aafe9Stephen Gallagherifndef EnvironmentDefined
35480afaefafb77b28d35b29039989ab888aafe9Stephen Gallagher# These directories will be at the beginning of the include list, followed by
35480afaefafb77b28d35b29039989ab888aafe9Stephen Gallagher $(APR)/include \
35480afaefafb77b28d35b29039989ab888aafe9Stephen Gallagher $(APRUTIL)/include \
35480afaefafb77b28d35b29039989ab888aafe9Stephen Gallagher $(AP_WORK)/include \
35480afaefafb77b28d35b29039989ab888aafe9Stephen Gallagher# These flags will come after CFLAGS
2a91d3dd0ce4387332db27bd1a0c0005c74f870ePavel Reichl# These defines will come after DEFINES
32266b2c1c6b8bf95f3ba8fd7f3ff2ef63d8fb9aSumit BoseXDEFINES += \
13ec767e6ca3e435e119f1f07bda10eb213383f6Pavel Reichl# These flags will be added to the link.opt file
c9b0071bfcb8eb8c71e40248de46d23aceecc0f3Pavel Reichl# These values will be appended to the correct variables based on the value of
3612c73e7957721bcbf31d0118e2ac210eb46b88Pierre Ossmanifeq "$(RELEASE)" "debug"
d73fcc5183a676aed4fd040714b87274248b784cSumit BoseXDEFINES += \
32266b2c1c6b8bf95f3ba8fd7f3ff2ef63d8fb9aSumit Boseifeq "$(RELEASE)" "noopt"
32266b2c1c6b8bf95f3ba8fd7f3ff2ef63d8fb9aSumit BoseXINCDIRS += \
c9b0071bfcb8eb8c71e40248de46d23aceecc0f3Pavel ReichlXDEFINES += \
35480afaefafb77b28d35b29039989ab888aafe9Stephen Gallagherifeq "$(RELEASE)" "release"
dea636af4d1902a081ee891f1b19ee2f8729d759Pavel Březina# These are used by the link target if an NLM is being generated
8372129f446e1558f1923a112f328a266144c3ceStephen Gallagher# This is used by the link 'name' directive to name the nlm. If left blank
8372129f446e1558f1923a112f328a266144c3ceStephen Gallagher# TARGET_nlm (see below) will be used.
249a28dbf31e11794c7f35d709c5561c1555898dSimo SorceNLM_NAME = usertrk
443eb8217741df57d9f58f2098487b91e3404e71Jakub Hrozek# This is used by the link '-desc ' directive.
8372129f446e1558f1923a112f328a266144c3ceStephen Gallagher# If left blank, NLM_NAME will be used.
8372129f446e1558f1923a112f328a266144c3ceStephen GallagherNLM_DESCRIPTION = Apache $(VERSION_STR) User Track Module
# $(AP_WORK)/build/NWGNUenvironment.inc
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/usertrk.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