eudev/Makefile

41 lines
730 B
Makefile
Raw Normal View History

2010-01-27 06:15:56 +07:00
CFLAGS=-Wall -Wextra -O0 -g -pipe -D_GNU_SOURCE -fdiagnostics-show-option -Wno-unused-parameter -DUNIT_PATH=\"/tmp/does/not/exist\"
LIBS=-lrt -lcap
2009-11-18 06:42:52 +07:00
COMMON= \
2010-01-27 03:39:06 +07:00
unit.o \
util.o \
set.o \
hashmap.o \
strv.o \
job.o \
manager.o \
conf-parser.o \
load-fragment.o \
socket-util.o \
log.o \
service.o \
automount.o \
mount.o \
device.o \
2010-01-27 01:06:50 +07:00
target.o \
snapshot.o \
socket.o \
timer.o \
load-fstab.o \
load-dropin.o \
execute.o
2010-01-21 06:51:37 +07:00
all: systemd test-engine test-job-type
systemd: main.o $(COMMON)
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
test-engine: test-engine.o $(COMMON)
2009-11-18 06:42:52 +07:00
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
2010-01-21 06:51:37 +07:00
test-job-type: test-job-type.o $(COMMON)
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
2009-11-18 06:42:52 +07:00
clean:
rm -f *.o systemd test-engine