GtkSharp/sample/valtest/Makefile.am
Mike Kestner 34fc9c677b 2005-08-15 Mike Kestner <mkestner@novell.com>
* sample/opaquetest/Makefile.am : make clean fixes
	* sample/valtest/Makefile.am : make clean fixes

svn path=/trunk/gtk-sharp/; revision=48394
2005-08-15 16:48:14 +00:00

37 lines
963 B
Makefile

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
references=$(addprefix /r:, $(assemblies))
valtest.exe: Valtest.cs Valobj.cs $(assemblies)
$(CSC) /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)
INCLUDES = $(GTK_CFLAGS)
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
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