Makefile.am 916 Bytes
Newer Older
1 2
include $(top_srcdir)/Makefile.decl

3
if PLATFORM_WIN32
4 5 6
no_undefined = -no-undefined
endif

7
AM_CPPFLAGS = \
8 9 10 11 12 13
	-I$(top_srcdir) 				\
	-I$(top_srcdir)/gtk				\
	-I$(top_builddir)/gtk				\
	-I$(top_srcdir)/gdk				\
	-I$(top_builddir)/gdk				\
	$(CUPS_CFLAGS)					\
14
	$(COLORD_CFLAGS)				\
15
	-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED		\
16 17
	$(GTK_DEP_CFLAGS)				\
	$(GTK_DEBUG_FLAGS)
18 19

LDADDS = \
Matthias Clasen's avatar
Matthias Clasen committed
20
	$(top_builddir)/gtk/libgtk-3.la	\
21
	$(COLORD_LIBS)			\
22
	$(GTK_DEP_LIBS)
23

24
backenddir = $(libdir)/gtk-3.0/$(GTK_BINARY_VERSION)/printbackends
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39

backend_LTLIBRARIES = libprintbackend-cups.la

libprintbackend_cups_la_SOURCES =	\
	gtkprintbackendcups.c		\
	gtkprintercups.c		\
	gtkcupsutils.c

noinst_HEADERS =			\
	gtkprintbackendcups.h		\
	gtkprintercups.h		\
	gtkcupsutils.h

libprintbackend_cups_la_LDFLAGS =  -avoid-version -module $(no_undefined)
libprintbackend_cups_la_LIBADD = $(LDADDS) $(CUPS_LIBS)
40 41

-include $(top_srcdir)/git.mk