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-02-24 01:04:03 +00:00
|
|
|
if PLATFORM_WIN32
|
|
|
|
VALOBJ=Gtksharp\\Valobj.cs
|
|
|
|
else
|
|
|
|
VALOBJ=Gtksharp/Valobj.cs
|
|
|
|
endif
|
|
|
|
|
2014-04-21 14:12:14 +00:00
|
|
|
valtest.exe: Valtest.cs $(VALOBJ) $(assemblies)
|
2014-02-24 01:04:03 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:valtest.exe $(references) $(srcdir)/Valtest.cs $(VALOBJ)
|
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-04-21 14:12:14 +00:00
|
|
|
$(VALOBJ): 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 \
|
2014-04-21 14:12:14 +00:00
|
|
|
$(VALOBJ)
|
2005-08-15 16:38:28 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
Valtest.cs \
|
|
|
|
valobj-api.xml \
|
|
|
|
valobj-sources.xml
|