aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 7b66b1beae56ceac2f7ab692ce8dc3349ec5b5a5 (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

printersmenulibdir = $(INDICATORDIR)
printersmenulib_LTLIBRARIES = libprintersmenu.la
libprintersmenu_la_SOURCES = \
	indicator-printers.c \
	indicator-printers.h \
	indicator-menu-item.c \
	indicator-menu-item.h

libprintersmenu_la_CPPFLAGS = $(APPLET_CFLAGS)
libprintersmenu_la_LIBADD = $(APPLET_LIBS)
libprintersmenu_la_LDFLAGS = -module -avoid-version


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

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


libexec_PROGRAMS = indicator-printers-service
indicator_printers_service_SOURCES = \
	indicator-printers-service.c \
	indicator-printers-service.h \
	indicator-printers-menu.c \
	indicator-printers-menu.h \
	$(cups_notifier_sources)

indicator_printers_service_CPPFLAGS = $(SERVICE_CFLAGS)
indicator_printers_service_LDADD = $(SERVICE_LIBS)


BUILT_SOURCES = $(cups_notifier_sources)