]> err.no Git - sope/blob - sope-gdl1/FrontBase2/GNUmakefile
added missing inline pathes
[sope] / sope-gdl1 / FrontBase2 / GNUmakefile
1
2 # GNUmakefile
3 #
4 # Copyright (C) 1999 MDlink online service center GmbH and Helge Hess
5 #
6 # Author: Helge Hess (helge.hess@mdlink.de)
7 #
8 # This file is part of the FrontBase Adaptor Library
9 #
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.
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 # Library General Public License for more details.
19 #
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.
24
25 -include ../../config.make
26 include $(GNUSTEP_MAKEFILES)/common.make
27
28 CAN_COMPILE_FB = \
29         $(shell ./cancompile.sh $(GNUSTEP_TARGET_CPU) $(GNUSTEP_TARGET_OS))
30
31 ifeq ($(CAN_COMPILE_FB),yes)
32
33 GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_LOCAL_ROOT)
34
35 BUNDLE_NAME = FrontBase2
36
37 FrontBase2_OBJC_FILES = \
38         FBSQLExpression.m       \
39         FBException.m           \
40         FrontBase2Adaptor.m     \
41         FBAdaptor+Types.m       \
42         FBContext.m             \
43         FBChannel.m             \
44         EOAttribute+FB.m        \
45         NSString+FB.m           \
46         FBValues.m              \
47         FBChannel+Model.m       \
48         FBBlobHandle.m          \
49
50 FrontBase2_PRINCIPAL_CLASS = FrontBase2Adaptor
51 FrontBase2_RESOURCE_FILES  = Info.plist Version
52
53 BUNDLE_INSTALL     = FrontBase2
54 BUNDLE_INSTALL_DIR = $(GNUSTEP_SYSTEM_ROOT)/Libraries/Adaptors
55
56 # Use .gdladaptor as the bundle extension
57 BUNDLE_EXTENSION = .gdladaptor
58
59 # tool stuff
60
61 TOOL_NAME = fbtest
62
63 fbtest_OBJC_FILES = fbtest.m
64 #fbtest_OBJC_FILES += $(FrontBase2_OBJC_FILES)
65
66 -include GNUmakefile.preamble
67 include $(GNUSTEP_MAKEFILES)/bundle.make
68 #include $(GNUSTEP_MAKEFILES)/tool.make
69 -include GNUmakefile.postamble
70
71 else # cannot compile FB
72
73 cannotcompile :
74         echo "cannot compile FrontBase 2.x adaptor for OS $(GNUSTEP_TARGET_OS) CPU $(GNUSTEP_TARGET_CPU)"
75
76 all :: cannotcompile
77
78 clean ::
79
80 install :: cannotcompile
81
82 endif