NWGNUmakefile revision 8ffac2c334103c0336602aaede650cb578611151
164a65065e0e61efa779c3a66c2242be6d88b9e2rbb# Declare the sub-directories to be built here
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# Get the 'head' of the build environment. This includes default targets and
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick# paths to tools
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawickinclude $(AP_WORK)/build/NWGNUhead.inc
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj# build this level's files
531c23ff01a2489646f0a2029097013b328d935agstein# Make sure all needed macro's are defined
e6cf5ec07f77ef6c65b7802d4e4d636b23566fcbgstein# These directories will be at the beginning of the include list, followed by
50298555098049d0ebddd539668502fb5b796de0wroweXINCDIRS += \
50298555098049d0ebddd539668502fb5b796de0wrowe $(APR)/include \
50298555098049d0ebddd539668502fb5b796de0wrowe $(APRUTIL)/include \
50298555098049d0ebddd539668502fb5b796de0wrowe $(AP_WORK)/include \
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard# These flags will come after CFLAGS
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddardXCFLAGS += \
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard# These defines will come after DEFINES
10b386767f6c87b45937244371cb751f0b454d16wroweXDEFINES += \
75960f20f88dad6bc67892c711c429946063d133stoddard# These flags will be added to the link.opt file
75960f20f88dad6bc67892c711c429946063d133stoddardXLFLAGS += \
10b386767f6c87b45937244371cb751f0b454d16wrowe# These values will be appended to the correct variables based on the value of
10b386767f6c87b45937244371cb751f0b454d16wroweifeq "$(RELEASE)" "debug"
10b386767f6c87b45937244371cb751f0b454d16wroweXINCDIRS += \
10b386767f6c87b45937244371cb751f0b454d16wroweXCFLAGS += \
f6a6245816cd866361da8c576b1f47c7a54b6610fanfXDEFINES += \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawickXLFLAGS += \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawickifeq "$(RELEASE)" "noopt"
79d5106a9b65b956d646f5daae4b94bc79e315b8trawickXINCDIRS += \
750fcd3495b59eff6d4844409ae1dfb46d026059gsteinXCFLAGS += \
750fcd3495b59eff6d4844409ae1dfb46d026059gsteinXDEFINES += \
750fcd3495b59eff6d4844409ae1dfb46d026059gsteinXLFLAGS += \
9eccc0a669a3e711629345b357c46acce5fefdb4gsteinifeq "$(RELEASE)" "release"
e9cfc70fceb74521ba0814cdc88808c7d4d00c97gsteinXINCDIRS += \
e9cfc70fceb74521ba0814cdc88808c7d4d00c97gsteinXCFLAGS += \
26ef89f716a43048630e73f527dd2f0ee84f72c2rbbXDEFINES += \
9eccc0a669a3e711629345b357c46acce5fefdb4gsteinXLFLAGS += \
33a70d93b992bbb63b809c24df29451f38f017c1rbb# These are used by the link target if an NLM is being generated
164a65065e0e61efa779c3a66c2242be6d88b9e2rbb# This is used by the link 'name' directive to name the nlm. If left blank
164a65065e0e61efa779c3a66c2242be6d88b9e2rbb# TARGET_nlm (see below) will be used.
164a65065e0e61efa779c3a66c2242be6d88b9e2rbbNLM_NAME = modDAVLK
164a65065e0e61efa779c3a66c2242be6d88b9e2rbb# This is used by the link '-desc ' directive.
0b54edee18a0ec095640e1038ff6da7d35042b44rbb# If left blank, NLM_NAME will be used.
0b54edee18a0ec095640e1038ff6da7d35042b44rbbNLM_DESCRIPTION = Apache $(VERSION_STR) DAV Database Lock Sub-Module
b187d568e1507d75139ebc13ca945b38fc05d55cstoddard# This is used by the '-threadname' directive. If left blank,
b187d568e1507d75139ebc13ca945b38fc05d55cstoddard# NLM_NAME Thread will be used.
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddardNLM_THREAD_NAME = modDAVLK Thread
8bed76428f56e5c643174a2d6807c3f18016af5cbjh# If this is specified, it will override VERSION value in
2aae6faee508221efbeaba5547ca79b7a20ef047stoddardNLM_VERSION =
10b386767f6c87b45937244371cb751f0b454d16wrowe# If this is specified, it will override the default of 64K
50298555098049d0ebddd539668502fb5b796de0wroweNLM_STACK_SIZE = 65536
10b386767f6c87b45937244371cb751f0b454d16wrowe# If this is specified it will be used by the link '-entry' directive
75960f20f88dad6bc67892c711c429946063d133stoddardNLM_ENTRY_SYM =
d2f8b010487ffa990a9c268df5a25579e7291bcdrbb# If this is specified it will be used by the link '-exit' directive
0bff2f28ef945280c17099c142126178a78e1e54manojNLM_EXIT_SYM =
1e585ba09ea32272e63c4c39c35491e975d21d98stoddard# If this is specified it will be used by the link '-check' directive
35330e0d79ceb8027223bbb8330a381b1f989d6etrawickNLM_CHECK_SYM =
75960f20f88dad6bc67892c711c429946063d133stoddard# If this is specified it will be used by the link '-flags' directive
ff849e4163ed879288f0df15f78b6c9d278ec804fanfNLM_FLAGS =
447c6ce3ff08073c44f6785d5256271fcb877512wrowe# Declare all target files (you must add your files here)
447c6ce3ff08073c44f6785d5256271fcb877512wrowe# If there is an NLM target, put it here
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gsteinTARGET_nlm = \
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# If there is an LIB target, put it here
8d07897b52e3b7055874501f8a499e75800db206gsteinTARGET_lib = \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick# These are the OBJ files needed to create the NLM target above.
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# Paths must all use the '/' character
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gsteinFILES_nlm_objs = \
14cccaddba3a9263cf0d0ddc311e18f3e3dc9b0fgstein# These are the LIB files needed to create the NLM target above.
14cccaddba3a9263cf0d0ddc311e18f3e3dc9b0fgstein# These will be added as a library command in the link.opt file.
823c303d33c9e637a83d82208bcbafaf5f532d7bgsteinFILES_nlm_libs = \
531c23ff01a2489646f0a2029097013b328d935agstein# These are the modules that the above NLM target depends on to load.
531c23ff01a2489646f0a2029097013b328d935agstein# These will be added as a module command in the link.opt file.
531c23ff01a2489646f0a2029097013b328d935agsteinFILES_nlm_modules = \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# If the nlm has a msg file, put it's path here
64ad864fa0f4493eebb181e393b40a8a90beccb9coarFILE_nlm_msg =
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# If the nlm has a hlp file put it's path here
64ad864fa0f4493eebb181e393b40a8a90beccb9coarFILE_nlm_hlp =
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# If this is specified, it will override $(NWOS)\copyright.txt.
28d1da9ca818f831ea491f110dafcc10f7f07050coarFILE_nlm_copyright =
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# Any additional imports go here
64ad864fa0f4493eebb181e393b40a8a90beccb9coarFILES_nlm_Ximports = \
28d1da9ca818f831ea491f110dafcc10f7f07050coar# Any symbols exported to here
64ad864fa0f4493eebb181e393b40a8a90beccb9coarFILES_nlm_exports = \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar dav_lock_module \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# These are the OBJ files needed to create the LIB target above.
28d1da9ca818f831ea491f110dafcc10f7f07050coar# Paths must all use the '/' character
64ad864fa0f4493eebb181e393b40a8a90beccb9coarFILES_lib_objs = \
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# implement targets and dependancies (leave this section alone)
28d1da9ca818f831ea491f110dafcc10f7f07050coarlibs :: $(OBJDIR) $(TARGET_lib)
64ad864fa0f4493eebb181e393b40a8a90beccb9coarnlms :: libs $(TARGET_nlm)
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# Updated this target to create necessary directories and copy files to the
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# correct place. (See $(AP_WORK)/build/NWGNUhead.inc for examples)
28d1da9ca818f831ea491f110dafcc10f7f07050coarinstall :: nlms FORCE
64ad864fa0f4493eebb181e393b40a8a90beccb9coar copy $(OBJDIR)\moddavlk.nlm $(INSTALL)\$(BASEDIR)\modules
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# Any specialized rules here
64ad864fa0f4493eebb181e393b40a8a90beccb9coar# Include the 'tail' makefile that has targets that depend on variables defined
28d1da9ca818f831ea491f110dafcc10f7f07050coar# in this makefile
64ad864fa0f4493eebb181e393b40a8a90beccb9coarinclude $(APBUILD)/NWGNUtail.inc