mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 16:50:11 +00:00
aaae0ca8ba
This is a web service provided by Google that allows people to share their printers (https://www.google.com/cloudprint/learn/). In addition to being able to print to printers shared on Google Cloud Print, there is an equivalent of "Print to file" in the form of "Save to Google Drive". The cloudprint module uses gnome-online-accounts to obtain the OAuth 2.0 access token for the Google account. Currently it can discover available printers, get simple details about them such as display name and status, and submit jobs without any special options. https://bugzilla.gnome.org/show_bug.cgi?id=723368
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
include $(top_srcdir)/Makefile.decl
|
|
|
|
if PLATFORM_WIN32
|
|
no_undefined = -no-undefined
|
|
endif
|
|
|
|
backenddir = $(libdir)/gtk-3.0/$(GTK_BINARY_VERSION)/printbackends
|
|
|
|
backend_LTLIBRARIES = libprintbackend-cloudprint.la
|
|
|
|
libprintbackend_cloudprint_la_SOURCES = \
|
|
gtkprintbackendcloudprint.h \
|
|
gtkprintbackendcloudprint.c \
|
|
gtkprintercloudprint.h \
|
|
gtkprintercloudprint.c \
|
|
gtkcloudprintaccount.h \
|
|
gtkcloudprintaccount.c
|
|
|
|
libprintbackend_cloudprint_la_CPPFLAGS = \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/gtk \
|
|
-I$(top_builddir)/gtk \
|
|
-I$(top_srcdir)/gdk \
|
|
-I$(top_builddir)/gdk \
|
|
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
|
|
$(AM_CPPFLAGS)
|
|
|
|
libprintbackend_cloudprint_la_CFLAGS = \
|
|
$(GTK_DEP_CFLAGS) \
|
|
$(GTK_DEBUG_FLAGS) \
|
|
$(REST_CFLAGS) \
|
|
$(JSON_GLIB_CFLAGS) \
|
|
$(AM_CFLAGS)
|
|
|
|
libprintbackend_cloudprint_la_LDFLAGS = \
|
|
-avoid-version -module $(no_undefined)
|
|
|
|
libprintbackend_cloudprint_la_LIBADD = \
|
|
$(top_builddir)/gtk/libgtk-3.la \
|
|
$(REST_LIBS) \
|
|
$(JSON_GLIB_LIBS) \
|
|
$(GTK_DEP_LIBS)
|
|
|
|
-include $(top_srcdir)/git.mk
|