GtkSharp/sample/valtest/Makefile.am
Dan Winship 8c2abbc7ab check in a generated valobj-api.xml rather than doing it at build time
so we don't accidentally depend on perl-libxml

svn path=/trunk/gtk-sharp/; revision=47665
2005-07-25 18:50:52 +00:00

29 lines
835 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:
$(RUNTIME) ../../generator/gapi_codegen.exe --generate 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 = \
Valobj.cs