NWGNUhtdbm revision 16b55a35cff91315d261d1baa776138af465c4e4
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# Make sure all needed macro's are defined
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# Get the 'head' of the build environment if necessary. This includes default
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# targets and paths to tools
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeneyifndef EnvironmentDefined
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeneyinclude $(AP_WORK)\build\NWGNUhead.inc
90c2e60494a1efb7a25dd97066523a0d1890ace9Matt Sweeney# These directories will be at the beginning of the include list, followed by
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt SweeneyXINCDIRS += \
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney $(APR)/include \
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney $(APRUTIL)/include \
90c2e60494a1efb7a25dd97066523a0d1890ace9Matt Sweeney# These flags will come after CFLAGS
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# These defines will come after DEFINES
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt SweeneyXDEFINES += \
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# These flags will be added to the link.opt file
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# These values will be appended to the correct variables based on the value of
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeneyifeq "$(RELEASE)" "debug"
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt SweeneyXINCDIRS += \
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt SweeneyXDEFINES += \
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeneyifeq "$(RELEASE)" "noopt"
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt SweeneyXINCDIRS += \
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt SweeneyXDEFINES += \
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeneyifeq "$(RELEASE)" "release"
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt SweeneyXINCDIRS += \
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt SweeneyXDEFINES += \
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# These are used by the link target if an NLM is being generated
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# This is used by the link 'name' directive to name the nlm. If left blank
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# TARGET_nlm (see below) will be used.
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt SweeneyNLM_NAME = htdbm
# $(AP_WORK)\build\NWGNUenvironment.inc
# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
$(OBJDIR)/htdbm.nlm \
$(OBJDIR)/htdbm.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 \
@libc.imp \
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
include $(AP_WORK)\build\NWGNUtail.inc