forked from acassen/keepalived
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.in
62 lines (50 loc) · 1.23 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
# Makefile
#
# Keepalived OpenSource project.
#
# Copyright (C) 2001-2012 Alexandre Cassen, <[email protected]>
TARFILES = AUTHOR bin ChangeLog configure configure.in CONTRIBUTORS COPYING \
doc genhash INSTALL install-sh keepalived keepalived.spec.in lib Makefile.in \
README TODO VERSION
TARBALL = keepalived-@[email protected]
all:
$(MAKE) -C lib || exit 1;
$(MAKE) -C keepalived
$(MAKE) -C genhash
@echo ""
@echo "Make complete"
debug:
$(MAKE) -C lib || exit 1;
$(MAKE) -C keepalived debug
@echo ""
@echo "Make complete"
profile:
$(MAKE) -C lib || exit 1;
$(MAKE) -C keepalived profile
@echo ""
@echo "Make complete"
clean:
$(MAKE) -C lib clean
$(MAKE) -C keepalived clean
$(MAKE) -C genhash clean
distclean:
$(MAKE) -C lib distclean
$(MAKE) -C keepalived distclean
$(MAKE) -C genhash distclean
rm -f Makefile
rm -f keepalived.spec
mrproper: distclean
rm -f config.*
uninstall:
$(MAKE) -C keepalived uninstall
$(MAKE) -C genhash uninstall
install:
$(MAKE) -C keepalived install
$(MAKE) -C genhash install
tarball: mrproper
mkdir keepalived-@VERSION@
cp -a $(TARFILES) keepalived-@VERSION@
tar --exclude .git -czf $(TARBALL) keepalived-@VERSION@
rm -rf keepalived-@VERSION@
rpm:
rpmbuild -ba keepalived.spec