NWGNUmodlogio revision 16b55a35cff91315d261d1baa776138af465c4e4
615618f97c8870e6d62b9ad417632c19302c08c0ianh# Declare the sub-directories to be built here
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# Get the 'head' of the build environment. This includes default targets and
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# paths to tools
ab71b233b3a36489e44a7b061c48293be0b17788jwoolleyinclude $(AP_WORK)\build\NWGNUhead.inc
9180a5933673ffb1af633c255ceee029340f3b1erbb# build this level's files
2900ab946a2d76b73a14cebfe2985d253f01c967stoddard# Make sure all needed macro's are defined
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb# These directories will be at the beginning of the include list, followed by
6f6f4a4bca281779d196acbdd5c017bb90858305trawickXINCDIRS += \
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb $(APR)/include \
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick $(APRUTIL)/include \
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb $(AP_WORK)/include \
af4c982a7cf4515f124935f99a329744035fc699slive# These flags will come after CFLAGS
af4c982a7cf4515f124935f99a329744035fc699sliveXCFLAGS += \
531c23ff01a2489646f0a2029097013b328d935agstein# These defines will come after DEFINES
c00273b9c51c617ede471e9cb95c22420f1227fbbrianpXDEFINES += \
c00273b9c51c617ede471e9cb95c22420f1227fbbrianp# These flags will be added to the link.opt file
54e1babd5a5a56c576eeeace54110150769cc916coarXLFLAGS += \
54e1babd5a5a56c576eeeace54110150769cc916coar# These values will be appended to the correct variables based on the value of
7fe18c15b669db9d191859695901dc4fcf3829dawroweifeq "$(RELEASE)" "debug"
7fe18c15b669db9d191859695901dc4fcf3829dawroweXINCDIRS += \
7fe18c15b669db9d191859695901dc4fcf3829dawroweXCFLAGS += \
976501adbc040220270f7d1d77c4b8373033be69wroweXDEFINES += \
b84f66c93f820824b1d5455181f55598b766319cwroweXLFLAGS += \
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbbifeq "$(RELEASE)" "noopt"
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbbXINCDIRS += \
b84f66c93f820824b1d5455181f55598b766319cwroweXCFLAGS += \
b84f66c93f820824b1d5455181f55598b766319cwroweXDEFINES += \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawickXLFLAGS += \
976501adbc040220270f7d1d77c4b8373033be69wroweifeq "$(RELEASE)" "release"
976501adbc040220270f7d1d77c4b8373033be69wroweXINCDIRS += \
924c8dd40352ca7775704a31a7a77ab86dc951b4ianhXDEFINES += \
1b3f48fd6b1ccb8745f908e40156c5a85ca3c347jerenkrantz# These are used by the link target if an NLM is being generated
1b3f48fd6b1ccb8745f908e40156c5a85ca3c347jerenkrantz# This is used by the link 'name' directive to name the nlm. If left blank
1b3f48fd6b1ccb8745f908e40156c5a85ca3c347jerenkrantz# TARGET_nlm (see below) will be used.
39cf872a6df49bd5affe2ca6eaf683918184fbb4trawickNLM_NAME = logio
39cf872a6df49bd5affe2ca6eaf683918184fbb4trawick# This is used by the link '-desc ' directive.
1b3f48fd6b1ccb8745f908e40156c5a85ca3c347jerenkrantz# If left blank, NLM_NAME will be used.
54e1babd5a5a56c576eeeace54110150769cc916coarNLM_DESCRIPTION = Apache $(VERSION_STR) IO Logging Module
54e1babd5a5a56c576eeeace54110150769cc916coar# This is used by the '-threadname' directive. If left blank,
54e1babd5a5a56c576eeeace54110150769cc916coar# NLM_NAME Thread will be used.
54e1babd5a5a56c576eeeace54110150769cc916coarNLM_THREAD_NAME = Logio Module
54e1babd5a5a56c576eeeace54110150769cc916coar# If this is specified, it will override VERSION value in
54e1babd5a5a56c576eeeace54110150769cc916coar# $(AP_WORK)\build\NWGNUenvironment.inc
54e1babd5a5a56c576eeeace54110150769cc916coarNLM_VERSION =
949aa7bba7f804faa8e6b08cad42a98fc0255d85jerenkrantz# If this is specified, it will override the default of 64K
949aa7bba7f804faa8e6b08cad42a98fc0255d85jerenkrantzNLM_STACK_SIZE = 8192
4ca13a5e126946272f02637e268a8e09193c553ecoar# If this is specified it will be used by the link '-entry' directive
4ca13a5e126946272f02637e268a8e09193c553ecoarNLM_ENTRY_SYM = _LibCPrelude
480e89b14b2c407bb2e8b8a918e6a183e4573c6crbb# If this is specified it will be used by the link '-exit' directive
480e89b14b2c407bb2e8b8a918e6a183e4573c6crbbNLM_EXIT_SYM = _LibCPostlude
480e89b14b2c407bb2e8b8a918e6a183e4573c6crbb# If this is specified it will be used by the link '-check' directive
4ca13a5e126946272f02637e268a8e09193c553ecoarNLM_CHECK_SYM =
38b116de532efb28defc6a0aaa71fb8c46487190gstein# If these are specified it will be used by the link '-flags' directive
38b116de532efb28defc6a0aaa71fb8c46487190gsteinNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
38b116de532efb28defc6a0aaa71fb8c46487190gstein# If this is specified it will be linked in with the XDCData option in the def
38b116de532efb28defc6a0aaa71fb8c46487190gstein# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
e2979c854f6ff7c056d75f6f1ae49767ce3b6d37jerenkrantz# by setting APACHE_UNIPROC in the environment
d90f6d052b76ed4cf5e27e8292a22c2c97bb5134jerenkrantz# If there is an NLM target, put it here
d90f6d052b76ed4cf5e27e8292a22c2c97bb5134jerenkrantzTARGET_nlm = \
d90f6d052b76ed4cf5e27e8292a22c2c97bb5134jerenkrantz# If there is an LIB target, put it here
d90f6d052b76ed4cf5e27e8292a22c2c97bb5134jerenkrantzTARGET_lib = \
d90f6d052b76ed4cf5e27e8292a22c2c97bb5134jerenkrantz# These are the OBJ files needed to create the NLM target above.
38b116de532efb28defc6a0aaa71fb8c46487190gstein# Paths must all use the '/' character
38b116de532efb28defc6a0aaa71fb8c46487190gsteinFILES_nlm_objs = \
38b116de532efb28defc6a0aaa71fb8c46487190gstein# These are the LIB files needed to create the NLM target above.
38b116de532efb28defc6a0aaa71fb8c46487190gstein# These will be added as a library command in the link.opt file.
38b116de532efb28defc6a0aaa71fb8c46487190gsteinFILES_nlm_libs = \
38b116de532efb28defc6a0aaa71fb8c46487190gstein# These are the modules that the above NLM target depends on to load.
b84f66c93f820824b1d5455181f55598b766319cwrowe# These will be added as a module command in the link.opt file.
b84f66c93f820824b1d5455181f55598b766319cwroweFILES_nlm_modules = \
b84f66c93f820824b1d5455181f55598b766319cwrowe# If the nlm has a msg file, put it's path here
410912d9cb56a09a74f8655647ed9e81d49023f4gregamesFILE_nlm_msg =
60d567a0c2aae815ee6fc20c0d65032bea52c92cwrowe# If the nlm has a hlp file put it's path here
60d567a0c2aae815ee6fc20c0d65032bea52c92cwroweFILE_nlm_hlp =
60d567a0c2aae815ee6fc20c0d65032bea52c92cwrowe# If this is specified, it will override $(NWOS)\copyright.txt.
60d567a0c2aae815ee6fc20c0d65032bea52c92cwroweFILE_nlm_copyright =
7239216999e746bb4fc7671621becea33c5c1c87stoddard# Any additional imports go here
d180ec1b29106f4fec480ef7fcdb04df078010cerseFILES_nlm_Ximports = \
3913a3b7e7c72ea11d05da36275db39c2dc39b68jwoolley# Any symbols exported to here
5fcdb40a60e9819e5fb192f7ea97a4c29d350ecbjerenkrantzFILES_nlm_exports = \
5fcdb40a60e9819e5fb192f7ea97a4c29d350ecbjerenkrantz logio_module \
5fcdb40a60e9819e5fb192f7ea97a4c29d350ecbjerenkrantz# These are the OBJ files needed to create the LIB target above.
5fcdb40a60e9819e5fb192f7ea97a4c29d350ecbjerenkrantz# Paths must all use the '/' character
e32adabcbf3bf5b69ba2e8b163b971839efc94dbtrawickFILES_lib_objs = \
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard# implement targets and dependancies (leave this section alone)
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddardlibs :: $(OBJDIR) $(TARGET_lib)
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddardnlms :: libs $(TARGET_nlm)
1b9744b72f26e9a0e935f9c08d49feb1fcce72f9jwoolley# Updated this target to create necessary directories and copy files to the
1b9744b72f26e9a0e935f9c08d49feb1fcce72f9jwoolley# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
1b9744b72f26e9a0e935f9c08d49feb1fcce72f9jwoolleyinstall :: nlms FORCE
1b9744b72f26e9a0e935f9c08d49feb1fcce72f9jwoolley copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
1b9744b72f26e9a0e935f9c08d49feb1fcce72f9jwoolley# Any specialized rules here
93db592309ba9e5ab230f67611a2c74fece9cdb2marc# Include the 'tail' makefile that has targets that depend on variables defined
93db592309ba9e5ab230f67611a2c74fece9cdb2marc# in this makefile
93db592309ba9e5ab230f67611a2c74fece9cdb2marcinclude $(AP_WORK)\build\NWGNUtail.inc