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
|
|
|
|
|
|
|
valtest.exe: Valtest.cs Valobj.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:valtest.exe $(references) $(srcdir)/Valtest.cs Valobj.cs
|
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)
|
|
|
|
|
|
|
|
INCLUDES = $(GTK_CFLAGS)
|
|
|
|
|
2005-08-15 16:38:28 +00:00
|
|
|
Valobj.cs: 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 \
|
|
|
|
--outdir=. --assembly-name=valobj-sharp \
|
|
|
|
--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 \
|
2005-07-22 18:36:50 +00:00
|
|
|
Valobj.cs
|
2005-08-15 16:38:28 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
Valtest.cs \
|
|
|
|
valobj-api.xml \
|
|
|
|
valobj-sources.xml
|