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