4 # Copyright (C) 1999 MDlink online service center GmbH and Helge Hess
6 # Author: Helge Hess (helge.hess@mdlink.de)
8 # This file is part of the FrontBase Adaptor Library
10 # This library is free software; you can redistribute it and/or
11 # modify it under the terms of the GNU Library 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.
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 # Library General Public License for more details.
20 # You should have received a copy of the GNU Library General Public
21 # License along with this library; see the file COPYING.LIB.
22 # If not, write to the Free Software Foundation,
23 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 # $Id: GNUmakefile 1 2004-08-20 10:38:46Z znek $
27 include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/common.make
30 $(shell ./cancompile.sh $(GNUSTEP_TARGET_CPU) $(GNUSTEP_TARGET_OS))
32 ifeq ($(CAN_COMPILE_FB),yes)
34 GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_LOCAL_ROOT)
36 BUNDLE_NAME = FrontBase2
38 FrontBase2_OBJC_FILES = \
51 FrontBase2_PRINCIPAL_CLASS = FrontBase2Adaptor
52 FrontBase2_RESOURCE_FILES = Info.plist Version
54 BUNDLE_INSTALL = FrontBase2
55 BUNDLE_INSTALL_DIR = $(GNUSTEP_SYSTEM_ROOT)/Libraries/Adaptors
57 # Use .gdladaptor as the bundle extension
58 BUNDLE_EXTENSION = .gdladaptor
64 fbtest_OBJC_FILES = fbtest.m
65 #fbtest_OBJC_FILES += $(FrontBase2_OBJC_FILES)
67 -include GNUmakefile.preamble
68 include $(GNUSTEP_MAKEFILES)/bundle.make
69 #include $(GNUSTEP_MAKEFILES)/tool.make
70 -include GNUmakefile.postamble
72 else # cannot compile FB
75 echo "cannot compile FrontBase 2.x adaptor for OS $(GNUSTEP_TARGET_OS) CPU $(GNUSTEP_TARGET_CPU)"
81 install :: cannotcompile