2009-02-11 12:34:08 +00:00
|
|
|
SUBDIRS = test GtkDemo pixmaps valtest opaquetest gio gtk-gio
|
2004-12-08 08:47:18 +00:00
|
|
|
|
2008-10-09 23:53:18 +00:00
|
|
|
if ENABLE_MONO_CAIRO
|
|
|
|
cairo_ref=-r:$(top_builddir)/cairo/Mono.Cairo.dll
|
|
|
|
else
|
2009-07-12 21:24:13 +00:00
|
|
|
cairo_ref=-r:Mono.Cairo
|
2008-10-09 23:53:18 +00:00
|
|
|
endif
|
|
|
|
|
2004-03-12 21:18:11 +00:00
|
|
|
if ENABLE_GLADE
|
|
|
|
GLADE_TARGETS=glade-viewer.exe glade-test.exe
|
2004-05-07 14:22:20 +00:00
|
|
|
GLADE_ASSEMBLY=../glade/glade-sharp.dll
|
2004-03-12 21:18:11 +00:00
|
|
|
else
|
|
|
|
GLADE_TARGETS=
|
|
|
|
GLADE_ASSEMBLY=
|
|
|
|
endif
|
|
|
|
|
2005-01-12 00:11:08 +00:00
|
|
|
if ENABLE_DOTNET
|
|
|
|
DOTNET_TARGETS=drawing-sample.exe
|
|
|
|
DOTNET_ASSEMBLY=../gtkdotnet/gtk-dotnet.dll
|
|
|
|
else
|
|
|
|
DOTNET_TARGETS=
|
|
|
|
DOTNET_ASSEMBLY=
|
|
|
|
endif
|
|
|
|
|
2009-09-12 01:01:12 +00:00
|
|
|
TARGETS = polarfixed.exe custom-widget.exe custom-cellrenderer.exe gtk-hello-world.exe button.exe calendar.exe subclass.exe menu.exe size.exe scribble.exe scribble-xinput.exe treeviewdemo.exe managedtreeviewdemo.exe nodeviewdemo.exe treemodeldemo.exe testdnd.exe actions.exe spawn.exe assistant.exe registerprop.exe gexceptiontest.exe cairo-sample.exe native-instantiation.exe $(GLADE_TARGETS) $(DOTNET_TARGETS)
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2005-01-07 23:22:54 +00:00
|
|
|
DEBUGS = $(addsuffix .mdb, $(TARGETS))
|
|
|
|
|
2009-01-04 22:29:56 +00:00
|
|
|
assemblies = \
|
|
|
|
$(top_builddir)/glib/glib-sharp.dll \
|
|
|
|
$(top_builddir)/gio/gio-sharp.dll \
|
|
|
|
$(top_builddir)/pango/pango-sharp.dll \
|
|
|
|
$(top_builddir)/atk/atk-sharp.dll \
|
|
|
|
$(top_builddir)/gdk/gdk-sharp.dll \
|
|
|
|
$(top_builddir)/gtk/gtk-sharp.dll \
|
|
|
|
$(GLADE_ASSEMBLY)
|
|
|
|
|
2009-11-30 20:40:34 +00:00
|
|
|
references=$(addprefix -r:, $(assemblies))
|
2004-03-12 21:18:11 +00:00
|
|
|
|
|
|
|
noinst_SCRIPTS = $(TARGETS)
|
2005-01-07 23:22:54 +00:00
|
|
|
CLEANFILES = $(TARGETS) $(DEBUGS)
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2004-05-07 14:22:20 +00:00
|
|
|
gtk-hello-world.exe: $(srcdir)/HelloWorld.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:gtk-hello-world.exe $(references) $(srcdir)/HelloWorld.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2004-05-07 14:22:20 +00:00
|
|
|
button.exe: $(srcdir)/ButtonApp.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:button.exe $(references) $(srcdir)/ButtonApp.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2004-05-07 14:22:20 +00:00
|
|
|
calendar.exe: $(srcdir)/CalendarApp.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:calendar.exe $(references) $(srcdir)/CalendarApp.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2004-05-07 14:22:20 +00:00
|
|
|
subclass.exe: $(srcdir)/Subclass.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:subclass.exe $(references) $(srcdir)/Subclass.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2004-05-07 14:22:20 +00:00
|
|
|
menu.exe: $(srcdir)/Menu.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:menu.exe $(references) $(srcdir)/Menu.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2009-09-12 01:01:12 +00:00
|
|
|
native-instantiation.exe: $(srcdir)/NativeInstantiationTest.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:native-instantiation.exe $(references) $(srcdir)/NativeInstantiationTest.cs
|
2009-09-12 01:01:12 +00:00
|
|
|
|
2004-05-07 14:22:20 +00:00
|
|
|
size.exe: $(srcdir)/Size.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:size.exe $(references) $(srcdir)/Size.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2004-05-07 14:22:20 +00:00
|
|
|
scribble.exe: $(srcdir)/Scribble.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:scribble.exe $(references) $(srcdir)/Scribble.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2004-08-26 19:10:48 +00:00
|
|
|
scribble-xinput.exe: $(srcdir)/ScribbleXInput.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:scribble-xinput.exe $(references) $(srcdir)/ScribbleXInput.cs
|
2004-08-26 19:10:48 +00:00
|
|
|
|
2004-05-07 14:22:20 +00:00
|
|
|
treeviewdemo.exe: $(srcdir)/TreeViewDemo.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:treeviewdemo.exe $(references) $(srcdir)/TreeViewDemo.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2004-05-07 14:22:20 +00:00
|
|
|
managedtreeviewdemo.exe: $(srcdir)/ManagedTreeViewDemo.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:managedtreeviewdemo.exe $(references) $(srcdir)/ManagedTreeViewDemo.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2004-12-16 20:30:43 +00:00
|
|
|
nodeviewdemo.exe: $(srcdir)/NodeViewDemo.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:nodeviewdemo.exe $(references) $(srcdir)/NodeViewDemo.cs
|
2004-12-16 20:30:43 +00:00
|
|
|
|
2007-10-02 15:57:45 +00:00
|
|
|
treemodeldemo.exe: $(srcdir)/TreeModelDemo.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:treemodeldemo.exe $(references) $(srcdir)/TreeModelDemo.cs
|
2007-10-02 15:57:45 +00:00
|
|
|
|
2004-05-07 14:22:20 +00:00
|
|
|
glade-viewer.exe: $(srcdir)/GladeViewer.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:glade-viewer.exe $(references) $(srcdir)/GladeViewer.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2004-05-07 14:22:20 +00:00
|
|
|
glade-test.exe: $(srcdir)/GladeTest.cs $(srcdir)/test.glade $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -resource:$(srcdir)/test.glade -out:glade-test.exe $(references) $(srcdir)/GladeTest.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2008-10-09 17:56:10 +00:00
|
|
|
cairo-sample.exe: $(srcdir)/CairoSample.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:cairo-sample.exe $(references) $(cairo_ref) $(srcdir)/CairoSample.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2004-05-07 14:22:20 +00:00
|
|
|
testdnd.exe: $(srcdir)/TestDnd.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -unsafe -out:testdnd.exe $(references) $(srcdir)/TestDnd.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2004-05-14 20:25:57 +00:00
|
|
|
custom-cellrenderer.exe: $(srcdir)/CustomCellRenderer.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:custom-cellrenderer.exe $(references) $(srcdir)/CustomCellRenderer.cs
|
2004-05-28 19:45:22 +00:00
|
|
|
|
2005-08-25 20:59:21 +00:00
|
|
|
dotnet_references = $(references) $(addprefix -r:, $(DOTNET_ASSEMBLY)) -r:System.Drawing.dll
|
2005-01-12 00:11:08 +00:00
|
|
|
|
|
|
|
drawing-sample.exe: $(srcdir)/DrawingSample.cs $(assemblies) $(DOTNET_ASSEMBLIES)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:drawing-sample.exe $(dotnet_references) $(srcdir)/DrawingSample.cs
|
2004-05-14 20:25:57 +00:00
|
|
|
|
2004-06-01 18:31:20 +00:00
|
|
|
custom-widget.exe: $(srcdir)/CustomWidget.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:custom-widget.exe $(references) $(srcdir)/CustomWidget.cs
|
2004-06-01 18:31:20 +00:00
|
|
|
|
2004-10-29 20:33:07 +00:00
|
|
|
actions.exe: $(srcdir)/Actions.cs
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -unsafe -out:actions.exe $(references) $(srcdir)/Actions.cs
|
2004-10-29 20:33:07 +00:00
|
|
|
|
2005-04-11 20:35:56 +00:00
|
|
|
polarfixed.exe: $(srcdir)/PolarFixed.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:polarfixed.exe $(references) $(srcdir)/PolarFixed.cs
|
2004-10-29 20:33:07 +00:00
|
|
|
|
2007-11-12 17:27:35 +00:00
|
|
|
spawn.exe: $(srcdir)/SpawnTests.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:spawn.exe $(references) $(srcdir)/SpawnTests.cs
|
2007-11-12 17:27:35 +00:00
|
|
|
|
2008-01-17 14:06:59 +00:00
|
|
|
assistant.exe: $(srcdir)/Assistant.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:assistant.exe $(references) $(srcdir)/Assistant.cs
|
2008-01-17 14:06:59 +00:00
|
|
|
|
2008-06-06 16:55:00 +00:00
|
|
|
registerprop.exe: $(srcdir)/PropertyRegistration.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:registerprop.exe $(references) $(srcdir)/PropertyRegistration.cs
|
2008-06-06 16:55:00 +00:00
|
|
|
|
2008-10-09 17:56:10 +00:00
|
|
|
gexceptiontest.exe: $(srcdir)/GExceptionTest.cs $(assemblies)
|
2009-11-30 20:40:34 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:gexceptiontest.exe $(references) $(srcdir)/GExceptionTest.cs
|
2008-10-09 17:56:10 +00:00
|
|
|
|
2004-03-12 21:18:11 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
HelloWorld.cs \
|
2008-01-17 14:06:59 +00:00
|
|
|
Assistant.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
ButtonApp.cs \
|
|
|
|
CalendarApp.cs \
|
|
|
|
Subclass.cs \
|
|
|
|
Menu.cs \
|
|
|
|
Size.cs \
|
|
|
|
Scribble.cs \
|
2004-08-26 19:10:48 +00:00
|
|
|
ScribbleXInput.cs \
|
2007-12-06 17:23:28 +00:00
|
|
|
SpawnTests.cs \
|
|
|
|
TreeModelDemo.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
TreeViewDemo.cs \
|
|
|
|
ManagedTreeViewDemo.cs \
|
2004-12-16 20:30:43 +00:00
|
|
|
NodeViewDemo.cs \
|
2008-10-09 17:56:10 +00:00
|
|
|
GExceptionTest.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
GladeViewer.cs \
|
|
|
|
GladeTest.cs \
|
|
|
|
test.glade \
|
|
|
|
CairoSample.cs \
|
|
|
|
TestDnd.cs \
|
2004-05-28 19:45:22 +00:00
|
|
|
CustomCellRenderer.cs \
|
|
|
|
DrawingSample.cs \
|
2004-10-29 20:33:07 +00:00
|
|
|
CustomWidget.cs \
|
|
|
|
Actions.cs \
|
2008-06-06 16:55:00 +00:00
|
|
|
PropertyRegistration.cs \
|
2006-07-28 19:37:43 +00:00
|
|
|
PolarFixed.cs
|
|
|
|
|