forked from AuroraMiddleware/gtk
07d49ee56a
This commit does a number of things: - remove some dead wchar configury from configure.ac and gdkconfig.h - repurpose gdkconfig.h as header that contains GDK_WINDOWING_foo macros for each included backend, include it in gdk.h and install it in $includedir instead of below $libdir - drop the backend from the library names - build libgdk-3.0.la as a convenience lib and include it in libgtk-3.0.la It does not yet enable building multiple backends at the same time.
40 lines
872 B
Makefile
40 lines
872 B
Makefile
include $(top_srcdir)/Makefile.decl
|
|
|
|
if PLATFORM_WIN32
|
|
no_undefined = -no-undefined
|
|
endif
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/gtk \
|
|
-I$(top_builddir)/gtk \
|
|
-I$(top_srcdir)/gdk \
|
|
-I$(top_builddir)/gdk \
|
|
$(CUPS_CFLAGS) \
|
|
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
|
|
$(GTK_DEP_CFLAGS) \
|
|
$(GTK_DEBUG_FLAGS)
|
|
|
|
LDADDS = \
|
|
$(top_builddir)/gtk/libgtk-3.0.la \
|
|
$(GTK_DEP_LIBS)
|
|
|
|
backenddir = $(libdir)/gtk-3.0/$(GTK_BINARY_VERSION)/printbackends
|
|
|
|
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)
|
|
|
|
-include $(top_srcdir)/git.mk
|