summaryrefslogtreecommitdiff
path: root/source4/lib/appweb/ejs-2.0/exml/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/appweb/ejs-2.0/exml/Makefile')
-rw-r--r--source4/lib/appweb/ejs-2.0/exml/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/source4/lib/appweb/ejs-2.0/exml/Makefile b/source4/lib/appweb/ejs-2.0/exml/Makefile
new file mode 100644
index 0000000000..663e65ed53
--- /dev/null
+++ b/source4/lib/appweb/ejs-2.0/exml/Makefile
@@ -0,0 +1,42 @@
+#
+# Makefile for Embedded XML (EXML)
+#
+# Copyright (c) Mbedthis Software LLC, 2003-2006. All Rights Reserved.
+#
+
+#
+# EXML may be linked into shared handlers so we must build the objects both
+# shared and static.
+#
+COMPILE := *.c
+EXPORT_OBJECTS := yes
+MAKE_IFLAGS := -I../mpr
+
+include make.dep
+
+ifeq ($(BLD_FEATURE_TEST),1)
+POST_DIRS := test
+endif
+
+TARGETS += $(BLD_BIN_DIR)/libexml$(BLD_LIB)
+
+ifeq ($(BLD_FEATURE_XML),1)
+compileExtra: $(TARGETS)
+endif
+
+# MOB -- remove when FEATURE_XML is defined
+compileExtra: $(TARGETS)
+
+$(BLD_BIN_DIR)/libexml$(BLD_LIB): $(FILES)
+ @bld --library $(BLD_BIN_DIR)/libexml \
+ --objectsDir $(BLD_OBJ_DIR) --objectList files --libs mpr
+
+cleanExtra:
+ @echo "rm -f $(TARGETS)" | $(BLDOUT)
+ @rm -f $(TARGETS)
+ @rm -f $(BLD_BIN_DIR)/libexml.*
+
+## Local variables:
+## tab-width: 4
+## End:
+## vim: tw=78 sw=4 ts=4