1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24$(eval $(call gb_Library_Library,dbase)) 25 26$(eval $(call gb_Library_add_precompiled_header,dbase,$(SRCDIR)/connectivity/inc/pch/precompiled_dbase)) 27 28$(eval $(call gb_Library_set_componentfile,dbase,connectivity/source/drivers/dbase/dbase)) 29 30$(eval $(call gb_Library_set_include,dbase,\ 31 $$(INCLUDE) \ 32 -I$(SRCDIR)/connectivity/inc \ 33 -I$(SRCDIR)/connectivity/inc/pch \ 34 -I$(SRCDIR)/connectivity/source/inc \ 35 -I$(WORKDIR)/CustomTarget/connectivity/source/parse \ 36)) 37 38$(eval $(call gb_Library_add_api,dbase,\ 39 offapi \ 40 udkapi \ 41)) 42 43$(eval $(call gb_Library_add_linked_libs,dbase,\ 44 comphelper \ 45 cppuhelper \ 46 cppu \ 47 file \ 48 dbtools \ 49 sal \ 50 stl \ 51 svl \ 52 tl \ 53 ucbhelper \ 54 utl \ 55 vos3 \ 56 $(gb_STDLIBS) \ 57)) 58 59 60$(eval $(call gb_Library_add_exception_objects,dbase,\ 61 connectivity/source/drivers/dbase/DCode \ 62 connectivity/source/drivers/dbase/DResultSet \ 63 connectivity/source/drivers/dbase/DStatement \ 64 connectivity/source/drivers/dbase/DPreparedStatement \ 65 connectivity/source/drivers/dbase/dindexnode \ 66 connectivity/source/drivers/dbase/DIndexIter \ 67 connectivity/source/drivers/dbase/DDatabaseMetaData \ 68 connectivity/source/drivers/dbase/DCatalog \ 69 connectivity/source/drivers/dbase/DColumns \ 70 connectivity/source/drivers/dbase/DIndexColumns \ 71 connectivity/source/drivers/dbase/DIndex \ 72 connectivity/source/drivers/dbase/DIndexes \ 73 connectivity/source/drivers/dbase/DTables \ 74 connectivity/source/drivers/dbase/DConnection \ 75 connectivity/source/drivers/dbase/Dservices \ 76 connectivity/source/drivers/dbase/DDriver \ 77)) 78 79# [kh] ppc linux gcc compiler problem 80# [Don Lewis] clang 3.4 -O2 on amd64 tries to use R_X86_64_PC32 relocation with 81# symbol _ZThn192_N12connectivity4file10OFileTable7acquireEvj 82 83# FIXME: no way to translate $(CCNUMVER)>=000300040000 && $(CCNUMVER)<000300050000) 84ifeq ($(OS)$(COM)$(CPUNAME),LINUXGCCPOWERPC) 85$(eval $(call gb_Library_add_cxxobjects,dbase,\ 86 connectivity/source/drivers/dbase/DTable \ 87 , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \ 88)) 89else 90ifeq ($(OS)$(COM)$(CPUNAME),FREEBSDCLANGX86_64) 91ifeq ("$(CCNUMVER)","000300040000") 92$(eval $(call gb_Library_add_cxxobjects,dbase,\ 93 connectivity/source/drivers/dbase/DTable \ 94 , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \ 95)) 96else 97$(eval $(call gb_Library_add_exception_objects,dbase,\ 98 connectivity/source/drivers/dbase/DTable \ 99)) 100endif 101else 102$(eval $(call gb_Library_add_exception_objects,dbase,\ 103 connectivity/source/drivers/dbase/DTable \ 104)) 105endif 106endif 107 108# vim: set noet sw=4 ts=4: 109