forked from AuroraMiddleware/gtk
9a87b6be2b
This first adds a common autotools module that can be included by the Makefile.am's to generate the file lists and the g-ir-scanner/ g-ir-compiler command lines to build the introspection files. The autotools files for gdk/ and gtk/ are then updated to generate the full file lists needed to build the introspection files, with the full command lines for g-ir-scanner and g-ir-compiler as NMake Makefile modules that can be used to build the introspection files for Visual Studio builds. https://bugzilla.gnome.org/show_bug.cgi?id=765195
44 lines
891 B
Makefile
44 lines
891 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 \
|
|
$(GENERATED_ITEMS)
|
|
|
|
-include $(top_srcdir)/git.mk
|