NWGNUmakefile revision f2f3f241c00a7a4bd597e57a19023940e072918a
3177N/A#
1231N/A# Declare the sub-directories to be built here
1231N/A#
1231N/A
1231N/ASUBDIRS = \
1231N/A $(EOLIST)
1231N/A
1231N/A#
1231N/A# Get the 'head' of the build environment. This includes default targets and
1231N/A# paths to tools
1231N/A#
1231N/A
1231N/Ainclude $(AP_WORK)\build\NWGNUhead.inc
1231N/A
1231N/A#
1231N/A# build this level's files
1231N/A
1231N/A#
1231N/A# Make sure all needed macro's are defined
1231N/A#
1231N/A
1231N/A#
3158N/A# These directories will be at the beginning of the include list, followed by
1231N/A# INCDIRS
1231N/A#
1231N/AXINCDIRS += \
1231N/A $(EOLIST)
1715N/A
1231N/A#
2595N/A# These flags will come after CFLAGS
1231N/A#
1544N/AXCFLAGS += \
1580N/A $(EOLIST)
1231N/A
1231N/A#
2381N/A# These defines will come after DEFINES
1231N/A#
1580N/AXDEFINES += \
2595N/A $(EOLIST)
1337N/A
2159N/A#
1231N/A# These flags will be added to the link.opt file
2381N/A#
1886N/AXLFLAGS += \
3177N/A $(EOLIST)
3177N/A
3177N/A#
1715N/A# These values will be appended to the correct variables based on the value of
1231N/A# RELEASE
1337N/A#
1231N/Aifeq "$(RELEASE)" "debug"
2460N/AXINCDIRS += \
3177N/A $(EOLIST)
1500N/A
1500N/AXCFLAGS += \
1500N/A $(EOLIST)
1500N/A
3177N/AXDEFINES += \
3177N/A $(EOLIST)
1715N/A
2091N/AXLFLAGS += \
1231N/A $(EOLIST)
1231N/Aendif
1231N/A
1231N/Aifeq "$(RELEASE)" "noopt"
2091N/AXINCDIRS += \
2091N/A $(EOLIST)
2460N/A
2091N/AXCFLAGS += \
2091N/A $(EOLIST)
2406N/A
2406N/AXDEFINES += \
2406N/A $(EOLIST)
2406N/A
1715N/AXLFLAGS += \
1231N/A $(EOLIST)
1337N/Aendif
1231N/A
1231N/Aifeq "$(RELEASE)" "release"
1715N/AXINCDIRS += \
1337N/A $(EOLIST)
1293N/A
1500N/AXCFLAGS += \
1500N/A $(EOLIST)
3177N/A
3177N/AXDEFINES += \
3177N/A $(EOLIST)
3177N/A
1500N/AXLFLAGS += \
1544N/A $(EOLIST)
3158N/Aendif
1544N/A
1544N/A#
1544N/A# These are used by the link target if an NLM is being generated
3158N/A# This is used by the link 'name' directive to name the nlm. If left blank
1544N/A# TARGET_nlm (see below) will be used.
1544N/A#
1544N/ANLM_NAME =
1544N/A
1544N/A#
1544N/A# This is used by the link '-desc ' directive.
1580N/A# If left blank, NLM_NAME will be used.
1580N/A#
1580N/ANLM_DESCRIPTION =
1580N/A
1580N/A#
1580N/A# This is used by the '-threadname' directive. If left blank,
1580N/A# NLM_NAME Thread will be used.
1580N/A#
1689N/ANLM_THREAD_NAME =
1689N/A
1689N/A#
1689N/A# If this is specified, it will override VERSION value in
1689N/A# $(AP_WORK)\build\NWGNUenvironment.inc
3158N/A#
1689N/ANLM_VERSION =
1689N/A
1689N/A#
2381N/A# If this is specified, it will override the default of 64K
1689N/A#
1689N/ANLM_STACK_SIZE =
1689N/A
2381N/A
1689N/A#
1845N/A# If this is specified it will be used by the link '-entry' directive
1689N/A#
3158N/ANLM_ENTRY_SYM =
1689N/A
1689N/A#
1689N/A# If this is specified it will be used by the link '-exit' directive
3158N/A#
3158N/ANLM_EXIT_SYM =
1689N/A
1689N/A#
1689N/A# If this is specified it will be used by the link '-check' directive
1689N/A#
1715N/ANLM_CHECK_SYM =
1689N/A
1689N/A#
1689N/A# If these are specified it will be used by the link '-flags' directive
1715N/A#
1580N/ANLM_FLAGS =
1580N/A
2381N/A#
1715N/A# If this is specified it will be linked in with the XDCData option in the def
1715N/A# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
1715N/A# by setting APACHE_UNIPROC in the environment
1580N/A#
3158N/AXDCDATA =
1580N/A
1580N/A#
2381N/A# If there is an NLM target, put it here
1580N/A#
3158N/ATARGET_nlm = \
1580N/A $(OBJDIR)/authbasc.nlm \
3158N/A $(OBJDIR)/authdigt.nlm \
2381N/A $(OBJDIR)/authnano.nlm \
2381N/A $(OBJDIR)/authndbd.nlm \
2381N/A $(OBJDIR)/authndbm.nlm \
2381N/A $(OBJDIR)/authnfil.nlm \
3158N/A $(OBJDIR)/authzdbd.nlm \
1580N/A $(OBJDIR)/authzdbm.nlm \
2381N/A $(OBJDIR)/authzgrp.nlm \
3158N/A $(OBJDIR)/authzusr.nlm \
3158N/A $(OBJDIR)/accesscompat.nlm \
3158N/A $(EOLIST)
3158N/A
3158N/A# If LDAPSDK has been defined then build the authnz_ldap module
3158N/Aifneq "$(LDAPSDK)" ""
3158N/ATARGET_nlm += $(OBJDIR)/authnzldap.nlm \
3158N/A $(EOLIST)
3158N/Aendif
3158N/A
3177N/A#
3177N/A# If there is an LIB target, put it here
3158N/A#
3158N/ATARGET_lib = \
3158N/A $(EOLIST)
3158N/A
1845N/A#
2381N/A# These are the OBJ files needed to create the NLM target above.
2381N/A# Paths must all use the '/' character
2381N/A#
1231N/AFILES_nlm_objs = \
1231N/A $(EOLIST)
2381N/A
3158N/A#
1231N/A# These are the LIB files needed to create the NLM target above.
1231N/A# These will be added as a library command in the link.opt file.
3158N/A#
3158N/AFILES_nlm_libs = \
1231N/A $(EOLIST)
1231N/A
3158N/A#
3158N/A# These are the modules that the above NLM target depends on to load.
1231N/A# These will be added as a module command in the link.opt file.
1231N/A#
1231N/AFILES_nlm_modules = \
1337N/A $(EOLIST)
3158N/A
3158N/A#
3158N/A# If the nlm has a msg file, put it's path here
3158N/A#
3158N/AFILE_nlm_msg =
3158N/A
2528N/A#
1337N/A# If the nlm has a hlp file put it's path here
1337N/A#
1337N/AFILE_nlm_hlp =
2381N/A
2381N/A#
2381N/A# If this is specified, it will override $(NWOS)\copyright.txt.
2381N/A#
1580N/AFILE_nlm_copyright =
3158N/A
3158N/A#
3158N/A# Any additional imports go here
3158N/A#
3158N/AFILES_nlm_Ximports = \
1845N/A $(EOLIST)
2381N/A
3158N/A#
3158N/A# Any symbols exported to here
3158N/A#
3158N/AFILES_nlm_exports = \
3158N/A $(EOLIST)
3177N/A
1580N/A#
1580N/A# These are the OBJ files needed to create the LIB target above.
1689N/A# Paths must all use the '/' character
2381N/A#
3158N/AFILES_lib_objs = \
1580N/A $(EOLIST)
1337N/A
1337N/A#
1337N/A# implement targets and dependancies (leave this section alone)
1337N/A#
1337N/A
1337N/Alibs :: $(OBJDIR) $(TARGET_lib)
1337N/A
1337N/Anlms :: libs $(TARGET_nlm)
2456N/A
1337N/A#
1337N/A# Updated this target to create necessary directories and copy files to the
1337N/A# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
1337N/A#
1337N/Ainstall :: nlms FORCE
1293N/A copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
1337N/A
2456N/A#
1337N/A# Any specialized rules here
1337N/A#
1337N/A
1337N/A#
1337N/A# Include the 'tail' makefile that has targets that depend on variables defined
1337N/A# in this makefile
2456N/A#
1337N/A
1337N/Ainclude $(AP_WORK)\build\NWGNUtail.inc
1337N/A
1337N/A