2014-01-14 13:01:35 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
|
2016-10-26 10:23:38 +00:00
|
|
|
GSK_CFLAG_DEFINES = \
|
2014-01-14 13:01:35 +00:00
|
|
|
-DG_LOG_DOMAIN=\"Gsk\" \
|
2016-10-18 14:47:00 +00:00
|
|
|
-DG_LOG_USE_STRUCTURED=1 \
|
2016-10-26 10:23:38 +00:00
|
|
|
-DGSK_COMPILATION
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
$(GSK_CFLAG_DEFINES) \
|
2014-01-14 13:01:35 +00:00
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/gdk \
|
2016-03-17 13:48:19 +00:00
|
|
|
-I$(top_builddir) \
|
|
|
|
-I$(top_builddir)/gsk \
|
2014-01-14 13:01:35 +00:00
|
|
|
$(GTK_DEBUG_FLAGS) \
|
|
|
|
$(GTK_WARN_FLAGS) \
|
|
|
|
$(GSK_DEP_CFLAGS)
|
|
|
|
|
|
|
|
BUILT_SOURCES =
|
|
|
|
|
|
|
|
CLEANFILES =
|
2016-03-17 13:48:19 +00:00
|
|
|
DISTCLEANFILES =
|
2014-01-14 13:01:35 +00:00
|
|
|
|
2016-10-17 13:07:57 +00:00
|
|
|
noinst_LTLIBRARIES =
|
2014-01-14 13:01:35 +00:00
|
|
|
|
2016-11-29 15:33:14 +00:00
|
|
|
if HAVE_VULKAN
|
2016-12-21 19:12:17 +00:00
|
|
|
gsk_private_vulkan_source_h = \
|
2016-12-17 23:57:37 +00:00
|
|
|
gskvulkanblendpipelineprivate.h \
|
2017-01-10 13:59:20 +00:00
|
|
|
gskvulkanborderpipelineprivate.h \
|
2017-01-18 03:07:09 +00:00
|
|
|
gskvulkanboxshadowpipelineprivate.h \
|
2016-12-05 01:50:06 +00:00
|
|
|
gskvulkanbufferprivate.h \
|
2016-12-23 20:36:17 +00:00
|
|
|
gskvulkanclipprivate.h \
|
2016-12-18 01:18:01 +00:00
|
|
|
gskvulkancolorpipelineprivate.h \
|
2016-12-16 05:10:24 +00:00
|
|
|
gskvulkancommandpoolprivate.h \
|
2016-12-30 05:46:34 +00:00
|
|
|
gskvulkaneffectpipelineprivate.h \
|
2016-12-06 13:42:46 +00:00
|
|
|
gskvulkanimageprivate.h \
|
2016-12-30 05:46:34 +00:00
|
|
|
gskvulkanlineargradientpipelineprivate.h \
|
2016-12-05 01:50:06 +00:00
|
|
|
gskvulkanmemoryprivate.h \
|
|
|
|
gskvulkanpipelineprivate.h \
|
2016-12-14 06:21:21 +00:00
|
|
|
gskvulkanpushconstantsprivate.h \
|
2016-12-07 13:50:52 +00:00
|
|
|
gskvulkanrenderprivate.h \
|
2016-12-05 01:50:06 +00:00
|
|
|
gskvulkanrendererprivate.h \
|
2016-12-08 12:26:36 +00:00
|
|
|
gskvulkanrenderpassprivate.h \
|
2016-12-05 01:50:06 +00:00
|
|
|
gskvulkanshaderprivate.h
|
2016-11-29 15:33:14 +00:00
|
|
|
gsk_private_vulkan_source_c = \
|
2016-12-17 23:57:37 +00:00
|
|
|
gskvulkanblendpipeline.c \
|
2017-01-10 13:59:20 +00:00
|
|
|
gskvulkanborderpipeline.c \
|
2017-01-18 03:07:09 +00:00
|
|
|
gskvulkanboxshadowpipeline.c \
|
2016-12-05 01:50:06 +00:00
|
|
|
gskvulkanbuffer.c \
|
2016-12-23 20:36:17 +00:00
|
|
|
gskvulkanclip.c \
|
2016-12-18 01:18:01 +00:00
|
|
|
gskvulkancolorpipeline.c \
|
2016-12-16 05:10:24 +00:00
|
|
|
gskvulkancommandpool.c \
|
2016-12-30 05:46:34 +00:00
|
|
|
gskvulkaneffectpipeline.c \
|
2016-12-26 16:11:13 +00:00
|
|
|
gskvulkanlineargradientpipeline.c \
|
2016-12-06 13:42:46 +00:00
|
|
|
gskvulkanimage.c \
|
2016-12-05 01:50:06 +00:00
|
|
|
gskvulkanmemory.c \
|
|
|
|
gskvulkanpipeline.c \
|
2016-12-14 06:21:21 +00:00
|
|
|
gskvulkanpushconstants.c \
|
2016-12-07 13:50:52 +00:00
|
|
|
gskvulkanrender.c \
|
2016-12-05 01:50:06 +00:00
|
|
|
gskvulkanrenderer.c \
|
2016-12-08 12:26:36 +00:00
|
|
|
gskvulkanrenderpass.c \
|
2016-12-05 01:50:06 +00:00
|
|
|
gskvulkanshader.c
|
2017-01-10 13:59:20 +00:00
|
|
|
gsk_private_vulkan_include_shaders = \
|
2017-01-17 04:36:03 +00:00
|
|
|
resources/vulkan/clip.frag.glsl \
|
2017-01-17 04:50:52 +00:00
|
|
|
resources/vulkan/clip.vert.glsl \
|
2017-01-17 01:20:08 +00:00
|
|
|
resources/vulkan/constants.glsl \
|
2017-01-10 13:59:20 +00:00
|
|
|
resources/vulkan/rounded-rect.glsl
|
2017-01-17 05:15:03 +00:00
|
|
|
gsk_private_vulkan_fragment_shaders = \
|
|
|
|
resources/vulkan/blend.frag \
|
|
|
|
resources/vulkan/border.frag \
|
|
|
|
resources/vulkan/color.frag \
|
|
|
|
resources/vulkan/color-matrix.frag \
|
2017-01-18 03:07:09 +00:00
|
|
|
resources/vulkan/inset-shadow.frag \
|
|
|
|
resources/vulkan/linear.frag \
|
|
|
|
resources/vulkan/outset-shadow.frag
|
2017-01-17 05:15:03 +00:00
|
|
|
gsk_private_vulkan_vertex_shaders = \
|
|
|
|
resources/vulkan/blend.vert \
|
|
|
|
resources/vulkan/border.vert \
|
|
|
|
resources/vulkan/color.vert \
|
|
|
|
resources/vulkan/color-matrix.vert \
|
2017-01-18 03:07:09 +00:00
|
|
|
resources/vulkan/inset-shadow.vert \
|
|
|
|
resources/vulkan/linear.vert \
|
|
|
|
resources/vulkan/outset-shadow.vert
|
2017-01-05 12:11:02 +00:00
|
|
|
gsk_private_vulkan_shaders = \
|
2017-01-17 05:15:03 +00:00
|
|
|
$(gsk_private_vulkan_fragment_shaders) \
|
|
|
|
$(gsk_private_vulkan_vertex_shaders)
|
2017-01-05 12:11:02 +00:00
|
|
|
gsk_private_vulkan_compiled_shaders = \
|
2017-01-17 05:15:03 +00:00
|
|
|
$(gsk_private_vulkan_fragment_shaders:.frag=.frag.spv) \
|
|
|
|
$(gsk_private_vulkan_vertex_shaders:.vert=.vert.spv) \
|
|
|
|
$(gsk_private_vulkan_fragment_shaders:.frag=-clip.frag.spv) \
|
|
|
|
$(gsk_private_vulkan_vertex_shaders:.vert=-clip.vert.spv) \
|
|
|
|
$(gsk_private_vulkan_fragment_shaders:.frag=-clip-rounded.frag.spv) \
|
|
|
|
$(gsk_private_vulkan_vertex_shaders:.vert=-clip-rounded.vert.spv)
|
2016-11-29 15:33:14 +00:00
|
|
|
endif
|
|
|
|
|
2016-03-17 13:48:19 +00:00
|
|
|
gsk_public_source_h = \
|
|
|
|
gskenums.h \
|
|
|
|
gskrenderer.h \
|
|
|
|
gskrendernode.h \
|
2016-12-13 18:02:12 +00:00
|
|
|
gskroundedrect.h \
|
2016-11-07 16:59:38 +00:00
|
|
|
gsktexture.h \
|
2016-03-17 13:48:19 +00:00
|
|
|
gsktypes.h
|
|
|
|
gsk_private_source_h = \
|
2016-11-29 15:33:14 +00:00
|
|
|
$(gsk_private_vulkan_source_h) \
|
2016-12-18 20:45:15 +00:00
|
|
|
gskcairoblurprivate.h \
|
2016-03-17 13:48:19 +00:00
|
|
|
gskcairorendererprivate.h \
|
|
|
|
gskdebugprivate.h \
|
2016-07-08 15:21:13 +00:00
|
|
|
gskgldriverprivate.h \
|
2016-07-12 13:50:48 +00:00
|
|
|
gskglprofilerprivate.h \
|
2016-03-17 13:48:19 +00:00
|
|
|
gskglrendererprivate.h \
|
2016-07-03 19:04:40 +00:00
|
|
|
gskprivate.h \
|
2016-08-03 15:48:49 +00:00
|
|
|
gskprofilerprivate.h \
|
2016-03-17 13:48:19 +00:00
|
|
|
gskrendererprivate.h \
|
|
|
|
gskrendernodeprivate.h \
|
2016-12-13 18:02:12 +00:00
|
|
|
gskroundedrectprivate.h \
|
2016-11-07 16:59:38 +00:00
|
|
|
gskshaderbuilderprivate.h \
|
|
|
|
gsktextureprivate.h
|
2017-01-05 12:11:02 +00:00
|
|
|
gsk_private_source_shaders = \
|
2017-01-05 12:37:58 +00:00
|
|
|
resources/glsl/blend.fs.glsl \
|
|
|
|
resources/glsl/blend.vs.glsl \
|
|
|
|
resources/glsl/blit.fs.glsl \
|
|
|
|
resources/glsl/blit.vs.glsl \
|
|
|
|
resources/glsl/es2_common.fs.glsl \
|
|
|
|
resources/glsl/es2_common.vs.glsl \
|
|
|
|
resources/glsl/gl3_common.fs.glsl \
|
|
|
|
resources/glsl/gl3_common.vs.glsl \
|
|
|
|
resources/glsl/gl_common.fs.glsl \
|
|
|
|
resources/glsl/gl_common.vs.glsl
|
2016-10-18 14:47:00 +00:00
|
|
|
gsk_public_source_c = \
|
|
|
|
gskrenderer.c \
|
|
|
|
gskrendernode.c \
|
2016-12-11 01:59:47 +00:00
|
|
|
gskrendernodeimpl.c \
|
2016-12-13 18:02:12 +00:00
|
|
|
gskroundedrect.c \
|
2016-11-07 16:59:38 +00:00
|
|
|
gsktexture.c
|
2016-03-17 13:48:19 +00:00
|
|
|
gsk_private_source_c = \
|
2016-11-29 15:33:14 +00:00
|
|
|
$(gsk_private_vulkan_source_c) \
|
2016-12-18 20:45:15 +00:00
|
|
|
gskcairoblur.c \
|
2016-03-17 13:48:19 +00:00
|
|
|
gskcairorenderer.c \
|
|
|
|
gskdebug.c \
|
2016-07-08 15:21:13 +00:00
|
|
|
gskgldriver.c \
|
2016-07-12 13:50:48 +00:00
|
|
|
gskglprofiler.c \
|
2016-03-17 13:48:19 +00:00
|
|
|
gskglrenderer.c \
|
2016-10-18 14:47:00 +00:00
|
|
|
gskprivate.c \
|
2016-08-03 15:48:49 +00:00
|
|
|
gskprofiler.c \
|
2016-07-03 19:04:40 +00:00
|
|
|
gskshaderbuilder.c
|
2016-10-18 14:47:00 +00:00
|
|
|
gsk_built_source_h = \
|
|
|
|
gskenumtypes.h \
|
|
|
|
gskresources.h
|
|
|
|
gsk_built_source_c = \
|
|
|
|
gskenumtypes.c \
|
|
|
|
gskresources.c
|
2016-03-17 13:48:19 +00:00
|
|
|
|
|
|
|
all_sources = \
|
|
|
|
$(gsk_public_source_h) \
|
2016-10-18 14:47:00 +00:00
|
|
|
$(gsk_public_source_c) \
|
2016-03-17 13:48:19 +00:00
|
|
|
$(gsk_private_source_h) \
|
2016-10-18 14:47:00 +00:00
|
|
|
$(gsk_private_source_c)
|
2016-03-17 13:48:19 +00:00
|
|
|
|
|
|
|
BUILT_SOURCES += $(gsk_built_source_h) $(gsk_built_source_c) gsk.resources.xml
|
|
|
|
|
|
|
|
gskenumtypes.h: $(gsk_public_source_h) gskenumtypes.h.template
|
|
|
|
$(AM_V_GEN) $(GLIB_MKENUMS) --template $(filter %.template,$^) $(filter-out %.template,$^) > \
|
|
|
|
gskenumtypes.h.tmp && \
|
|
|
|
mv gskenumtypes.h.tmp gskenumtypes.h
|
|
|
|
|
|
|
|
gskenumtypes.c: $(gsk_public_source_h) gskenumtypes.c.template
|
|
|
|
$(AM_V_GEN) $(GLIB_MKENUMS) --template $(filter %.template,$^) $(filter-out %.template,$^) > \
|
|
|
|
gskenumtypes.c.tmp && \
|
|
|
|
mv gskenumtypes.c.tmp gskenumtypes.c
|
|
|
|
|
|
|
|
EXTRA_DIST += gskenumtypes.h.template gskenumtypes.c.template
|
|
|
|
DISTCLEANFILES += gskenumtypes.h gskenumtypes.c
|
|
|
|
|
2017-01-11 14:17:49 +00:00
|
|
|
resource_files = \
|
|
|
|
$(gsk_private_source_shaders) \
|
|
|
|
$(gsk_private_vulkan_compiled_shaders) \
|
|
|
|
$(gsk_private_vulkan_shaders)
|
2016-03-17 13:48:19 +00:00
|
|
|
|
2017-01-17 05:15:03 +00:00
|
|
|
resources/vulkan/%-clip-rounded.frag.spv: resources/vulkan/%.frag
|
2016-12-05 01:50:06 +00:00
|
|
|
@if test -z "$(GLSLC)"; then echo "Missing glslc. See https://github.com/google/shaderc"; exit 1; fi
|
2017-01-17 05:15:03 +00:00
|
|
|
$(AM_V_GEN) $(GLSLC) -fshader-stage=fragment -DCLIP_ROUNDED_RECT -o $@.tmp $< && mv $@.tmp $@
|
2016-12-05 01:50:06 +00:00
|
|
|
|
2017-01-17 05:15:03 +00:00
|
|
|
resources/vulkan/%-clip-rounded.vert.spv: resources/vulkan/%.vert
|
2016-12-05 01:50:06 +00:00
|
|
|
@if test -z "$(GLSLC)"; then echo "Missing glslc. See https://github.com/google/shaderc"; exit 1; fi
|
2017-01-17 05:15:03 +00:00
|
|
|
$(AM_V_GEN) $(GLSLC) -fshader-stage=vertex -DCLIP_ROUNDED_RECT -o $@.tmp $< && mv $@.tmp $@
|
|
|
|
|
|
|
|
resources/vulkan/%-clip.frag.spv: resources/vulkan/%.frag
|
|
|
|
@if test -z "$(GLSLC)"; then echo "Missing glslc. See https://github.com/google/shaderc"; exit 1; fi
|
|
|
|
$(AM_V_GEN) $(GLSLC) -fshader-stage=fragment -DCLIP_RECT -o $@.tmp $< && mv $@.tmp $@
|
|
|
|
|
|
|
|
resources/vulkan/%-clip.vert.spv: resources/vulkan/%.vert
|
|
|
|
@if test -z "$(GLSLC)"; then echo "Missing glslc. See https://github.com/google/shaderc"; exit 1; fi
|
|
|
|
$(AM_V_GEN) $(GLSLC) -fshader-stage=vertex -DCLIP_RECT -o $@.tmp $< && mv $@.tmp $@
|
|
|
|
|
|
|
|
resources/vulkan/%.frag.spv: resources/vulkan/%.frag
|
|
|
|
@if test -z "$(GLSLC)"; then echo "Missing glslc. See https://github.com/google/shaderc"; exit 1; fi
|
|
|
|
$(AM_V_GEN) $(GLSLC) -fshader-stage=fragment -DCLIP_NONE -o $@.tmp $< && mv $@.tmp $@
|
|
|
|
|
|
|
|
resources/vulkan/%.vert.spv: resources/vulkan/%.vert
|
|
|
|
@if test -z "$(GLSLC)"; then echo "Missing glslc. See https://github.com/google/shaderc"; exit 1; fi
|
|
|
|
$(AM_V_GEN) $(GLSLC) -fshader-stage=vertex -DCLIP_NONE -o $@.tmp $< && mv $@.tmp $@
|
2016-12-05 01:50:06 +00:00
|
|
|
|
2016-03-17 13:48:19 +00:00
|
|
|
gsk.resources.xml: Makefile.am
|
|
|
|
$(AM_V_GEN) echo "<?xml version='1.0' encoding='UTF-8'?>" > $@; \
|
|
|
|
echo "<gresources>" >> $@; \
|
|
|
|
echo " <gresource prefix='/org/gtk/libgsk'>" >> $@; \
|
2017-01-05 12:11:02 +00:00
|
|
|
for f in $(gsk_private_source_shaders); do \
|
2016-03-17 13:48:19 +00:00
|
|
|
n=`basename $$f`; \
|
|
|
|
echo " <file alias='glsl/$$n'>resources/glsl/$$n</file>" >> $@; \
|
|
|
|
done; \
|
2017-01-05 12:11:02 +00:00
|
|
|
for f in $(gsk_private_vulkan_compiled_shaders); do \
|
2016-12-05 01:50:06 +00:00
|
|
|
n=`basename $$f`; \
|
|
|
|
echo " <file alias='vulkan/$$n'>resources/vulkan/$$n</file>" >> $@; \
|
|
|
|
done; \
|
2017-01-05 12:11:02 +00:00
|
|
|
for f in $(gsk_private_vulkan_shaders); do \
|
2016-12-05 01:50:06 +00:00
|
|
|
n=`basename $$f`; \
|
|
|
|
echo " <file alias='vulkan/$$n'>resources/vulkan/$$n</file>" >> $@; \
|
|
|
|
done; \
|
2016-03-17 13:48:19 +00:00
|
|
|
echo " </gresource>" >> $@; \
|
|
|
|
echo "</gresources>" >> $@
|
|
|
|
|
2017-01-11 14:17:49 +00:00
|
|
|
gskresources.h: gsk.resources.xml $(resource_files)
|
2016-03-17 13:48:19 +00:00
|
|
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $< \
|
|
|
|
--target=$@ --sourcedir=$(srcdir) --c-name _gsk --generate-header --manual-register
|
|
|
|
|
|
|
|
gskresources.c: gsk.resources.xml $(resource_files)
|
|
|
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $< \
|
|
|
|
--target=$@ --sourcedir=$(srcdir) --c-name _gsk --generate-source --manual-register
|
|
|
|
|
2017-01-10 13:59:20 +00:00
|
|
|
EXTRA_DIST += $(resource_files) $(gsk_private_vulkan_include_shaders)
|
2016-03-17 13:48:19 +00:00
|
|
|
CLEANFILES += gsk.resources.xml
|
|
|
|
DISTCLEANFILES += gskresources.h gskresources.c
|
|
|
|
|
|
|
|
libgsk_4_la_SOURCES = $(all_sources)
|
|
|
|
nodist_libgsk_4_la_SOURCES = $(gsk_built_source_h) $(gsk_built_source_c)
|
|
|
|
libgsk_4_la_CFLAGS = $(AM_CFLAGS) $(GDK_HIDDEN_VISIBILITY_CFLAGS)
|
|
|
|
libgsk_4_la_LIBADD = $(GSK_DEP_LIBS) $(top_builddir)/gdk/libgdk-4.la
|
|
|
|
|
2016-10-17 13:07:57 +00:00
|
|
|
noinst_LTLIBRARIES += libgsk-4.la
|
2016-03-17 13:48:19 +00:00
|
|
|
|
|
|
|
gskincludedir = $(includedir)/gtk-4.0/gsk
|
|
|
|
gskinclude_HEADERS = $(gsk_public_source_h) gskenumtypes.h gsk.h
|
2014-01-14 13:01:35 +00:00
|
|
|
|
2016-03-17 13:48:19 +00:00
|
|
|
-include $(INTROSPECTION_MAKEFILE)
|
|
|
|
INTROSPECTION_GIRS =
|
2016-10-18 14:47:00 +00:00
|
|
|
INTROSPECTION_SCANNER_ENV = CC="$(CC)"
|
2016-03-17 13:48:19 +00:00
|
|
|
INTROSPECTION_SCANNER_ARGS = \
|
|
|
|
--add-include-path=../gdk \
|
2016-10-18 14:47:00 +00:00
|
|
|
--add-include-path=../gsk \
|
2016-03-17 13:48:19 +00:00
|
|
|
--warn-all
|
|
|
|
INTROSPECTION_COMPILER_ARGS = \
|
|
|
|
--includedir=$(srcdir) \
|
|
|
|
--includedir=. \
|
|
|
|
--includedir=../gdk
|
2014-01-14 13:01:35 +00:00
|
|
|
|
|
|
|
if HAVE_INTROSPECTION
|
|
|
|
|
2016-10-18 14:47:00 +00:00
|
|
|
introspection_files = $(gsk_public_source_h) $(gsk_public_source_c)
|
2014-01-14 13:01:35 +00:00
|
|
|
|
2016-11-30 15:06:43 +00:00
|
|
|
Gsk-noinst-4.0.gir: libgsk-4.la Makefile
|
2016-10-17 13:07:57 +00:00
|
|
|
Gsk_noinst_4_0_gir_SCANNERFLAGS = \
|
2014-01-14 13:01:35 +00:00
|
|
|
--add-include-path=$(top_builddir)/gdk \
|
2016-10-17 13:07:57 +00:00
|
|
|
--include-uninstalled=$(top_builddir)/gdk/Gdk-noinst-4.0.gir \
|
2014-01-14 13:01:35 +00:00
|
|
|
--c-include="gsk/gsk.h"
|
2016-10-17 13:07:57 +00:00
|
|
|
Gsk_noinst_4_0_gir_LIBS = libgsk-4.la
|
|
|
|
Gsk_noinst_4_0_gir_FILES = $(introspection_files)
|
|
|
|
Gsk_noinst_4_0_gir_CFLAGS = $(AM_CPPFLAGS) $(GDK_HIDDEN_VISIBILITY_CFLAGS)
|
|
|
|
Gsk_noinst_4_0_gir_EXPORT_PACKAGES = gsk-4.0
|
|
|
|
Gsk_noinst_4_0_gir_INCLUDES = GObject-2.0 cairo-1.0 Graphene-1.0
|
|
|
|
INTROSPECTION_GIRS += Gsk-noinst-4.0.gir
|
2014-01-14 13:01:35 +00:00
|
|
|
|
2016-10-17 13:07:57 +00:00
|
|
|
noinst_DATA = $(INTROSPECTION_GIRS)
|
2014-01-14 13:01:35 +00:00
|
|
|
|
2016-10-31 16:30:10 +00:00
|
|
|
CLEANFILES += $(INTROSPECTION_GIRS)
|
2014-01-14 13:01:35 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2016-10-26 10:23:38 +00:00
|
|
|
# ------------------- MSVC Build Items ----------------
|
|
|
|
MSVCPROJS = gsk-4
|
|
|
|
|
|
|
|
gsk_4_FILES = $(all_sources) $(gsk_built_source_c)
|
2016-12-29 17:08:07 +00:00
|
|
|
gsk_4_EXCLUDES = gskvulkan*.c
|
2016-10-26 10:23:38 +00:00
|
|
|
gsk_4_HEADERS_DIR = $(gskincludedir)
|
|
|
|
gsk_4_HEADERS_INST = $(gskinclude_HEADERS)
|
|
|
|
gsk_4_HEADERS_EXCLUDES = dummy
|
|
|
|
|
2017-01-09 07:33:25 +00:00
|
|
|
include $(top_srcdir)/win32/Makefile.msvcproj
|
2016-10-26 10:23:38 +00:00
|
|
|
|
2017-01-09 07:33:25 +00:00
|
|
|
$(top_builddir)/win32/gsk.enum.headers: Makefile $(gsk_public_source_h)
|
|
|
|
-$(RM) $(top_builddir)/win32/gsk.enum.headers
|
2016-10-26 10:23:38 +00:00
|
|
|
for F in $(gsk_public_source_h); do \
|
|
|
|
case $$F in \
|
|
|
|
*.h) \
|
2017-01-09 07:33:25 +00:00
|
|
|
echo $$F' ^'>>$(top_builddir)/win32/gsk.enum.headers \
|
2016-10-26 10:23:38 +00:00
|
|
|
;; \
|
|
|
|
esac \
|
|
|
|
done
|
|
|
|
|
|
|
|
if HAVE_INTROSPECTION
|
|
|
|
# Introspection Items for MSVC
|
|
|
|
MSVC_INTROSPECT_GIRS = Gsk-4.0.gir
|
|
|
|
|
|
|
|
BASE_MSVC_GIR_CFLAGS = \
|
|
|
|
$(GSK_CFLAG_DEFINES) \
|
|
|
|
-I../.. -I../../gdk -I.../../gsk
|
|
|
|
|
|
|
|
INTROSPECTION_INTERMEDIATE_ITEMS = \
|
2017-01-09 07:33:25 +00:00
|
|
|
$(top_builddir)/win32/Gsk-4.0.gir.msvc.introspect \
|
|
|
|
$(top_builddir)/win32/Gsk_4_0_gir_list \
|
|
|
|
$(top_builddir)/win32/gsk.enum.headers
|
2016-10-26 10:23:38 +00:00
|
|
|
|
|
|
|
Gsk_4_0_gir_MSVC_FILES = $(introspection_files)
|
2016-11-03 10:00:03 +00:00
|
|
|
Gsk_4_0_gir_MSVC_EXPORT_PACKAGES = $(Gsk_noinst_4_0_gir_EXPORT_PACKAGES)
|
|
|
|
Gsk_4_0_gir_MSVC_INCLUDE_GIRS = $(Gsk_noinst_4_0_gir_INCLUDES)
|
|
|
|
Gsk_4_0_gir_MSVC_LIBS = gtk-4
|
2016-10-26 10:23:38 +00:00
|
|
|
Gsk_4_0_gir_MSVC_CFLAGS = $(BASE_MSVC_GIR_CFLAGS)
|
|
|
|
Gsk_4_0_gir_MSVC_SCANNERFLAGS = \
|
|
|
|
--add-include-path=. \
|
2016-11-03 10:00:03 +00:00
|
|
|
--include-uninstalled=../gdk/Gdk-4.0.gir
|
2016-10-26 10:23:38 +00:00
|
|
|
|
2017-01-09 07:33:25 +00:00
|
|
|
include $(top_srcdir)/win32/Makefile.msvc-introspection
|
2016-10-26 10:23:38 +00:00
|
|
|
|
|
|
|
else
|
|
|
|
INTROSPECTION_INTERMEDIATE_ITEMS =
|
|
|
|
endif
|
|
|
|
|
|
|
|
dist-hook: \
|
2017-01-09 07:33:25 +00:00
|
|
|
$(top_builddir)/win32/vs12/gsk-4.vcxproj \
|
|
|
|
$(top_builddir)/win32/vs12/gsk-4.vs12.headers \
|
|
|
|
$(top_builddir)/win32/gsk.enum.headers \
|
2016-10-26 10:23:38 +00:00
|
|
|
$(INTROSPECTION_INTERMEDIATE_ITEMS)
|
|
|
|
|
2014-01-14 13:01:35 +00:00
|
|
|
-include $(top_srcdir)/git.mk
|