xref: /trunk/main/dbaccess/Library_sdbt.mk (revision 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)
1*b63233d8Sdamjan###############################################################
2*b63233d8Sdamjan#
3*b63233d8Sdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4*b63233d8Sdamjan#  or more contributor license agreements.  See the NOTICE file
5*b63233d8Sdamjan#  distributed with this work for additional information
6*b63233d8Sdamjan#  regarding copyright ownership.  The ASF licenses this file
7*b63233d8Sdamjan#  to you under the Apache License, Version 2.0 (the
8*b63233d8Sdamjan#  "License"); you may not use this file except in compliance
9*b63233d8Sdamjan#  with the License.  You may obtain a copy of the License at
10*b63233d8Sdamjan#
11*b63233d8Sdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12*b63233d8Sdamjan#
13*b63233d8Sdamjan#  Unless required by applicable law or agreed to in writing,
14*b63233d8Sdamjan#  software distributed under the License is distributed on an
15*b63233d8Sdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*b63233d8Sdamjan#  KIND, either express or implied.  See the License for the
17*b63233d8Sdamjan#  specific language governing permissions and limitations
18*b63233d8Sdamjan#  under the License.
19*b63233d8Sdamjan#
20*b63233d8Sdamjan###############################################################
21*b63233d8Sdamjan
22*b63233d8Sdamjan
23*b63233d8Sdamjan
24*b63233d8Sdamjan$(eval $(call gb_Library_Library,sdbt))
25*b63233d8Sdamjan$(eval $(call gb_Library_add_package_headers,sdbt,dbaccess_inc))
26*b63233d8Sdamjan
27*b63233d8Sdamjan
28*b63233d8Sdamjan$(eval $(call gb_Library_set_componentfile,sdbt,dbaccess/util/sdbt))
29*b63233d8Sdamjan
30*b63233d8Sdamjan$(eval $(call gb_Library_add_api,sdbt,\
31*b63233d8Sdamjan    udkapi \
32*b63233d8Sdamjan    offapi \
33*b63233d8Sdamjan))
34*b63233d8Sdamjan
35*b63233d8Sdamjan$(eval $(call gb_Library_set_include,sdbt,\
36*b63233d8Sdamjan    -I$(SRCDIR)/dbaccess/inc \
37*b63233d8Sdamjan    -I$(SRCDIR)/dbaccess/source/sdbtools/inc \
38*b63233d8Sdamjan    -I$(SRCDIR)/dbaccess/source/inc \
39*b63233d8Sdamjan    -I$(SRCDIR)/dbaccess/inc/pch \
40*b63233d8Sdamjan    $$(INCLUDE) \
41*b63233d8Sdamjan))
42*b63233d8Sdamjan
43*b63233d8Sdamjan$(eval $(call gb_Library_add_linked_libs,sdbt,\
44*b63233d8Sdamjan    tl \
45*b63233d8Sdamjan    cppuhelper \
46*b63233d8Sdamjan    cppu \
47*b63233d8Sdamjan    comphelper \
48*b63233d8Sdamjan    utl \
49*b63233d8Sdamjan    sal \
50*b63233d8Sdamjan    stl \
51*b63233d8Sdamjan    dbtools \
52*b63233d8Sdamjan    $(gb_STDLIBS) \
53*b63233d8Sdamjan))
54*b63233d8Sdamjan
55*b63233d8Sdamjan$(eval $(call gb_Library_add_exception_objects,sdbt,\
56*b63233d8Sdamjan    dbaccess/source/sdbtools/connection/connectiontools \
57*b63233d8Sdamjan    dbaccess/source/sdbtools/connection/tablename \
58*b63233d8Sdamjan    dbaccess/source/sdbtools/connection/objectnames \
59*b63233d8Sdamjan    dbaccess/source/sdbtools/connection/datasourcemetadata \
60*b63233d8Sdamjan    dbaccess/source/sdbtools/misc/sdbt_services \
61*b63233d8Sdamjan    dbaccess/source/sdbtools/misc/module_sdbt \
62*b63233d8Sdamjan))
63*b63233d8Sdamjan
64*b63233d8Sdamjan$(eval $(call gb_Library_add_noexception_objects,sdbt, \
65*b63233d8Sdamjan    dbaccess/source/shared/sdbtstrings \
66*b63233d8Sdamjan))
67*b63233d8Sdamjan
68*b63233d8Sdamjan# vim: set noet sw=4 ts=4:
69