842ae4bd224140319ae7feec1872b93dfd491143fielding#
842ae4bd224140319ae7feec1872b93dfd491143fielding# Declare the sub-directories to be built here
842ae4bd224140319ae7feec1872b93dfd491143fielding#
842ae4bd224140319ae7feec1872b93dfd491143fielding
842ae4bd224140319ae7feec1872b93dfd491143fieldingSUBDIRS = \
842ae4bd224140319ae7feec1872b93dfd491143fielding $(EOLIST)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Get the 'head' of the build environment. This includes default targets and
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# paths to tools
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesinclude $(AP_WORK)/build/NWGNUhead.inc
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# build this level's files
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
e8f95a682820a599fe41b22977010636be5c2717jim# Make sure all needed macro's are defined
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
e8f95a682820a599fe41b22977010636be5c2717jim
1747d30b98aa1bdbc43994c02cd46ab4cb9319e4fielding#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# These directories will be at the beginning of the include list, followed by
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# INCDIRS
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesXINCDIRS += \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(APR)/include \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(APRUTIL)/include \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(SRC)/include \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(SERVER)/mpm/netware \
11f2c481e1d57bedb3f758565307501e9a2730ddtrawick $(NWOS) \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(EOLIST)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
5c0419d51818eb02045cf923a9fe456127a44c60wrowe# These flags will come after CFLAGS
5c0419d51818eb02045cf923a9fe456127a44c60wrowe#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesXCFLAGS += \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(EOLIST)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# These defines will come after DEFINES
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d266c3777146d36a4c23c17aad6f153aebea1bf4jortonXDEFINES += \
d266c3777146d36a4c23c17aad6f153aebea1bf4jorton $(EOLIST)
22f8da8087791fcb95b836c8a81937c5a9bba202bnicholes
22f8da8087791fcb95b836c8a81937c5a9bba202bnicholes#
22f8da8087791fcb95b836c8a81937c5a9bba202bnicholes# These flags will be added to the link.opt file
22f8da8087791fcb95b836c8a81937c5a9bba202bnicholes#
22f8da8087791fcb95b836c8a81937c5a9bba202bnicholesXLFLAGS += \
22f8da8087791fcb95b836c8a81937c5a9bba202bnicholes $(EOLIST)
22f8da8087791fcb95b836c8a81937c5a9bba202bnicholes
cd3bbd6d2df78d6c75e5d159a81ef8bdd5f70df9trawick#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# These values will be appended to the correct variables based on the value of
0f60998368b493f90120180a93fc2e1e74490872covener# RELEASE
0f60998368b493f90120180a93fc2e1e74490872covener#
0f60998368b493f90120180a93fc2e1e74490872covenerifeq "$(RELEASE)" "debug"
0f60998368b493f90120180a93fc2e1e74490872covenerXINCDIRS += \
0f60998368b493f90120180a93fc2e1e74490872covener $(EOLIST)
0f60998368b493f90120180a93fc2e1e74490872covener
0f60998368b493f90120180a93fc2e1e74490872covenerXCFLAGS += \
0f60998368b493f90120180a93fc2e1e74490872covener $(EOLIST)
87587593f1a53030e840acc0dec6cc881022ea40covener
87587593f1a53030e840acc0dec6cc881022ea40covenerXDEFINES += \
87587593f1a53030e840acc0dec6cc881022ea40covener $(EOLIST)
87587593f1a53030e840acc0dec6cc881022ea40covener
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesXLFLAGS += \
43997561b2302d13dee973998e77743a3ddd2374trawick $(EOLIST)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesendif
0568280364eb026393be492ebc732795c4934643jorton
0568280364eb026393be492ebc732795c4934643jortonifeq "$(RELEASE)" "noopt"
0568280364eb026393be492ebc732795c4934643jortonXINCDIRS += \
0568280364eb026393be492ebc732795c4934643jorton $(EOLIST)
0568280364eb026393be492ebc732795c4934643jorton
0568280364eb026393be492ebc732795c4934643jortonXCFLAGS += \
0568280364eb026393be492ebc732795c4934643jorton $(EOLIST)
0568280364eb026393be492ebc732795c4934643jorton
0568280364eb026393be492ebc732795c4934643jortonXDEFINES += \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(EOLIST)
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovenerXLFLAGS += \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(EOLIST)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesendif
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesifeq "$(RELEASE)" "release"
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesXINCDIRS += \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(EOLIST)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesXCFLAGS += \
796e4a7141265d8ed7036e4628161c6eafb2a789jorton $(EOLIST)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesXDEFINES += \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(EOLIST)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesXLFLAGS += \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(EOLIST)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesendif
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# These are used by the link target if an NLM is being generated
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# This is used by the link 'name' directive to name the nlm. If left blank
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# TARGET_nlm (see below) will be used.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesNLM_NAME = example_ipc
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
8113dac419143273351446c3ad653f3fe5ba5cfdwrowe#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# This is used by the link '-desc ' directive.
482f676c6c19b1c5bb5cca04dad11509c1da3a4cwrowe# If left blank, NLM_NAME will be used.
e8f95a682820a599fe41b22977010636be5c2717jim#
482f676c6c19b1c5bb5cca04dad11509c1da3a4cwroweNLM_DESCRIPTION = Apache $(VERSION_STR) Example IPC Callback Handler Module
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# This is used by the '-threadname' directive. If left blank,
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# NLM_NAME Thread will be used.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesNLM_THREAD_NAME = Example IPC Callback Handler Module
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# If this is specified, it will override VERSION value in
a1790fb35c4b352dab721370985c623a9f8f5062rpluem# $(AP_WORK)/build/NWGNUenvironment.inc
713a2b68bac4aeb1e9c48785006c0732451039depquerna#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesNLM_VERSION =
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# If this is specified, it will override the default of 64K
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
482f676c6c19b1c5bb5cca04dad11509c1da3a4cwroweNLM_STACK_SIZE = 8192
482f676c6c19b1c5bb5cca04dad11509c1da3a4cwrowe
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# If this is specified it will be used by the link '-entry' directive
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesNLM_ENTRY_SYM =
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# If this is specified it will be used by the link '-exit' directive
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesNLM_EXIT_SYM =
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
f43b67c5a9d29b572eac916f8335cedc80c908bebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# If this is specified it will be used by the link '-check' directive
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
8113dac419143273351446c3ad653f3fe5ba5cfdwroweNLM_CHECK_SYM =
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# If these are specified it will be used by the link '-flags' directive
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesNLM_FLAGS =
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# If this is specified it will be linked in with the XDCData option in the def
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# file instead of the default of $(NWOS)/apache.xdc. XDCData can be disabled
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# by setting APACHE_UNIPROC in the environment
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesXDCDATA =
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener#
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener# If there is an NLM target, put it here
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener#
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovenerTARGET_nlm = \
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener $(OBJDIR)/example_ipc.nlm \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(EOLIST)
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener# If there is an LIB target, put it here
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesTARGET_lib = \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(EOLIST)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# These are the OBJ files needed to create the NLM target above.
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener# Paths must all use the '/' character
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
8113dac419143273351446c3ad653f3fe5ba5cfdwroweFILES_nlm_objs = \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(OBJDIR)/mod_example_ipc.o \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(EOLIST)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# These are the LIB files needed to create the NLM target above.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# These will be added as a library command in the link.opt file.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesFILES_nlm_libs = \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(PRELUDE) \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(EOLIST)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# These are the modules that the above NLM target depends on to load.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# These will be added as a module command in the link.opt file.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesFILES_nlm_modules = \
1f299703465bd9975d94e9f229f76af807442de2covener aprlib \
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener libc \
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener $(EOLIST)
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
8113dac419143273351446c3ad653f3fe5ba5cfdwrowe# If the nlm has a msg file, put it's path here
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesFILE_nlm_msg =
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
9ad7b260be233be7d7b5576979825cac72e15498rederpj# If the nlm has a hlp file put it's path here
9ad7b260be233be7d7b5576979825cac72e15498rederpj#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesFILE_nlm_hlp =
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
f43b67c5a9d29b572eac916f8335cedc80c908bebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# If this is specified, it will override $(NWOS)\copyright.txt.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesFILE_nlm_copyright =
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Any additional imports go here
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesFILES_nlm_Ximports = \
3e6d7277b90d3011db832139afc20efb5f17e203rederpj @aprlib.imp \
3e6d7277b90d3011db832139afc20efb5f17e203rederpj @httpd.imp \
3e6d7277b90d3011db832139afc20efb5f17e203rederpj @libc.imp \
3e6d7277b90d3011db832139afc20efb5f17e203rederpj $(EOLIST)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
f43b67c5a9d29b572eac916f8335cedc80c908bebnicholes#
e8f95a682820a599fe41b22977010636be5c2717jim# Any symbols exported to here
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener#
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovenerFILES_nlm_exports = \
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener example_ipc_module \
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener $(EOLIST)
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener#
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener# These are the OBJ files needed to create the LIB target above.
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener# Paths must all use the '/' character
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener#
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovenerFILES_lib_objs = \
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener $(EOLIST)
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener#
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener# implement targets and dependancies (leave this section alone)
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener#
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovenerlibs :: $(OBJDIR) $(TARGET_lib)
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovenernlms :: libs $(TARGET_nlm)
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener#
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener# Updated this target to create necessary directories and copy files to the
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener#
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovenerinstall :: nlms FORCE
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener#
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener# Any specialized rules here
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener#
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener#
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener# Include the 'tail' makefile that has targets that depend on variables defined
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener# in this makefile
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener#
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovenerinclude $(APBUILD)/NWGNUtail.inc
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
4e9c24785b525d2956e6e381015c0f2bd0a72f4bcovener