mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 03:25:36 +00:00
10d3293d3f
With automake version 1.13.2 (which comes in debian testing/jessie), we were starting to get these warnings by default: ... Running automake --foreign ... atk/glue/Makefile.am:16: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') gio/glue/Makefile.am:11: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') gtk/glue/Makefile.am:18: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') gtk/gui-thread-check/profiler/Makefile.am:8: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') pango/glue/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') sample/opaquetest/Makefile.am:18: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') sample/valtest/Makefile.am:18: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Running autoconf ... ... We simply follow the warning's recommendation of using AM_CPPFLAGS instead (CPP meaning C PreProcessor, not C Plus Plus), as explained in http://www.gnu.org/software/automake/manual/html_node/Program-Variables.html The deprecation of INCLUDES has been very long there already (since 2002, therefore Automake 1.7), and we already depend on automake 1.10.
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
noinst_SCRIPTS = valtest.exe
|
|
lib_LTLIBRARIES = libvalobj.la
|
|
|
|
assemblies=../../glib/glib-sharp.dll ../../gio/gio-sharp.dll ../../cairo/cairo-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll
|
|
references=$(addprefix -r:, $(assemblies))
|
|
|
|
valtest.exe: Valtest.cs Valobj.cs $(assemblies)
|
|
$(CSC) $(CSFLAGS) -out:valtest.exe $(references) $(srcdir)/Valtest.cs Valobj.cs
|
|
|
|
libvalobj_la_SOURCES = \
|
|
valobj.c \
|
|
valobj.h
|
|
|
|
libvalobj_la_LDFLAGS = -module -avoid-version -no-undefined
|
|
|
|
libvalobj_la_LIBADD = $(GTK_LIBS)
|
|
|
|
AM_CPPFLAGS = $(GTK_CFLAGS)
|
|
|
|
Valobj.cs: valobj-api.xml
|
|
$(RUNTIME) ../../generator/gapi_codegen.exe --generate $(srcdir)/valobj-api.xml \
|
|
--include=../../gtk/gtk-api.xml --include=../../gdk/gdk-api.xml \
|
|
--outdir=. --assembly-name=valobj-sharp \
|
|
--schema=$(top_srcdir)/gapi.xsd
|
|
|
|
api:
|
|
PATH=../../parser:$(PATH) $(RUNTIME) ../../parser/gapi-parser.exe valobj-sources.xml
|
|
|
|
install:
|
|
|
|
CLEANFILES = \
|
|
valtest.exe \
|
|
valtest.exe.mdb \
|
|
Valobj.cs
|
|
|
|
EXTRA_DIST = \
|
|
Valtest.cs \
|
|
valobj-api.xml \
|
|
valobj-sources.xml
|