]> git.sur5r.net Git - bacula/bacula/commitdiff
Use fd-plugins in filed directory
authorKern Sibbald <kern@sibbald.com>
Sun, 3 Feb 2008 11:55:30 +0000 (11:55 +0000)
committerKern Sibbald <kern@sibbald.com>
Sun, 3 Feb 2008 11:55:30 +0000 (11:55 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6361 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/plugins/fd/Makefile

index 68a47544c050fbc7b9978be087239393872f0873..b925c6f749e81a63dc8f6006f2612989b42e7150 100644 (file)
@@ -13,12 +13,12 @@ LIBDIR=../../lib
 .c.o:
        $(CC) -I${SRCDIR} -I${FDDOR} -DTEST_PROGRAM -c $<
 
-all: fd-plugins example-plugin-fd.so 
+all: main example-plugin-fd.so 
 
-fd-plugins.o: ${FDDIR}/fd-plugins.h
-       $(CC)  -I${SRCDIR} -I${FDDOR} -DTEST_PROGRAM -c ${FDDIR}/fd-plugins.c -o fd-plugins.o
+fd-plugins.o: ${FDDIR}/fd-plugins.h ${FDDIR}/fd-plugins.c
+       $(CC)  -I${SRCDIR} -I${FDDIR} -DTEST_PROGRAM -c ${FDDIR}/fd-plugins.c 
 
-fd-plugins: fd-plugins.o ${FDDIR}/fd-plugins.h 
+main: fd-plugins.o
        $(CC) -L${LIBDIR} fd-plugins.o -o main -lbac -lpthread -lssl -l crypto -ldl
 
 example-plugin-fd.o: example-plugin-fd.c ${FDDIR}/fd-plugins.h