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
,\
22 -I
$(SRCDIR
)/connectivity
/source
/inc \
25 #$(eval $(call gb_Library_set_precompiled_header,dbtools,$(SRCDIR)/connectivity/inc/pch/precompiled_dbtools))
27 $(eval
$(call gb_Library_use_external
,dbtools
,boost_headers
))
29 $(eval
$(call gb_Library_use_sdk_api
,dbtools
))
31 $(eval
$(call gb_Library_use_libraries
,dbtools
,\
36 $(if
$(ENABLE_JAVA
), \
46 ifeq ($(filter-out NETBSD MACOSX
,$(OS
)),)
47 $(eval
$(call gb_Library_use_libraries
,dbtools
,\
52 #connectivity/source/commontools/RowFunctionParser.cxx disable optimization?
54 $(eval
$(call gb_Library_add_exception_objects
,dbtools
,\
55 connectivity
/source
/simpledbt
/refbase \
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
72 $(eval
$(call gb_Library_add_exception_objects
,dbtools
,\
73 connectivity
/source
/commontools
/AutoRetrievingBase \
74 connectivity
/source
/commontools
/BlobHelper \
75 connectivity
/source
/commontools
/CommonTools \
76 connectivity
/source
/commontools
/ConnectionWrapper \
77 connectivity
/source
/commontools
/DateConversion \
78 connectivity
/source
/commontools
/DriversConfig \
79 connectivity
/source
/commontools
/FDatabaseMetaDataResultSet \
80 connectivity
/source
/commontools
/FDatabaseMetaDataResultSetMetaData \
81 connectivity
/source
/commontools
/FValue \
82 connectivity
/source
/commontools
/ParamterSubstitution \
83 connectivity
/source
/commontools
/RowFunctionParser \
84 connectivity
/source
/commontools
/TColumnsHelper \
85 connectivity
/source
/commontools
/TConnection \
86 connectivity
/source
/commontools
/TDatabaseMetaDataBase \
87 connectivity
/source
/commontools
/TIndex \
88 connectivity
/source
/commontools
/TIndexColumns \
89 connectivity
/source
/commontools
/TIndexes \
90 connectivity
/source
/commontools
/TKey \
91 connectivity
/source
/commontools
/TKeyColumns \
92 connectivity
/source
/commontools
/TKeys \
93 connectivity
/source
/commontools
/TPrivilegesResultSet \
94 connectivity
/source
/commontools
/TSkipDeletedSet \
95 connectivity
/source
/commontools
/TSortIndex \
96 connectivity
/source
/commontools
/TTableHelper \
97 connectivity
/source
/commontools
/conncleanup \
98 connectivity
/source
/commontools
/dbcharset \
99 connectivity
/source
/commontools
/dbconversion \
100 connectivity
/source
/commontools
/dbexception \
101 connectivity
/source
/commontools
/dbmetadata \
102 connectivity
/source
/commontools
/dbtools \
103 connectivity
/source
/commontools
/dbtools2 \
104 connectivity
/source
/commontools
/filtermanager \
105 connectivity
/source
/commontools
/formattedcolumnvalue \
106 connectivity
/source
/commontools
/parameters \
107 connectivity
/source
/commontools
/paramwrapper \
108 connectivity
/source
/commontools
/predicateinput \
109 connectivity
/source
/commontools
/propertyids \
110 connectivity
/source
/commontools
/sqlerror \
111 connectivity
/source
/commontools
/statementcomposer \
112 connectivity
/source
/commontools
/warningscontainer \
113 connectivity
/source
/parse
/PColumn \
114 connectivity
/source
/parse
/internalnode \
115 connectivity
/source
/parse
/sqliterator \
116 connectivity
/source
/parse
/sqlnode \
117 connectivity
/source
/resource
/sharedresources \
118 connectivity
/source
/sdbcx
/VCatalog \
119 connectivity
/source
/sdbcx
/VCollection \
120 connectivity
/source
/sdbcx
/VColumn \
121 connectivity
/source
/sdbcx
/VDescriptor \
122 connectivity
/source
/sdbcx
/VGroup \
123 connectivity
/source
/sdbcx
/VIndex \
124 connectivity
/source
/sdbcx
/VIndexColumn \
125 connectivity
/source
/sdbcx
/VKey \
126 connectivity
/source
/sdbcx
/VKeyColumn \
127 connectivity
/source
/sdbcx
/VTable \
128 connectivity
/source
/sdbcx
/VUser \
129 connectivity
/source
/sdbcx
/VView \
130 connectivity
/source
/simpledbt
/charset_s \
131 connectivity
/source
/simpledbt
/dbtfactory \
132 connectivity
/source
/simpledbt
/parsenode_s \
133 connectivity
/source
/simpledbt
/parser_s \
134 connectivity
/source
/simpledbt
/staticdbtools_s \
137 # vim: set noet sw=4 ts=4: