tdf#118517: Use xStg before resetting it
[LibreOffice.git] / connectivity / Library_dbtools.mk
blob79723037a5db9cdb897754af787c9536e278e3de
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 $(eval $(call gb_Library_Library,dbtools))
13 $(eval $(call gb_Library_add_defs,dbtools,\
14 -DOOO_DLLIMPLEMENTATION_DBTOOLS \
15 -DBOOST_SPIRIT_USE_OLD_NAMESPACE \
18 $(eval $(call gb_Library_set_componentfile,dbtools,connectivity/source/dbtools/dbtools))
20 $(eval $(call gb_Library_set_include,dbtools,\
21 $$(INCLUDE) \
22 -I$(SRCDIR)/connectivity/inc \
23 -I$(SRCDIR)/connectivity/source/inc \
26 #$(eval $(call gb_Library_set_precompiled_header,dbtools,$(SRCDIR)/connectivity/inc/pch/precompiled_dbtools))
28 $(eval $(call gb_Library_use_external,dbtools,boost_headers))
30 $(eval $(call gb_Library_use_sdk_api,dbtools))
32 $(eval $(call gb_Library_use_libraries,dbtools,\
33 cppu \
34 cppuhelper \
35 sal \
36 salhelper \
37 $(if $(ENABLE_JAVA), \
38 jvmaccess) \
39 utl \
40 tl \
41 comphelper \
42 i18nlangtag \
43 svt \
44 vcl \
47 ifeq ($(filter-out NETBSD MACOSX,$(OS)),)
48 $(eval $(call gb_Library_use_libraries,dbtools,\
49 ucbhelper \
51 endif
53 #connectivity/source/commontools/RowFunctionParser.cxx disable optimization?
55 $(eval $(call gb_Library_add_exception_objects,dbtools,\
58 $(eval $(call gb_Library_add_grammars,dbtools,\
59 connectivity/source/parse/sqlbison \
62 $(call gb_YaccTarget_get_target,connectivity/source/parse/sqlbison) : T_YACCFLAGS := -d -l -pSQLyy -bsql
64 $(eval $(call gb_Library_add_scanners,dbtools,\
65 connectivity/source/parse/sqlflex \
68 $(call gb_LexTarget_get_scanner_target,connectivity/source/parse/sqlflex) : T_LEXFLAGS := -i -8 -PSQLyy -L
70 $(eval $(call gb_Library_add_exception_objects,dbtools,\
71 connectivity/source/commontools/AutoRetrievingBase \
72 connectivity/source/commontools/BlobHelper \
73 connectivity/source/commontools/CommonTools \
74 connectivity/source/commontools/ConnectionWrapper \
75 connectivity/source/commontools/DateConversion \
76 connectivity/source/commontools/DriversConfig \
77 connectivity/source/commontools/FDatabaseMetaDataResultSet \
78 connectivity/source/commontools/FDatabaseMetaDataResultSetMetaData \
79 connectivity/source/commontools/FValue \
80 connectivity/source/commontools/ParameterSubstitution \
81 connectivity/source/commontools/RowFunctionParser \
82 connectivity/source/commontools/TColumnsHelper \
83 connectivity/source/commontools/TConnection \
84 connectivity/source/commontools/TDatabaseMetaDataBase \
85 connectivity/source/commontools/TIndex \
86 connectivity/source/commontools/TIndexColumns \
87 connectivity/source/commontools/TIndexes \
88 connectivity/source/commontools/TKey \
89 connectivity/source/commontools/TKeyColumns \
90 connectivity/source/commontools/TKeys \
91 connectivity/source/commontools/TPrivilegesResultSet \
92 connectivity/source/commontools/TSkipDeletedSet \
93 connectivity/source/commontools/TSortIndex \
94 connectivity/source/commontools/TTableHelper \
95 connectivity/source/commontools/conncleanup \
96 connectivity/source/commontools/dbcharset \
97 connectivity/source/commontools/dbconversion \
98 connectivity/source/commontools/dbexception \
99 connectivity/source/commontools/dbmetadata \
100 connectivity/source/commontools/dbtools \
101 connectivity/source/commontools/dbtools2 \
102 connectivity/source/commontools/filtermanager \
103 connectivity/source/commontools/formattedcolumnvalue \
104 connectivity/source/commontools/parameters \
105 connectivity/source/commontools/paramwrapper \
106 connectivity/source/commontools/predicateinput \
107 connectivity/source/commontools/propertyids \
108 connectivity/source/commontools/sqlerror \
109 connectivity/source/commontools/statementcomposer \
110 connectivity/source/commontools/warningscontainer \
111 connectivity/source/parse/PColumn \
112 connectivity/source/parse/internalnode \
113 connectivity/source/parse/sqliterator \
114 connectivity/source/parse/sqlnode \
115 connectivity/source/resource/sharedresources \
116 connectivity/source/sdbcx/VCatalog \
117 connectivity/source/sdbcx/VCollection \
118 connectivity/source/sdbcx/VColumn \
119 connectivity/source/sdbcx/VDescriptor \
120 connectivity/source/sdbcx/VGroup \
121 connectivity/source/sdbcx/VIndex \
122 connectivity/source/sdbcx/VIndexColumn \
123 connectivity/source/sdbcx/VKey \
124 connectivity/source/sdbcx/VKeyColumn \
125 connectivity/source/sdbcx/VTable \
126 connectivity/source/sdbcx/VUser \
127 connectivity/source/sdbcx/VView \
130 # vim: set noet sw=4 ts=4: