summaryrefslogtreecommitdiff
path: root/APACHE_1_3_42/src/lib/expat-lite/Makefile.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'APACHE_1_3_42/src/lib/expat-lite/Makefile.tmpl')
-rw-r--r--APACHE_1_3_42/src/lib/expat-lite/Makefile.tmpl26
1 files changed, 26 insertions, 0 deletions
diff --git a/APACHE_1_3_42/src/lib/expat-lite/Makefile.tmpl b/APACHE_1_3_42/src/lib/expat-lite/Makefile.tmpl
new file mode 100644
index 0000000000..646af3b981
--- /dev/null
+++ b/APACHE_1_3_42/src/lib/expat-lite/Makefile.tmpl
@@ -0,0 +1,26 @@
+#
+# default definition of these two. dunno how to get it prepended when the
+# Makefile is built, so we do it manually
+#
+CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS) -DAPACHE
+INCLUDES=$(INCLUDES1) $(INCLUDES0) $(EXTRA_INCLUDES)
+
+OBJS=xmltok.o xmlrole.o xmlparse.o hashtable.o
+
+all lib: libexpat.a
+
+libexpat.a: $(OBJS)
+ rm -f libexpat.a
+ ar cr libexpat.a $(OBJS)
+ $(RANLIB) libexpat.a
+
+clean:
+ rm -f $(OBJS) libexpat.a
+
+distclean: clean
+ -rm -f Makefile
+
+.SUFFIXES: .o
+
+.c.o:
+ $(CC) -c $(INCLUDES) $(CFLAGS) $<