NWGNUmakefile revision bb2b38cd44b032118359afbc743efbea12f48e61
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Declare the sub-directories to be built here
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncSUBDIRS = \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Get the 'head' of the build environment. This includes default targets and
65fea56f17cd614bc8908264df980a62e1931468vboxsync# paths to tools
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncinclude $(AP_WORK)\build\NWGNUhead.inc
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# build this level's files
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# These directories will be at the beginning of the include list, followed by
65fea56f17cd614bc8908264df980a62e1931468vboxsync# INCDIRS
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncXINCDIRS += \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(NWOS) \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(APR)/include \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(AP_WORK)/include \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(APRUTIL)/include \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# These flags will come after CFLAGS
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncXCFLAGS += \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# These defines will come after DEFINES
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncXDEFINES += \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# These flags will be added to the link.opt file
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncXLFLAGS += \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# These values will be appended to the correct variables based on the value of
65fea56f17cd614bc8908264df980a62e1931468vboxsync# RELEASE
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncifeq "$(RELEASE)" "debug"
65fea56f17cd614bc8908264df980a62e1931468vboxsyncXINCDIRS += \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncXCFLAGS += \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncXDEFINES += \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncXLFLAGS += \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsyncendif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncifeq "$(RELEASE)" "noopt"
65fea56f17cd614bc8908264df980a62e1931468vboxsyncXINCDIRS += \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncXCFLAGS += \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncXDEFINES += \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncXLFLAGS += \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsyncendif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncifeq "$(RELEASE)" "release"
65fea56f17cd614bc8908264df980a62e1931468vboxsyncXINCDIRS += \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncXCFLAGS += \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncXDEFINES += \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncXLFLAGS += \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsyncendif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# These are used by the link target if an NLM is being generated
65fea56f17cd614bc8908264df980a62e1931468vboxsync# This is used by the link 'name' directive to name the nlm. If left blank
65fea56f17cd614bc8908264df980a62e1931468vboxsync# TARGET_nlm (see below) will be used.
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncNLM_NAME = genchars
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# This is used by the link '-desc ' directive.
65fea56f17cd614bc8908264df980a62e1931468vboxsync# If left blank, NLM_NAME will be used.
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncNLM_DESCRIPTION = Generate Test Characters
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# This is used by the '-threadname' directive. If left blank,
65fea56f17cd614bc8908264df980a62e1931468vboxsync# NLM_NAME Thread will be used.
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncNLM_THREAD_NAME = genchars
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# If this is specified, it will override VERSION value in
65fea56f17cd614bc8908264df980a62e1931468vboxsync# $(AP_WORK)\NWGNUNetWare.rul
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncNLM_VERSION = 1,0,0
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# If this is specified, it will override the default of 64K
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncNLM_STACK_SIZE = 8192
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# If this is specified it will be used by the link '-entry' directive
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncNLM_ENTRY_SYM =_LibCPrelude
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# If this is specified it will be used by the link '-exit' directive
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncNLM_EXIT_SYM =_LibCPostlude
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# If this is specified it will be used by the link '-check' directive
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncNLM_CHECK_SYM =
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# If this is specified it will be used by the link '-flags' directive
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncNLM_FLAGS = PSEUDOPREEMPTION
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# If this is specified it will be linked in with the XDCData option in the def
65fea56f17cd614bc8908264df980a62e1931468vboxsync# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
65fea56f17cd614bc8908264df980a62e1931468vboxsync# by setting APACHE_UNIPROC in the environment
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncXDCDATA =
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Declare all target files (you must add your files here)
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# If there is an NLM target, put it here
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncTARGET_nlm = \
65fea56f17cd614bc8908264df980a62e1931468vboxsync$(OBJDIR)/genchars.nlm \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# If there is an LIB target, put it here
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncTARGET_lib = \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# These are the OBJ files needed to create the NLM target above.
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Paths must all use the '/' character
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncFILES_nlm_objs = \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(OBJDIR)/gen_test_char.o \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# These are the LIB files needed to create the NLM target above.
65fea56f17cd614bc8908264df980a62e1931468vboxsync# These will be added as a library command in the link.opt file.
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncFILES_nlm_libs = \
65fea56f17cd614bc8908264df980a62e1931468vboxsync libcpre.o \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# These are the modules that the above NLM target depends on to load.
65fea56f17cd614bc8908264df980a62e1931468vboxsync# These will be added as a module command in the link.opt file.
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncFILES_nlm_modules = \
65fea56f17cd614bc8908264df980a62e1931468vboxsync Libc \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# If the nlm has a msg file, put it's path here
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncFILE_nlm_msg =
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# If the nlm has a hlp file put it's path here
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncFILE_nlm_hlp =
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# If this is specified, it will override $(NWOS)\copyright.txt.
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncFILE_nlm_copyright =
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Any additional imports go here
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncFILES_nlm_Ximports = \
65fea56f17cd614bc8908264df980a62e1931468vboxsync @libc.imp \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Any symbols exported to here
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncFILES_nlm_exports = \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# These are the OBJ files needed to create the LIB target above.
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Paths must all use the '/' character
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncFILES_lib_objs = \
65fea56f17cd614bc8908264df980a62e1931468vboxsync $(EOLIST)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# implement targets and dependancies (leave this section alone)
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsynclibs :: $(OBJDIR) $(TARGET_lib)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncnlms :: libs $(TARGET_nlm)
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Updated this target to create necessary directories and copy files to the
65fea56f17cd614bc8908264df980a62e1931468vboxsync# correct place.
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsyncinstall :: nlms FORCE
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Any specialized rules here
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync# Include the 'tail' makefile that has targets that depend on variables defined
65fea56f17cd614bc8908264df980a62e1931468vboxsync# in this makefile
65fea56f17cd614bc8908264df980a62e1931468vboxsync#
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsyncinclude $(AP_WORK)\build\NWGNUtail.inc
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync