2005-07-22 18:36:50 +00:00
|
|
|
noinst_SCRIPTS = valtest.exe
|
|
|
|
lib_LTLIBRARIES = libvalobj.la
|
|
|
|
|
2011-07-18 15:40:12 +00:00
|
|
|
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
|
2009-11-30 20:40:34 +00:00
|
|
|
references=$(addprefix -r:, $(assemblies))
|
2005-07-22 18:36:50 +00:00
|
|
|
|
2014-05-04 13:10:07 +00:00
|
|
|
valtest.exe: Valtest.cs $(GENERATED_SOURCES_FILES) $(assemblies)
|
|
|
|
$(CSC) $(CSFLAGS) -out:valtest.exe $(references) $(srcdir)/Valtest.cs $(GENERATED_SOURCES_OPTION)
|
2005-07-22 18:36:50 +00:00
|
|
|
|
|
|
|
libvalobj_la_SOURCES = \
|
|
|
|
valobj.c \
|
|
|
|
valobj.h
|
|
|
|
|
|
|
|
libvalobj_la_LDFLAGS = -module -avoid-version -no-undefined
|
|
|
|
|
|
|
|
libvalobj_la_LIBADD = $(GTK_LIBS)
|
|
|
|
|
2013-06-17 08:59:28 +00:00
|
|
|
AM_CPPFLAGS = $(GTK_CFLAGS)
|
2005-07-22 18:36:50 +00:00
|
|
|
|
2014-05-04 13:10:07 +00:00
|
|
|
$(GENERATED_SOURCES_FILES): valobj-api.xml
|
2012-11-25 16:54:25 +00:00
|
|
|
$(RUNTIME) ../../generator/gapi_codegen.exe --generate $(srcdir)/valobj-api.xml \
|
|
|
|
--include=../../gtk/gtk-api.xml --include=../../gdk/gdk-api.xml \
|
2014-05-04 13:10:07 +00:00
|
|
|
--outdir=generated --assembly-name=valobj-sharp \
|
2012-11-25 16:54:25 +00:00
|
|
|
--schema=$(top_srcdir)/gapi.xsd
|
2005-07-22 18:36:50 +00:00
|
|
|
|
2005-07-25 18:50:52 +00:00
|
|
|
api:
|
2011-06-18 14:11:35 +00:00
|
|
|
PATH=../../parser:$(PATH) $(RUNTIME) ../../parser/gapi-parser.exe valobj-sources.xml
|
2005-07-22 18:36:50 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
|
|
|
|
CLEANFILES = \
|
2005-08-15 16:48:14 +00:00
|
|
|
valtest.exe \
|
|
|
|
valtest.exe.mdb \
|
2014-05-04 13:10:07 +00:00
|
|
|
$(GENERATED_SOURCES_FILES)
|
2005-08-15 16:38:28 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
Valtest.cs \
|
|
|
|
valobj-api.xml \
|
|
|
|
valobj-sources.xml
|