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