From: Eric Bollengier Date: Tue, 25 Jan 2011 08:46:08 +0000 (+0100) Subject: Tweak Makefile for cats_test X-Git-Tag: Release-7.0.0~1208 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f815560e653b537bc4548a3a05416d63131f7a31;p=bacula%2Fbacula Tweak Makefile for cats_test --- diff --git a/bacula/src/tools/Makefile.in b/bacula/src/tools/Makefile.in index bc67e9b985..0e9a7d46ec 100644 --- a/bacula/src/tools/Makefile.in +++ b/bacula/src/tools/Makefile.in @@ -42,6 +42,7 @@ INSNODIRTOOLS = bsmtp INSDIRTOOLS = bsmtp dbcheck bwild bregex INSTOOLS = $(INS@DIR_TOOLS@) +SQL_INC=@SQL_INCLUDE@ .SUFFIXES: .c .o .PHONY: @@ -111,6 +112,10 @@ ing_test: Makefile ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(D $(LIBTOOL_LINK) $(CXX) -g $(LDFLAGS) -L../cats -L. -L../lib -L../findlib -o $@ ing_test.o \ -lbacsql -lbacfind -lbac -lm $(DB_LIBS) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) +cats_test.o: cats_test.o + echo "Compiling $<" + $(NO_ECHO)$(CXX) $(DEFS) $(DEBUG) -c $(CPPFLAGS) $(PYTHON_INC) $(SQL_INC) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) $< + cats_test: Makefile ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE) cats_test.o $(LIBTOOL_LINK) $(CXX) -g $(LDFLAGS) -L../cats -L. -L../lib -L../findlib -o $@ cats_test.o \ -lbacsql -lbacfind -lbac -lm $(DB_LIBS) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)