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