chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
client: add a very basic Vala command line tool
[elogind.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 2f739ce2acef991e5d17ec056c8d1bfd3212f3ae..5a60eac9ff928fb3b511d5f2eb6f910f55a2746f 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-29,7
+29,7
@@
COMMON= \
dbus-unit.o \
dbus-job.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)
systemd: main.o $(COMMON)
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
@@
-43,5
+43,8
@@
test-engine: test-engine.o $(COMMON)
test-job-type: test-job-type.o $(COMMON)
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
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:
clean:
- rm -f *.o systemd test-engine
+ rm -f *.o systemd test-engine
systemctl