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 \
17 $(eval
$(call gb_Library_set_componentfile
,dbtools
,connectivity
/source
/dbtools
/dbtools
))
19 $(eval
$(call gb_Library_set_include
,dbtools
,\
21 -I
$(SRCDIR
)/connectivity
/inc \
22 -I
$(SRCDIR
)/connectivity
/source
/inc \
25 #$(eval $(call gb_Library_set_precompiled_header,dbtools,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
,\
57 $(eval
$(call gb_Library_add_grammars
,dbtools
,\
58 connectivity
/source
/parse
/sqlbison \
61 $(call gb_YaccTarget_get_target
,connectivity
/source
/parse
/sqlbison
) : T_YACCFLAGS
:= -d
-l
-pSQLyy
-bsql
63 $(eval
$(call gb_Library_add_scanners
,dbtools
,\
64 connectivity
/source
/parse
/sqlflex \
67 $(call gb_LexTarget_get_scanner_target
,connectivity
/source
/parse
/sqlflex
) : T_LEXFLAGS
:= -i
-8 -PSQLyy
-L
69 $(eval
$(call gb_Library_add_exception_objects
,dbtools
,\
70 connectivity
/source
/commontools
/AutoRetrievingBase \
71 connectivity
/source
/commontools
/BlobHelper \
72 connectivity
/source
/commontools
/CommonTools \
73 connectivity
/source
/commontools
/ConnectionWrapper \
74 connectivity
/source
/commontools
/DateConversion \
75 connectivity
/source
/commontools
/DriversConfig \
76 connectivity
/source
/commontools
/FDatabaseMetaDataResultSet \
77 connectivity
/source
/commontools
/FDatabaseMetaDataResultSetMetaData \
78 connectivity
/source
/commontools
/FValue \
79 connectivity
/source
/commontools
/ParameterSubstitution \
80 connectivity
/source
/commontools
/RowFunctionParser \
81 connectivity
/source
/commontools
/TColumnsHelper \
82 connectivity
/source
/commontools
/TConnection \
83 connectivity
/source
/commontools
/TDatabaseMetaDataBase \
84 connectivity
/source
/commontools
/TIndex \
85 connectivity
/source
/commontools
/TIndexColumns \
86 connectivity
/source
/commontools
/TIndexes \
87 connectivity
/source
/commontools
/TKey \
88 connectivity
/source
/commontools
/TKeyColumns \
89 connectivity
/source
/commontools
/TKeys \
90 connectivity
/source
/commontools
/TPrivilegesResultSet \
91 connectivity
/source
/commontools
/TSkipDeletedSet \
92 connectivity
/source
/commontools
/TSortIndex \
93 connectivity
/source
/commontools
/TTableHelper \
94 connectivity
/source
/commontools
/conncleanup \
95 connectivity
/source
/commontools
/dbcharset \
96 connectivity
/source
/commontools
/dbconversion \
97 connectivity
/source
/commontools
/dbexception \
98 connectivity
/source
/commontools
/dbmetadata \
99 connectivity
/source
/commontools
/dbtools \
100 connectivity
/source
/commontools
/dbtools2 \
101 connectivity
/source
/commontools
/filtermanager \
102 connectivity
/source
/commontools
/formattedcolumnvalue \
103 connectivity
/source
/commontools
/parameters \
104 connectivity
/source
/commontools
/paramwrapper \
105 connectivity
/source
/commontools
/predicateinput \
106 connectivity
/source
/commontools
/propertyids \
107 connectivity
/source
/commontools
/sqlerror \
108 connectivity
/source
/commontools
/statementcomposer \
109 connectivity
/source
/commontools
/warningscontainer \
110 connectivity
/source
/parse
/PColumn \
111 connectivity
/source
/parse
/internalnode \
112 connectivity
/source
/parse
/sqliterator \
113 connectivity
/source
/parse
/sqlnode \
114 connectivity
/source
/resource
/sharedresources \
115 connectivity
/source
/sdbcx
/VCatalog \
116 connectivity
/source
/sdbcx
/VCollection \
117 connectivity
/source
/sdbcx
/VColumn \
118 connectivity
/source
/sdbcx
/VDescriptor \
119 connectivity
/source
/sdbcx
/VGroup \
120 connectivity
/source
/sdbcx
/VIndex \
121 connectivity
/source
/sdbcx
/VIndexColumn \
122 connectivity
/source
/sdbcx
/VKey \
123 connectivity
/source
/sdbcx
/VKeyColumn \
124 connectivity
/source
/sdbcx
/VTable \
125 connectivity
/source
/sdbcx
/VUser \
126 connectivity
/source
/sdbcx
/VView \
129 # vim: set noet sw=4 ts=4: