Makefile.am 977 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
	$(AVAHI_CFLAGS)					\
16
	-DGTK_COMPILATION				\
17
	-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED		\
18 19
	$(GTK_DEP_CFLAGS)				\
	$(GTK_DEBUG_FLAGS)
20 21

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

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

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)
41
libprintbackend_cups_la_LIBADD = $(LDADDS) $(CUPS_LIBS) $(AVAHI_LIBS)
42 43

-include $(top_srcdir)/git.mk