NWGNUautoindex revision ac7985784d08a3655291f24f711812b4d8b1cbcf
2a335dc8289c2018c8311c41a05286a205e754c4Lubos Kosco# Make sure all needed macro's are defined
477c09a2656e6a2c1075425ad81e61d594164fa9Lubos Kosco# Get the 'head' of the build environment if necessary. This includes default
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# targets and paths to tools
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Koscoifndef EnvironmentDefined
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Koscoinclude $(AP_WORK)\build\NWGNUhead.inc
2a335dc8289c2018c8311c41a05286a205e754c4Lubos Kosco# These directories will be at the beginning of the include list, followed by
2a335dc8289c2018c8311c41a05286a205e754c4Lubos KoscoXINCDIRS += \
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos Kosco $(AP_WORK)/include \
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco $(APR)/include \
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco $(APRUTIL)/include \
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# These flags will come after CFLAGS
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# These defines will come after DEFINES
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos KoscoXDEFINES += \
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# These flags will be added to the link.opt file
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# These values will be appended to the correct variables based on the value of
2a335dc8289c2018c8311c41a05286a205e754c4Lubos Koscoifeq "$(RELEASE)" "debug"
2a335dc8289c2018c8311c41a05286a205e754c4Lubos KoscoXINCDIRS += \
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos KoscoXDEFINES += \
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Koscoifeq "$(RELEASE)" "noopt"
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos KoscoXINCDIRS += \
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos KoscoXDEFINES += \
2a335dc8289c2018c8311c41a05286a205e754c4Lubos Koscoifeq "$(RELEASE)" "release"
2a335dc8289c2018c8311c41a05286a205e754c4Lubos KoscoXINCDIRS += \
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos KoscoXDEFINES += \
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# These are used by the link target if an NLM is being generated
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# This is used by the link 'name' directive to name the nlm. If left blank
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# TARGET_nlm (see below) will be used.
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos KoscoNLM_NAME = autoindex
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# This is used by the link '-desc ' directive.
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# If left blank, NLM_NAME will be used.
2a335dc8289c2018c8311c41a05286a205e754c4Lubos KoscoNLM_DESCRIPTION = Apache $(VERSION_STR) Autoindex Module
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# This is used by the '-threadname' directive. If left blank,
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# NLM_NAME Thread will be used.
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos KoscoNLM_THREAD_NAME = Autoindex Module
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# If this is specified, it will override VERSION value in
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# $(AP_WORK)\build\NWGNUenvironment.inc
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos KoscoNLM_VERSION =
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# If this is specified, it will override the default of 64K
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos KoscoNLM_STACK_SIZE = 8192
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/autoindex.nlm \
$(OBJDIR)/mod_autoindex.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.
@$(APR)/aprlib.imp \
@$(NWOS)/httpd.imp \
@libc.imp \
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
include $(AP_WORK)\build\NWGNUtail.inc