2005-08-09 14:44:32 +00:00
|
|
|
noinst_SCRIPTS = opaquetest.exe
|
|
|
|
lib_LTLIBRARIES = libopaque.la
|
|
|
|
|
2011-07-18 15:40:12 +00:00
|
|
|
assemblies=../../glib/glib-sharp.dll ../../gio/gio-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-08-09 14:44:32 +00:00
|
|
|
|
|
|
|
opaquetest.exe: OpaqueTest.cs generated/*.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:opaquetest.exe $(references) $(srcdir)/OpaqueTest.cs $(GENERATED_SOURCES)
|
2005-08-09 14:44:32 +00:00
|
|
|
|
|
|
|
libopaque_la_SOURCES = \
|
|
|
|
opaques.c \
|
|
|
|
opaques.h
|
|
|
|
|
|
|
|
libopaque_la_LDFLAGS = -module -avoid-version -no-undefined
|
|
|
|
|
|
|
|
libopaque_la_LIBADD = $(GTK_LIBS)
|
|
|
|
|
|
|
|
INCLUDES = $(GTK_CFLAGS)
|
|
|
|
|
|
|
|
generated/*.cs: opaque-api.xml
|
2005-08-15 16:38:28 +00:00
|
|
|
$(RUNTIME) ../../generator/gapi_codegen.exe --generate $(srcdir)/opaque-api.xml --include ../../gtk/gtk-api.xml ../../gdk/gdk-api.xml --outdir=generated --assembly-name=opaque-sharp
|
2005-08-09 14:44:32 +00:00
|
|
|
|
|
|
|
api:
|
2011-06-18 14:11:35 +00:00
|
|
|
PATH=../../parser:$(PATH) $(RUNTIME) ../../parser/gapi-parser.exe opaque-sources.xml
|
2005-08-09 14:44:32 +00:00
|
|
|
$(RUNTIME) ../../parser/gapi-fixup.exe --metadata=Opaque.metadata --api=opaque-api.xml
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
2005-08-15 16:48:14 +00:00
|
|
|
CLEANFILES = \
|
|
|
|
opaquetest.exe \
|
|
|
|
opaquetest.exe.mdb \
|
2005-08-09 14:44:32 +00:00
|
|
|
generated/*.cs
|
2005-08-15 16:38:28 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
OpaqueTest.cs \
|
|
|
|
opaque-api.xml \
|
|
|
|
opaque-sources.xml
|