chiark / gitweb /
Merge remote branch 'kay/master'
[elogind.git] / Makefile
index 2f739ce2acef991e5d17ec056c8d1bfd3212f3ae..41df4e29e32b079490e28afc8c7fd2eb126294c7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ COMMON= \
        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 systemadm
 
 systemd: main.o $(COMMON)
        $(CC) $(CFLAGS) -o $@ $^  $(LIBS)
@@ -43,5 +43,11 @@ test-engine: test-engine.o $(COMMON)
 test-job-type: test-job-type.o $(COMMON)
        $(CC) $(CFLAGS) -o $@ $^  $(LIBS)
 
+systemctl: systemctl.vala
+       valac -g --save-temps systemctl.vala systemd-interfaces.vala --pkg=dbus-glib-1 --pkg=posix
+
+systemadm: systemadm.vala
+       valac -g --save-temps systemadm.vala systemd-interfaces.vala --pkg=dbus-glib-1 --pkg=posix --pkg gee-1.0 --pkg gtk+-2.0
+
 clean:
-       rm -f *.o systemd test-engine
+       rm -f *.o systemd test-engine systemctl systemadm