source: libpipi/trunk/ThePimp/Makefile.am @ 2926

Last change on this file since 2926 was 2926, checked in by Sam Hocevar, 14 years ago

ThePimp?: make image loading more robust.

File size: 1.2 KB
Line 
1# $Id: $
2
3pimp_sources = \
4        AssemblyInfo.cs \
5        Main.cs \
6        AboutWindow.cs \
7        ErrorWindow.cs \
8        MainWindow.cs \
9        OpenFile.cs \
10        NewFile.cs \
11        PictureView.cs \
12        SaveFile.cs \
13        ToolBox.cs \
14        gtk-gui/generated.cs \
15        gtk-gui/ThePimp.AboutWindow.cs \
16        gtk-gui/ThePimp.ErrorWindow.cs \
17        gtk-gui/ThePimp.MainWindow.cs \
18        gtk-gui/ThePimp.OpenFile.cs \
19        gtk-gui/ThePimp.NewFile.cs \
20        gtk-gui/ThePimp.PictureView.cs \
21        gtk-gui/ThePimp.SaveFile.cs \
22        gtk-gui/ThePimp.ToolBox.cs
23
24pimp_resources = \
25        gtk-gui/gui.stetic \
26        gtk-gui/objects.xml \
27        images/about.png
28
29image_sources = \
30        images/about.svg
31
32if USE_CSHARP
33if USE_GTKSHARP
34bin_SCRIPTS = Pimp.exe
35endif
36endif
37
38EXTRA_DIST = $(pimp_sources) $(pimp_resources) $(image_sources)
39
40Pimp.exe: ../pipi-sharp/pipi-sharp.dll $(pimp_sources) $(pimp_resources)
41        cp ../pipi-sharp/pipi-sharp.dll .
42        cp ../pipi-sharp/pipi-sharp.dll.config .
43        cp ../pipi-sharp/pipi-sharp.dll.mdb .
44        $(GMCS) -debug -codepage:utf8 -out:$@ -lib:./ \
45          $(addprefix $(srcdir)/, $(pimp_sources)) \
46          $(foreach x, $(pimp_resources), \
47                       -resource:$(srcdir)/$x,ThePimp.$(subst /,.,$x)) \
48          -pkg:gtk-sharp-2.0 -r:Mono.Posix -r:pipi-sharp.dll
49
50clean-local:
51        rm -f pipi-sharp.dll.config
52        rm -f *.exe *.dll *.mdb
53
Note: See TracBrowser for help on using the repository browser.