X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/02fe42131b13d6d891ff267849354288bc600bd5..a816420bb99d1bd3051bc633a1608cd84779a05b:/db/Makefile.in diff --git a/db/Makefile.in b/db/Makefile.in index a110a0f0..e28f5868 100644 --- a/db/Makefile.in +++ b/db/Makefile.in @@ -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