merge the formfield patch from ooo-build
[ooovba.git] / connectivity / source / commontools / makefile.mk
blobcb5a4ad3f7aadcb8ff686883553e9a3de2998378
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.35 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..$/..
34 PRJNAME=connectivity
35 TARGET=commontools
37 # --- Settings -----------------------------------------------------
38 .IF "$(DBGUTIL_OJ)"!=""
39 ENVCFLAGS+=/FR$(SLO)$/
40 .ENDIF
42 .INCLUDE : settings.mk
43 .INCLUDE : $(PRJ)$/dbtools.pmk
45 # Disable optimization for SunCC SPARC and MACOSX (funny loops
46 # when parsing e.g. "x+width/2"),
47 # also http://gcc.gnu.org/PR22392
48 .IF ("$(OS)$(CPU)"=="SOLARISS" && "$(COM)"!="GCC") || "$(OS)"=="MACOSX" || ("$(OS)"=="LINUX" && "$(CPU)"=="P")
49 NOOPTFILES= $(SLO)$/RowFunctionParser.obj
50 .ENDIF
52 ENVCFLAGS += -DBOOST_SPIRIT_USE_OLD_NAMESPACE
54 # --- Files --------------------------------------------------------
55 EXCEPTIONSFILES=\
56 $(SLO)$/predicateinput.obj \
57 $(SLO)$/ConnectionWrapper.obj \
58 $(SLO)$/TConnection.obj \
59 $(SLO)$/conncleanup.obj \
60 $(SLO)$/dbtools.obj \
61 $(SLO)$/dbtools2.obj \
62 $(SLO)$/dbexception.obj \
63 $(SLO)$/CommonTools.obj \
64 $(SLO)$/TColumnsHelper.obj \
65 $(SLO)$/TTableHelper.obj \
66 $(SLO)$/TKeys.obj \
67 $(SLO)$/TKey.obj \
68 $(SLO)$/TKeyColumns.obj \
69 $(SLO)$/TIndexes.obj \
70 $(SLO)$/TIndex.obj \
71 $(SLO)$/TIndexColumns.obj \
72 $(SLO)$/DateConversion.obj \
73 $(SLO)$/FDatabaseMetaDataResultSetMetaData.obj \
74 $(SLO)$/FDatabaseMetaDataResultSet.obj \
75 $(SLO)$/TDatabaseMetaDataBase.obj \
76 $(SLO)$/TPrivilegesResultSet.obj \
77 $(SLO)$/TSkipDeletedSet.obj \
78 $(SLO)$/dbmetadata.obj \
79 $(SLO)$/TSortIndex.obj \
80 $(SLO)$/dbcharset.obj \
81 $(SLO)$/propertyids.obj \
82 $(SLO)$/FValue.obj \
83 $(SLO)$/paramwrapper.obj \
84 $(SLO)$/statementcomposer.obj \
85 $(SLO)$/RowFunctionParser.obj \
86 $(SLO)$/sqlerror.obj \
87 $(SLO)$/filtermanager.obj \
88 $(SLO)$/parameters.obj \
89 $(SLO)$/ParamterSubstitution.obj \
90 $(SLO)$/DriversConfig.obj \
91 $(SLO)$/formattedcolumnvalue.obj \
92 $(SLO)$/warningscontainer.obj
94 SLOFILES=\
95 $(EXCEPTIONSFILES) \
96 $(SLO)$/AutoRetrievingBase.obj \
97 $(SLO)$/dbconversion.obj
102 # --- Targets ------------------------------------------------------
104 .INCLUDE : target.mk