mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
71bb1bebc0
Generate .pc files for the package, so that it would be easier for building introspection for packages that depend on GTK+. Also split PythonPath into PythonPath and PythonPathX64 to facilitate the build of introspection files, which need to have Python that is built with the same ac=rchitecture where GTK+ is built. Clean up the formatting and spacing a bit.
46 lines
921 B
Makefile
46 lines
921 B
Makefile
include $(top_srcdir)/Makefile.decl
|
|
|
|
if HAVE_INTROSPECTION
|
|
GENERATED_ITEMS = \
|
|
introspection.body.mak \
|
|
Gdk_3_0_gir_list \
|
|
GdkWin32_3_0_gir_list \
|
|
Gtk_3_0_gir_list
|
|
|
|
MSVC_INTROSPECTION_INTERMEDIATE_FILES = Gdk-3.0.gir.msvc.introspect GdkWin32-3.0.gir.msvc.introspect Gtk-3.0.gir.msvc.introspect
|
|
|
|
introspection.body.mak: $(MSVC_INTROSPECTION_INTERMEDIATE_FILES)
|
|
-$(RM) introspection.body.mak
|
|
for F in `ls *.msvc.introspect`; do \
|
|
case $$F in \
|
|
*) cat $(top_builddir)/build/win32/$$F >>introspection.body.mak \
|
|
;; \
|
|
esac; \
|
|
done
|
|
$(RM) $(MSVC_INTROSPECTION_INTERMEDIATE_FILES)
|
|
|
|
DISTCLEANFILES = $(GENERATED_ITEMS)
|
|
|
|
else
|
|
GENERATED_ITEMS =
|
|
DISTCLEANFILES =
|
|
endif
|
|
|
|
SUBDIRS = \
|
|
vs9 \
|
|
vs10 \
|
|
vs11 \
|
|
vs12 \
|
|
vs14
|
|
|
|
EXTRA_DIST += \
|
|
detectenv-msvc.mak \
|
|
introspection-msvc.mak \
|
|
gtk-introspection-msvc.mak \
|
|
replace.py \
|
|
pc_base.py \
|
|
gtkpc.py \
|
|
$(GENERATED_ITEMS)
|
|
|
|
-include $(top_srcdir)/git.mk
|