2006-07-28 19:37:43 +00:00
|
|
|
SUBDIRS = test GtkDemo pixmaps valtest opaquetest
|
2004-12-08 08:47:18 +00:00
|
|
|
|
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
|
|
|
|
|
2007-10-02 15:57:45 +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 $(GLADE_TARGETS) $(DOTNET_TARGETS)
|
2004-03-12 21:18:11 +00:00
|
|
|
|
2005-01-07 23:22:54 +00:00
|
|
|
DEBUGS = $(addsuffix .mdb, $(TARGETS))
|
|
|
|
|
2006-07-28 19:37:43 +00:00
|
|
|
assemblies=../glib/glib-sharp.dll ../pango/pango-sharp.dll ../atk/atk-sharp.dll ../gdk/gdk-sharp.dll ../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)
|
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-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
|
|
|
|
2004-03-12 21:18:11 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
HelloWorld.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-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 \
|
2006-07-28 19:37:43 +00:00
|
|
|
PolarFixed.cs
|
|
|
|
|