NWGNUmakefile revision 405f61494d3ed3ca9c054dacc05a53513e172145
2N/A#
2N/A# Declare the sub-directories to be built here
2N/A#
2N/A
2N/ASUBDIRS = \
2N/A $(EOLIST)
2N/A
2N/A#
2N/A# Get the 'head' of the build environment. This includes default targets and
2N/A# paths to tools
2N/A#
2N/A
2N/Ainclude $(AP_WORK)\build\NWGNUhead.inc
2N/A
2N/A#
2N/A# build this level's files
2N/A
2N/A#
2N/A# Make sure all needed macro's are defined
2N/A#
3996N/A
2N/A
2N/A#
2N/A# These directories will be at the beginning of the include list, followed by
2N/A# INCDIRS
23N/A#
23N/AXINCDIRS += \
23N/A $(EOLIST)
23N/A
23N/A#
32N/A# These flags will come after CFLAGS
32N/A#
32N/AXCFLAGS += \
3996N/A $(EOLIST)
32N/A
34N/A#
32N/A# These defines will come after DEFINES
32N/A#
3996N/AXDEFINES += \
32N/A $(EOLIST)
225N/A
225N/A#
3996N/A# These flags will be added to the link.opt file
225N/A#
225N/AXLFLAGS += \
225N/A $(EOLIST)
225N/A
225N/A#
3996N/A# These values will be appended to the correct variables based on the value of
225N/A# RELEASE
3996N/A#
3996N/Aifeq "$(RELEASE)" "debug"
3996N/AXINCDIRS += \
3996N/A $(EOLIST)
3996N/A
3996N/AXCFLAGS += \
3996N/A $(EOLIST)
3996N/A
3996N/AXDEFINES += \
3996N/A $(EOLIST)
3996N/A
3996N/AXLFLAGS += \
3996N/A $(EOLIST)
3996N/Aendif
3996N/A
3996N/Aifeq "$(RELEASE)" "noopt"
3996N/AXINCDIRS += \
3996N/A $(EOLIST)
3996N/A
3996N/AXCFLAGS += \
2N/A $(EOLIST)
38N/A
38N/AXDEFINES += \
38N/A $(EOLIST)
38N/A
38N/AXLFLAGS += \
38N/A $(EOLIST)
38N/Aendif
83N/A
3996N/Aifeq "$(RELEASE)" "release"
1273N/AXINCDIRS += \
3996N/A $(EOLIST)
2N/A
92N/AXCFLAGS += \
634N/A $(EOLIST)
92N/A
634N/AXDEFINES += \
92N/A $(EOLIST)
1900N/A
1900N/AXLFLAGS += \
1900N/A $(EOLIST)
1900N/Aendif
1900N/A
1900N/A#
1900N/A# These are used by the link target if an NLM is being generated
2N/A# This is used by the link 'name' directive to name the nlm. If left blank
2N/A# TARGET_nlm (see below) will be used.
3996N/A#
2N/ANLM_NAME =
34N/A
2N/A#
3996N/A# This is used by the link '-desc ' directive.
3996N/A# If left blank, NLM_NAME will be used.
3996N/A#
1273N/ANLM_DESCRIPTION =
1273N/A
313N/A#
3996N/A# This is used by the '-threadname' directive. If left blank,
3996N/A# NLM_NAME Thread will be used.
2N/A#
313N/ANLM_THREAD_NAME =
814N/A
3988N/A#
3988N/A# If this is specified, it will override VERSION value in
34N/A# $(AP_WORK)\build\NWGNUenvironment.inc
814N/A#
3996N/ANLM_VERSION =
2N/A
3996N/A#
2N/A# If this is specified, it will override the default of 64K
2N/A#
70N/ANLM_STACK_SIZE =
105N/A
105N/A
883N/A#
2N/A# If this is specified it will be used by the link '-entry' directive
634N/A#
634N/ANLM_ENTRY_SYM =
634N/A
634N/A#
634N/A# If this is specified it will be used by the link '-exit' directive
2238N/A#
70N/ANLM_EXIT_SYM =
2290N/A
634N/A#
70N/A# If this is specified it will be used by the link '-check' directive
2290N/A#
2290N/ANLM_CHECK_SYM =
2290N/A
2290N/A#
70N/A# If these are specified it will be used by the link '-flags' directive
70N/A#
70N/ANLM_FLAGS =
70N/A
6N/A#
814N/A# If this is specified it will be linked in with the XDCData option in the def
6N/A# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
313N/A# by setting APACHE_UNIPROC in the environment
38N/A#
3996N/AXDCDATA =
34N/A
3468N/A#
3468N/A# If there is an NLM target, put it here
3468N/A#
2238N/ATARGET_nlm = \
1900N/A $(OBJDIR)/cernmeta.nlm \
500N/A $(OBJDIR)/expires.nlm \
3468N/A $(OBJDIR)/headers.nlm \
3996N/A $(OBJDIR)/mimemagi.nlm \
3996N/A $(OBJDIR)/modident.nlm \
3468N/A $(OBJDIR)/uniqueid.nlm \
3468N/A $(OBJDIR)/usertrk.nlm \
3468N/A $(EOLIST)
2238N/A
2238N/A#
4561N/A# If there is an LIB target, put it here
4561N/A#
2238N/ATARGET_lib = \
4561N/A $(EOLIST)
92N/A
92N/A#
92N/A# These are the OBJ files needed to create the NLM target above.
2541N/A# Paths must all use the '/' character
2541N/A#
2541N/AFILES_nlm_objs = \
92N/A $(EOLIST)
92N/A
92N/A#
92N/A# These are the LIB files needed to create the NLM target above.
313N/A# These will be added as a library command in the link.opt file.
38N/A#
3996N/AFILES_nlm_libs = \
32N/A $(EOLIST)
2N/A
#
# These are the modules that the above NLM target depends on to load.
# These will be added as a module command in the link.opt file.
#
FILES_nlm_modules = \
$(EOLIST)
#
# If the nlm has a msg file, put it's path here
#
FILE_nlm_msg =
#
# If the nlm has a hlp file put it's path here
#
FILE_nlm_hlp =
#
# If this is specified, it will override $(NWOS)\copyright.txt.
#
FILE_nlm_copyright =
#
# Any additional imports go here
#
FILES_nlm_Ximports = \
$(EOLIST)
#
# Any symbols exported to here
#
FILES_nlm_exports = \
$(EOLIST)
#
# These are the OBJ files needed to create the LIB target above.
# Paths must all use the '/' character
#
FILES_lib_objs = \
$(EOLIST)
#
# implement targets and dependancies (leave this section alone)
#
libs :: $(OBJDIR) $(TARGET_lib)
nlms :: libs $(TARGET_nlm)
#
# Updated this target to create necessary directories and copy files to the
# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
#
install :: nlms FORCE
copy $(OBJDIR)\*.nlm $(INSTALL)\Apache2\modules\*.*
#
# Any specialized rules here
#
#
# Include the 'tail' makefile that has targets that depend on variables defined
# in this makefile
#
include $(AP_WORK)\build\NWGNUtail.inc