4 # Copyright (C) 2003-2005 Helge Hess
6 # Author: Helge Hess (helge.hess@opengroupware.org)
8 # This file is part of the SQLite3 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.
27 ifeq ($(frameworks),yes)
28 BUNDLE_INSTALL_DIR := $(FRAMEWORK_INSTALL_DIR)/GDLAccess.framework/Resources/GDLAdaptors/
30 BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/GDLAdaptors-$(MAJOR_VERSION).$(MINOR_VERSION)/
34 MySQL_BUNDLE_LIBS += \
39 MySQLD_BUNDLE_LIBS += \
44 gdltest_TOOL_LIBS += \
48 # set compile flags and go
50 ADDITIONAL_CFLAGS += `mysql_config --cflags`
52 ADDITIONAL_INCLUDE_DIRS += \
53 -I../GDLAccess -I.. -I$(SOPE_ROOT)
55 ADDITIONAL_INCLUDE_DIRS += \
56 -I$(SOPE_ROOT)/sope-core/ \
57 -I$(SOPE_ROOT)/sope-core/NGExtensions
63 # library/framework search pathes
67 $(SOPE_ROOT)/sope-core/EOControl
69 ifneq ($(frameworks),yes)
70 ADDITIONAL_LIB_DIRS += \
71 $(foreach dir,$(DEP_DIRS),\
72 -L$(GNUSTEP_BUILD_DIR)/$(dir)/$(GNUSTEP_OBJ_DIR_NAME))
74 ADDITIONAL_LIB_DIRS += \
75 $(foreach dir,$(DEP_DIRS),-F$(GNUSTEP_BUILD_DIR)/$(dir))
78 SYSTEM_LIB_DIR += -L/usr/local/lib -L/usr/lib