1 |
PACKAGE_NEEDS_CONFIGURE = YES |
2 |
|
3 |
include $(GNUSTEP_MAKEFILES)/common.make |
4 |
|
5 |
include ../gworkspace.make |
6 |
|
7 |
PACKAGE_NAME = @PACKAGE_NAME@ |
8 |
VERSION = @PACKAGE_VERSION@ |
9 |
|
10 |
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT) |
11 |
|
12 |
ifeq ($(FOUNDATION_LIB), apple) |
13 |
GNUSTEP_INSTALLATION_DIR = / |
14 |
endif |
15 |
|
16 |
# |
17 |
# MAIN APP |
18 |
# |
19 |
APP_NAME = GWorkspace |
20 |
GWorkspace_PRINCIPAL_CLASS = GWorkspace |
21 |
GWorkspace_APPLICATION_ICON=FileManager.tiff |
22 |
|
23 |
GWorkspace_HAS_RESOURCE_BUNDLE = yes |
24 |
|
25 |
# |
26 |
# Additional libraries |
27 |
# |
28 |
ifeq ($(FOUNDATION_LIB), apple) |
29 |
ADDITIONAL_GUI_LIBS += -framework GWorkspace |
30 |
ADDITIONAL_GUI_LIBS += -framework Renaissance |
31 |
else |
32 |
ADDITIONAL_GUI_LIBS += -lGWorkspace |
33 |
endif |
34 |
|
35 |
ifneq ($(GS_PATH), none) |
36 |
GWorkspace_RESOURCE_FILES = \ |
37 |
Resources/Icons/* \ |
38 |
Resources/English.lproj \ |
39 |
Resources/French.lproj \ |
40 |
Resources/German.lproj \ |
41 |
Resources/Italian.lproj \ |
42 |
Resources/Romanian.lproj \ |
43 |
Resources/Spanish.lproj \ |
44 |
Resources/Portuguese.lproj \ |
45 |
Resources/Dutch.lproj \ |
46 |
../Viewers/BrowserViewer/BrowserViewer.viewer \ |
47 |
../Viewers/IconsViewer/IconsViewer.viewer \ |
48 |
../Viewers/SmallIconsViewer/SmallIconsViewer.viewer \ |
49 |
../ContentViewers/AppViewer/AppViewer.inspector \ |
50 |
../ContentViewers/FolderViewer/FolderViewer.inspector \ |
51 |
../ContentViewers/ImageViewer/ImageViewer.inspector \ |
52 |
../ContentViewers/SoundViewer/SoundViewer.inspector \ |
53 |
../ContentViewers/RtfViewer/RtfViewer.inspector \ |
54 |
../ContentViewers/InspectorViewer/InspectorViewer.inspector \ |
55 |
../ContentViewers/StringsViewer/StringsViewer.inspector \ |
56 |
../ContentViewers/PlistViewer/PlistViewer.inspector \ |
57 |
../ContentViewers/PdfViewer/PdfViewer.inspector |
58 |
else |
59 |
GWorkspace_RESOURCE_FILES = \ |
60 |
Resources/Icons/* \ |
61 |
Resources/English.lproj \ |
62 |
Resources/French.lproj \ |
63 |
Resources/German.lproj \ |
64 |
Resources/Italian.lproj \ |
65 |
Resources/Romanian.lproj \ |
66 |
Resources/Spanish.lproj \ |
67 |
Resources/Portuguese.lproj \ |
68 |
Resources/Dutch.lproj \ |
69 |
../Viewers/BrowserViewer/BrowserViewer.viewer \ |
70 |
../Viewers/IconsViewer/IconsViewer.viewer \ |
71 |
../Viewers/SmallIconsViewer/SmallIconsViewer.viewer \ |
72 |
../ContentViewers/AppViewer/AppViewer.inspector \ |
73 |
../ContentViewers/FolderViewer/FolderViewer.inspector \ |
74 |
../ContentViewers/ImageViewer/ImageViewer.inspector \ |
75 |
../ContentViewers/SoundViewer/SoundViewer.inspector \ |
76 |
../ContentViewers/RtfViewer/RtfViewer.inspector \ |
77 |
../ContentViewers/StringsViewer/StringsViewer.inspector \ |
78 |
../ContentViewers/PlistViewer/PlistViewer.inspector \ |
79 |
../ContentViewers/InspectorViewer/InspectorViewer.inspector |
80 |
endif |
81 |
|
82 |
GWorkspace_LANGUAGES = Resources/English \ |
83 |
Resources/French \ |
84 |
Resources/German \ |
85 |
Resources/Italian \ |
86 |
Resources/Romanian \ |
87 |
Resources/Spanish \ |
88 |
Resources/Portuguese \ |
89 |
Resources/Dutch |
90 |
|
91 |
ifeq ($(FOUNDATION_LIB), apple) |
92 |
GWorkspace_LOCALIZED_RESOURCE_FILES = Localizable.strings \ |
93 |
Finder.nib \ |
94 |
PrefWindow.nib \ |
95 |
DefEditorPref.nib \ |
96 |
XTermPref.nib \ |
97 |
DefSortOrderPref.nib \ |
98 |
ShelfPref.nib \ |
99 |
DeskTopPref.nib \ |
100 |
FileOpsPref.nib \ |
101 |
IconsPref.nib \ |
102 |
HiddenFilesPref.nib \ |
103 |
InspectorsWin.nib \ |
104 |
AttributesPanel.nib \ |
105 |
ContentsPanel.nib \ |
106 |
ToolsPanel.nib \ |
107 |
PermissionsPanel.nib \ |
108 |
FileOperationWin.nib \ |
109 |
OpenWith.nib \ |
110 |
RunExternal.nib |
111 |
else |
112 |
GWorkspace_LOCALIZED_RESOURCE_FILES = Localizable.strings \ |
113 |
Finder.gorm \ |
114 |
PrefWindow.gorm \ |
115 |
DefEditorPref.gorm \ |
116 |
XTermPref.gorm \ |
117 |
DefSortOrderPref.gorm \ |
118 |
ShelfPref.gorm \ |
119 |
DeskTopPref.gorm \ |
120 |
FileOpsPref.gorm \ |
121 |
IconsPref.gorm \ |
122 |
HiddenFilesPref.gorm \ |
123 |
InspectorsWin.gorm \ |
124 |
AttributesPanel.gorm \ |
125 |
ContentsPanel.gorm \ |
126 |
ToolsPanel.gorm \ |
127 |
PermissionsPanel.gorm \ |
128 |
FileOperationWin.gorm \ |
129 |
OpenWith.gorm \ |
130 |
RunExternal.gorm |
131 |
endif |
132 |
|
133 |
ifeq ($(FOUNDATION_LIB), apple) |
134 |
GWorkspace_LOCALIZED_RESOURCE_FILES += MainMenu-OSX.gsmarkup |
135 |
endif |
136 |
|
137 |
# The Objective-C source files to be compiled |
138 |
|
139 |
ifneq ($(FOUNDATION_LIB), apple) |
140 |
GWorkspace_OBJC_FILES = main.m \ |
141 |
GWorkspace.m \ |
142 |
IconViewsIcon.m \ |
143 |
GWSplitView.m \ |
144 |
FileOperations/FileOperation.m \ |
145 |
ViewersWindow.m \ |
146 |
Shelf/Shelf.m \ |
147 |
Shelf/ShelfIcon.m \ |
148 |
TShelf/TShelfWin.m \ |
149 |
TShelf/TShelfView.m \ |
150 |
TShelf/TShelfViewItem.m \ |
151 |
TShelf/TShelfIconsView.m \ |
152 |
TShelf/TShelfIcon.m \ |
153 |
Inspectors/InspectorsController.m \ |
154 |
Inspectors/Attributes.m \ |
155 |
Inspectors/Contents.m \ |
156 |
Inspectors/Tools.m \ |
157 |
Inspectors/Permissions.m \ |
158 |
Inspectors/TimeDateView.m \ |
159 |
Apps/Apps.m \ |
160 |
Finder/FinderShelf.m \ |
161 |
Finder/FinderShelfIcon.m \ |
162 |
Finder/FinderController.m \ |
163 |
Desktop/DesktopWindow.m \ |
164 |
Desktop/DesktopView.m \ |
165 |
Desktop/DesktopViewIcon.m \ |
166 |
Recycler/Recycler.m \ |
167 |
Recycler/RecyclerViews.m \ |
168 |
Recycler/RecyclerIcon.m \ |
169 |
Preferences/PrefController.m \ |
170 |
Preferences/DefEditorPref.m \ |
171 |
Preferences/XTermPref.m \ |
172 |
Preferences/DefSortOrderPref.m \ |
173 |
Preferences/ShelfPref.m \ |
174 |
Preferences/DeskTopPref.m \ |
175 |
Preferences/FileOpsPref.m \ |
176 |
Preferences/IconsPref.m \ |
177 |
Preferences/HiddenFilesPref.m \ |
178 |
History/History.m \ |
179 |
Dialogs/Dialogs.m \ |
180 |
Dialogs/OpenWithController.m \ |
181 |
Dialogs/RunExternalController.m \ |
182 |
Dialogs/CompletionField.m \ |
183 |
Fiend/Fiend.m \ |
184 |
Fiend/FiendLeaf.m |
185 |
else |
186 |
GWorkspace_OBJC_FILES = main.m \ |
187 |
GWorkspace.m \ |
188 |
IconViewsIcon.m \ |
189 |
GWSplitView.m \ |
190 |
FileOperations/FileOperation.m \ |
191 |
ViewersWindow.m \ |
192 |
Shelf/Shelf.m \ |
193 |
Shelf/ShelfIcon.m \ |
194 |
TShelf/TShelfWin.m \ |
195 |
TShelf/TShelfView.m \ |
196 |
TShelf/TShelfViewItem.m \ |
197 |
TShelf/TShelfIconsView.m \ |
198 |
TShelf/TShelfIcon.m \ |
199 |
Inspectors/InspectorsController.m \ |
200 |
Inspectors/Attributes.m \ |
201 |
Inspectors/Contents.m \ |
202 |
Inspectors/Tools.m \ |
203 |
Inspectors/Permissions.m \ |
204 |
Inspectors/TimeDateView.m \ |
205 |
Apps/Apps.m \ |
206 |
Finder/FinderShelf.m \ |
207 |
Finder/FinderShelfIcon.m \ |
208 |
Finder/FinderController.m \ |
209 |
Desktop/DesktopWindow.m \ |
210 |
Desktop/DesktopView.m \ |
211 |
Desktop/DesktopViewIcon.m \ |
212 |
Recycler/Recycler.m \ |
213 |
Recycler/RecyclerViews.m \ |
214 |
Recycler/RecyclerIcon.m \ |
215 |
Preferences/PrefController.m \ |
216 |
Preferences/DefEditorPref.m \ |
217 |
Preferences/XTermPref.m \ |
218 |
Preferences/DefSortOrderPref.m \ |
219 |
Preferences/ShelfPref.m \ |
220 |
Preferences/DeskTopPref.m \ |
221 |
Preferences/FileOpsPref.m \ |
222 |
Preferences/IconsPref.m \ |
223 |
Preferences/HiddenFilesPref.m \ |
224 |
History/History.m \ |
225 |
Dialogs/Dialogs.m \ |
226 |
Dialogs/OpenWithController.m \ |
227 |
Dialogs/RunExternalController.m \ |
228 |
Dialogs/CompletionField.m \ |
229 |
Fiend/Fiend.m \ |
230 |
Fiend/FiendLeaf.m |
231 |
endif |
232 |
|
233 |
-include GNUmakefile.preamble |
234 |
|
235 |
-include GNUmakefile.local |
236 |
|
237 |
include $(GNUSTEP_MAKEFILES)/aggregate.make |
238 |
|
239 |
include $(GNUSTEP_MAKEFILES)/application.make |
240 |
|
241 |
-include GNUmakefile.postamble |