1#   GNUmakefile: main makefile for GNUstep Object Relationship Modeller
2#
3#   Copyright (C) 1999,2002,2003 Free Software Foundation, Inc.
4#
5#   Author:  Gregory John Casamento <greg_casamento@yahoo.com>
6#   Date: 2003
7#   Author:  Richard Frith-Macdonald <richard@brainstorm.co.uk>
8#   Date: 1999
9#
10#   This file is part of GNUstep.
11#
12#   This program is free software; you can redistribute it and/or modify
13#   it under the terms of the GNU General Public License as published by
14#   the Free Software Foundation; either version 2 of the License, or
15#   (at your option) any later version.
16#
17#   This program is distributed in the hope that it will be useful,
18#   but WITHOUT ANY WARRANTY; without even the implied warranty of
19#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20#   GNU General Public License for more details.
21#
22#   You should have received a copy of the GNU General Public License
23#   along with this program; if not, write to the Free Software
24#   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25#
26
27ifeq ($(GNUSTEP_MAKEFILES),)
28 GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null)
29  ifeq ($(GNUSTEP_MAKEFILES),)
30    $(warning )
31    $(warning Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!)
32    $(warning Perhaps gnustep-make is not properly installed,)
33    $(warning so gnustep-config is not in your PATH.)
34    $(warning )
35    $(warning Your PATH is currently $(PATH))
36    $(warning )
37  endif
38endif
39
40ifeq ($(GNUSTEP_MAKEFILES),)
41  $(error You need to set GNUSTEP_MAKEFILES before compiling!)
42endif
43
44PACKAGE_NAME = gorm
45export PACKAGE_NAME
46include $(GNUSTEP_MAKEFILES)/common.make
47
48CVS_MODULE_NAME = gorm
49SVN_MODULE_NAME = gorm
50SVN_BASE_URL = svn+ssh://svn.gna.org/svn/gnustep/apps
51
52
53include ./Version
54
55#
56# Each palette is a subproject
57#
58SUBPROJECTS = \
59	GormObjCHeaderParser \
60	GormLib \
61	GormCore \
62	GormPrefs \
63	Palettes \
64	Plugins
65
66#
67# MAIN APP
68#
69APP_NAME = Gorm
70Gorm_PRINCIPAL_CLASS=Gorm
71Gorm_APPLICATION_ICON=Gorm.tiff
72Gorm_RESOURCE_FILES = \
73	GormInfo.plist \
74	Resources/ClassInformation.plist \
75	Resources/VersionProfiles.plist \
76	Resources/Defaults.plist \
77	Palettes/0Menus/0Menus.palette \
78	Palettes/1Windows/1Windows.palette \
79	Palettes/2Controls/2Controls.palette \
80	Palettes/3Containers/3Containers.palette \
81	Palettes/4Data/4Data.palette \
82	Plugins/Gorm/Gorm.plugin \
83	Plugins/Nib/Nib.plugin \
84	Plugins/GModel/GModel.plugin \
85	Plugins/Xib/Xib.plugin \
86	Images/GormClass.tiff \
87	Images/GormFilesOwner.tiff \
88	Images/GormFirstResponder.tiff \
89	Images/GormFontManager.tiff \
90	Images/GormImage.tiff \
91	Images/GormWindow.tiff \
92	Images/GormMenu.tiff \
93	Images/GormObject.tiff \
94	Images/GormSound.tiff \
95	Images/GormUnknown.tiff \
96	Images/GormSourceTag.tiff \
97	Images/GormTargetTag.tiff \
98	Images/GormLinkImage.tiff \
99	Images/GormEHCoil.tiff \
100	Images/GormEHLine.tiff \
101	Images/GormEVCoil.tiff \
102	Images/GormEVLine.tiff \
103	Images/GormMHCoil.tiff \
104	Images/GormMHLine.tiff \
105	Images/GormMVCoil.tiff \
106	Images/GormMVLine.tiff \
107        Images/Gorm.tiff \
108	Images/GormFile.tiff \
109	Images/GormNib.tiff \
110	Images/GormPalette.tiff \
111        Images/leftalign_nib.tiff \
112        Images/rightalign_nib.tiff \
113        Images/centeralign_nib.tiff \
114        Images/justifyalign_nib.tiff \
115        Images/naturalalign_nib.tiff \
116	Images/iconAbove_nib.tiff \
117	Images/iconBelow_nib.tiff \
118	Images/iconLeft_nib.tiff \
119	Images/iconOnly_nib.tiff \
120	Images/iconRight_nib.tiff \
121	Images/titleOnly_nib.tiff \
122	Images/line_nib.tiff \
123	Images/bezel_nib.tiff \
124	Images/noBorder_nib.tiff \
125	Images/ridge_nib.tiff \
126	Images/button_nib.tiff \
127	Images/shortbutton_nib.tiff \
128	Images/photoframe_nib.tiff \
129	Images/date_formatter.tiff \
130	Images/number_formatter.tiff \
131	Images/Sunday_seurat.tiff \
132	Images/iconBottomLeft_nib.tiff \
133	Images/iconBottomRight_nib.tiff \
134	Images/iconBottom_nib.tiff \
135	Images/iconCenterLeft_nib.tiff \
136	Images/iconCenterRight_nib.tiff \
137	Images/iconCenter_nib.tiff \
138	Images/iconTopLeft_nib.tiff \
139	Images/iconTopRight_nib.tiff \
140	Images/iconTop_nib.tiff \
141	Images/GormAction.tiff \
142	Images/GormOutlet.tiff \
143	Images/GormActionSelected.tiff \
144	Images/GormOutletSelected.tiff \
145	Images/FileIcon_gmodel.tiff \
146	Images/tabtop_nib.tiff \
147	Images/tabbot_nib.tiff \
148	Images/GormView.tiff \
149	Images/LeftArr.tiff \
150	Images/RightArr.tiff \
151	Images/GormTesting.tiff \
152	Images/outlineView.tiff \
153	Images/browserView.tiff
154
155Gorm_LOCALIZED_RESOURCE_FILES = \
156	GormClassEditor.gorm \
157	GormClassInspector.gorm \
158	GormClassPanel.gorm \
159	GormConnectionInspector.gorm \
160	GormCustomClassInspector.gorm \
161	GormDocument.gorm \
162	GormDummyInspector.gorm \
163	GormFontView.gorm \
164	GormHelpInspector.gorm \
165	Gorm.gorm \
166	GormImageInspector.gorm \
167	GormInconsistenciesPanel.gorm \
168	GormInspectorPanel.gorm \
169	GormObjectInspector.gorm \
170	GormNSSplitViewInspector.gorm \
171	GormPalettePanel.gorm \
172	GormPrefColors.gorm \
173	GormPreferences.gorm \
174	GormPrefGeneral.gorm \
175	GormPrefGuideline.gorm \
176	GormPrefHeaders.gorm \
177	GormPrefPalettes.gorm \
178	GormPrefPlugins.gorm \
179	GormScrollViewAttributesInspector.gorm \
180	GormSetName.gorm \
181	GormShelfPref.gorm \
182	GormSoundInspector.gorm \
183	GormViewSizeInspector.gorm
184
185Gorm_LANGUAGES = \
186	English
187
188Gorm_HEADERS =
189
190Gorm_OBJC_FILES = \
191	Gorm.m \
192	main.m
193
194# Gorm_ADDITIONAL_NATIVE_LIBS = m
195
196-include GNUmakefile.preamble
197-include GNUmakefile.local
198
199include $(GNUSTEP_MAKEFILES)/aggregate.make
200include $(GNUSTEP_MAKEFILES)/application.make
201
202-include GNUmakefile.postamble
203
204include $(GNUSTEP_MAKEFILES)/Master/nsis.make
205