]> git.sur5r.net Git - bacula/bacula/blob - bacula/platforms/Makefile.in
- Landon Fuller committed his TLS patch.
[bacula/bacula] / bacula / platforms / Makefile.in
1 #
2 # This is the makefile template for the platform directory
3 # which contains general platform installation.
4 #
5 #  15 November 2001 -- Kern Sibbald
6
7 #   for Bacula release @VERSION@ (@DATE@) -- @DISTNAME@
8 #
9
10
11 INSTALL_PROGRAM = @INSTALL_PROGRAM@
12 INSTALL = @INSTALL@
13
14 SUBDIRS = freebsd redhat solaris unknown openbsd irix gentoo \
15           darwin aix bsdi mandrake slackware alpha
16
17 MAKE = make
18
19 DISTNAME=@DISTNAME@
20 DISTVER=@DISTVER@
21
22 all:
23         @for subdir in ${SUBDIRS}; do \
24             if [ -f $${subdir}/Makefile ]; then \
25                (cd $${subdir}; $(MAKE) DESTDIR=$(DESTDIR);) \
26             fi; \
27         done
28
29
30 install: install-autostart
31
32 install-autostart:
33         @if test x$(DISTNAME) != x ; then \
34            (cd $(DISTNAME); \
35               $(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
36         fi
37
38 install-autostart-dir:
39         @if test x$(DISTNAME) != x ; then \
40            (cd $(DISTNAME); \
41               $(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
42         fi
43
44 install-autostart-fd:
45         @if test x$(DISTNAME) != x ; then \
46            (cd $(DISTNAME); \
47               $(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
48         fi
49
50 install-autostart-sd:
51         @if test x$(DISTNAME) != x ; then \
52            (cd $(DISTNAME); \
53               $(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
54         fi
55
56 uninstall: uninstall-autostart
57
58 uninstall-autostart:
59         @if test x$(DISTNAME) != x ; then \
60            (cd $(DISTNAME); \
61              $(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
62         fi
63
64 uninstall-autostart-dir:
65         @if test x$(DISTNAME) != x ; then \
66            (cd $(DISTNAME); \
67              $(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
68         fi
69
70 uninstall-autostart-fd:
71         @if test x$(DISTNAME) != x ; then \
72            (cd $(DISTNAME); \
73              $(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
74         fi
75
76 uninstall-autostart-sd:
77         @if test x$(DISTNAME) != x ; then \
78            (cd $(DISTNAME); \
79              $(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
80         fi
81
82 depend:
83
84 clean:
85         @for subdir in ${SUBDIRS}; do \
86             if [ -f $${subdir}/Makefile ]; then \
87                     (cd $${subdir}; $(MAKE) clean) \
88             fi; \
89         done
90         rm -f 1 2 3
91
92 distclean:
93         @rm -f Makefile
94         @rm -rf CVS
95         @for subdir in ${SUBDIRS}; do \
96             if [ -f $${subdir}/Makefile ]; then \
97                      (cd $${subdir}; $(MAKE) distclean) \
98             fi; \
99             (cd $${subdir}; rm -rf CVS) \
100         done
101
102 devclean:
103         @rm -f Makefile
104         @for subdir in ${SUBDIRS}; do \
105             if [ -f $${subdir}/Makefile ]; then \
106                      (cd $${subdir}; $(MAKE) devclean) \
107             fi; \
108         done