X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile;h=5a60eac9ff928fb3b511d5f2eb6f910f55a2746f;hp=e5cb6b5daa57f06e3f99513aabe776eb14d9a44d;hb=5630af71d72a2fa8142886ca2fb37e69a1906bca;hpb=1e2e81336b2d7691d51a6f3e82df9ae20c22aee1 diff --git a/Makefile b/Makefile index e5cb6b5da..5a60eac9f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -CFLAGS=-Wall -Wextra -O0 -g -pipe -D_GNU_SOURCE -fdiagnostics-show-option -Wno-unused-parameter -DUNIT_PATH=\"/tmp/does/not/exist\" `pkg-config --cflags libudev` -LIBS=-lrt -lcap `pkg-config --libs libudev` +CFLAGS=-Wall -Wextra -O0 -g -pipe -D_GNU_SOURCE -fdiagnostics-show-option -Wno-unused-parameter -DUNIT_PATH=\"/tmp/does/not/exist\" `pkg-config --cflags libudev dbus-1` +LIBS=-lrt -lcap `pkg-config --libs libudev dbus-1` COMMON= \ unit.o \ @@ -23,9 +23,13 @@ COMMON= \ timer.o \ load-dropin.o \ execute.o \ - ratelimit.o + ratelimit.o \ + dbus.o \ + dbus-manager.o \ + dbus-unit.o \ + dbus-job.o -all: systemd test-engine test-job-type systemd-logger +all: systemd test-engine test-job-type systemd-logger systemctl systemd: main.o $(COMMON) $(CC) $(CFLAGS) -o $@ $^ $(LIBS) @@ -39,5 +43,8 @@ test-engine: test-engine.o $(COMMON) test-job-type: test-job-type.o $(COMMON) $(CC) $(CFLAGS) -o $@ $^ $(LIBS) +systemctl: systemctl.vala + valac --save-temps systemctl.vala --pkg=dbus-glib-1 --pkg=posix + clean: - rm -f *.o systemd test-engine + rm -f *.o systemd test-engine systemctl