NWGNUproxyftp revision 70953fb44a7140fe206c3a5f011e24209c8c5c6a
205c10066a0acfeac52d1a135671f41d207b8557Automatic Updater# Make sure all needed macro's are defined
46da3117812814a29432a8d9a9ccf8acdbfdadceAutomatic Updater# Get the 'head' of the build environment if necessary. This includes default
2bb3422dc683c013db7042f5736240de6b86f182Automatic Updater# targets and paths to tools
ea854b585041ad19f70f7af15e08144ef2c2bd1bMark Andrewsifndef EnvironmentDefined
78cb74fab4665da2e2641ba909c6f59f74cc4193Automatic Updaterinclude $(AP_WORK)\build\NWGNUhead.inc
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# These directories will be at the beginning of the include list, followed by
bc0a53583d92309bebcf93c408e2f3247ebd3d3cAutomatic Updater $(AP_WORK)/include \
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater $(APR)/include \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews $(APRUTIL)/include \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# These flags will come after CFLAGS
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# These defines will come after DEFINES
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# These flags will be added to the link.opt file
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic Updater# These values will be appended to the correct variables based on the value of
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updaterifeq "$(RELEASE)" "debug"
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updaterifeq "$(RELEASE)" "noopt"
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsXINCDIRS += \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsifeq "$(RELEASE)" "release"
b1265b5a06df36d490d4bdf54284fb133a1f5a84Automatic Updater# These are used by the link target if an NLM is being generated
9174e44c14b1cb91a651fa1dc29470438c246ab9Automatic Updater# This is used by the link 'name' directive to name the nlm. If left blank
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews# TARGET_nlm (see below) will be used.
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic UpdaterNLM_NAME = proxyftp
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# This is used by the link '-desc ' directive.
f9119ad8f6114b2255e7545bf5cd187f4db0a89bAutomatic Updater# If left blank, NLM_NAME will be used.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsNLM_DESCRIPTION = Apache $(VERSION_STR) Proxy FTP Sub-Module
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater# This is used by the '-threadname' directive. If left blank,
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews# NLM_NAME Thread will be used.
b29e5c56eb74a6de1a84c29879afc90ffc6b1436Automatic UpdaterNLM_THREAD_NAME = Proxy FTP Module
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# If this is specified, it will override VERSION value in
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsNLM_VERSION =
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# If this is specified, it will override the default of 64K
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterNLM_STACK_SIZE = 8192
fe80a4909bf62b602feaf246866e9d29f7654194Automatic Updater# If this is specified it will be used by the link '-entry' directive
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterNLM_ENTRY_SYM = _LibCPrelude
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews# If this is specified it will be used by the link '-exit' directive
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic UpdaterNLM_EXIT_SYM = _LibCPostlude
133e6d43fa82e80d3798be4de00f4540f485ec6cAutomatic Updater# If this is specified it will be used by the link '-check' directive
133e6d43fa82e80d3798be4de00f4540f485ec6cAutomatic UpdaterNLM_CHECK_SYM =
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# If these are specified it will be used by the link '-flags' directive
0df8ead472f207020f8da22a185fe4b945248ab8Automatic UpdaterNLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
0ce87e5749aabb8eef1e0a37e4bd6e6ffa1d7196Automatic Updater# If this is specified it will be linked in with the XDCData option in the def
0df8ead472f207020f8da22a185fe4b945248ab8Automatic Updater# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
2bb3422dc683c013db7042f5736240de6b86f182Automatic Updater# by setting APACHE_UNIPROC in the environment
d145b64cacc8d9cda51f9924ec70cd4661c3e2cfAutomatic Updater# If there is an NLM target, put it here
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# If there is an LIB target, put it here
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# These are the OBJ files needed to create the NLM target above.
7f79131f9a8e804b93c57f3c679065cce878b726Automatic Updater# Paths must all use the '/' character
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterFILES_nlm_objs = \
7f94d9a8162c9a96b56e66176702b66e79d8e1a2Automatic Updater# These are the LIB files needed to create the NLM target above.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# These will be added as a library command in the link.opt file.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterFILES_nlm_libs = \
7262eb86f2b465822206122921e2f357218f0cfdAutomatic Updater# These are the modules that the above NLM target depends on to load.
96ea71632887c58a9d00f47eb318bf76b35903c3Mark Andrews# These will be added as a module command in the link.opt file.
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic UpdaterFILES_nlm_modules = \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# If the nlm has a msg file, put it's path here
c453a50776145e9c1c3fc9c846cfa11f42505081Automatic Updater# If the nlm has a hlp file put it's path here
957a8884fb712885cdd8ef0474f5ff95ddc46b20Automatic Updater# If this is specified, it will override $(NWOS)\copyright.txt.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterFILE_nlm_copyright =
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Any additional imports go here
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic UpdaterFILES_nlm_Ximports = \
cf7e98f59148b559946a7f1ca728471374f1eef3Automatic Updater proxy_module \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater proxy_hook_scheme_handler \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson proxy_hook_canon_handler \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater ap_proxy_ssl_enable \
361bec4bdec45042897fb479b7071cd05bbd56b9Automatic Updater ap_proxy_ssl_disable \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Any symbols exported to here
3857cb6fcabeb79d85de4b3e3e4ab99912b701f8Mark AndrewsFILES_nlm_exports = \
129090f0f6f91753b4a085ab635e28549fd018adAutomatic Updater proxy_ftp_module \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# These are the OBJ files needed to create the LIB target above.
e2caa7536302de34de6cc04025abcd53dc3a499aAutomatic Updater# Paths must all use the '/' character
7d12a6b412fe47e6d6582923fd6954ab8cd0baebAutomatic UpdaterFILES_lib_objs = \
7d12a6b412fe47e6d6582923fd6954ab8cd0baebAutomatic Updater# implement targets and dependancies (leave this section alone)
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrewslibs :: $(OBJDIR) $(TARGET_lib)
7d12a6b412fe47e6d6582923fd6954ab8cd0baebAutomatic Updaternlms :: libs $(TARGET_nlm)
3351ccbd5c1961404044f8273d54dad405f53960Mark Andrews# Updated this target to create necessary directories and copy files to the
7d12a6b412fe47e6d6582923fd6954ab8cd0baebAutomatic Updater# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrewsinstall :: nlms FORCE
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews# Any specialized rules here
7d12a6b412fe47e6d6582923fd6954ab8cd0baebAutomatic Updater# Include the 'tail' makefile that has targets that depend on variables defined
7d12a6b412fe47e6d6582923fd6954ab8cd0baebAutomatic Updater# in this makefile
7d12a6b412fe47e6d6582923fd6954ab8cd0baebAutomatic Updaterinclude $(AP_WORK)\build\NWGNUtail.inc