NWGNUmakefile revision 138c38dda5bfa31757a5dd20345b33949d549fd4
2a335dc8289c2018c8311c41a05286a205e754c4Lubos Kosco# Declare the sub-directories to be built here
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# Get the 'head' of the build environment. This includes default targets and
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# paths to tools
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Koscoinclude $(AP_WORK)\build\NWGNUhead.inc
2a335dc8289c2018c8311c41a05286a205e754c4Lubos Kosco# build this level's files
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos Kosco# Make sure all needed macro's are defined
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# These directories will be at the beginning of the include list, followed by
f9fd2b96d1c5ea62664f74da0e34a04b6511a8ffLubos KoscoXINCDIRS += \
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# These flags will come after CFLAGS
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# These defines will come after DEFINES
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos KoscoXDEFINES += \
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# These flags will be added to the link.opt file
2a335dc8289c2018c8311c41a05286a205e754c4Lubos 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 += \
7224b1456affc41e89cf46eda1e0b74a044bcc93Lubos 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
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# TARGET_nlm (see below) will be used.
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# This is used by the link '-desc ' directive.
2a335dc8289c2018c8311c41a05286a205e754c4Lubos Kosco# If left blank, NLM_NAME will be used.
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos KoscoNLM_DESCRIPTION =
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# This is used by the '-threadname' directive. If left blank,
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# NLM_NAME Thread will be used.
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos KoscoNLM_THREAD_NAME =
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# If this is specified, it will override VERSION value in
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# $(AP_WORK)\build\NWGNUenvironment.inc
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos KoscoNLM_VERSION =
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# If this is specified, it will override the default of 64K
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/charsetl.nlm \
$(OBJDIR)/example.nlm \
$(OBJDIR)/mod_cach.nlm \
$(OBJDIR)/mem_cach.nlm \
$(OBJDIR)/dsk_cach.nlm \
TARGET_nlm += $(OBJDIR)/authldap.nlm \
$(OBJDIR)/utilldap.nlm \
# 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.
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
include $(AP_WORK)\build\NWGNUtail.inc