]>
Commit | Line | Data |
---|---|---|
cc04455b | 1 | |
22e5ba02 DM |
2 | PROGRAMS=test_display_no_ssl spiceterm |
3 | ||
0535e191 | 4 | HEADERS=test_display_base.h basic_event_loop.h glyphs.h spiceterm.h |
22e5ba02 | 5 | SOURCES=test_display_base.c basic_event_loop.c |
cc04455b DM |
6 | |
7 | all: ${PROGRAMS} | |
8 | ||
22e5ba02 | 9 | test_display_no_ssl: ${SOURCES} ${HEADERS} test_display_no_ssl.c |
63a34f43 | 10 | gcc ${SOURCES} test_display_no_ssl.c -o $@ $(shell pkg-config --cflags --libs gthread-2.0,spice-protocol,spice-server) |
22e5ba02 DM |
11 | |
12 | spiceterm: ${SOURCES} ${HEADERS} spiceterm.c | |
63a34f43 | 13 | gcc ${SOURCES} spiceterm.c -o $@ -lutil $(shell pkg-config --cflags gdk-3.0) $(shell pkg-config --cflags --libs gthread-2.0,spice-protocol,spice-server) |
1d7f2da4 | 14 | |
22e5ba02 DM |
15 | .PHONY: test1 |
16 | test1: test_display_no_ssl | |
1d7f2da4 | 17 | ./test_display_no_ssl & remote-viewer spice://localhost:5912 |
22e5ba02 DM |
18 | |
19 | .PHONY: test2 | |
20 | test2: spiceterm | |
21 | ./spiceterm & remote-viewer spice://localhost:5912 | |
2cc3e3cc DM |
22 | |
23 | .PHONY: distclean | |
24 | distclean: clean | |
25 | ||
26 | .PHONY: clean | |
27 | clean: | |
28 | rm -rf *~ ${PROGRAMS} |