NWGNUcharsetl revision 70953fb44a7140fe206c3a5f011e24209c8c5c6a
571760de5e60c0b459cb11be45507b923cd023eejwoolley#
f8b7801ea5717ef22cc0d02bffacfd5f9e48f898gregames# Declare the sub-directories to be built here
7ff254655b6cb0516fa27409470a98554bbec706wrowe#
7ff254655b6cb0516fa27409470a98554bbec706wrowe
7ff254655b6cb0516fa27409470a98554bbec706wroweSUBDIRS = \
7ff254655b6cb0516fa27409470a98554bbec706wrowe $(EOLIST)
f8b7801ea5717ef22cc0d02bffacfd5f9e48f898gregames
f8b7801ea5717ef22cc0d02bffacfd5f9e48f898gregames#
f8b7801ea5717ef22cc0d02bffacfd5f9e48f898gregames# Get the 'head' of the build environment. This includes default targets and
f8b7801ea5717ef22cc0d02bffacfd5f9e48f898gregames# paths to tools
f8b7801ea5717ef22cc0d02bffacfd5f9e48f898gregames#
286129112dc6bfee53f0db4f945d3352d4d5bed7stoddard
eccae8f28bd9fcf6a2d1f29548f7c3b8e297c712wroweinclude $(AP_WORK)\build\NWGNUhead.inc
b1627fe7e2cb3809dcdfdf1fcbbb6dbccaf788c6rbb
b1627fe7e2cb3809dcdfdf1fcbbb6dbccaf788c6rbb#
b1627fe7e2cb3809dcdfdf1fcbbb6dbccaf788c6rbb# build this level's files
b1627fe7e2cb3809dcdfdf1fcbbb6dbccaf788c6rbb
b1627fe7e2cb3809dcdfdf1fcbbb6dbccaf788c6rbb#
eccae8f28bd9fcf6a2d1f29548f7c3b8e297c712wrowe# Make sure all needed macro's are defined
eccae8f28bd9fcf6a2d1f29548f7c3b8e297c712wrowe#
eccae8f28bd9fcf6a2d1f29548f7c3b8e297c712wrowe
eccae8f28bd9fcf6a2d1f29548f7c3b8e297c712wrowe#
4e136881902ae5dfba3c59a23db7aa09345cea3awrowe# These directories will be at the beginning of the include list, followed by
06c2a9f9fcea4b8a21d6b7ffdd50c7a40edf10ffgregames# INCDIRS
06c2a9f9fcea4b8a21d6b7ffdd50c7a40edf10ffgregames#
06c2a9f9fcea4b8a21d6b7ffdd50c7a40edf10ffgregamesXINCDIRS += \
06c2a9f9fcea4b8a21d6b7ffdd50c7a40edf10ffgregames $(AP_WORK)/include \
263dbbd9c2a6952e756973b3dde9beeaf8eff6b7gregames $(NWOS) \
6529086e53a38486d6cf0eac256b96548b6ef299wrowe $(AP_WORK)/modules/arch/netware \
6529086e53a38486d6cf0eac256b96548b6ef299wrowe $(APR)/include \
6529086e53a38486d6cf0eac256b96548b6ef299wrowe $(APRUTIL)/include \
6529086e53a38486d6cf0eac256b96548b6ef299wrowe $(APR) \
6529086e53a38486d6cf0eac256b96548b6ef299wrowe $(EOLIST)
6529086e53a38486d6cf0eac256b96548b6ef299wrowe
6529086e53a38486d6cf0eac256b96548b6ef299wrowe#
6529086e53a38486d6cf0eac256b96548b6ef299wrowe# These flags will come after CFLAGS
6529086e53a38486d6cf0eac256b96548b6ef299wrowe#
6529086e53a38486d6cf0eac256b96548b6ef299wroweXCFLAGS += \
9876642ec8126175f143702d7b949643f8128fdftrawick $(EOLIST)
9876642ec8126175f143702d7b949643f8128fdftrawick
9876642ec8126175f143702d7b949643f8128fdftrawick#
263dbbd9c2a6952e756973b3dde9beeaf8eff6b7gregames# These defines will come after DEFINES
263dbbd9c2a6952e756973b3dde9beeaf8eff6b7gregames#
263dbbd9c2a6952e756973b3dde9beeaf8eff6b7gregamesXDEFINES += \
263dbbd9c2a6952e756973b3dde9beeaf8eff6b7gregames -DAP_WANT_DIR_TRANSLATION \
0f2ac39337f7543f197db8b040f596123167eb2dstoddard $(EOLIST)
0f2ac39337f7543f197db8b040f596123167eb2dstoddard
0f2ac39337f7543f197db8b040f596123167eb2dstoddard#
0f2ac39337f7543f197db8b040f596123167eb2dstoddard# These flags will be added to the link.opt file
0f2ac39337f7543f197db8b040f596123167eb2dstoddard#
0f2ac39337f7543f197db8b040f596123167eb2dstoddardXLFLAGS += \
5183e10e45a86e2dd1112a4d71c24db3facbbc9agregames $(EOLIST)
5183e10e45a86e2dd1112a4d71c24db3facbbc9agregames
5183e10e45a86e2dd1112a4d71c24db3facbbc9agregames#
0f2ac39337f7543f197db8b040f596123167eb2dstoddard# These values will be appended to the correct variables based on the value of
4ff47e3535a6da266acc3f0cf743046dbf16a856rbb# RELEASE
afab3e893c3fecabf2e3cac4e37ada58db984cearbb#
afab3e893c3fecabf2e3cac4e37ada58db984cearbbifeq "$(RELEASE)" "debug"
afab3e893c3fecabf2e3cac4e37ada58db984cearbbXINCDIRS += \
afab3e893c3fecabf2e3cac4e37ada58db984cearbb $(EOLIST)
612ea048caf897cb6e69dc296d2b143a08ba83a0rbb
612ea048caf897cb6e69dc296d2b143a08ba83a0rbbXCFLAGS += \
612ea048caf897cb6e69dc296d2b143a08ba83a0rbb $(EOLIST)
612ea048caf897cb6e69dc296d2b143a08ba83a0rbb
612ea048caf897cb6e69dc296d2b143a08ba83a0rbbXDEFINES += \
612ea048caf897cb6e69dc296d2b143a08ba83a0rbb $(EOLIST)
67e81f5f6ddfe2e3d1f1208a04b8ccd368c658farbb
c8af62b87a118cbbc25414eb9459219f338b1b0fstoddardXLFLAGS += \
6529086e53a38486d6cf0eac256b96548b6ef299wrowe $(EOLIST)
6529086e53a38486d6cf0eac256b96548b6ef299wroweendif
6529086e53a38486d6cf0eac256b96548b6ef299wrowe
6529086e53a38486d6cf0eac256b96548b6ef299wroweifeq "$(RELEASE)" "noopt"
30309f86bfd564437654aa822a19cd0cb29ca6f8wroweXINCDIRS += \
30309f86bfd564437654aa822a19cd0cb29ca6f8wrowe $(EOLIST)
30309f86bfd564437654aa822a19cd0cb29ca6f8wrowe
30309f86bfd564437654aa822a19cd0cb29ca6f8wroweXCFLAGS += \
30309f86bfd564437654aa822a19cd0cb29ca6f8wrowe $(EOLIST)
65db4f712167a3498de73cee5c08032a8aa6a010rbb
65db4f712167a3498de73cee5c08032a8aa6a010rbbXDEFINES += \
65db4f712167a3498de73cee5c08032a8aa6a010rbb $(EOLIST)
65db4f712167a3498de73cee5c08032a8aa6a010rbb
65db4f712167a3498de73cee5c08032a8aa6a010rbbXLFLAGS += \
ed4f9ec869d7fc5bd220c8d70ee58eed9b32d60arederpj $(EOLIST)
ed4f9ec869d7fc5bd220c8d70ee58eed9b32d60arederpjendif
ed4f9ec869d7fc5bd220c8d70ee58eed9b32d60arederpj
ed4f9ec869d7fc5bd220c8d70ee58eed9b32d60arederpjifeq "$(RELEASE)" "release"
ed4f9ec869d7fc5bd220c8d70ee58eed9b32d60arederpjXINCDIRS += \
c8af62b87a118cbbc25414eb9459219f338b1b0fstoddard $(EOLIST)
c8af62b87a118cbbc25414eb9459219f338b1b0fstoddard
c8af62b87a118cbbc25414eb9459219f338b1b0fstoddardXCFLAGS += \
c8af62b87a118cbbc25414eb9459219f338b1b0fstoddard $(EOLIST)
c8af62b87a118cbbc25414eb9459219f338b1b0fstoddard
c8af62b87a118cbbc25414eb9459219f338b1b0fstoddardXDEFINES += \
c8af62b87a118cbbc25414eb9459219f338b1b0fstoddard $(EOLIST)
c8af62b87a118cbbc25414eb9459219f338b1b0fstoddard
c8af62b87a118cbbc25414eb9459219f338b1b0fstoddardXLFLAGS += \
c981632de03d61667b7a6dda3e1f0a80fd5973b1gregames $(EOLIST)
c981632de03d61667b7a6dda3e1f0a80fd5973b1gregamesendif
8f43c3299e44dc11a4cd68acc93b578a0318daaftrawick
8f43c3299e44dc11a4cd68acc93b578a0318daaftrawick#
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.
8f43c3299e44dc11a4cd68acc93b578a0318daaftrawick#
8f43c3299e44dc11a4cd68acc93b578a0318daaftrawickNLM_NAME = charsetl
8f43c3299e44dc11a4cd68acc93b578a0318daaftrawick
8f43c3299e44dc11a4cd68acc93b578a0318daaftrawick#
688f7d0bc138bb02f92288017920468e7e314f23stoddard# This is used by the link '-desc ' directive.
688f7d0bc138bb02f92288017920468e7e314f23stoddard# If left blank, NLM_NAME will be used.
688f7d0bc138bb02f92288017920468e7e314f23stoddard#
688f7d0bc138bb02f92288017920468e7e314f23stoddardNLM_DESCRIPTION = Apache $(VERSION_STR) Charset Lite Module
688f7d0bc138bb02f92288017920468e7e314f23stoddard
688f7d0bc138bb02f92288017920468e7e314f23stoddard#
448a83963e3ec557bc9f9020ab44f9681595d1eerbb# This is used by the '-threadname' directive. If left blank,
3b8937baf1826c625c1ca90d220453a5e4b499edrbb# NLM_NAME Thread will be used.
3b8937baf1826c625c1ca90d220453a5e4b499edrbb#
3b8937baf1826c625c1ca90d220453a5e4b499edrbbNLM_THREAD_NAME = charsetl
3b8937baf1826c625c1ca90d220453a5e4b499edrbb
3b8937baf1826c625c1ca90d220453a5e4b499edrbb#
9180a5933673ffb1af633c255ceee029340f3b1erbb# If this is specified, it will override VERSION value in
448a83963e3ec557bc9f9020ab44f9681595d1eerbb# $(AP_WORK)\build\NWGNUenvironment.inc
e654452796751e21828a4078767e075eccf3b232stoddard#
e654452796751e21828a4078767e075eccf3b232stoddardNLM_VERSION =
e654452796751e21828a4078767e075eccf3b232stoddard
e654452796751e21828a4078767e075eccf3b232stoddard#
e654452796751e21828a4078767e075eccf3b232stoddard# If this is specified, it will override the default of 64K
e654452796751e21828a4078767e075eccf3b232stoddard#
4670899d8a45ac6add3105181adf1976a1fae109stoddardNLM_STACK_SIZE = 8192
4670899d8a45ac6add3105181adf1976a1fae109stoddard
85986096003221e8eb135ad1fda59a57c3d0528brbb
cf293fe6e2515d89788ec515ce6266ad6f13a724stoddard#
f91cd1fc44d2588d82a56570b1005e7310dfc970jwoolley# If this is specified it will be used by the link '-entry' directive
f91cd1fc44d2588d82a56570b1005e7310dfc970jwoolley#
f91cd1fc44d2588d82a56570b1005e7310dfc970jwoolleyNLM_ENTRY_SYM = _LibCPrelude
f91cd1fc44d2588d82a56570b1005e7310dfc970jwoolley
cbed27f4c149736a6319a790c81aa8acc491fa18jwoolley#
f91cd1fc44d2588d82a56570b1005e7310dfc970jwoolley# If this is specified it will be used by the link '-exit' directive
f91cd1fc44d2588d82a56570b1005e7310dfc970jwoolley#
8ff9257331986cb3646442ab61703fcc02158046trawickNLM_EXIT_SYM = _LibCPostlude
7537a55be7520037878a521d4ec8c8eb2d44a288rbb
7537a55be7520037878a521d4ec8c8eb2d44a288rbb#
7537a55be7520037878a521d4ec8c8eb2d44a288rbb# If this is specified it will be used by the link '-check' directive
7537a55be7520037878a521d4ec8c8eb2d44a288rbb#
7537a55be7520037878a521d4ec8c8eb2d44a288rbbNLM_CHECK_SYM =
7537a55be7520037878a521d4ec8c8eb2d44a288rbb
7537a55be7520037878a521d4ec8c8eb2d44a288rbb#
7537a55be7520037878a521d4ec8c8eb2d44a288rbb# If these are specified it will be used by the link '-flags' directive
7537a55be7520037878a521d4ec8c8eb2d44a288rbb#
7537a55be7520037878a521d4ec8c8eb2d44a288rbbNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
7537a55be7520037878a521d4ec8c8eb2d44a288rbb
7537a55be7520037878a521d4ec8c8eb2d44a288rbb#
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
de0fbde2191d651a2dd0296e0fd4c449fa9f1d39wrowe#
de0fbde2191d651a2dd0296e0fd4c449fa9f1d39wroweXDCDATA =
01f404bacecbd1354af8f04c23a28acef5044e73jwoolley
01f404bacecbd1354af8f04c23a28acef5044e73jwoolley#
01f404bacecbd1354af8f04c23a28acef5044e73jwoolley# If there is an NLM target, put it here
54f7f1c85247dad29d8fa275866cea31d465b392stoddard#
54f7f1c85247dad29d8fa275866cea31d465b392stoddardTARGET_nlm = \
54f7f1c85247dad29d8fa275866cea31d465b392stoddard $(OBJDIR)/charsetl.nlm \
54f7f1c85247dad29d8fa275866cea31d465b392stoddard $(EOLIST)
01f404bacecbd1354af8f04c23a28acef5044e73jwoolley
54f7f1c85247dad29d8fa275866cea31d465b392stoddard#
3af8fbdd62c9495c8f879eef1eb952a638a18a7adougm# If there is an LIB target, put it here
3af8fbdd62c9495c8f879eef1eb952a638a18a7adougm#
e14ec68ef48bbf6c3dc567900f9e087eaf0bc931trawickTARGET_lib = \
e14ec68ef48bbf6c3dc567900f9e087eaf0bc931trawick $(EOLIST)
e14ec68ef48bbf6c3dc567900f9e087eaf0bc931trawick
e14ec68ef48bbf6c3dc567900f9e087eaf0bc931trawick#
227e0bfd39e7c757d3618c8ada78d80cd1143d32wrowe# These are the OBJ files needed to create the NLM target above.
227e0bfd39e7c757d3618c8ada78d80cd1143d32wrowe# Paths must all use the '/' character
227e0bfd39e7c757d3618c8ada78d80cd1143d32wrowe#
227e0bfd39e7c757d3618c8ada78d80cd1143d32wroweFILES_nlm_objs = \
8ff9257331986cb3646442ab61703fcc02158046trawick $(OBJDIR)/mod_charset_lite.o \
8ff9257331986cb3646442ab61703fcc02158046trawick $(EOLIST)
8ff9257331986cb3646442ab61703fcc02158046trawick
8ff9257331986cb3646442ab61703fcc02158046trawick#
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.
d9b416f8cfaaadcbc739cd8c7c356e76efdd3a2agregames#
d9b416f8cfaaadcbc739cd8c7c356e76efdd3a2agregamesFILES_nlm_libs = \
d9b416f8cfaaadcbc739cd8c7c356e76efdd3a2agregames libcpre.o \
d9b416f8cfaaadcbc739cd8c7c356e76efdd3a2agregames $(EOLIST)
4192c91889a84b18aec0b046a94a2b2863be204cstoddard
4192c91889a84b18aec0b046a94a2b2863be204cstoddard#
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.
4192c91889a84b18aec0b046a94a2b2863be204cstoddard#
4192c91889a84b18aec0b046a94a2b2863be204cstoddardFILES_nlm_modules = \
4192c91889a84b18aec0b046a94a2b2863be204cstoddard aprlib \
7af2fcad9e14a79d7020a33766fbd3a4dfd088dcorlikowski libc \
7af2fcad9e14a79d7020a33766fbd3a4dfd088dcorlikowski $(EOLIST)
7af2fcad9e14a79d7020a33766fbd3a4dfd088dcorlikowski
b9d82dd4bc49204d9c2c5523e36b3109da298c04wrowe#
7cc9511b8f1fff69439041327dc55e3423ccf439stoddard# If the nlm has a msg file, put it's path here
7cc9511b8f1fff69439041327dc55e3423ccf439stoddard#
7cc9511b8f1fff69439041327dc55e3423ccf439stoddardFILE_nlm_msg =
b9d82dd4bc49204d9c2c5523e36b3109da298c04wrowe
b9d82dd4bc49204d9c2c5523e36b3109da298c04wrowe#
1ccb67ea7d1f2a3747d285835fd0ce0d123b66b2orlikowski# If the nlm has a hlp file put it's path here
141c0f61e9a56fbf31abeb85d541949717128bf7orlikowski#
1ccb67ea7d1f2a3747d285835fd0ce0d123b66b2orlikowskiFILE_nlm_hlp =
3f4d7fdb598d64d80ab8656852276246f2f3b502rbb
a7318397b355119d990d1f311b951dea2aafc53arbb#
a7318397b355119d990d1f311b951dea2aafc53arbb# If this is specified, it will override $(NWOS)\copyright.txt.
a7318397b355119d990d1f311b951dea2aafc53arbb#
a7318397b355119d990d1f311b951dea2aafc53arbbFILE_nlm_copyright =
a7318397b355119d990d1f311b951dea2aafc53arbb
a7318397b355119d990d1f311b951dea2aafc53arbb#
3f4d7fdb598d64d80ab8656852276246f2f3b502rbb# Any additional imports go here
3f4d7fdb598d64d80ab8656852276246f2f3b502rbb#
3f4d7fdb598d64d80ab8656852276246f2f3b502rbbFILES_nlm_Ximports = \
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard @$(APR)/aprlib.imp \
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard @$(NWOS)/httpd.imp \
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard @libc.imp \
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard $(EOLIST)
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard#
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard# Any symbols exported to here
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard#
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddardFILES_nlm_exports = \
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard charset_lite_module \
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard $(EOLIST)
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard#
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard# These are the OBJ files needed to create the LIB target above.
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard# Paths must all use the '/' character
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard#
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddardFILES_lib_objs = \
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard $(EOLIST)
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard#
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard# implement targets and dependancies (leave this section alone)
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard#
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddardlibs :: $(OBJDIR) $(TARGET_lib)
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddardnlms :: libs $(TARGET_nlm)
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard#
0530cd68803616cfba0456038f2e679d41ebecb1minfrin# Updated this target to create necessary directories and copy files to the
55069cedbbaf2768c1f317c80129c6f869890fb9rbb# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
55069cedbbaf2768c1f317c80129c6f869890fb9rbb#
55069cedbbaf2768c1f317c80129c6f869890fb9rbbinstall :: nlms FORCE
55069cedbbaf2768c1f317c80129c6f869890fb9rbb
6206099ac06c8fcc8c342e993e5d47d3dfb95d8dminfrin#
6206099ac06c8fcc8c342e993e5d47d3dfb95d8dminfrin# Any specialized rules here
0530cd68803616cfba0456038f2e679d41ebecb1minfrin#
0530cd68803616cfba0456038f2e679d41ebecb1minfrin
0530cd68803616cfba0456038f2e679d41ebecb1minfrin#
0530cd68803616cfba0456038f2e679d41ebecb1minfrin# Include the 'tail' makefile that has targets that depend on variables defined
b9d75184a83c325dc6cdf5488b0b1a4adec27506stoddard# in this makefile
b9d75184a83c325dc6cdf5488b0b1a4adec27506stoddard#
b9d75184a83c325dc6cdf5488b0b1a4adec27506stoddard
b9d75184a83c325dc6cdf5488b0b1a4adec27506stoddardinclude $(AP_WORK)\build\NWGNUtail.inc
ba4c566c200c2436dae841b7c811807c80cd712afielding
2a7df37e1fa5276b519eb1f04827b96204ba8873trawick
2a7df37e1fa5276b519eb1f04827b96204ba8873trawick
2a7df37e1fa5276b519eb1f04827b96204ba8873trawick