- # $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/gtksharp/bin/pango-sharp.dll \
- -r:$(top_srcdir)/win32/gtksharp/bin/atk-sharp.dll \
- -r:$(top_srcdir)/win32/gtksharp/bin/gdk-sharp.dll \
- -r:$(top_srcdir)/win32/gtksharp/bin/gtk-sharp.dll \
- -r:$(top_srcdir)/win32/gtksharp/bin/glib-sharp.dll \
- -r:Mono.Posix
- 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 -target:winexe -out:$@ $(pimp_flags) \
- -lib:./ -r:pipi-sharp.dll \
- $(addprefix $(srcdir)/, $(pimp_sources)) \
- $(foreach x, $(pimp_resources), \
- -resource:$(srcdir)/$x,ThePimp.$(subst /,.,$x))
-
- clean-local:
- rm -f pipi-sharp.dll.config
- rm -f *.exe *.dll *.mdb
-
|