1#
2#  Top level makefile for GNUstep Backend
3#
4#  Copyright (C) 2002 Free Software Foundation, Inc.
5#
6#  Author: Adam Fedor <fedor@gnu.org>
7#
8#  This file is part of the GNUstep Backend.
9#
10#  This library is free software; you can redistribute it and/or
11#  modify it under the terms of the GNU Lesser General Public
12#  License as published by the Free Software Foundation; either
13#  version 2 of the License, or (at your option) any later version.
14#
15#  This library is distributed in the hope that it will be useful,
16#  but WITHOUT ANY WARRANTY; without even the implied warranty of
17#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the GNU
18#  Lesser General Public License for more details.
19#
20#  You should have received a copy of the GNU Lesser General Public
21#  License along with this library; see the file COPYING.LIB.
22#  If not, see <http://www.gnu.org/licenses/> or write to the
23#  Free Software Foundation, 51 Franklin Street, Fifth Floor,
24#  Boston, MA 02110-1301, USA.
25
26PACKAGE_NAME = gnustep-back
27include $(GNUSTEP_MAKEFILES)/common.make
28
29include ../config.make
30
31include ../Version
32
33
34# The library to be compiled, as a library or as a bundle
35ifeq ($(BACKEND_BUNDLE),)
36  BACKEND_FULL=$(BACKEND_NAME)
37  LIBRARY_NAME=libgnustep-$(BACKEND_FULL)
38else
39  BACKEND_FULL=$(BACKEND_NAME)-$(INTERFACE_VERSION_NUMBER)
40  BUNDLE_NAME=libgnustep-$(BACKEND_FULL)
41endif
42
43#
44# The list of subproject directories
45#
46SUBPROJECTS = gsc $(BUILD_SERVER) $(BUILD_GRAPHICS)
47
48libgnustep-$(BACKEND_FULL)_SUBPROJECTS=$(SUBPROJECTS)
49
50libgnustep-$(BACKEND_FULL)_OBJC_FILES=GSBackend.m
51
52libgnustep-$(BACKEND_FULL)_PRINCIPAL_CLASS=GSBackend
53
54libgnustep-$(BACKEND_FULL)_LOCALIZED_RESOURCE_FILES=nfontFaceNames.strings
55
56libgnustep-$(BACKEND_FULL)_LANGUAGES=English Swedish
57
58-include GNUmakefile.preamble
59
60ifeq ($(BACKEND_BUNDLE),)
61  include $(GNUSTEP_MAKEFILES)/library.make
62else
63  include $(GNUSTEP_MAKEFILES)/bundle.make
64endif
65
66-include GNUmakefile.postamble
67