NWGNUusertrk revision 70953fb44a7140fe206c3a5f011e24209c8c5c6a
1337N/A#
1337N/A# Make sure all needed macro's are defined
1337N/A#
1337N/A
1337N/A#
0N/A# Get the 'head' of the build environment if necessary. This includes default
0N/A# targets and paths to tools
0N/A#
1298N/A
1298N/Aifndef EnvironmentDefined
1298N/Ainclude $(AP_WORK)\build\NWGNUhead.inc
1298N/Aendif
1298N/A
1298N/A#
1298N/A# These directories will be at the beginning of the include list, followed by
1298N/A# INCDIRS
1298N/A#
1298N/AXINCDIRS += \
1298N/A $(AP_WORK)/include \
1298N/A $(NWOS) \
1298N/A $(AP_WORK)/modules/arch/netware \
1298N/A $(APR)/include \
1298N/A $(APRUTIL)/include \
0N/A $(APR) \
0N/A $(EOLIST)
0N/A
1298N/A#
0N/A# These flags will come after CFLAGS
1298N/A#
1298N/AXCFLAGS += \
1298N/A -prefix pre_nw.h \
0N/A $(EOLIST)
1298N/A
1298N/A#
1298N/A# These defines will come after DEFINES
1298N/A#
1298N/AXDEFINES += \
1073N/A $(EOLIST)
1298N/A
0N/A#
1298N/A# These flags will be added to the link.opt file
1298N/A#
0N/AXLFLAGS += \
0N/A $(EOLIST)
115N/A
115N/A#
1298N/A# These values will be appended to the correct variables based on the value of
1298N/A# RELEASE
1298N/A#
1298N/Aifeq "$(RELEASE)" "debug"
1298N/AXINCDIRS += \
1337N/A $(EOLIST)
1298N/A
0N/AXCFLAGS += \
1298N/A $(EOLIST)
1298N/A
1298N/AXDEFINES += \
1298N/A $(EOLIST)
1298N/A
1298N/AXLFLAGS += \
1298N/A $(EOLIST)
0N/Aendif
1298N/A
1298N/Aifeq "$(RELEASE)" "noopt"
1298N/AXINCDIRS += \
1298N/A $(EOLIST)
1298N/A
1298N/AXCFLAGS += \
1298N/A $(EOLIST)
1298N/A
1298N/AXDEFINES += \
1298N/A $(EOLIST)
1298N/A
1298N/AXLFLAGS += \
1298N/A $(EOLIST)
1298N/Aendif
1298N/A
1298N/Aifeq "$(RELEASE)" "release"
1298N/AXINCDIRS += \
1298N/A $(EOLIST)
1298N/A
1298N/AXCFLAGS += \
1298N/A $(EOLIST)
0N/A
1298N/AXDEFINES += \
1298N/A $(EOLIST)
1298N/A
1298N/AXLFLAGS += \
1298N/A $(EOLIST)
1298N/Aendif
1298N/A
1298N/A#
1298N/A# These are used by the link target if an NLM is being generated
1298N/A# This is used by the link 'name' directive to name the nlm. If left blank
1298N/A# TARGET_nlm (see below) will be used.
1298N/A#
1298N/ANLM_NAME = usertrk
1298N/A
1298N/A#
1298N/A# This is used by the link '-desc ' directive.
1298N/A# If left blank, NLM_NAME will be used.
1298N/A#
1298N/ANLM_DESCRIPTION = Apache $(VERSION_STR) User Track Module
1298N/A
1298N/A#
1298N/A# This is used by the '-threadname' directive. If left blank,
1298N/A# NLM_NAME Thread will be used.
1298N/A#
1298N/ANLM_THREAD_NAME = User Track Module
1298N/A
975N/A#
975N/A# If this is specified, it will override VERSION value in
1298N/A# $(AP_WORK)\build\NWGNUenvironment.inc
1298N/A#
1298N/ANLM_VERSION =
0N/A
0N/A#
1298N/A# If this is specified, it will override the default of 64K
975N/A#
975N/ANLM_STACK_SIZE = 8192
1298N/A
1298N/A
1298N/A#
1298N/A# If this is specified it will be used by the link '-entry' directive
1298N/A#
975N/ANLM_ENTRY_SYM = _LibCPrelude
1298N/A
1298N/A#
1298N/A# If this is specified it will be used by the link '-exit' directive
979N/A#
1298N/ANLM_EXIT_SYM = _LibCPostlude
975N/A
1298N/A#
1298N/A# If this is specified it will be used by the link '-check' directive
975N/A#
975N/ANLM_CHECK_SYM =
975N/A
1298N/A#
975N/A# If these are specified it will be used by the link '-flags' directive
975N/A#
975N/ANLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
975N/A
975N/A#
975N/A# If this is specified it will be linked in with the XDCData option in the def
975N/A# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
975N/A# by setting APACHE_UNIPROC in the environment
975N/A#
975N/AXDCDATA =
975N/A
975N/A#
975N/A# If there is an NLM target, put it here
1298N/A#
1298N/ATARGET_nlm = \
975N/A $(OBJDIR)/usertrk.nlm \
1298N/A $(EOLIST)
1298N/A
1298N/A#
1298N/A# If there is an LIB target, put it here
1298N/A#
1298N/ATARGET_lib = \
1298N/A $(EOLIST)
975N/A
975N/A#
975N/A# These are the OBJ files needed to create the NLM target above.
1298N/A# Paths must all use the '/' character
975N/A#
975N/AFILES_nlm_objs = \
975N/A $(OBJDIR)/mod_usertrack.o \
1298N/A $(EOLIST)
975N/A
975N/A#
975N/A# These are the LIB files needed to create the NLM target above.
1298N/A# These will be added as a library command in the link.opt file.
975N/A#
1301N/AFILES_nlm_libs = \
975N/A libcpre.o \
1301N/A $(EOLIST)
1301N/A
1301N/A#
975N/A# These are the modules that the above NLM target depends on to load.
975N/A# These will be added as a module command in the link.opt file.
975N/A#
975N/AFILES_nlm_modules = \
1298N/A aprlib \
975N/A libc \
975N/A $(EOLIST)
975N/A
975N/A#
1298N/A# If the nlm has a msg file, put it's path here
1298N/A#
975N/AFILE_nlm_msg =
1298N/A
1298N/A#
1298N/A# If the nlm has a hlp file put it's path here
1298N/A#
1298N/AFILE_nlm_hlp =
975N/A
975N/A#
975N/A# If this is specified, it will override $(NWOS)\copyright.txt.
975N/A#
975N/AFILE_nlm_copyright =
1298N/A
1298N/A#
975N/A# Any additional imports go here
1298N/A#
975N/AFILES_nlm_Ximports = \
975N/A @$(APR)/aprlib.imp \
975N/A @$(NWOS)/httpd.imp \
975N/A @libc.imp \
975N/A $(EOLIST)
1314N/A
1298N/A#
975N/A# Any symbols exported to here
1314N/A#
1314N/AFILES_nlm_exports = \
1314N/A usertrack_module \
1314N/A $(EOLIST)
975N/A
1298N/A#
1298N/A# These are the OBJ files needed to create the LIB target above.
1298N/A# Paths must all use the '/' character
975N/A#
1298N/AFILES_lib_objs = \
975N/A $(EOLIST)
975N/A
1298N/A#
1298N/A# implement targets and dependancies (leave this section alone)
1314N/A#
1298N/A
1298N/Alibs :: $(OBJDIR) $(TARGET_lib)
975N/A
984N/Anlms :: libs $(TARGET_nlm)
984N/A
984N/A#
1298N/A# Updated this target to create necessary directories and copy files to the
1298N/A# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
984N/A#
1298N/Ainstall :: nlms FORCE
1298N/A
1298N/A#
975N/A# Any specialized rules here
1311N/A#
1314N/A
1311N/A#
1311N/A# Include the 'tail' makefile that has targets that depend on variables defined
1314N/A# in this makefile
984N/A#
984N/A
975N/Ainclude $(AP_WORK)\build\NWGNUtail.inc
1298N/A
1298N/A