summaryrefslogtreecommitdiff
path: root/tests/node-startup-controller/Makefile.am
blob: bb58c0be36d033387a6cfe3b41f9763e3cc6aee1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# vi:set ts=8 sw=8 noet ai nocindent:

installcheck-local: $(noinst_SCRIPTS) $(noinst_PROGRAMS)
	@echo "============================="
	@echo "Running test for LUC handling"
	@if ./test-luc-handler; then					\
	    echo "Test for LUC handling passed";			\
	else								\
	    echo "Test for LUC handling failed";			\
	fi
	@echo "============================="

noinst_SCRIPTS =							\
	test-luc-handler

EXTRA_DIST =								\
	test-luc-handler

export LUC_PATH = last-user-context

export NODE_STARTUP_CONTROLLER_CMD =					\
	$(libdir)/node-startup-controller-$(NODE_STARTUP_CONTROLLER_VERSION_API)/node-startup-controller

noinst_PROGRAMS =							\
	gvariant-writer

gvariant_writer_SOURCES =						\
	gvariant-writer.c

gvariant_writer_CFLAGS =						\
	-DG_LOG_DOMAIN=\"gvariant-writer\"				\
	-I$(top_srcdir)							\
	$(GIO_CFLAGS)							\
	$(GIO_UNIX_CFLAGS)						\
	$(GLIB_CFLAGS)							\
	$(PLATFORM_CFLAGS)						\
	$(PLATFORM_CPPFLAGS)

gvariant_writer_LDFLAGS =						\
	-no-undefined							\
	$(PLATFORM_LDFLAGS)

gvariant_writer_LDADD =							\
	$(GIO_LIBS)							\
	$(GIO_UNIX_LIBS)						\
	$(GLIB_LIBS)