mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
83 lines
2.0 KiB
Makefile
83 lines
2.0 KiB
Makefile
|
include $(top_srcdir)/Makefile.decl
|
||
|
-include $(INTROSPECTION_MAKEFILE)
|
||
|
|
||
|
# Preamble
|
||
|
INTROSPECTION_GIRS =
|
||
|
INTROSPECTION_SCANNER_ARGS = \
|
||
|
--add-include-path=../gdk \
|
||
|
--warn-all
|
||
|
INTROSPECTION_COMPILER_ARGS = \
|
||
|
--includedir=$(srcdir) \
|
||
|
--includedir=. \
|
||
|
--includedir=../gdk
|
||
|
|
||
|
AM_CPPFLAGS = \
|
||
|
-DG_LOG_DOMAIN=\"Gsk\" \
|
||
|
-DGSK_COMPILATION \
|
||
|
-I$(top_builddir) \
|
||
|
-I$(top_builddir)/gsk \
|
||
|
-I$(top_srcdir) \
|
||
|
-I$(top_srcdir)/gdk \
|
||
|
$(GTK_DEBUG_FLAGS) \
|
||
|
$(GTK_WARN_FLAGS) \
|
||
|
$(GSK_DEP_CFLAGS)
|
||
|
|
||
|
# libtool stuff: set version and export symbols for resolving
|
||
|
# since automake doesn't support conditionalized libsomething_la_LDFLAGS
|
||
|
# we use the general approach here
|
||
|
LDADD = \
|
||
|
$(GTK_LINK_FLAGS) \
|
||
|
-version-info $(LT_VERSION_INFO) \
|
||
|
-export-dynamic \
|
||
|
-rpath $(libdir) \
|
||
|
$(no_undefined)
|
||
|
|
||
|
BUILT_SOURCES =
|
||
|
|
||
|
CLEANFILES =
|
||
|
|
||
|
lib_LTLIBRARIES =
|
||
|
|
||
|
gsk_public_source_h =
|
||
|
gsk_private_source_h =
|
||
|
gsk_private_source_c =
|
||
|
gsk_source_c =
|
||
|
|
||
|
libgsk_3_la_SOURCES = $(all_sources)
|
||
|
libgsk_3_la_CFLAGS = $(AM_CFLAGS) $(GDK_HIDDEN_VISIBILITY_CFLAGS)
|
||
|
libgsk_3_la_LIBADD = $(GSK_DEP_LIBS) $(top_builddir)/gdk/libgdk-3.la
|
||
|
libgsk_3_la_LDFLAGS = $(LDADD)
|
||
|
|
||
|
lib_LTLIBRARIES += libgsk-3.la
|
||
|
|
||
|
gskincludedir = $(includedir)/gtk-3.0/gsk
|
||
|
gskinclude_HEADERS = $(gsk_public_source_h) gsk.h
|
||
|
|
||
|
if HAVE_INTROSPECTION
|
||
|
|
||
|
introspection_files = $(gsk_source_c) $(gsk_public_source_h)
|
||
|
|
||
|
Gsk-3.0.gir: libgsk-3.la Makefile
|
||
|
Gsk_3_0_gir_SCANNERFLAGS = \
|
||
|
--add-include-path=$(top_builddir)/gdk \
|
||
|
--include-uninstalled=$(top_builddir)/gdk/Gdk-3.0.gir \
|
||
|
--c-include="gsk/gsk.h"
|
||
|
Gsk_3_0_gir_LIBS = libgsk-3.la
|
||
|
Gsk_3_0_gir_FILES = $(introspection_files)
|
||
|
Gsk_3_0_gir_CFLAGS = $(AM_CPPFLAGS)
|
||
|
Gsk_3_0_gir_EXPORT_PACKAGES = gsk-3.0
|
||
|
Gsk_3_0_gir_INCLUDES = GObject-2.0 cairo-1.0 Graphene-1.0
|
||
|
INTROSPECTION_GIRS += Gsk-3.0.gir
|
||
|
|
||
|
girdir = $(datadir)/gir-1.0
|
||
|
gir_DATA = $(INTROSPECTION_GIRS)
|
||
|
|
||
|
typelibsdir = $(libdir)/girepository-1.0
|
||
|
typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
|
||
|
|
||
|
CLEANFILES += $(gir_DATA) $(typelibs_DATA)
|
||
|
|
||
|
endif
|
||
|
|
||
|
-include $(top_srcdir)/git.mk
|