2011-01-19 15:41:07 +00:00
|
|
|
cappletname = printers
|
|
|
|
|
2014-06-25 11:56:03 +02:00
|
|
|
AM_CPPFLAGS = \
|
2010-12-17 13:58:45 +01:00
|
|
|
$(PANEL_CFLAGS) \
|
2011-02-19 16:46:26 +00:00
|
|
|
$(PRINTERS_PANEL_CFLAGS) \
|
2013-02-18 09:43:15 +01:00
|
|
|
$(CUPS_CFLAGS) \
|
2013-02-15 16:40:07 -05:00
|
|
|
$(SMBCLIENT_CFLAGS) \
|
2011-11-07 17:50:40 +00:00
|
|
|
-I$(top_srcdir)/shell/ \
|
2010-12-17 13:58:45 +01:00
|
|
|
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-12-11 11:46:28 +01:00
|
|
|
noinst_LTLIBRARIES = libprinters.la
|
2010-12-17 13:58:45 +01:00
|
|
|
|
2013-01-04 15:54:43 +01:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
cc-printers-resources.c \
|
|
|
|
cc-printers-resources.h
|
|
|
|
|
2013-03-28 12:17:21 +01:00
|
|
|
libprinters_la_CPPFLAGS = $(CUPS_CPPFLAGS)
|
|
|
|
|
2010-12-17 13:58:45 +01:00
|
|
|
libprinters_la_SOURCES = \
|
2013-01-04 15:54:43 +01:00
|
|
|
$(BUILT_SOURCES) \
|
2012-09-03 20:44:32 +02:00
|
|
|
pp-new-printer.c \
|
|
|
|
pp-new-printer.h \
|
2012-09-03 20:18:47 +02:00
|
|
|
pp-maintenance-command.c \
|
|
|
|
pp-maintenance-command.h \
|
2012-09-03 20:04:38 +02:00
|
|
|
pp-host.c \
|
|
|
|
pp-host.h \
|
2012-09-03 21:46:50 +02:00
|
|
|
pp-cups.c \
|
|
|
|
pp-cups.h \
|
2012-07-16 11:10:02 +02:00
|
|
|
pp-utils.c \
|
|
|
|
pp-utils.h \
|
2012-07-16 15:25:10 +02:00
|
|
|
pp-ppd-option-widget.c \
|
|
|
|
pp-ppd-option-widget.h \
|
|
|
|
pp-ipp-option-widget.c \
|
|
|
|
pp-ipp-option-widget.h \
|
2012-07-16 11:10:02 +02:00
|
|
|
pp-new-printer-dialog.c \
|
|
|
|
pp-new-printer-dialog.h \
|
|
|
|
pp-ppd-selection-dialog.c \
|
|
|
|
pp-ppd-selection-dialog.h \
|
2012-08-07 14:09:33 +02:00
|
|
|
pp-options-dialog.c \
|
|
|
|
pp-options-dialog.h \
|
|
|
|
pp-jobs-dialog.c \
|
|
|
|
pp-jobs-dialog.h \
|
2013-02-15 17:45:15 +01:00
|
|
|
pp-authentication-dialog.c \
|
|
|
|
pp-authentication-dialog.h \
|
2013-02-14 15:54:20 +01:00
|
|
|
pp-samba.c \
|
|
|
|
pp-samba.h \
|
2012-07-16 11:10:02 +02:00
|
|
|
cc-printers-panel.c \
|
2010-12-17 13:58:45 +01:00
|
|
|
cc-printers-panel.h
|
|
|
|
|
2014-06-25 11:56:03 +02:00
|
|
|
libprinters_la_CPPFLAGS = $(AM_CPPFLAGS)
|
2013-02-15 16:40:07 -05:00
|
|
|
libprinters_la_LIBADD = $(PRINTERS_PANEL_LIBS) $(PANEL_LIBS) $(CUPS_LIBS) $(SMBCLIENT_LIBS)
|
2010-12-17 13:58:45 +01:00
|
|
|
|
2013-01-07 12:30:32 +01:00
|
|
|
resource_files = $(shell glib-compile-resources --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/printers.gresource.xml)
|
2013-01-04 15:54:43 +01:00
|
|
|
cc-printers-resources.c: printers.gresource.xml $(resource_files)
|
|
|
|
$(AM_V_GEN) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-source --c-name cc_printers $<
|
|
|
|
cc-printers-resources.h: printers.gresource.xml $(resource_files)
|
|
|
|
$(AM_V_GEN) glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-header --c-name cc_printers $<
|
|
|
|
|
2010-12-17 13:58:45 +01:00
|
|
|
@INTLTOOL_DESKTOP_RULE@
|
|
|
|
|
|
|
|
desktopdir = $(datadir)/applications
|
|
|
|
desktop_in_files = gnome-printers-panel.desktop.in
|
|
|
|
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
|
|
|
|
2013-01-04 15:54:43 +01:00
|
|
|
CLEANFILES = $(desktop_in_files) $(desktop_DATA) $(BUILT_SOURCES)
|
|
|
|
EXTRA_DIST = $(resource_files) printers.gresource.xml
|
2010-12-17 13:58:45 +01:00
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|