summaryrefslogtreecommitdiff
path: root/NWGNUmakefile
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2009-07-12 18:32:36 +0000
committerGuenter Knauf <fuankg@apache.org>2009-07-12 18:32:36 +0000
commitedc8112604ec68a67ef94462ddafabf9c19c1934 (patch)
tree8e9ab2e7710d69a8fe43693411d133fd585bbd50 /NWGNUmakefile
parent9d71d233b8d82f779d76e84a267b633d7e697e19 (diff)
downloadapr-edc8112604ec68a67ef94462ddafabf9c19c1934.tar.gz
more NetWare expat build improvements.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@793390 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'NWGNUmakefile')
-rw-r--r--NWGNUmakefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/NWGNUmakefile b/NWGNUmakefile
index 77a825251..c4d1f10d0 100644
--- a/NWGNUmakefile
+++ b/NWGNUmakefile
@@ -201,6 +201,14 @@ FILES_nlm_libs = \
$(APRXMLLIB) \
$(EOLIST)
+ifdef EXPATSDK
+ifdef EXPAT_LINK_STATIC
+FILES_nlm_libs += \
+ $(EXPAT_LIB) \
+ $(EOLIST)
+endif
+endif
+
#
# These are the modules that the above NLM target depends on to load.
# These will be added as a module command in the link.opt file.
@@ -223,6 +231,14 @@ FILES_nlm_modules += \
$(EOLIST)
endif
+ifdef EXPATSDK
+ifndef EXPAT_LINK_STATIC
+FILES_nlm_modules += \
+ $(EXPAT_NLM) \
+ $(EOLIST)
+endif
+endif
+
#
# If the nlm has a msg file, put it's path here
#
@@ -263,6 +279,14 @@ FILES_nlm_Ximports += \
$(EOLIST)
endif
+ifdef EXPATSDK
+ifndef EXPAT_LINK_STATIC
+FILES_nlm_Ximports += \
+ @$(EXPAT_IMP) \
+ $(EOLIST)
+endif
+endif
+
#
# Any symbols exported to here
#