2011-06-18 16:57:24 +00:00
|
|
|
SUBDIRS = test GtkDemo pixmaps valtest opaquetest gio gtk-gio
|
2004-12-08 08:47:18 +00:00
|
|
|
|
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
|
|
|
|
|
2011-11-20 18:41:56 +00:00
|
|
|
TARGETS = gtk-hello-world.exe button.exe calendar.exe subclass.exe menu.exe treeviewdemo.exe managedtreeviewdemo.exe nodeviewdemo.exe treemodeldemo.exe actions.exe spawn.exe assistant.exe registerprop.exe gexceptiontest.exe native-instantiation.exe polarfixed.exe cairo-sample.exe scribble.exe testdnd.exe custom-cellrenderer.exe custom-widget.exe custom-scrollable.exe #scribble-xinput.exe $(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 \
|
2011-01-30 23:00:03 +00:00
|
|
|
$(top_builddir)/cairo/cairo-sharp.dll \
|
2009-01-04 22:29:56 +00:00
|
|
|
$(top_builddir)/pango/pango-sharp.dll \
|
|
|
|
$(top_builddir)/atk/atk-sharp.dll \
|
|
|
|
$(top_builddir)/gdk/gdk-sharp.dll \
|
2010-11-22 03:18:06 +00:00
|
|
|
$(top_builddir)/gtk/gtk-sharp.dll
|
2009-01-04 22:29:56 +00:00
|
|
|
|
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
|
|
|
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
|
|
|
|
2008-10-09 17:56:10 +00:00
|
|
|
cairo-sample.exe: $(srcdir)/CairoSample.cs $(assemblies)
|
2011-01-30 23:00:03 +00:00
|
|
|
$(CSC) $(CSFLAGS) -out:cairo-sample.exe $(references) $(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
|
|
|
|
2011-11-20 18:41:56 +00:00
|
|
|
custom-scrollable.exe: $(srcdir)/CustomScrollableWidget.cs $(assemblies)
|
|
|
|
$(CSC) $(CSFLAGS) -out:custom-scrollable.exe $(references) $(srcdir)/CustomScrollableWidget.cs
|
|
|
|
|
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 \
|
|
|
|
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 \
|
2011-07-03 14:20:21 +00:00
|
|
|
NativeInstantiationTest.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
|
|
|
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 \
|
2011-11-20 18:41:56 +00:00
|
|
|
CustomScrollableWidget.cs \
|
2004-10-29 20:33:07 +00:00
|
|
|
Actions.cs \
|
2008-06-06 16:55:00 +00:00
|
|
|
PropertyRegistration.cs \
|
2006-07-28 19:37:43 +00:00
|
|
|
PolarFixed.cs
|
|
|
|
|