|
|
@@ -6,8 +6,8 @@ pimp_sources = \ |
|
|
|
AboutWindow.cs \ |
|
|
|
ErrorWindow.cs \ |
|
|
|
MainWindow.cs \ |
|
|
|
OpenFile.cs \ |
|
|
|
NewFile.cs \ |
|
|
|
OpenFile.cs \ |
|
|
|
PictureView.cs \ |
|
|
|
SaveFile.cs \ |
|
|
|
ToolBox.cs \ |
|
|
@@ -15,8 +15,8 @@ pimp_sources = \ |
|
|
|
gtk-gui/ThePimp.AboutWindow.cs \ |
|
|
|
gtk-gui/ThePimp.ErrorWindow.cs \ |
|
|
|
gtk-gui/ThePimp.MainWindow.cs \ |
|
|
|
gtk-gui/ThePimp.OpenFile.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 |
|
|
@@ -30,22 +30,31 @@ image_sources = \ |
|
|
|
images/about.svg |
|
|
|
|
|
|
|
if USE_CSHARP |
|
|
|
if USE_GTKSHARP |
|
|
|
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:$@ -lib:./ \ |
|
|
|
$(GMCS) -debug -codepage:utf8 -out:$@ $(pimp_flags) -lib:./ \ |
|
|
|
$(addprefix $(srcdir)/, $(pimp_sources)) \ |
|
|
|
$(foreach x, $(pimp_resources), \ |
|
|
|
-resource:$(srcdir)/$x,ThePimp.$(subst /,.,$x)) \ |
|
|
|
-pkg:gtk-sharp-2.0 -r:Mono.Posix -r:pipi-sharp.dll |
|
|
|
-r:pipi-sharp.dll |
|
|
|
cp ../pipi-sharp/pipi-sharp.dll . |
|
|
|
cp ../pipi-sharp/pipi-sharp.dll.config . |
|
|
|
cp ../pipi-sharp/pipi-sharp.dll.mdb . |
|
|
|
|
|
|
|
clean-local: |
|
|
|
rm -f pipi-sharp.dll.config |
|
|
|