xref: /trunk/main/connectivity/Library_file.mk (revision 8cabe4bf769e51211ca422b8da03830b796ec88a)
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,file))
25
26$(eval $(call gb_Library_add_precompiled_header,file,$(SRCDIR)/connectivity/inc/pch/precompiled_file))
27
28$(eval $(call gb_Library_set_include,file,\
29        $$(INCLUDE) \
30    -I$(SRCDIR)/connectivity/inc \
31    -I$(SRCDIR)/connectivity/inc/pch \
32    -I$(SRCDIR)/connectivity/source/inc \
33    -I$(WORKDIR)/CustomTarget/connectivity/source/parse \
34))
35
36$(eval $(call gb_Library_add_api,file,\
37    offapi \
38    udkapi \
39))
40
41$(eval $(call gb_Library_add_defs,file,\
42        -DOOO_DLLIMPLEMENTATION_FILE \
43))
44
45$(eval $(call gb_Library_add_linked_libs,file,\
46    comphelper \
47    cppuhelper \
48    cppu \
49    dbtools \
50    sal \
51    stl \
52    svl \
53    tl \
54    ucbhelper \
55    utl \
56    vos3 \
57    $(gb_STDLIBS) \
58))
59
60
61$(eval $(call gb_Library_add_exception_objects,file,\
62    connectivity/source/drivers/file/FNoException \
63    connectivity/source/drivers/file/FConnection \
64    connectivity/source/drivers/file/FResultSetMetaData \
65    connectivity/source/drivers/file/FColumns \
66    connectivity/source/drivers/file/FTables \
67    connectivity/source/drivers/file/FTable \
68    connectivity/source/drivers/file/FCatalog \
69    connectivity/source/drivers/file/FResultSet \
70    connectivity/source/drivers/file/FStatement \
71    connectivity/source/drivers/file/FPreparedStatement \
72    connectivity/source/drivers/file/FDatabaseMetaData \
73    connectivity/source/drivers/file/FDriver \
74    connectivity/source/drivers/file/fanalyzer \
75    connectivity/source/drivers/file/fcomp \
76    connectivity/source/drivers/file/fcode \
77))
78
79$(eval $(call gb_Library_add_noexception_objects,file,\
80    connectivity/source/drivers/file/FStringFunctions \
81    connectivity/source/drivers/file/FDateFunctions \
82    connectivity/source/drivers/file/FNumericFunctions \
83    connectivity/source/drivers/file/quotedstring \
84))
85
86# vim: set noet sw=4 ts=4:
87