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
|
|
|
|
|
2008-10-09 17:56:10 +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 $(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)
|
|
|
|
|
2004-06-10 19:45:20 +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)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /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)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /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)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /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)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /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)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /out:menu.exe $(references) $(srcdir)/Menu.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2004-05-07 14:22:20 +00:00
|
|
|
size.exe: $(srcdir)/Size.cs $(assemblies)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /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)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /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)
|
|
|
|
$(CSC) /out:scribble-xinput.exe $(references) $(srcdir)/ScribbleXInput.cs
|
|
|
|
|
2004-05-07 14:22:20 +00:00
|
|
|
treeviewdemo.exe: $(srcdir)/TreeViewDemo.cs $(assemblies)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /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)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /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)
|
|
|
|
$(CSC) /out:nodeviewdemo.exe $(references) $(srcdir)/NodeViewDemo.cs
|
|
|
|
|
2007-10-02 15:57:45 +00:00
|
|
|
treemodeldemo.exe: $(srcdir)/TreeModelDemo.cs $(assemblies)
|
|
|
|
$(CSC) /out:treemodeldemo.exe $(references) $(srcdir)/TreeModelDemo.cs
|
|
|
|
|
2004-05-07 14:22:20 +00:00
|
|
|
glade-viewer.exe: $(srcdir)/GladeViewer.cs $(assemblies)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /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-07-12 21:24:13 +00:00
|
|
|
$(CSC) /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)
|
2008-10-09 23:53:18 +00:00
|
|
|
$(CSC) /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)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /debug /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)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /debug /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)
|
|
|
|
$(CSC) /debug /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)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /debug /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
|
|
|
|
$(CSC) /debug /unsafe /out:actions.exe $(references) $(srcdir)/Actions.cs
|
|
|
|
|
2005-04-11 20:35:56 +00:00
|
|
|
polarfixed.exe: $(srcdir)/PolarFixed.cs $(assemblies)
|
|
|
|
$(CSC) /debug /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)
|
|
|
|
$(CSC) /out:spawn.exe $(references) $(srcdir)/SpawnTests.cs
|
|
|
|
|
2008-01-17 14:06:59 +00:00
|
|
|
assistant.exe: $(srcdir)/Assistant.cs $(assemblies)
|
|
|
|
$(CSC) /out:assistant.exe $(references) $(srcdir)/Assistant.cs
|
|
|
|
|
2008-06-06 16:55:00 +00:00
|
|
|
registerprop.exe: $(srcdir)/PropertyRegistration.cs $(assemblies)
|
|
|
|
$(CSC) /out:registerprop.exe $(references) $(srcdir)/PropertyRegistration.cs
|
|
|
|
|
2008-10-09 17:56:10 +00:00
|
|
|
gexceptiontest.exe: $(srcdir)/GExceptionTest.cs $(assemblies)
|
|
|
|
$(CSC) /out:gexceptiontest.exe $(references) $(srcdir)/GExceptionTest.cs
|
|
|
|
|
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
|
|
|
|
|