summaryrefslogtreecommitdiff
path: root/NWGNUmakefile
diff options
context:
space:
mode:
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
#