]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/plugins/fd/Makefile.in
Make PurgeMigrationJob directive name correspond to doc
[bacula/bacula] / bacula / src / plugins / fd / Makefile.in
1 #
2 # Simple Makefile for building test FD plugins for Bacula
3 #
4 #
5 @MCOMMON@
6
7
8 # No optimization for now for easy debugging
9
10 FDDIR=../../filed
11 SRCDIR=../..
12 LIBDIR=../../lib
13
14 .SUFFIXES:    .c .lo
15
16 .c.lo:
17         $(LIBTOOL_COMPILE) $(CXX) $(DEFS) $(DEBUG) $(CPPFLAGS) -I${SRCDIR} -I${FDDIR} -DTEST_PROGRAM -c $<
18
19 all: bpipe-fd.la test-plugin-fd.la delta-test-fd.la
20
21 bpipe-fd.lo: bpipe-fd.c ${FDDIR}/fd_plugins.h
22         $(LIBTOOL_COMPILE) $(CXX) $(DEFS) $(DEBUG) $(CPPFLAGS) $(CFLAGS) -I../.. -I${FDDIR} -c bpipe-fd.c
23
24 bpipe-fd.la: Makefile bpipe-fd$(DEFAULT_OBJECT_TYPE)
25         $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -shared bpipe-fd.lo -o $@ -rpath $(plugindir) -module -export-dynamic -avoid-version 
26
27 delta-test-fd.lo: delta-test-fd.c ${FDDIR}/fd_plugins.h fd_common.h
28         $(LIBTOOL_COMPILE) $(CXX) $(DEFS) $(DEBUG) $(CPPFLAGS) $(CFLAGS) -I../.. -I${FDDIR} -c delta-test-fd.c
29
30 delta-test-fd.la: Makefile delta-test-fd$(DEFAULT_OBJECT_TYPE)
31         $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -shared delta-test-fd.lo -o $@ -rpath $(plugindir) -module -export-dynamic -avoid-version 
32
33 test-plugin-fd.lo: test-plugin-fd.c ${FDDIR}/fd_plugins.h
34         $(LIBTOOL_COMPILE) $(CXX) $(DEFS) $(DEBUG) $(CPPFLAGS) $(CFLAGS) -I../.. -I${FDDIR} -c test-plugin-fd.c
35
36 test-plugin-fd.la: Makefile test-plugin-fd$(DEFAULT_OBJECT_TYPE)
37         $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -shared test-plugin-fd.lo -o $@ -rpath $(plugindir) -module -export-dynamic -avoid-version 
38
39 install: all
40         $(MKDIR) $(DESTDIR)$(plugindir)
41         $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) bpipe-fd.la $(DESTDIR)$(plugindir)
42         $(RMF) $(DESTDIR)$(plugindir)/bpipe-fd.la
43
44 install-test-plugin: all
45         $(MKDIR) $(DESTDIR)$(plugindir)
46         $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) test-plugin-fd.la $(DESTDIR)$(plugindir)
47         $(RMF) $(DESTDIR)$(plugindir)/test-plugin-fd.la
48         $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) delta-test-fd.la $(DESTDIR)$(plugindir)
49         $(RMF) $(DESTDIR)$(plugindir)/delta-test-fd.la
50
51 libtool-clean:
52         @find . -name '*.lo' -print | xargs $(LIBTOOL_CLEAN) $(RMF)
53         @$(RMF) *.la
54         @$(RMF) -r .libs _libs
55
56 clean:  libtool-clean
57         @rm -f main *.so *.o 1 2 3
58
59 distclean: clean
60         @rm -f Makefile
61
62 libtool-uninstall:
63         $(LIBTOOL_UNINSTALL) $(RMF) $(DESTDIR)$(plugindir)/bpipe-fd.so
64
65 uninstall: @LIBTOOL_UNINSTALL_TARGET@
66
67 depend: