]> err.no Git - sope/blob - sope-gdl1/FrontBase2/GNUmakefile
renamed PostgreSQL72 to PostgreSQL, install in Library/GDLAdaptors-1.1
[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 # $Id: GNUmakefile 1 2004-08-20 10:38:46Z znek $
26
27 include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/common.make
28
29 CAN_COMPILE_FB = \
30         $(shell ./cancompile.sh $(GNUSTEP_TARGET_CPU) $(GNUSTEP_TARGET_OS))
31
32 ifeq ($(CAN_COMPILE_FB),yes)
33
34 GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_LOCAL_ROOT)
35
36 BUNDLE_NAME = FrontBase2
37
38 FrontBase2_OBJC_FILES = \
39         FBSQLExpression.m       \
40         FBException.m           \
41         FrontBase2Adaptor.m     \
42         FBAdaptor+Types.m       \
43         FBContext.m             \
44         FBChannel.m             \
45         EOAttribute+FB.m        \
46         NSString+FB.m           \
47         FBValues.m              \
48         FBChannel+Model.m       \
49         FBBlobHandle.m          \
50
51 FrontBase2_PRINCIPAL_CLASS = FrontBase2Adaptor
52 FrontBase2_RESOURCE_FILES  = Info.plist Version
53
54 BUNDLE_INSTALL     = FrontBase2
55 BUNDLE_INSTALL_DIR = $(GNUSTEP_SYSTEM_ROOT)/Libraries/Adaptors
56
57 # Use .gdladaptor as the bundle extension
58 BUNDLE_EXTENSION = .gdladaptor
59
60 # tool stuff
61
62 TOOL_NAME = fbtest
63
64 fbtest_OBJC_FILES = fbtest.m
65 #fbtest_OBJC_FILES += $(FrontBase2_OBJC_FILES)
66
67 -include GNUmakefile.preamble
68 include $(GNUSTEP_MAKEFILES)/bundle.make
69 #include $(GNUSTEP_MAKEFILES)/tool.make
70 -include GNUmakefile.postamble
71
72 else # cannot compile FB
73
74 cannotcompile :
75         echo "cannot compile FrontBase 2.x adaptor for OS $(GNUSTEP_TARGET_OS) CPU $(GNUSTEP_TARGET_CPU)"
76
77 all :: cannotcompile
78
79 clean ::
80
81 install :: cannotcompile
82
83 endif