From 9ca3d56050ccc36fe3999173e64e3781c453bcf6 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 25 Jan 2011 09:46:08 +0100 Subject: [PATCH] Tweak Makefile for cats_test --- bacula/src/tools/Makefile.in | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.39.5