# $Id: $ pimp_sources = \ AssemblyInfo.cs \ Main.cs \ AboutWindow.cs \ ErrorWindow.cs \ MainWindow.cs \ NewFile.cs \ OpenFile.cs \ PictureView.cs \ SaveFile.cs \ ToolBox.cs \ gtk-gui/generated.cs \ gtk-gui/ThePimp.AboutWindow.cs \ gtk-gui/ThePimp.ErrorWindow.cs \ gtk-gui/ThePimp.MainWindow.cs \ gtk-gui/ThePimp.NewFile.cs \ gtk-gui/ThePimp.OpenFile.cs \ gtk-gui/ThePimp.PictureView.cs \ gtk-gui/ThePimp.SaveFile.cs \ gtk-gui/ThePimp.ToolBox.cs pimp_resources = \ gtk-gui/gui.stetic \ gtk-gui/objects.xml \ images/about.png image_sources = \ images/about.svg if USE_CSHARP bin_SCRIPTS = ThePimp.exe endif if USE_GTKSHARP pimp_flags = -pkg:gtk-sharp-2.0 -r:Mono.Posix else pimp_flags = \ -r:$(top_srcdir)/win32/assembly/pango-sharp.dll \ -r:$(top_srcdir)/win32/assembly/atk-sharp.dll \ -r:$(top_srcdir)/win32/assembly/gdk-sharp.dll \ -r:$(top_srcdir)/win32/assembly/gtk-sharp.dll \ -r:$(top_srcdir)/win32/assembly/glib-sharp.dll endif EXTRA_DIST = $(pimp_sources) $(pimp_resources) $(image_sources) ThePimp.exe: ../pipi-sharp/pipi-sharp.dll $(pimp_sources) $(pimp_resources) cp ../pipi-sharp/pipi-sharp.dll . cp ../pipi-sharp/pipi-sharp.dll.config . cp ../pipi-sharp/pipi-sharp.dll.mdb . $(GMCS) -debug -codepage:utf8 -out:$@ $(pimp_flags) -lib:./ \ $(addprefix $(srcdir)/, $(pimp_sources)) \ $(foreach x, $(pimp_resources), \ -resource:$(srcdir)/$x,ThePimp.$(subst /,.,$x)) \ -r:pipi-sharp.dll clean-local: rm -f pipi-sharp.dll.config rm -f *.exe *.dll *.mdb