2005-08-09 14:44:32 +00:00
|
|
|
SUBDIRS = gconf rsvg test GtkDemo pixmaps gnomevfs valtest opaquetest
|
2004-03-12 21:18:11 +00:00
|
|
|
|
|
|
|
if ENABLE_GNOME
|
|
|
|
GNOME_TARGETS=gnome-hello-world.exe canvas-example.exe fifteen.exe print.exe
|
2004-05-07 14:22:20 +00:00
|
|
|
GNOME_ASSEMBLY=../art/art-sharp.dll ../gnome/gnome-sharp.dll
|
2004-03-12 21:18:11 +00:00
|
|
|
else
|
|
|
|
GNOME_TARGETS=
|
|
|
|
GNOME_ASSEMBLY=
|
|
|
|
endif
|
|
|
|
|
2004-12-08 08:47:18 +00:00
|
|
|
if ENABLE_GNOMEVFS
|
|
|
|
GNOMEVFS_TARGETS=testvfs.exe
|
|
|
|
GNOMEVFS_ASSEMBLY=../gnomevfs/gnome-vfs-sharp.dll
|
|
|
|
else
|
|
|
|
GNOMEVFS_TARGETS=
|
|
|
|
GNOMEVFS_ASSEMBLY=
|
|
|
|
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
|
|
|
|
|
|
|
|
if ENABLE_VTE
|
|
|
|
VTE_TARGETS=vte-example.exe
|
2004-05-07 14:22:20 +00:00
|
|
|
VTE_ASSEMBLY=../vte/vte-sharp.dll
|
2004-03-12 21:18:11 +00:00
|
|
|
else
|
|
|
|
VTE_TARGETS=
|
|
|
|
VTE_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
|
|
|
|
|
2005-04-11 20:35:56 +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 testdnd.exe actions.exe $(GNOMEVFS_TARGETS) $(GNOME_TARGETS) $(GLADE_TARGETS) $(VTE_TARGETS) $(DOTNET_TARGETS)
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2005-01-07 23:22:54 +00:00
|
|
|
DEBUGS = $(addsuffix .mdb, $(TARGETS))
|
|
|
|
|
2004-12-08 08:47:18 +00:00
|
|
|
assemblies=../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll ../gtk/gtk-sharp.dll $(GNOMEVFS_ASSEMBLY) $(GNOME_ASSEMBLY) $(GLADE_ASSEMBLY) $(VTE_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
|
|
|
gnome-hello-world.exe: $(srcdir)/GnomeHelloWorld.cs $(assemblies)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /out:gnome-hello-world.exe $(references) $(srcdir)/GnomeHelloWorld.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2004-05-07 14:22:20 +00:00
|
|
|
canvas-example.exe: $(srcdir)/CanvasExample.cs $(assemblies)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /out:canvas-example.exe $(references) $(srcdir)/CanvasExample.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2004-05-07 14:22:20 +00:00
|
|
|
fifteen.exe: $(srcdir)/Fifteen.cs $(assemblies)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /out:fifteen.exe $(references) $(srcdir)/Fifteen.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2004-05-07 14:22:20 +00:00
|
|
|
print.exe: $(srcdir)/PrintSample.cs $(assemblies)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /out:print.exe $(references) $(srcdir)/PrintSample.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
|
|
|
|
|
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)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /resource:$(srcdir)/test.glade,test.glade /out:glade-test.exe $(references) $(srcdir)/GladeTest.cs
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2004-09-06 23:54:35 +00:00
|
|
|
cairo-sample.exe: $(srcdir)/CairoSample.cs $(srcdir)/GtkCairo.cs $(assemblies)
|
|
|
|
$(CSC) /out:cairo-sample.exe $(references) /r:Mono.Cairo $(srcdir)/CairoSample.cs $(srcdir)/GtkCairo.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-07 14:22:20 +00:00
|
|
|
vte-example.exe: $(srcdir)/VteTest.cs $(assemblies)
|
2004-06-10 19:45:20 +00:00
|
|
|
$(CSC) /debug /unsafe /out:vte-example.exe $(references) $(srcdir)/VteTest.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-01-12 00:11:08 +00:00
|
|
|
dotnet_references = $(references) $(addprefix -r:, $(DOTNET_ASSEMBLY)) -r:System.Drawing
|
|
|
|
|
|
|
|
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
|
|
|
|
2004-12-08 08:47:18 +00:00
|
|
|
testvfs.exe: $(srcdir)/TestVfs.cs $(assemblies)
|
2004-10-29 20:33:07 +00:00
|
|
|
$(CSC) /debug /out:testvfs.exe $(references) $(srcdir)/TestVfs.cs
|
|
|
|
|
2004-03-12 21:18:11 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
HelloWorld.cs \
|
|
|
|
GnomeHelloWorld.cs \
|
|
|
|
CanvasExample.cs \
|
|
|
|
Fifteen.cs \
|
|
|
|
PrintSample.cs \
|
|
|
|
ButtonApp.cs \
|
|
|
|
CalendarApp.cs \
|
|
|
|
Subclass.cs \
|
|
|
|
Menu.cs \
|
|
|
|
Size.cs \
|
|
|
|
Scribble.cs \
|
2004-08-26 19:10:48 +00:00
|
|
|
ScribbleXInput.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
TreeViewDemo.cs \
|
|
|
|
ManagedTreeViewDemo.cs \
|
2004-12-16 20:30:43 +00:00
|
|
|
NodeViewDemo.cs \
|
2004-03-12 21:18:11 +00:00
|
|
|
GladeViewer.cs \
|
|
|
|
GladeTest.cs \
|
|
|
|
test.glade \
|
|
|
|
CairoSample.cs \
|
|
|
|
TestDnd.cs \
|
2004-05-14 20:25:57 +00:00
|
|
|
VteTest.cs \
|
2004-05-28 19:45:22 +00:00
|
|
|
CustomCellRenderer.cs \
|
|
|
|
DrawingSample.cs \
|
2004-09-06 23:54:35 +00:00
|
|
|
cairo-sample.exe.config \
|
2004-10-29 20:33:07 +00:00
|
|
|
CustomWidget.cs \
|
|
|
|
Actions.cs \
|
2005-04-12 13:54:13 +00:00
|
|
|
PolarFixed.cs \
|
2004-10-29 20:33:07 +00:00
|
|
|
TestVfs.cs
|