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 -include ../../config.make
26 include $(GNUSTEP_MAKEFILES)/common.make
29 $(shell ./cancompile.sh $(GNUSTEP_TARGET_CPU) $(GNUSTEP_TARGET_OS))
31 ifeq ($(CAN_COMPILE_FB),yes)
33 GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_LOCAL_ROOT)
35 BUNDLE_NAME = FrontBase2
37 FrontBase2_OBJC_FILES = \
50 FrontBase2_PRINCIPAL_CLASS = FrontBase2Adaptor
51 FrontBase2_RESOURCE_FILES = Info.plist Version
53 BUNDLE_INSTALL = FrontBase2
54 BUNDLE_INSTALL_DIR = $(GNUSTEP_SYSTEM_ROOT)/Libraries/Adaptors
56 # Use .gdladaptor as the bundle extension
57 BUNDLE_EXTENSION = .gdladaptor
63 fbtest_OBJC_FILES = fbtest.m
64 #fbtest_OBJC_FILES += $(FrontBase2_OBJC_FILES)
66 -include GNUmakefile.preamble
67 include $(GNUSTEP_MAKEFILES)/bundle.make
68 #include $(GNUSTEP_MAKEFILES)/tool.make
69 -include GNUmakefile.postamble
71 else # cannot compile FB
74 echo "cannot compile FrontBase 2.x adaptor for OS $(GNUSTEP_TARGET_OS) CPU $(GNUSTEP_TARGET_CPU)"
80 install :: cannotcompile