- removed IPlugin leftovers
[FaRetSys.git] / Makefile
blob5b55bbdf977574ad299db8a58c374cd906c71927
1 MCS = mcs
3 EITHNE = \
4 About.cs \
5 Block.cs \
6 Connector.cs \
7 Engine.cs \
8 FatalError.cs \
9 LoadError.cs \
10 MainWindow.cs \
11 PluginAbout.cs \
12 PluginDB.cs \
13 PluginError.cs \
14 PluginList.cs \
15 PluginToolbox.cs \
16 Preferences.cs \
17 ReverseIterator.cs \
18 SaveLoad.cs \
19 Schematic.cs \
20 Splash.cs
22 GDKCAIRO = \
23 gdk-cairo.cs
25 UTILITY = \
26 DialogMessage.cs \
27 DialogQuestion.cs
29 UTILITY_RESOURCES = \
30 DialogMessage.glade \
31 DialogQuestion.glade
33 RESOURCES = \
34 About.glade \
35 FatalError.glade \
36 LoadError.glade \
37 MainWindow.glade \
38 PluginAbout.glade \
39 PluginError.glade \
40 PluginList.glade \
41 Preferences.glade \
42 Splash.glade \
43 pixmaps/dialog-error-16.png \
44 pixmaps/dialog-error.png \
45 pixmaps/dialog-information-16.png \
46 pixmaps/dialog-information.png \
47 pixmaps/dialog-warning-16.png \
48 pixmaps/dialog-warning.png \
49 pixmaps/document-new-22.png \
50 pixmaps/document-new.png \
51 pixmaps/document-open-22.png \
52 pixmaps/document-open.png \
53 pixmaps/document-save-22.png \
54 pixmaps/document-save-as.png \
55 pixmaps/document-save.png \
56 pixmaps/edit-cut.png \
57 pixmaps/edit-delete.png \
58 pixmaps/help-browser-48.png \
59 pixmaps/help-browser.png \
60 pixmaps/icon-16.png \
61 pixmaps/icon-48.png \
62 pixmaps/image-base-22.png \
63 pixmaps/image-base.png \
64 pixmaps/image-test-22.png \
65 pixmaps/image-test.png \
66 pixmaps/list-add.png \
67 pixmaps/list-remove.png \
68 pixmaps/media-playback-start-22.png \
69 pixmaps/media-playback-start.png \
70 pixmaps/media-playback-stop-22.png \
71 pixmaps/media-playback-stop.png \
72 pixmaps/no-base.png \
73 pixmaps/plugin-16.png \
74 pixmaps/plugin-48.png \
75 pixmaps/preferences-desktop-48.png \
76 pixmaps/preferences-desktop.png \
77 pixmaps/system-log-out.png \
78 pixmaps/system-search.png \
79 pixmaps/user-trash-full.png \
80 pixmaps/zsrr.jpg
82 RESFILES = $(addprefix resources/,$(RESOURCES))
83 RESCMD = $(addprefix -resource:,$(RESFILES))
85 URESFILES = $(addprefix resources/,$(UTILITY_RESOURCES))
86 URESCMD = $(addprefix -resource:,$(URESFILES))
88 all: eithne.exe
89 +make -C Plugins
90 +make -C locale
92 eithne.exe: IPlugin.dll gdk-cairo.dll Utility.dll $(EITHNE) $(RESFILES)
93 $(MCS) $(EITHNE) -out:eithne.exe -r:IPlugin -pkg:gtk-sharp-2.0 -pkg:glade-sharp-2.0 -r:Mono.Cairo -r:gdk-cairo -r:Mono.Posix -r:Utility $(RESCMD) -win32icon:resources/pixmaps/icon.ico -debug -target:winexe
95 IPlugin.dll:
96 +make -C IPlugin
98 gdk-cairo.dll: $(GDKCAIRO)
99 $(MCS) $(GDKCAIRO) -out:gdk-cairo.dll -target:library -r:Mono.Cairo -pkg:gtk-sharp-2.0 -debug
101 Utility.dll: $(UTILITY) $(URESFILES) IPlugin.dll
102 $(MCS) $(UTILITY) -target:library -out:Utility.dll -pkg:gtk-sharp-2.0 -pkg:glade-sharp-2.0 -r:IPlugin -r:Mono.Posix -unsafe $(URESCMD) -debug
104 clean:
105 rm -f *.dll eithne.exe *.mdb
106 +make -C IPlugin clean
107 +make -C Plugins clean