NWGNUuniqueid revision 16b55a35cff91315d261d1baa776138af465c4e4
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graber# Make sure all needed macro's are defined
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graber# Get the 'head' of the build environment if necessary. This includes default
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graber# targets and paths to tools
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graberifndef EnvironmentDefined
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graberinclude $(AP_WORK)\build\NWGNUhead.inc
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graber# These directories will be at the beginning of the include list, followed by
948955a2d6f8e4e28bceada9666c5831de4a6bb8Stéphane Graber $(APR)/include \
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graber $(APRUTIL)/include \
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graber $(AP_WORK)/include \
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graber# These flags will come after CFLAGS
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graber# These defines will come after DEFINES
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graber# These flags will be added to the link.opt file
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graber# These values will be appended to the correct variables based on the value of
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graberifeq "$(RELEASE)" "debug"
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graberifeq "$(RELEASE)" "noopt"
afeecbba0359d2b4404cdf896e6b6d0b5a8443b0Serge HallynXDEFINES += \
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graberifeq "$(RELEASE)" "release"
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graber# These are used by the link target if an NLM is being generated
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graber# This is used by the link 'name' directive to name the nlm. If left blank
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graber# TARGET_nlm (see below) will be used.
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane GraberNLM_NAME = uniqueid
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graber# This is used by the link '-desc ' directive.
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graber# If left blank, NLM_NAME will be used.
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane GraberNLM_DESCRIPTION = Apache $(VERSION_STR) Unique ID Module
068b3d04311c427b85e02205d2369f81f327e481Stéphane Graber# This is used by the '-threadname' directive. If left blank,
068b3d04311c427b85e02205d2369f81f327e481Stéphane Graber# NLM_NAME Thread will be used.
068b3d04311c427b85e02205d2369f81f327e481Stéphane GraberNLM_THREAD_NAME = Unique ID Module
068b3d04311c427b85e02205d2369f81f327e481Stéphane Graber# If this is specified, it will override VERSION value in
068b3d04311c427b85e02205d2369f81f327e481Stéphane Graber# $(AP_WORK)\build\NWGNUenvironment.inc
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graber# 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)/uniqueid.nlm \
$(OBJDIR)/mod_unique_id.o \
$(OBJDIR)/libprews.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 \
FILES_nlm_Ximports += @ws2nlm.imp \
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
vpath %.c ../arch/netware
include $(AP_WORK)\build\NWGNUtail.inc