NWGNUcharsetl revision 70953fb44a7140fe206c3a5f011e24209c8c5c6a
f8b7801ea5717ef22cc0d02bffacfd5f9e48f898gregames# Declare the sub-directories to be built here
f8b7801ea5717ef22cc0d02bffacfd5f9e48f898gregames# Get the 'head' of the build environment. This includes default targets and
f8b7801ea5717ef22cc0d02bffacfd5f9e48f898gregames# paths to tools
eccae8f28bd9fcf6a2d1f29548f7c3b8e297c712wroweinclude $(AP_WORK)\build\NWGNUhead.inc
b1627fe7e2cb3809dcdfdf1fcbbb6dbccaf788c6rbb# build this level's files
eccae8f28bd9fcf6a2d1f29548f7c3b8e297c712wrowe# Make sure all needed macro's are defined
4e136881902ae5dfba3c59a23db7aa09345cea3awrowe# These directories will be at the beginning of the include list, followed by
06c2a9f9fcea4b8a21d6b7ffdd50c7a40edf10ffgregamesXINCDIRS += \
06c2a9f9fcea4b8a21d6b7ffdd50c7a40edf10ffgregames $(AP_WORK)/include \
6529086e53a38486d6cf0eac256b96548b6ef299wrowe $(APR)/include \
6529086e53a38486d6cf0eac256b96548b6ef299wrowe $(APRUTIL)/include \
6529086e53a38486d6cf0eac256b96548b6ef299wrowe# These flags will come after CFLAGS
6529086e53a38486d6cf0eac256b96548b6ef299wroweXCFLAGS += \
263dbbd9c2a6952e756973b3dde9beeaf8eff6b7gregames# These defines will come after DEFINES
263dbbd9c2a6952e756973b3dde9beeaf8eff6b7gregamesXDEFINES += \
263dbbd9c2a6952e756973b3dde9beeaf8eff6b7gregames -DAP_WANT_DIR_TRANSLATION \
0f2ac39337f7543f197db8b040f596123167eb2dstoddard# These flags will be added to the link.opt file
0f2ac39337f7543f197db8b040f596123167eb2dstoddardXLFLAGS += \
0f2ac39337f7543f197db8b040f596123167eb2dstoddard# These values will be appended to the correct variables based on the value of
afab3e893c3fecabf2e3cac4e37ada58db984cearbbifeq "$(RELEASE)" "debug"
afab3e893c3fecabf2e3cac4e37ada58db984cearbbXINCDIRS += \
612ea048caf897cb6e69dc296d2b143a08ba83a0rbbXCFLAGS += \
612ea048caf897cb6e69dc296d2b143a08ba83a0rbbXDEFINES += \
c8af62b87a118cbbc25414eb9459219f338b1b0fstoddardXLFLAGS += \
6529086e53a38486d6cf0eac256b96548b6ef299wroweifeq "$(RELEASE)" "noopt"
30309f86bfd564437654aa822a19cd0cb29ca6f8wroweXINCDIRS += \
30309f86bfd564437654aa822a19cd0cb29ca6f8wroweXCFLAGS += \
65db4f712167a3498de73cee5c08032a8aa6a010rbbXDEFINES += \
65db4f712167a3498de73cee5c08032a8aa6a010rbbXLFLAGS += \
ed4f9ec869d7fc5bd220c8d70ee58eed9b32d60arederpjifeq "$(RELEASE)" "release"
ed4f9ec869d7fc5bd220c8d70ee58eed9b32d60arederpjXINCDIRS += \
c8af62b87a118cbbc25414eb9459219f338b1b0fstoddardXCFLAGS += \
c8af62b87a118cbbc25414eb9459219f338b1b0fstoddardXDEFINES += \
c8af62b87a118cbbc25414eb9459219f338b1b0fstoddardXLFLAGS += \
8f43c3299e44dc11a4cd68acc93b578a0318daaftrawick# These are used by the link target if an NLM is being generated
8f43c3299e44dc11a4cd68acc93b578a0318daaftrawick# This is used by the link 'name' directive to name the nlm. If left blank
8f43c3299e44dc11a4cd68acc93b578a0318daaftrawick# TARGET_nlm (see below) will be used.
8f43c3299e44dc11a4cd68acc93b578a0318daaftrawickNLM_NAME = charsetl
688f7d0bc138bb02f92288017920468e7e314f23stoddard# This is used by the link '-desc ' directive.
688f7d0bc138bb02f92288017920468e7e314f23stoddard# If left blank, NLM_NAME will be used.
688f7d0bc138bb02f92288017920468e7e314f23stoddardNLM_DESCRIPTION = Apache $(VERSION_STR) Charset Lite Module
448a83963e3ec557bc9f9020ab44f9681595d1eerbb# This is used by the '-threadname' directive. If left blank,
3b8937baf1826c625c1ca90d220453a5e4b499edrbb# NLM_NAME Thread will be used.
3b8937baf1826c625c1ca90d220453a5e4b499edrbbNLM_THREAD_NAME = charsetl
9180a5933673ffb1af633c255ceee029340f3b1erbb# If this is specified, it will override VERSION value in
448a83963e3ec557bc9f9020ab44f9681595d1eerbb# $(AP_WORK)\build\NWGNUenvironment.inc
e654452796751e21828a4078767e075eccf3b232stoddardNLM_VERSION =
e654452796751e21828a4078767e075eccf3b232stoddard# If this is specified, it will override the default of 64K
4670899d8a45ac6add3105181adf1976a1fae109stoddardNLM_STACK_SIZE = 8192
f91cd1fc44d2588d82a56570b1005e7310dfc970jwoolley# If this is specified it will be used by the link '-entry' directive
f91cd1fc44d2588d82a56570b1005e7310dfc970jwoolleyNLM_ENTRY_SYM = _LibCPrelude
f91cd1fc44d2588d82a56570b1005e7310dfc970jwoolley# If this is specified it will be used by the link '-exit' directive
8ff9257331986cb3646442ab61703fcc02158046trawickNLM_EXIT_SYM = _LibCPostlude
7537a55be7520037878a521d4ec8c8eb2d44a288rbb# If this is specified it will be used by the link '-check' directive
7537a55be7520037878a521d4ec8c8eb2d44a288rbbNLM_CHECK_SYM =
7537a55be7520037878a521d4ec8c8eb2d44a288rbb# If these are specified it will be used by the link '-flags' directive
7537a55be7520037878a521d4ec8c8eb2d44a288rbbNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
de0fbde2191d651a2dd0296e0fd4c449fa9f1d39wrowe# If this is specified it will be linked in with the XDCData option in the def
de0fbde2191d651a2dd0296e0fd4c449fa9f1d39wrowe# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
de0fbde2191d651a2dd0296e0fd4c449fa9f1d39wrowe# by setting APACHE_UNIPROC in the environment
01f404bacecbd1354af8f04c23a28acef5044e73jwoolley# If there is an NLM target, put it here
54f7f1c85247dad29d8fa275866cea31d465b392stoddardTARGET_nlm = \
3af8fbdd62c9495c8f879eef1eb952a638a18a7adougm# If there is an LIB target, put it here
e14ec68ef48bbf6c3dc567900f9e087eaf0bc931trawickTARGET_lib = \
227e0bfd39e7c757d3618c8ada78d80cd1143d32wrowe# These are the OBJ files needed to create the NLM target above.
227e0bfd39e7c757d3618c8ada78d80cd1143d32wrowe# Paths must all use the '/' character
227e0bfd39e7c757d3618c8ada78d80cd1143d32wroweFILES_nlm_objs = \
8ff9257331986cb3646442ab61703fcc02158046trawick# These are the LIB files needed to create the NLM target above.
d9b416f8cfaaadcbc739cd8c7c356e76efdd3a2agregames# These will be added as a library command in the link.opt file.
d9b416f8cfaaadcbc739cd8c7c356e76efdd3a2agregamesFILES_nlm_libs = \
4192c91889a84b18aec0b046a94a2b2863be204cstoddard# These are the modules that the above NLM target depends on to load.
4192c91889a84b18aec0b046a94a2b2863be204cstoddard# These will be added as a module command in the link.opt file.
4192c91889a84b18aec0b046a94a2b2863be204cstoddardFILES_nlm_modules = \
7cc9511b8f1fff69439041327dc55e3423ccf439stoddard# If the nlm has a msg file, put it's path here
7cc9511b8f1fff69439041327dc55e3423ccf439stoddardFILE_nlm_msg =
1ccb67ea7d1f2a3747d285835fd0ce0d123b66b2orlikowski# If the nlm has a hlp file put it's path here
1ccb67ea7d1f2a3747d285835fd0ce0d123b66b2orlikowskiFILE_nlm_hlp =
a7318397b355119d990d1f311b951dea2aafc53arbb# If this is specified, it will override $(NWOS)\copyright.txt.
a7318397b355119d990d1f311b951dea2aafc53arbbFILE_nlm_copyright =
3f4d7fdb598d64d80ab8656852276246f2f3b502rbb# Any additional imports go here
3f4d7fdb598d64d80ab8656852276246f2f3b502rbbFILES_nlm_Ximports = \
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard# Any symbols exported to here
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddardFILES_nlm_exports = \
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard charset_lite_module \
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard# These are the OBJ files needed to create the LIB target above.
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard# Paths must all use the '/' character
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddardFILES_lib_objs = \
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard# implement targets and dependancies (leave this section alone)
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddardlibs :: $(OBJDIR) $(TARGET_lib)
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddardnlms :: libs $(TARGET_nlm)
0530cd68803616cfba0456038f2e679d41ebecb1minfrin# Updated this target to create necessary directories and copy files to the
55069cedbbaf2768c1f317c80129c6f869890fb9rbb# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
55069cedbbaf2768c1f317c80129c6f869890fb9rbbinstall :: nlms FORCE
6206099ac06c8fcc8c342e993e5d47d3dfb95d8dminfrin# Any specialized rules here
0530cd68803616cfba0456038f2e679d41ebecb1minfrin# Include the 'tail' makefile that has targets that depend on variables defined
b9d75184a83c325dc6cdf5488b0b1a4adec27506stoddard# in this makefile
b9d75184a83c325dc6cdf5488b0b1a4adec27506stoddardinclude $(AP_WORK)\build\NWGNUtail.inc