]> andersk Git - moira.git/blobdiff - db/Makefile.in
Build shared libmoira via libtool.
[moira.git] / db / Makefile.in
index a110a0f0651a88ce3560e935a1aae502042ec9b0..e28f58683a06029a303571d70bcfc9b906bce412 100644 (file)
@@ -6,6 +6,7 @@ SHELL=/bin/sh
 srcdir=@srcdir@
 VPATH=@srcdir@
 SRCTOP=@top_srcdir@
+top_builddir=@top_builddir@
 BUILDTOP=../..
 
 CC=@CC@
@@ -13,14 +14,17 @@ CPPFLAGS=@CPPFLAGS@
 CFLAGS=@CFLAGS@
 DEFS=@DEFS@
 ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS)
+LIBTOOL=@LIBTOOL@
 
-.c.o:
-       $(CC) -c $(ALL_CFLAGS) $<
+.SUFFIXES: .lo
 
-all: moira_schema.h moira_schema.c moira_schema.o
+.c.lo:
+       $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $<
+
+all: moira_schema.h moira_schema.c moira_schema.lo
 
 clean:
-       rm -f moira_schema.h moira_schema.c moira_schema.o
+       $(LIBTOOL) --mode=clean rm -f moira_schema.h moira_schema.c moira_schema.lo
 
 cleandir distclean: clean
        rm -f Makefile
This page took 0.058653 seconds and 4 git commands to generate.