aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile.am
blob: 4084cbad1ec4f93b854a4c2d06148213adb0ac40 (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

noinst_PROGRAMS = mock-cups-notifier
DISTCLEANFILES = mock-cups-notifier

cups_notifier_sources = \
	cups-notifier.c \
	cups-notifier.h

$(cups_notifier_sources): $(top_srcdir)/src/org.cups.cupsd.Notifier.xml
	gdbus-codegen \
	    --interface-prefix org.cups.cupsd \
	    --c-namespace Cups \
	    --generate-c-code cups-notifier \
	    $^

mock_cups_notifier_SOURCES = \
	mock-cups-notifier.c

nodist_mock_cups_notifier_SOURCES = $(cups_notifier_sources)

mock_cups_notifier_CPPFLAGS = \
	$(SERVICE_CFLAGS) \
	-I$(top_builddir)/src

mock_cups_notifier_LDADD = $(SERVICE_LIBS)

BUILT_SOURCES = $(cups_notifier_sources)
CLEANFILES = $(BUILT_SOURCES)