2005-07-22 18:36:50 +00:00
|
|
|
noinst_SCRIPTS = valtest.exe
|
|
|
|
lib_LTLIBRARIES = libvalobj.la
|
|
|
|
|
|
|
|
assemblies=../../glib/glib-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
|
|
|
|
$(RUNTIME) ../../generator/gapi_codegen.exe --generate $(srcdir)/valobj-api.xml --include ../../gtk/gtk-api.xml ../../gdk/gdk-api.xml --outdir=. --assembly-name=valobj-sharp
|
2005-07-22 18:36:50 +00:00
|
|
|
|
2005-07-25 18:50:52 +00:00
|
|
|
api:
|
2005-07-22 18:36:50 +00:00
|
|
|
PATH=../../parser:$PATH $(RUNTIME) ../../parser/gapi-parser.exe valobj-sources.xml
|
|
|
|
|
|
|
|
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
|