NWGNUmakefile revision 084aee5bd4093a1b5e9b51d1ccfafc3948fa4109
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff#
2b43d1d8c508d7e7be388d85e8bf83ff0aed1e11Automatic Updater# Declare the sub-directories to be built here
fcb54ce0a4f7377486df5bec83b3aa4711bf4131Mark Andrews#
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence
ec5347e2c775f027573ce5648b910361aa926c01Automatic UpdaterSUBDIRS = \
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff srclib\apr \
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff build \
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence support \
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews modules \
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews $(EOLIST)
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# Get the 'head' of the build environment. This includes default targets and
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# paths to tools
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graffinclude $(AP_WORK)\build\NWGNUhead.inc
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence#
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff# build this level's files
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#
c803787146cadcb2d7e10cbf4491f3be513dfa1aMichael Graff# Make sure all needed macro's are defined
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff#
8cdfd17426179ae6f629a9b7475d46a22f535047Bob Halley
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff#
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff# These directories will be at the beginning of the include list, followed by
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff# INCDIRS
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff#
66bd3b3c6b171271c705b897823dcdcf29464698Michael GraffXINCDIRS += \
058eeac2105c39e7cb31fb75ee0b473717ec3bbcMark Andrews $(AP_WORK)/srclib/apr/include \
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence $(AP_WORK)/srclib/include/arch/NetWare \
3024dbecbac365171bc6de0f3fa04951d6558be3Michael Graff $(AP_WORK)/srclib/apr-util/include \
5fca48054b5e791a2fa0c5015bc3b6fef4fcdce1Andreas Gustafsson $(AP_WORK)/include \
f181f94ec8da8b1dbcc6353e8be965ea4a5ea282Michael Graff $(AP_WORK)/modules/filters/ \
d9059b0c38bd630c367d81424d72b1308cd74b04Tatuya JINMEI 神明達哉 $(AP_WORK)/modules/generators/ \
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff $(AP_WORK)/modules/http/ \
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence $(AP_WORK)/modules/loggers/ \
440be4c866f6935ac069db79a414304507a664c2Michael Graff $(AP_WORK)/modules/mappers/ \
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff $(AP_WORK)/modules/proxy/ \
e45d323a2a0f4ca08d4b139546e60a5fa7bd3f0cMichael Graff $(AP_WORK)/os/NetWare \
29f28fe573d4b3b318b3b026d567c1eb86738015Michael Graff $(AP_WORK)/server/mpm/NetWare \
86944a4c8002e80ae9b6eb5a5e29b797879be45fMichael Graff $(AP_WORK)/srclib/pcre \
21e7034ec046105c00a0dab86c83732e2e77ad99Michael Graff $(NWOS) \
e51511aa3281f8dc384eb1283115c7f8d5c402aeMichael Graff $(EOLIST)
e51511aa3281f8dc384eb1283115c7f8d5c402aeMichael Graff
d1cbf714097e900ed1703529584d3e1a50e8a4a8Brian Wellington#
bcf369e513a1cc2209e2a987f5772afa79813540Mark Andrews# These flags will come after CFLAGS
11efdeb076d65fa9f0c5fc067dc040e7c99dfba6Michael Graff#
09f22ac5b09e70bc526015f37168ba33e21ea91fDavid LawrenceXCFLAGS += \
8907d8fa04fdaa65baf0bc6b01230b2ebde93106Mark Andrews $(EOLIST)
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff#
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff# These defines will come after DEFINES
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff#
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael GraffXDEFINES += \
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff $(EOLIST)
31fab17bcdbe302592a6c0dc5374ef56333ee879Michael Graff
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff#
bcf369e513a1cc2209e2a987f5772afa79813540Mark Andrews# These flags will be added to the link.opt file
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff#
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael GraffXLFLAGS += \
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff $(EOLIST)
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff#
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff# These values will be appended to the correct variables based on the value of
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff# RELEASE
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein#
3115cd89bc1e1fd3ecc4705d253e3484a3f5c555Michael Graffifeq "$(RELEASE)" "debug"
d947011dc393d9f9988d1349d585b246d19cc3c7Michael GraffXINCDIRS += \
49a940dc68b30d9e4f9e1bd3c0503d8b90bb1726Mark Andrews $(EOLIST)
d947011dc393d9f9988d1349d585b246d19cc3c7Michael Graff
3115cd89bc1e1fd3ecc4705d253e3484a3f5c555Michael GraffXCFLAGS += \
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff $(EOLIST)
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael GraffXDEFINES += \
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff $(EOLIST)
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael GraffXLFLAGS += \
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff $(EOLIST)
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graffendif
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graffifeq "$(RELEASE)" "noopt"
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael GraffXINCDIRS += \
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff $(EOLIST)
3ac63b472022ff92691d1fe69ac715a729671965Michael Graff
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael GraffXCFLAGS += \
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff $(EOLIST)
213973a334f92d4aef4ef62b4538fc2e4d0e8082Michael Graff
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael GraffXDEFINES += \
64828244e04e86dfa40f0a4f0c05f27923da499dMichael Graff $(EOLIST)
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff
081cff0c33514a5dc63ab794fc199c07377ab756Mark AndrewsXLFLAGS += \
213973a334f92d4aef4ef62b4538fc2e4d0e8082Michael Graff $(EOLIST)
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graffendif
ff9bb3fc5453bbf310b67c560fbf04a5c0fb60daMichael Graff
bcf369e513a1cc2209e2a987f5772afa79813540Mark Andrewsifeq "$(RELEASE)" "release"
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael GraffXINCDIRS += \
bb143613cf26e0f27dfd9caf1a7336065d064b26Michael Graff $(EOLIST)
fe14eafefa91fada7cea0a55b09196c01477406cBob Halley
66bd3b3c6b171271c705b897823dcdcf29464698Michael GraffXCFLAGS += \
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein $(EOLIST)
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic UpdaterXDEFINES += \
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff $(EOLIST)
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic UpdaterXLFLAGS += \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(EOLIST)
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updaterendif
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# These are used by the link target if an NLM is being generated
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# This is used by the link 'name' directive to name the nlm. If left blank
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# TARGET_nlm (see below) will be used.
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic UpdaterNLM_NAME = Apache2
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# This is used by the link '-desc ' directive.
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# If left blank, NLM_NAME will be used.
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic UpdaterNLM_DESCRIPTION = Apache Web Server
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# This is used by the '-threadname' directive. If left blank,
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# NLM_NAME Thread will be used.
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic UpdaterNLM_THREAD_NAME = Apache
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# If this is specified, it will override VERSION value in
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# $(AP_WORK)\build\NWGNUenvironment.inc
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic UpdaterNLM_VERSION =
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews#
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews# If this is specified, it will override the default of 64K
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews#
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark AndrewsNLM_STACK_SIZE = 65536
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews#
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews# If this is specified it will be used by the link '-entry' directive
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic UpdaterNLM_ENTRY_SYM = _LibCPrelude
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# If this is specified it will be used by the link '-exit' directive
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark AndrewsNLM_EXIT_SYM = _LibCPostlude
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews#
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews# If this is specified it will be used by the link '-check' directive
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews#
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark AndrewsNLM_CHECK_SYM = _LibCCheckUnload
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# If these are specified it will be used by the link '-flags' directive
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic UpdaterNLM_FLAGS = PSEUDOPREEMPTION
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews# If this is specified it will be linked in with the XDCData option in the def
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews# by setting APACHE_UNIPROC in the environment
82f77687abd21349fa7c7f51e71fdc0c7367d2e2Mark Andrews#
66bd3b3c6b171271c705b897823dcdcf29464698Michael GraffXDCDATA =
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff
8cdfd17426179ae6f629a9b7475d46a22f535047Bob Halley#
8cdfd17426179ae6f629a9b7475d46a22f535047Bob Halley# If there is an NLM target, put it here
8cdfd17426179ae6f629a9b7475d46a22f535047Bob Halley#
8cdfd17426179ae6f629a9b7475d46a22f535047Bob HalleyTARGET_nlm = \
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein $(OBJDIR)/Apache2.nlm \
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff $(EOLIST)
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# If there is an LIB target, put it here
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic UpdaterTARGET_lib = \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(EOLIST)
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# These are the OBJ files needed to create the NLM target above.
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# Paths must all use the '/' character
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic UpdaterFILES_nlm_objs = \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/buildmark.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/config.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/connection.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/core.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/error_bucket.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/http_core.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/http_protocol.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/http_request.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/listen.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/log.o \
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff $(OBJDIR)/main.o \
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff $(OBJDIR)/mod_access.o \
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein $(OBJDIR)/mod_actions.o \
bb143613cf26e0f27dfd9caf1a7336065d064b26Michael Graff $(OBJDIR)/mod_alias.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/mod_asis.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/mod_auth.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/mod_autoindex.o \
bb143613cf26e0f27dfd9caf1a7336065d064b26Michael Graff $(OBJDIR)/mod_dir.o \
bb143613cf26e0f27dfd9caf1a7336065d064b26Michael Graff $(OBJDIR)/mod_env.o \
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein $(OBJDIR)/mod_imap.o \
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff $(OBJDIR)/mod_include.o \
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff $(OBJDIR)/mod_log_config.o \
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff $(OBJDIR)/mod_mime.o \
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff $(OBJDIR)/mod_negotiation.o \
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff $(OBJDIR)/mod_nw_ssl.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/mod_setenvif.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/mod_so.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/mod_userdir.o \
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff $(OBJDIR)/modules.o \
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff $(OBJDIR)/mpm_common.o \
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein $(OBJDIR)/mpm_netware.o \
bcf369e513a1cc2209e2a987f5772afa79813540Mark Andrews $(OBJDIR)/pcre.o \
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff $(OBJDIR)/pcreposix.o \
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff $(OBJDIR)/protocol.o \
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff $(OBJDIR)/request.o \
bcf369e513a1cc2209e2a987f5772afa79813540Mark Andrews $(OBJDIR)/rfc1413.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/scoreboard.o \
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff $(OBJDIR)/util.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/util_cfgtree.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/util_charset.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/util_filter.o \
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff $(OBJDIR)/util_md5.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(OBJDIR)/util_nw.o \
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff $(OBJDIR)/util_script.o \
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff $(OBJDIR)/util_time.o \
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein $(OBJDIR)/util_xml.o \
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff $(OBJDIR)/vhost.o \
57ecc983c0b37ce7dbccf28f44c6bffdfd6491f7Andreas Gustafsson $(EOLIST)
57ecc983c0b37ce7dbccf28f44c6bffdfd6491f7Andreas Gustafsson
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff#
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff# These are the LIB files needed to create the NLM target above.
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# These will be added as a library command in the link.opt file.
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic UpdaterFILES_nlm_libs = \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater libcpre.o \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(EOLIST)
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# These are the modules that the above NLM target depends on to load.
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# These will be added as a module command in the link.opt file.
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic UpdaterFILES_nlm_modules = \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater aprlib \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater Libc \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater $(EOLIST)
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# If the nlm has a msg file, put it's path here
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic UpdaterFILE_nlm_msg =
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff#
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff# If the nlm has a hlp file put it's path here
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff#
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael GraffFILE_nlm_hlp =
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff
d8590892d10fc9528b0dde7e2781935e7b8d7a87Michael Graff#
439c0011e642fb1d26011116144af698125262dbMichael Graff# If this is specified, it will override $(NWOS)\copyright.txt.
439c0011e642fb1d26011116144af698125262dbMichael Graff#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic UpdaterFILE_nlm_copyright =
439c0011e642fb1d26011116144af698125262dbMichael Graff
bcf369e513a1cc2209e2a987f5772afa79813540Mark Andrews#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# Any additional imports go here
bcf369e513a1cc2209e2a987f5772afa79813540Mark Andrews#
439c0011e642fb1d26011116144af698125262dbMichael GraffFILES_nlm_Ximports = \
439c0011e642fb1d26011116144af698125262dbMichael Graff @netware.imp \
c803787146cadcb2d7e10cbf4491f3be513dfa1aMichael Graff @$(APR)/aprlib.imp \
e34efaccfaab4dbbe45edd0a58e2b6e930e5784bMichael Graff @libc.imp \
d98c74e2ec5b96bd22aa4ed6d893e8993787493bMichael Graff @ws2nlm.imp \
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater GetCurrentAddressSpace \
ff9bb3fc5453bbf310b67c560fbf04a5c0fb60daMichael Graff $(EOLIST)
ff9bb3fc5453bbf310b67c560fbf04a5c0fb60daMichael Graff
439c0011e642fb1d26011116144af698125262dbMichael Graff#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# Any symbols exported to here
439c0011e642fb1d26011116144af698125262dbMichael Graff#
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉FILES_nlm_exports = \
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉 @$(NWOS)/httpd.imp \
dd95acdbce0e2a2775391709cdfca0a9eda7e8f7Mark Andrews $(EOLIST)
439c0011e642fb1d26011116144af698125262dbMichael Graff
5fca48054b5e791a2fa0c5015bc3b6fef4fcdce1Andreas Gustafsson#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# These are the OBJ files needed to create the LIB target above.
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# Paths must all use the '/' character
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater#
c803787146cadcb2d7e10cbf4491f3be513dfa1aMichael GraffFILES_lib_objs = \
1c3bc66ada38236cc81c41b7174a9f0a872c9ab6Michael Graff $(EOLIST)
e34efaccfaab4dbbe45edd0a58e2b6e930e5784bMichael Graff
e34efaccfaab4dbbe45edd0a58e2b6e930e5784bMichael Graff#
78bf1ca89505820ed7b03be4bf0c0b53b557f3cdAndreas Gustafsson# implement targets and dependancies (leave this section alone)
439c0011e642fb1d26011116144af698125262dbMichael Graff#
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater
27fe1966c948ba0c1c9d0d831ea3d8bf32d052acTatuya JINMEI 神明達哉libs :: $(OBJDIR) $(TARGET_lib)
27fe1966c948ba0c1c9d0d831ea3d8bf32d052acTatuya JINMEI 神明達哉
d8590892d10fc9528b0dde7e2781935e7b8d7a87Michael Graffnlms :: libs $(TARGET_nlm)
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉
16508d9185e5eb96af2ebe900a08c46a6e5eb7edBob Halley#
4281fe4a80af7402613f0d5c3eeff8829a4ede1fMichael Graff# Updated this target to create necessary directories and copy files to the
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater# correct place. (See $(AP_WORK)\build\NWGNUhead.inc for examples)
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff#
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉install :: nlms FORCE
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉 -copy $(OBJDIR)\Apache2.nlm $(INSTALL)\Apache2\*.*
4abed3e3563c7ad346178433130e6d150d3ffeafBob Halley -copy ABOUT_APACHE $(INSTALL)\Apache2\*.*
14b98cb34eda66c87ce41a207704a2c232280eafMichael Graff -copy README $(INSTALL)\Apache2\*.*
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater -copy STATUS $(INSTALL)\Apache2\*.*
49a940dc68b30d9e4f9e1bd3c0503d8b90bb1726Mark Andrews -copy LICENSE $(INSTALL)\Apache2\*.*
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater -copy CHANGES $(INSTALL)\Apache2\*.*
a253e35c2451818fb39f9b808c7641adb5275fb3Michael Graff -copy support\dbmmanage.in $(INSTALL)\Apache2\bin\dbmmanage.pl
651228967966ba4fb2e52f92d1207c790af4b130Michael Graff -copy support\logresolve.pl.in $(INSTALL)\Apache2\bin\logresolve.pl
e34efaccfaab4dbbe45edd0a58e2b6e930e5784bMichael Graff -awk -f build\mkconfnw.awk docs\conf\httpd-std.conf.in >$(INSTALL)\Apache2\conf\httpd.conf
e34efaccfaab4dbbe45edd0a58e2b6e930e5784bMichael Graff -copy docs\conf\magic $(INSTALL)\Apache2\conf\magic
a253e35c2451818fb39f9b808c7641adb5275fb3Michael Graff -copy docs\conf\mime.types $(INSTALL)\Apache2\conf\mime.types
e34efaccfaab4dbbe45edd0a58e2b6e930e5784bMichael Graff -copy docs\cgi-examples\printenv $(INSTALL)\Apache2\cgi-bin\printenv.pl
a44c12b332b867f29631e235eb11d1263c73d6c0Bob Halley @echo rem copying the docs directories > xc.bat
e34efaccfaab4dbbe45edd0a58e2b6e930e5784bMichael Graff @echo xcopy docs\error $(INSTALL)\Apache2\error /E >> xc.bat
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉 @echo xcopy docs\docroot $(INSTALL)\Apache2\htdocs /E >> xc.bat
dd95acdbce0e2a2775391709cdfca0a9eda7e8f7Mark Andrews @echo xcopy docs\icons $(INSTALL)\Apache2\icons /E >> xc.bat
dd95acdbce0e2a2775391709cdfca0a9eda7e8f7Mark Andrews @echo xcopy docs\man $(INSTALL)\Apache2\man /E >> xc.bat
ff9bb3fc5453bbf310b67c560fbf04a5c0fb60daMichael Graff @echo xcopy docs\manual $(INSTALL)\Apache2\manual /E >> xc.bat
4281fe4a80af7402613f0d5c3eeff8829a4ede1fMichael Graff $(CMD) xc.bat
4281fe4a80af7402613f0d5c3eeff8829a4ede1fMichael Graff
4281fe4a80af7402613f0d5c3eeff8829a4ede1fMichael Graff
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graffinstalldev :: FORCE
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff -copy $(subst /,\,$(AP_WORK))\include\*.h $(INSTALL)\Apache2\include\*.*
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff -copy $(subst /,\,$(AP_WORK))\os\netware\*.h $(INSTALL)\Apache2\include\*.*
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff -copy $(subst /,\,$(NWOS))\include\*.h $(INSTALL)\Apache2\include\*.*
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff -copy $(subst /,\,$(NWOS))\*.imp $(INSTALL)\Apache2\lib\*.*
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff -copy $(subst /,\,$(APR))\include\*.h $(INSTALL)\Apache2\include\*.*
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff -copy $(subst /,\,$(APR))\arch\netware\include\*.h $(INSTALL)\Apache2\include\*.*
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff -copy $(subst /,\,$(APRUTIL))\include\*.h $(INSTALL)\Apache2\include\*.*
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff -copy $(subst /,\,$(APR))\*.imp $(INSTALL)\Apache2\lib\*.*
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff#
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff# Any specialized rules here
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff#
14b98cb34eda66c87ce41a207704a2c232280eafMichael Graff
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉$(OBJDIR)/%.o: server/%.c $(OBJDIR)\cc.opt
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉 @echo compiling $<
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉 $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉$(OBJDIR)/%.o: modules/arch/netware/%.c $(OBJDIR)\cc.opt
c82bb6a709abe89c051485b49403ef5bad1b756cTatuya JINMEI 神明達哉 @echo compiling $<
65f6d2e1c1fce0989c13c2efb44b8dd26cd977f3Michael Graff $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
65f6d2e1c1fce0989c13c2efb44b8dd26cd977f3Michael Graff
49a940dc68b30d9e4f9e1bd3c0503d8b90bb1726Mark Andrews$(OBJDIR)/%.o: modules/http/%.c $(OBJDIR)\cc.opt
65f6d2e1c1fce0989c13c2efb44b8dd26cd977f3Michael Graff @echo compiling $<
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff$(OBJDIR)/%.o: modules/aaa/%.c $(OBJDIR)\cc.opt
a253e35c2451818fb39f9b808c7641adb5275fb3Michael Graff @echo compiling $<
65f6d2e1c1fce0989c13c2efb44b8dd26cd977f3Michael Graff $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
49a940dc68b30d9e4f9e1bd3c0503d8b90bb1726Mark Andrews
65f6d2e1c1fce0989c13c2efb44b8dd26cd977f3Michael Graff$(OBJDIR)/%.o: modules/mappers/%.c $(OBJDIR)\cc.opt
65f6d2e1c1fce0989c13c2efb44b8dd26cd977f3Michael Graff @echo compiling $<
49a940dc68b30d9e4f9e1bd3c0503d8b90bb1726Mark Andrews $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
49a940dc68b30d9e4f9e1bd3c0503d8b90bb1726Mark Andrews
65f6d2e1c1fce0989c13c2efb44b8dd26cd977f3Michael Graff$(OBJDIR)/%.o: modules/generators/%.c $(OBJDIR)\cc.opt
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff @echo compiling $<
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff$(OBJDIR)/%.o: modules/metadata/%.c $(OBJDIR)\cc.opt
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff @echo compiling $<
59e22acc4f79ff481f7bfa46ef0558957ae53cfcMichael Graff $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
65f6d2e1c1fce0989c13c2efb44b8dd26cd977f3Michael Graff
65f6d2e1c1fce0989c13c2efb44b8dd26cd977f3Michael Graff$(OBJDIR)/%.o: modules/filters/%.c $(OBJDIR)\cc.opt
65f6d2e1c1fce0989c13c2efb44b8dd26cd977f3Michael Graff @echo compiling $<
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff$(OBJDIR)/%.o: modules/loggers/%.c $(OBJDIR)\cc.opt
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater @echo compiling $<
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
f172f06ff2e7609dd7d91914a44b4e24cff8bb7aAutomatic Updater
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff$(OBJDIR)/%.o: os/netware/%.c $(OBJDIR)\cc.opt
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff @echo compiling $<
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff
4a3ad0da975d7115d401700f955814a0dff1adb0Bob Halley$(OBJDIR)/%.o: server/mpm/netware/%.c $(OBJDIR)\cc.opt
65f6d2e1c1fce0989c13c2efb44b8dd26cd977f3Michael Graff @echo compiling $<
65f6d2e1c1fce0989c13c2efb44b8dd26cd977f3Michael Graff $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
65f6d2e1c1fce0989c13c2efb44b8dd26cd977f3Michael Graff
65f6d2e1c1fce0989c13c2efb44b8dd26cd977f3Michael Graff$(OBJDIR)/%.o: srclib/pcre/%.c $(OBJDIR)\cc.opt
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff @echo compiling $<
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
65f6d2e1c1fce0989c13c2efb44b8dd26cd977f3Michael Graff
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff#
3d12fa7e76c02d06e1adeaa7846b60378a3cd204Michael Graff# Include the 'tail' makefile that has targets that depend on variables defined
1a0e33bc2044e1902493111db14cbf793083ac47Michael Graff# in this makefile
1a0e33bc2044e1902493111db14cbf793083ac47Michael Graff#
1a0e33bc2044e1902493111db14cbf793083ac47Michael Graff
1a0e33bc2044e1902493111db14cbf793083ac47Michael Graffinclude $(AP_WORK)\build\NWGNUtail.inc
1a0e33bc2044e1902493111db14cbf793083ac47Michael Graff
1a0e33bc2044e1902493111db14cbf793083ac47Michael Graff