1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2010 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 11# OpenOffice.org is free software: you can redistribute it and/or modify 12# it under the terms of the GNU Lesser General Public License version 3 13# only, as published by the Free Software Foundation. 14# 15# OpenOffice.org 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 18# GNU Lesser General Public License version 3 for more details 19# (a copy is included in the LICENSE file that accompanied this code). 20# 21# You should have received a copy of the GNU Lesser General Public License 22# version 3 along with OpenOffice.org. If not, see 23# <http://www.openoffice.org/license.html> 24# for a copy of the LGPLv3 License. 25# 26#************************************************************************* 27 28PRJ=..$/.. 29 30PRJNAME=connectivity 31TARGET=commontools 32 33# --- Settings ----------------------------------------------------- 34.IF "$(DBGUTIL_OJ)"!="" 35ENVCFLAGS+=/FR$(SLO)$/ 36.ENDIF 37 38.INCLUDE : settings.mk 39.INCLUDE : $(PRJ)$/dbtools.pmk 40 41# Disable optimization for SunCC SPARC and MACOSX (funny loops 42# when parsing e.g. "x+width/2"), 43# also http://gcc.gnu.org/PR22392 44.IF ("$(OS)$(CPU)"=="SOLARISS" && "$(COM)"!="GCC") || "$(OS)"=="MACOSX" || ("$(OS)"=="LINUX" && "$(CPU)"=="P") 45NOOPTFILES= $(SLO)$/RowFunctionParser.obj 46.ENDIF 47 48ENVCFLAGS += -DBOOST_SPIRIT_USE_OLD_NAMESPACE 49 50# --- Files -------------------------------------------------------- 51EXCEPTIONSFILES=\ 52 $(SLO)$/predicateinput.obj \ 53 $(SLO)$/ConnectionWrapper.obj \ 54 $(SLO)$/TConnection.obj \ 55 $(SLO)$/conncleanup.obj \ 56 $(SLO)$/dbtools.obj \ 57 $(SLO)$/dbtools2.obj \ 58 $(SLO)$/dbexception.obj \ 59 $(SLO)$/CommonTools.obj \ 60 $(SLO)$/TColumnsHelper.obj \ 61 $(SLO)$/TTableHelper.obj \ 62 $(SLO)$/TKeys.obj \ 63 $(SLO)$/TKey.obj \ 64 $(SLO)$/TKeyColumns.obj \ 65 $(SLO)$/TIndexes.obj \ 66 $(SLO)$/TIndex.obj \ 67 $(SLO)$/TIndexColumns.obj \ 68 $(SLO)$/DateConversion.obj \ 69 $(SLO)$/FDatabaseMetaDataResultSetMetaData.obj \ 70 $(SLO)$/FDatabaseMetaDataResultSet.obj \ 71 $(SLO)$/TDatabaseMetaDataBase.obj \ 72 $(SLO)$/TPrivilegesResultSet.obj \ 73 $(SLO)$/TSkipDeletedSet.obj \ 74 $(SLO)$/dbmetadata.obj \ 75 $(SLO)$/TSortIndex.obj \ 76 $(SLO)$/dbcharset.obj \ 77 $(SLO)$/propertyids.obj \ 78 $(SLO)$/FValue.obj \ 79 $(SLO)$/paramwrapper.obj \ 80 $(SLO)$/statementcomposer.obj \ 81 $(SLO)$/RowFunctionParser.obj \ 82 $(SLO)$/sqlerror.obj \ 83 $(SLO)$/filtermanager.obj \ 84 $(SLO)$/parameters.obj \ 85 $(SLO)$/ParamterSubstitution.obj \ 86 $(SLO)$/DriversConfig.obj \ 87 $(SLO)$/formattedcolumnvalue.obj \ 88 $(SLO)$/BlobHelper.obj \ 89 $(SLO)$/warningscontainer.obj 90 91SLOFILES=\ 92 $(EXCEPTIONSFILES) \ 93 $(SLO)$/AutoRetrievingBase.obj \ 94 $(SLO)$/dbconversion.obj 95 96 97 98 99# --- Targets ------------------------------------------------------ 100 101.INCLUDE : target.mk 102 103 104