xref: /trunk/main/dbaccess/Library_dbaxml.mk (revision d2992cc17a5536db9d9cad92e33116a6ace952cf)
1###############################################################
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20###############################################################
21
22
23
24$(eval $(call gb_Library_Library,dbaxml))
25$(eval $(call gb_Library_add_precompiled_header,dbaxml,$(SRCDIR)/dbaccess/inc/pch/precompiled_dbaxml))
26
27$(eval $(call gb_Library_set_componentfile,dbaxml,dbaccess/source/filter/xml/dbaxml))
28
29$(eval $(call gb_Library_add_api,dbaxml,\
30    udkapi \
31    offapi \
32))
33
34$(eval $(call gb_Library_set_include,dbaxml,\
35    -I$(SRCDIR)/dbaccess/inc \
36    -I$(SRCDIR)/dbaccess/source/filter/xml \
37    -I$(SRCDIR)/dbaccess/source/inc \
38    -I$(SRCDIR)/dbaccess/inc/pch \
39    $$(INCLUDE) \
40))
41
42$(eval $(call gb_Library_add_linked_libs,dbaxml,\
43    tl \
44    svl \
45    cppuhelper \
46    cppu \
47    comphelper \
48    utl \
49    vcl \
50    sal \
51    sfx \
52    dbtools \
53    xo \
54    sot \
55    ootk \
56    dba \
57    stl \
58    $(gb_STDLIBS) \
59))
60
61$(eval $(call gb_Library_add_exception_objects,dbaxml,\
62    dbaccess/source/filter/xml/xmlfilter                           \
63    dbaccess/source/filter/xml/dbloader2                           \
64    dbaccess/source/filter/xml/xmlDatabase                         \
65    dbaccess/source/filter/xml/xmlDataSource                       \
66    dbaccess/source/filter/xml/xmlTableFilterPattern       \
67    dbaccess/source/filter/xml/xmlTableFilterList          \
68    dbaccess/source/filter/xml/xmlDataSourceInfo           \
69    dbaccess/source/filter/xml/xmlDataSourceSetting        \
70    dbaccess/source/filter/xml/xmlDataSourceSettings       \
71    dbaccess/source/filter/xml/xmlDocuments                        \
72    dbaccess/source/filter/xml/xmlComponent                        \
73    dbaccess/source/filter/xml/xmlHierarchyCollection      \
74    dbaccess/source/filter/xml/xmlLogin                            \
75    dbaccess/source/filter/xml/xmlExport                           \
76    dbaccess/source/filter/xml/xmlQuery                            \
77    dbaccess/source/filter/xml/xmlTable                            \
78    dbaccess/source/filter/xml/xmlColumn                           \
79    dbaccess/source/filter/xml/xmlStyleImport                      \
80    dbaccess/source/filter/xml/xmlHelper                           \
81    dbaccess/source/filter/xml/xmlAutoStyle                        \
82    dbaccess/source/filter/xml/xmlConnectionData           \
83    dbaccess/source/filter/xml/xmlDatabaseDescription      \
84    dbaccess/source/filter/xml/xmlFileBasedDatabase        \
85    dbaccess/source/filter/xml/xmlServerDatabase           \
86    dbaccess/source/filter/xml/xmlConnectionResource       \
87    dbaccess/source/filter/xml/xmlservices \
88))
89
90$(eval $(call gb_Library_add_noexception_objects,dbaxml, \
91    dbaccess/source/shared/flt_reghelper \
92    dbaccess/source/shared/xmlstrings \
93))
94
95# vim: set noet sw=4 ts=4:
96