/
Makefile.in
80 lines (67 loc) · 1.99 KB
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#
# This is the makefile template for the platform directory
# which contains general platform installation.
#
# 15 November 2001 -- Kern Sibbald
#
# for Bareos release @VERSION@ (@DATE@) -- @DISTNAME@
#
@MCOMMON@
SUBDIRS = hurd freebsd redhat suse solaris unknown openbsd osx irix gentoo \
debian darwin aix bsdi mandrake slackware alpha ubuntu systemd
MAKE = make
DISTNAME=@DISTNAME@
DISTVER=@DISTVER@
all:
@for subdir in ${SUBDIRS}; do \
if [ -f $${subdir}/Makefile ]; then \
(cd $${subdir}; $(MAKE) DESTDIR=$(DESTDIR);) \
fi; \
done
install:
@if test x$(DISTNAME) != x -a -f $(DISTNAME)/Makefile ; then \
(cd $(DISTNAME); \
$(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
fi
install-autostart:
@if test x$(DISTNAME) != x -a -f $(DISTNAME)/Makefile ; then \
(cd $(DISTNAME); \
$(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
fi
install-autostart-dir:
@if test x$(DISTNAME) != x -a -f $(DISTNAME)/Makefile ; then \
(cd $(DISTNAME); \
$(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
fi
install-autostart-fd:
@if test x$(DISTNAME) != x -a -f $(DISTNAME)/Makefile ; then \
(cd $(DISTNAME); \
$(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
fi
install-autostart-sd:
@if test x$(DISTNAME) != x -a -f $(DISTNAME)/Makefile ; then \
(cd $(DISTNAME); \
$(MAKE) DESTDIR=$(DESTDIR) "DISTNAME=$(DISTNAME)" "DISTVER=$(DISTVER)" $@) \
fi
depend:
clean:
@for subdir in ${SUBDIRS}; do \
if [ -f $${subdir}/Makefile ]; then \
(cd $${subdir}; $(MAKE) clean) \
fi; \
done
@$(RMF) 1 2 3
distclean:
@$(RMF) Makefile
@for subdir in ${SUBDIRS}; do \
if [ -f $${subdir}/Makefile ]; then \
(cd $${subdir}; $(MAKE) distclean) \
fi; \
done
devclean:
@$(RMF) Makefile
@for subdir in ${SUBDIRS}; do \
if [ -f $${subdir}/Makefile ]; then \
(cd $${subdir}; $(MAKE) devclean) \
fi; \
done