]> err.no Git - sope/blob - sope-gdl1/MySQL/GNUmakefile
moved MySQL directory
[sope] / sope-gdl1 / MySQL / GNUmakefile
1
2 # GNUmakefile
3 #
4 # Copyright (C) 2005 Helge Hess
5 #
6 # Author: Helge Hess (helge.hess@opengroupware.org)
7 #
8 # This file is part of the MySQL4 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 include ../Version
28 include ./Version
29
30 BUNDLE_NAME = MySQL4
31
32 MySQL4_OBJC_FILES = \
33         MySQL4Expression.m              \
34         MySQL4Adaptor.m                 \
35         MySQL4Context.m                 \
36         MySQL4Channel.m                 \
37         MySQL4Channel+Model.m           \
38         MySQL4Exception.m               \
39         MySQL4Values.m                  \
40         NSString+MySQL4.m               \
41         EOAttribute+MySQL4.m            \
42         NSString+MySQL4Val.m            \
43         NSData+MySQL4Val.m              \
44         NSCalendarDate+MySQL4Val.m      \
45         NSNumber+MySQL4Val.m            \
46
47 MySQL4_PRINCIPAL_CLASS = MySQL4Adaptor
48
49 BUNDLE_INSTALL     = MySQL4
50 BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/GDLAdaptors-$(MAJOR_VERSION).$(MINOR_VERSION)/
51
52 # Use .gdladaptor as the bundle extension
53 BUNDLE_EXTENSION = .gdladaptor
54
55 MySQL4_RESOURCE_FILES += Version
56
57 # tool
58
59 TOOL_NAME = gdltest
60
61 gdltest_OBJC_FILES = gdltest.m
62
63 -include GNUmakefile.preamble
64 include $(GNUSTEP_MAKEFILES)/bundle.make
65 ifeq ($(test),yes)
66 include $(GNUSTEP_MAKEFILES)/tool.make
67 endif
68 -include GNUmakefile.postamble
69 include fhs.make