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

Last change on this file since 2890 was 2890, checked in by Sam Hocevar, 13 years ago

ThePimp?: the "New" button now works.

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