-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
96 lines (83 loc) · 2.27 KB
/
Makefile.am
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Gearman server and library
# Copyright (C) 2008 Brian Aker, Eric Day
# All rights reserved.
#
# Use and distribution licensed under the BSD license. See
# the COPYING file in this directory for full text.
ACLOCAL_AMFLAGS= -I m4 --install
bin_PROGRAMS =
sbin_PROGRAMS =
check_PROGRAMS =
noinst_PROGRAMS =
lib_LTLIBRARIES =
noinst_LTLIBRARIES =
nobase_include_HEADERS =
noinst_HEADERS =
man1_MANS =
man3_MANS =
man8_MANS =
DISTCLEANFILES =
EXTRA_DIST =
CLEANFILES =
BUILT_SOURCES =
TESTS =
.PHONY =
CLEANFILES+= ${BUILT_SOURCES}
%.hpp.gch: %.hpp
$(CXXCOMPILE) -c $<
# Should always be first
include libtest/include.am
include libhostile/include.am
include benchmark/include.am
include bin/include.am
include examples/include.am
include gearmand/include.am
include libgearman-server/include.am
include libgearman/include.am
include libgearman-1.0/include.am
include util/include.am
include tests/include.am
include support/include.am
include docs/include.am
docs: html man
TESTS += $(check_PROGRAMS)
EXTRA_DIST+= HACKING
EXTRA_DIST+= ${man1_MANS}
EXTRA_DIST+= ${man3_MANS}
EXTRA_DIST+= ${man8_MANS}
EXTRA_DIST+= scripts/README.solaris
test: check
BUILT_SOURCES+= configmake.h
noinst_HEADERS+= configmake.h
configmake.h: ${top_srcdir}/Makefile.in
@echo "Making $@"
@rm -f $@-t $@
@{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
echo '#define PREFIX "$(prefix)"'; \
echo '#define SYSCONFDIR "$(sysconfdir)"'; \
echo '#define GEARMAND_CONFIG "$(sysconfdir)/gearmand.conf"'; \
echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
echo '#define GEARMAND_PID "$(localstatedir)/gearmand.pid"'; \
} | sed '/""/d' > $@-t
@if diff $@-t $@ >/dev/null 2>&1 ; then \
rm @-t ; \
else \
mv $@-t $@ ; \
fi
clean-local:
-rm -rf docs/_build docs/doctrees
include rpm.am
merge-clean:
@find ./ | $(GREP) \.gcda | xargs rm -f
@find ./ | $(GREP) \.gcno | xargs rm -f
@find ./ | $(GREP) \.gz | xargs rm -f
@find ./ | $(GREP) \.moved | xargs rm -r -f
@find ./ | $(GREP) \.orig | xargs rm -f
@find ./ | $(GREP) \.rej | xargs rm -f
@rm -f *\.rpm
@find ./ | $(GREP) \.THIS | xargs rm -f
@find ./ | $(GREP) \.OTHER | xargs rm -f
@find ./ | $(GREP) \.BASE | xargs rm -f
@find ./ | $(GREP) \~$$ | xargs rm -f
@echo "Files that need to be either removed or checked in:"
@bzr unknowns