summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-05-23 08:13:17 +0200
committerDavid Tardon <dtardon@redhat.com>2012-05-29 07:24:45 +0200
commitd920667d0f0d88559c7502b6c920841fdb32f519 (patch)
tree5cde00016219bc0a55cbb978bff89a5e57cdfcfa /connectivity
parent073c630ab4f65cd0931ba82f31882a6bc87c95f6 (diff)
update gbuild function names
Change-Id: I0bca38ff0983fab3fa388cd0b4030caa520d10a5
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/Jar_ConnectivityTools.mk2
-rw-r--r--connectivity/Jar_sdbc_hsqldb.mk4
-rw-r--r--connectivity/JunitTest_complex.mk2
-rw-r--r--connectivity/Library_ado.mk4
-rw-r--r--connectivity/Library_calc.mk6
-rw-r--r--connectivity/Library_dbase.mk6
-rw-r--r--connectivity/Library_dbpool2.mk4
-rw-r--r--connectivity/Library_dbtools.mk8
-rw-r--r--connectivity/Library_evoab2.mk6
-rw-r--r--connectivity/Library_file.mk6
-rw-r--r--connectivity/Library_flat.mk6
-rw-r--r--connectivity/Library_hsqldb.mk4
-rw-r--r--connectivity/Library_jdbc.mk6
-rw-r--r--connectivity/Library_kab1.mk4
-rw-r--r--connectivity/Library_kabdrv1.mk4
-rw-r--r--connectivity/Library_macab1.mk4
-rw-r--r--connectivity/Library_macabdrv1.mk4
-rw-r--r--connectivity/Library_mozab.mk4
-rw-r--r--connectivity/Library_mozabdrv.mk6
-rw-r--r--connectivity/Library_mozbootstrap.mk4
-rw-r--r--connectivity/Library_mysql.mk4
-rw-r--r--connectivity/Library_odbc.mk4
-rw-r--r--connectivity/Library_odbcbase.mk6
-rw-r--r--connectivity/Library_postgresql-sdbc-impl.mk4
-rw-r--r--connectivity/Library_postgresql-sdbc.mk4
-rw-r--r--connectivity/Library_sdbc2.mk4
26 files changed, 60 insertions, 60 deletions
diff --git a/connectivity/Jar_ConnectivityTools.mk b/connectivity/Jar_ConnectivityTools.mk
index 0baee7c565a3..9841bcb2712b 100644
--- a/connectivity/Jar_ConnectivityTools.mk
+++ b/connectivity/Jar_ConnectivityTools.mk
@@ -27,7 +27,7 @@
$(eval $(call gb_Jar_Jar,ConnectivityTools))
-$(eval $(call gb_Jar_add_jars,ConnectivityTools,\
+$(eval $(call gb_Jar_use_jars,ConnectivityTools,\
$(OUTDIR)/bin/ridl.jar \
$(OUTDIR)/bin/unoil.jar \
$(OUTDIR)/bin/jurt.jar \
diff --git a/connectivity/Jar_sdbc_hsqldb.mk b/connectivity/Jar_sdbc_hsqldb.mk
index 0240ba206466..ea6df7bea4b8 100644
--- a/connectivity/Jar_sdbc_hsqldb.mk
+++ b/connectivity/Jar_sdbc_hsqldb.mk
@@ -28,11 +28,11 @@
$(eval $(call gb_Jar_Jar,sdbc_hsqldb))
ifeq ($(SYSTEM_HSQLDB),YES)
-$(eval $(call gb_Jar_add_jars,sdbc_hsqldb,\
+$(eval $(call gb_Jar_use_jars,sdbc_hsqldb,\
$(HSQLDB_JAR) \
))
else
-$(eval $(call gb_Jar_add_jars,sdbc_hsqldb,\
+$(eval $(call gb_Jar_use_jars,sdbc_hsqldb,\
$(OUTDIR)/bin/hsqldb.jar \
))
endif
diff --git a/connectivity/JunitTest_complex.mk b/connectivity/JunitTest_complex.mk
index f560c558d60a..c96d6886fd23 100644
--- a/connectivity/JunitTest_complex.mk
+++ b/connectivity/JunitTest_complex.mk
@@ -33,7 +33,7 @@ $(eval $(call gb_JunitTest_set_defs,connectivity_complex,\
))
# TODO: add use_externals to JunitTest
-$(eval $(call gb_JunitTest_add_jars,connectivity_complex,\
+$(eval $(call gb_JunitTest_use_jars,connectivity_complex,\
$(OUTDIR)/bin/jurt.jar \
$(OUTDIR)/bin/OOoRunner.jar \
$(OUTDIR)/bin/ridl.jar \
diff --git a/connectivity/Library_ado.mk b/connectivity/Library_ado.mk
index 254ff65c9c4f..a4f2f41d5431 100644
--- a/connectivity/Library_ado.mk
+++ b/connectivity/Library_ado.mk
@@ -34,7 +34,7 @@ $(eval $(call gb_Library_set_include,ado,\
$$(INCLUDE) \
))
-$(eval $(call gb_Library_add_api,ado,\
+$(eval $(call gb_Library_use_api,ado,\
offapi \
udkapi \
))
@@ -45,7 +45,7 @@ $(eval $(call gb_Library_add_cxxflags,ado,\
))
endif
-$(eval $(call gb_Library_add_linked_libs,ado,\
+$(eval $(call gb_Library_use_libraries,ado,\
cppu \
cppuhelper \
sal \
diff --git a/connectivity/Library_calc.mk b/connectivity/Library_calc.mk
index cb997fa42d92..8ad66509ec84 100644
--- a/connectivity/Library_calc.mk
+++ b/connectivity/Library_calc.mk
@@ -27,13 +27,13 @@
$(eval $(call gb_Library_Library,calc))
-$(eval $(call gb_Library_add_package_headers,calc,\
+$(eval $(call gb_Library_use_packages,calc,\
connectivity_generated \
))
$(eval $(call gb_Library_set_componentfile,calc,connectivity/source/drivers/calc/calc))
-$(eval $(call gb_Library_add_api,calc,\
+$(eval $(call gb_Library_use_api,calc,\
offapi \
udkapi \
))
@@ -44,7 +44,7 @@ $(eval $(call gb_Library_set_include,calc,\
-I$(SRCDIR)/connectivity/source/inc \
))
-$(eval $(call gb_Library_add_linked_libs,calc,\
+$(eval $(call gb_Library_use_libraries,calc,\
cppu \
cppuhelper \
svl \
diff --git a/connectivity/Library_dbase.mk b/connectivity/Library_dbase.mk
index c125fd1ff52d..ef5402fc0b63 100644
--- a/connectivity/Library_dbase.mk
+++ b/connectivity/Library_dbase.mk
@@ -27,13 +27,13 @@
$(eval $(call gb_Library_Library,dbase))
-$(eval $(call gb_Library_add_package_headers,calc,\
+$(eval $(call gb_Library_use_packages,calc,\
connectivity_generated \
))
$(eval $(call gb_Library_set_componentfile,dbase,connectivity/source/drivers/dbase/dbase))
-$(eval $(call gb_Library_add_api,dbase,\
+$(eval $(call gb_Library_use_api,dbase,\
offapi \
udkapi \
))
@@ -44,7 +44,7 @@ $(eval $(call gb_Library_set_include,dbase,\
-I$(SRCDIR)/connectivity/source/inc \
))
-$(eval $(call gb_Library_add_linked_libs,dbase,\
+$(eval $(call gb_Library_use_libraries,dbase,\
cppu \
cppuhelper \
svl \
diff --git a/connectivity/Library_dbpool2.mk b/connectivity/Library_dbpool2.mk
index 821a2294697f..008a6581e802 100644
--- a/connectivity/Library_dbpool2.mk
+++ b/connectivity/Library_dbpool2.mk
@@ -35,12 +35,12 @@ $(eval $(call gb_Library_set_include,dbpool2,\
-I$(SRCDIR)/connectivity/source/inc \
))
-$(eval $(call gb_Library_add_api,dbpool2,\
+$(eval $(call gb_Library_use_api,dbpool2,\
offapi \
udkapi \
))
-$(eval $(call gb_Library_add_linked_libs,dbpool2,\
+$(eval $(call gb_Library_use_libraries,dbpool2,\
comphelper \
cppu \
cppuhelper \
diff --git a/connectivity/Library_dbtools.mk b/connectivity/Library_dbtools.mk
index da4995bc4526..33de116632cd 100644
--- a/connectivity/Library_dbtools.mk
+++ b/connectivity/Library_dbtools.mk
@@ -27,7 +27,7 @@
$(eval $(call gb_Library_Library,dbtools))
-$(eval $(call gb_Library_add_package_headers,dbtools,\
+$(eval $(call gb_Library_use_packages,dbtools,\
connectivity_inc \
))
@@ -45,12 +45,12 @@ $(eval $(call gb_Library_set_include,dbtools,\
-I$(dir $(call gb_YaccTarget_get_target,connectivity/source/parse/sqlbison)) \
))
-$(eval $(call gb_Library_add_api,dbtools,\
+$(eval $(call gb_Library_use_api,dbtools,\
offapi \
udkapi \
))
-$(eval $(call gb_Library_add_linked_libs,dbtools,\
+$(eval $(call gb_Library_use_libraries,dbtools,\
cppu \
cppuhelper \
sal \
@@ -64,7 +64,7 @@ $(eval $(call gb_Library_add_linked_libs,dbtools,\
))
ifeq ($(filter-out NETBSD MACOSX,$(OS)),)
-$(eval $(call gb_Library_add_linked_libs,dbtools,\
+$(eval $(call gb_Library_use_libraries,dbtools,\
ucbhelper \
))
endif
diff --git a/connectivity/Library_evoab2.mk b/connectivity/Library_evoab2.mk
index 149783857bf7..05973c7859ec 100644
--- a/connectivity/Library_evoab2.mk
+++ b/connectivity/Library_evoab2.mk
@@ -27,7 +27,7 @@
$(eval $(call gb_Library_Library,evoab2))
-$(eval $(call gb_Library_add_package_headers,calc,\
+$(eval $(call gb_Library_use_packages,calc,\
connectivity_generated \
))
@@ -43,12 +43,12 @@ $(eval $(call gb_Library_use_externals,evoab2,\
$(eval $(call gb_Library_set_componentfile,evoab2,connectivity/source/drivers/evoab2/evoab))
-$(eval $(call gb_Library_add_api,evoab2,\
+$(eval $(call gb_Library_use_api,evoab2,\
offapi \
udkapi \
))
-$(eval $(call gb_Library_add_linked_libs,evoab2,\
+$(eval $(call gb_Library_use_libraries,evoab2,\
comphelper \
cppu \
cppuhelper \
diff --git a/connectivity/Library_file.mk b/connectivity/Library_file.mk
index 52272315a375..72abb7cb0b6d 100644
--- a/connectivity/Library_file.mk
+++ b/connectivity/Library_file.mk
@@ -27,7 +27,7 @@
$(eval $(call gb_Library_Library,file))
-$(eval $(call gb_Library_add_package_headers,calc,\
+$(eval $(call gb_Library_use_packages,calc,\
connectivity_generated \
))
@@ -41,12 +41,12 @@ $(eval $(call gb_Library_set_include,file,\
-I$(SRCDIR)/connectivity/source/inc \
))
-$(eval $(call gb_Library_add_api,file,\
+$(eval $(call gb_Library_use_api,file,\
offapi \
udkapi \
))
-$(eval $(call gb_Library_add_linked_libs,file,\
+$(eval $(call gb_Library_use_libraries,file,\
cppu \
cppuhelper \
svl \
diff --git a/connectivity/Library_flat.mk b/connectivity/Library_flat.mk
index 362ae7d82b9d..02b110076acb 100644
--- a/connectivity/Library_flat.mk
+++ b/connectivity/Library_flat.mk
@@ -27,13 +27,13 @@
$(eval $(call gb_Library_Library,flat))
-$(eval $(call gb_Library_add_package_headers,calc,\
+$(eval $(call gb_Library_use_packages,calc,\
connectivity_generated \
))
$(eval $(call gb_Library_set_componentfile,flat,connectivity/source/drivers/flat/flat))
-$(eval $(call gb_Library_add_api,flat,\
+$(eval $(call gb_Library_use_api,flat,\
offapi \
udkapi \
))
@@ -44,7 +44,7 @@ $(eval $(call gb_Library_set_include,flat,\
-I$(SRCDIR)/connectivity/source/inc \
))
-$(eval $(call gb_Library_add_linked_libs,flat,\
+$(eval $(call gb_Library_use_libraries,flat,\
cppu \
cppuhelper \
tl \
diff --git a/connectivity/Library_hsqldb.mk b/connectivity/Library_hsqldb.mk
index fda66122dbaf..8421818195d9 100644
--- a/connectivity/Library_hsqldb.mk
+++ b/connectivity/Library_hsqldb.mk
@@ -36,12 +36,12 @@ $(eval $(call gb_Library_use_externals,hsqldb,\
hsqldb \
))
-$(eval $(call gb_Library_add_api,hsqldb,\
+$(eval $(call gb_Library_use_api,hsqldb,\
offapi \
udkapi \
))
-$(eval $(call gb_Library_add_linked_libs,hsqldb,\
+$(eval $(call gb_Library_use_libraries,hsqldb,\
comphelper \
cppu \
cppuhelper \
diff --git a/connectivity/Library_jdbc.mk b/connectivity/Library_jdbc.mk
index 8a6be25c512a..04d4d39c5c38 100644
--- a/connectivity/Library_jdbc.mk
+++ b/connectivity/Library_jdbc.mk
@@ -27,13 +27,13 @@
$(eval $(call gb_Library_Library,jdbc))
-$(eval $(call gb_Library_add_package_headers,calc,\
+$(eval $(call gb_Library_use_packages,calc,\
connectivity_generated \
))
$(eval $(call gb_Library_set_componentfile,jdbc,connectivity/source/drivers/jdbc/jdbc))
-$(eval $(call gb_Library_add_api,jdbc,\
+$(eval $(call gb_Library_use_api,jdbc,\
offapi \
udkapi \
))
@@ -44,7 +44,7 @@ $(eval $(call gb_Library_set_include,jdbc,\
-I$(SRCDIR)/connectivity/source/inc \
))
-$(eval $(call gb_Library_add_linked_libs,jdbc,\
+$(eval $(call gb_Library_use_libraries,jdbc,\
cppu \
cppuhelper \
sal \
diff --git a/connectivity/Library_kab1.mk b/connectivity/Library_kab1.mk
index 6df1d79a9f18..d7705d8332b0 100644
--- a/connectivity/Library_kab1.mk
+++ b/connectivity/Library_kab1.mk
@@ -31,12 +31,12 @@ $(eval $(call gb_Library_use_externals,kab1,kde))
$(eval $(call gb_Library_set_componentfile,kab1,connectivity/source/drivers/kab/kab1))
-$(eval $(call gb_Library_add_api,kab1,\
+$(eval $(call gb_Library_use_api,kab1,\
offapi \
udkapi \
))
-$(eval $(call gb_Library_add_linked_libs,kab1,\
+$(eval $(call gb_Library_use_libraries,kab1,\
comphelper \
cppu \
cppuhelper \
diff --git a/connectivity/Library_kabdrv1.mk b/connectivity/Library_kabdrv1.mk
index 5613cbcaaade..11205361e12f 100644
--- a/connectivity/Library_kabdrv1.mk
+++ b/connectivity/Library_kabdrv1.mk
@@ -27,7 +27,7 @@
$(eval $(call gb_Library_Library,kabdrv1))
-$(eval $(call gb_Library_add_api,kabdrv1,\
+$(eval $(call gb_Library_use_api,kabdrv1,\
offapi \
udkapi \
))
@@ -36,7 +36,7 @@ $(eval $(call gb_Library_add_libs,kabdrv1,\
-lkabc \
))
-$(eval $(call gb_Library_add_linked_libs,kabdrv1,\
+$(eval $(call gb_Library_use_libraries,kabdrv1,\
cppu \
cppuhelper \
sal \
diff --git a/connectivity/Library_macab1.mk b/connectivity/Library_macab1.mk
index 1024764b2030..d8d87c2d33e6 100644
--- a/connectivity/Library_macab1.mk
+++ b/connectivity/Library_macab1.mk
@@ -29,12 +29,12 @@ $(eval $(call gb_Library_Library,macab1))
$(eval $(call gb_Library_set_componentfile,macab1,connectivity/source/drivers/macab/macab1))
-$(eval $(call gb_Library_add_api,macab1,\
+$(eval $(call gb_Library_use_api,macab1,\
offapi \
udkapi \
))
-$(eval $(call gb_Library_add_linked_libs,macab1,\
+$(eval $(call gb_Library_use_libraries,macab1,\
cppu \
cppuhelper \
dbtools \
diff --git a/connectivity/Library_macabdrv1.mk b/connectivity/Library_macabdrv1.mk
index 35827353c558..fde08dcae31c 100644
--- a/connectivity/Library_macabdrv1.mk
+++ b/connectivity/Library_macabdrv1.mk
@@ -27,7 +27,7 @@
$(eval $(call gb_Library_Library,macabdrv1))
-$(eval $(call gb_Library_add_api,macabdrv1,\
+$(eval $(call gb_Library_use_api,macabdrv1,\
offapi \
udkapi \
))
@@ -37,7 +37,7 @@ $(eval $(call gb_Library_add_libs,macabdrv1,\
-framework AddressBook \
))
-$(eval $(call gb_Library_add_linked_libs,macabdrv1,\
+$(eval $(call gb_Library_use_libraries,macabdrv1,\
comphelper \
cppu \
cppuhelper \
diff --git a/connectivity/Library_mozab.mk b/connectivity/Library_mozab.mk
index 738755a95d5f..4339ebac3728 100644
--- a/connectivity/Library_mozab.mk
+++ b/connectivity/Library_mozab.mk
@@ -34,12 +34,12 @@ $(eval $(call gb_Library_set_include,mozab2,\
$$(INCLUDE) \
))
-$(eval $(call gb_Library_add_api,mozab2,\
+$(eval $(call gb_Library_use_api,mozab2,\
offapi \
udkapi \
))
-$(eval $(call gb_Library_add_linked_libs,mozab2,\
+$(eval $(call gb_Library_use_libraries,mozab2,\
cppu \
cppuhelper \
dbtools \
diff --git a/connectivity/Library_mozabdrv.mk b/connectivity/Library_mozabdrv.mk
index 7d5adf5e6e95..e33e76276d7f 100644
--- a/connectivity/Library_mozabdrv.mk
+++ b/connectivity/Library_mozabdrv.mk
@@ -27,7 +27,7 @@
$(eval $(call gb_Library_Library,mozabdrv))
-$(eval $(call gb_Library_add_package_headers,calc,\
+$(eval $(call gb_Library_use_packages,calc,\
connectivity_generated \
))
@@ -39,12 +39,12 @@ $(eval $(call gb_Library_set_include,mozabdrv,\
$$(INCLUDE) \
))
-$(eval $(call gb_Library_add_api,mozabdrv,\
+$(eval $(call gb_Library_use_api,mozabdrv,\
offapi \
udkapi \
))
-$(eval $(call gb_Library_add_linked_libs,mozabdrv,\
+$(eval $(call gb_Library_use_libraries,mozabdrv,\
comphelper \
cppu \
cppuhelper \
diff --git a/connectivity/Library_mozbootstrap.mk b/connectivity/Library_mozbootstrap.mk
index 38d39c9d9124..2a4793c3b733 100644
--- a/connectivity/Library_mozbootstrap.mk
+++ b/connectivity/Library_mozbootstrap.mk
@@ -38,12 +38,12 @@ $(eval $(call gb_Library_set_include,mozbootstrap,\
$$(INCLUDE) \
))
-$(eval $(call gb_Library_add_api,mozbootstrap,\
+$(eval $(call gb_Library_use_api,mozbootstrap,\
offapi \
udkapi \
))
-$(eval $(call gb_Library_add_linked_libs,mozbootstrap,\
+$(eval $(call gb_Library_use_libraries,mozbootstrap,\
comphelper \
cppu \
cppuhelper \
diff --git a/connectivity/Library_mysql.mk b/connectivity/Library_mysql.mk
index 9838b142e85e..73de22f1181c 100644
--- a/connectivity/Library_mysql.mk
+++ b/connectivity/Library_mysql.mk
@@ -29,7 +29,7 @@ $(eval $(call gb_Library_Library,mysql))
$(eval $(call gb_Library_set_componentfile,mysql,connectivity/source/drivers/mysql/mysql))
-$(eval $(call gb_Library_add_api,mysql,\
+$(eval $(call gb_Library_use_api,mysql,\
offapi \
udkapi \
))
@@ -39,7 +39,7 @@ $(eval $(call gb_Library_set_include,mysql,\
-I$(SRCDIR)/connectivity/source/inc \
))
-$(eval $(call gb_Library_add_linked_libs,mysql,\
+$(eval $(call gb_Library_use_libraries,mysql,\
cppu \
cppuhelper \
sal \
diff --git a/connectivity/Library_odbc.mk b/connectivity/Library_odbc.mk
index e78f9dc5ce48..fbb2a9bd2d32 100644
--- a/connectivity/Library_odbc.mk
+++ b/connectivity/Library_odbc.mk
@@ -29,7 +29,7 @@ $(eval $(call gb_Library_Library,odbc))
$(eval $(call gb_Library_set_componentfile,odbc,connectivity/source/drivers/odbc/odbc))
-$(eval $(call gb_Library_add_api,odbc,\
+$(eval $(call gb_Library_use_api,odbc,\
offapi \
udkapi \
))
@@ -42,7 +42,7 @@ $(eval $(call gb_Library_set_include,odbc,\
$(eval $(call gb_Library_use_external,odbc,odbc_headers))
-$(eval $(call gb_Library_add_linked_libs,odbc,\
+$(eval $(call gb_Library_use_libraries,odbc,\
odbcbase \
cppu \
cppuhelper \
diff --git a/connectivity/Library_odbcbase.mk b/connectivity/Library_odbcbase.mk
index 1bf2500dad37..ffa62c0a1ddc 100644
--- a/connectivity/Library_odbcbase.mk
+++ b/connectivity/Library_odbcbase.mk
@@ -27,11 +27,11 @@
$(eval $(call gb_Library_Library,odbcbase))
-$(eval $(call gb_Library_add_package_headers,calc,\
+$(eval $(call gb_Library_use_packages,calc,\
connectivity_generated \
))
-$(eval $(call gb_Library_add_api,odbcbase,\
+$(eval $(call gb_Library_use_api,odbcbase,\
offapi \
udkapi \
))
@@ -48,7 +48,7 @@ $(eval $(call gb_Library_add_defs,odbcbase,\
$(eval $(call gb_Library_use_external,odbcbase,odbc_headers))
-$(eval $(call gb_Library_add_linked_libs,odbcbase,\
+$(eval $(call gb_Library_use_libraries,odbcbase,\
cppu \
cppuhelper \
sal \
diff --git a/connectivity/Library_postgresql-sdbc-impl.mk b/connectivity/Library_postgresql-sdbc-impl.mk
index a401e1d76cc7..9de5dc4598a8 100644
--- a/connectivity/Library_postgresql-sdbc-impl.mk
+++ b/connectivity/Library_postgresql-sdbc-impl.mk
@@ -33,12 +33,12 @@ $(eval $(call gb_Library_add_defs,postgresql-sdbc-impl,\
-DPQ_SDBC_MICRO=2 \
))
-$(eval $(call gb_Library_add_api,postgresql-sdbc-impl,\
+$(eval $(call gb_Library_use_api,postgresql-sdbc-impl,\
offapi \
udkapi \
))
-$(eval $(call gb_Library_add_linked_libs,postgresql-sdbc-impl,\
+$(eval $(call gb_Library_use_libraries,postgresql-sdbc-impl,\
cppu \
cppuhelper \
sal \
diff --git a/connectivity/Library_postgresql-sdbc.mk b/connectivity/Library_postgresql-sdbc.mk
index fe79128069ce..292db43d84f2 100644
--- a/connectivity/Library_postgresql-sdbc.mk
+++ b/connectivity/Library_postgresql-sdbc.mk
@@ -33,12 +33,12 @@ $(eval $(call gb_Library_add_defs,postgresql-sdbc,\
-DPQ_SDBC_MICRO=2 \
))
-$(eval $(call gb_Library_add_api,postgresql-sdbc,\
+$(eval $(call gb_Library_use_api,postgresql-sdbc,\
offapi \
udkapi \
))
-$(eval $(call gb_Library_add_linked_libs,postgresql-sdbc,\
+$(eval $(call gb_Library_use_libraries,postgresql-sdbc,\
cppu \
cppuhelper \
sal \
diff --git a/connectivity/Library_sdbc2.mk b/connectivity/Library_sdbc2.mk
index 59ec716bbd43..cb43941c5f51 100644
--- a/connectivity/Library_sdbc2.mk
+++ b/connectivity/Library_sdbc2.mk
@@ -30,7 +30,7 @@ $(eval $(call gb_Library_Library,sdbc2))
$(eval $(call gb_Library_set_componentfile,sdbc2,connectivity/source/manager/sdbc2))
-$(eval $(call gb_Library_add_api,sdbc2,\
+$(eval $(call gb_Library_use_api,sdbc2,\
offapi \
udkapi \
))
@@ -40,7 +40,7 @@ $(eval $(call gb_Library_set_include,sdbc2,\
-I$(SRCDIR)/connectivity/inc \
))
-$(eval $(call gb_Library_add_linked_libs,sdbc2,\
+$(eval $(call gb_Library_use_libraries,sdbc2,\
cppu \
cppuhelper \
comphelper \