]> granicus.if.org Git - apache/commitdiff
brand new Makefile.in to work in the Apache 2.0 config/build system
authorGreg Stein <gstein@apache.org>
Sat, 1 Jul 2000 13:54:50 +0000 (13:54 +0000)
committerGreg Stein <gstein@apache.org>
Sat, 1 Jul 2000 13:54:50 +0000 (13:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85739 13f79535-47bb-0310-9956-ffa450edef68

srclib/expat-lite/Makefile.in

index 1cecba2044076a2e395f76ed36c349b7921c241a..d2bf5ffd28375113527e0617ef0c4e4d38cce18c 100644 (file)
@@ -1,33 +1,5 @@
-#
-# 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)
-INCLUDES=$(INCLUDES1) $(INCLUDES0) $(EXTRA_INCLUDES)
+LTLIBRARY_NAME = libexpat.la
+LTLIBRARY_SOURCES = hashtable.c xmlparse.c xmlrole.c xmltok.c
 
-# If you know what your system's byte order is, define BYTE_ORDER:
-# use -DBYTE_ORDER=12 for little-endian byte order;
-# use -DBYTE_ORDER=21 for big-endian (network) byte order.
-#CFLAGS=-O2
-
-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) $<
-
-depend:
+# our output is a library, so include "ltlib.mk"
+include $(top_srcdir)/build/ltlib.mk