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
|
## Process this file with automake to produce Makefile.in
DEFAULT_INCLUDES = -I$(top_builddir) -I$(top_srcdir) -I$(srcdir)
localedir = $(datadir)/locale
DEFS += -DLOCALEDIR="\"$(localedir)\""
INCLUDES = -I$(top_srcdir)/intl
sbin_PROGRAMS = init
init_SOURCES = \
main.c \
process.c process.h \
job.c job.h \
event.c event.h \
control.c control.h \
cfgfile.c cfgfile.h
init_LDFLAGS = -static
init_LDADD = \
../nih/libnih.la \
../upstart/libupstart.la
TESTS = \
test_process \
test_job \
test_event \
test_control \
test_cfgfile
check_PROGRAMS = $(TESTS)
test_job_SOURCES = tests/test_job.c
test_job_LDFLAGS = -static
test_job_LDADD = \
../nih/libnih.la ../upstart/libupstart.la \
process.o job.o event.o control.o
test_process_SOURCES = tests/test_process.c
test_process_LDFLAGS = -static
test_process_LDADD = \
../nih/libnih.la ../upstart/libupstart.la \
process.o job.o event.o control.o
test_event_SOURCES = tests/test_event.c
test_event_LDFLAGS = -static
test_event_LDADD = \
../nih/libnih.la ../upstart/libupstart.la \
process.o job.o event.o control.o
test_control_SOURCES = tests/test_control.c
test_control_LDFLAGS = -static
test_control_LDADD = \
../nih/libnih.la ../upstart/libupstart.la \
process.o job.o event.o control.o
test_cfgfile_SOURCES = tests/test_cfgfile.c
test_cfgfile_LDFLAGS = -static
test_cfgfile_LDADD = \
../nih/libnih.la ../upstart/libupstart.la \
process.o job.o event.o control.o cfgfile.o
clean-local:
rm -f *.gcno *.gcda
maintainer-clean-local:
rm -f *.gcov
|