]> git.ipfire.org Git - thirdparty/systemd.git/blob - Makefile
implement drop-in directories
[thirdparty/systemd.git] / Makefile
1 CFLAGS=-Wall -Wextra -O0 -g -pipe -D_GNU_SOURCE -fdiagnostics-show-option -Wno-unused-parameter -DUNIT_PATH=\"/tmp/does/not/exist\"
2 LIBS=-lrt -lcap
3
4 COMMON= \
5 unit.o \
6 util.o \
7 set.o \
8 hashmap.o \
9 strv.o \
10 job.o \
11 manager.o \
12 conf-parser.o \
13 load-fragment.o \
14 socket-util.o \
15 log.o \
16 service.o \
17 automount.o \
18 mount.o \
19 device.o \
20 target.o \
21 snapshot.o \
22 socket.o \
23 timer.o \
24 load-fstab.o \
25 load-dropin.o \
26 execute.o
27
28 all: systemd test-engine test-job-type
29
30 systemd: main.o $(COMMON)
31 $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
32
33 test-engine: test-engine.o $(COMMON)
34 $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
35
36 test-job-type: test-job-type.o $(COMMON)
37 $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
38
39 clean:
40 rm -f *.o systemd test-engine