xref: /trunk/main/fpicker/Library_fps_aqua.mk (revision 7290151e)
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,fps_aqua))
25
26$(eval $(call gb_Library_set_componentfile,fps_aqua,fpicker/source/aqua/fps_aqua))
27
28$(eval $(call gb_Library_set_include,fps_aqua,\
29        $$(INCLUDE) \
30	-I$(SRCDIR)/fpicker/inc/pch \
31))
32
33$(eval $(call gb_Library_add_libs,fps_aqua,\
34    -framework Cocoa \
35    -framework Carbon \
36    -framework CoreFoundation \
37))
38
39$(eval $(call gb_Library_add_api,fps_aqua,\
40	offapi \
41	udkapi \
42))
43
44$(eval $(call gb_Library_add_linked_libs,fps_aqua,\
45	cppu \
46	cppuhelper \
47	sal \
48	tl \
49	vcl \
50	$(gb_STDLIBS) \
51))
52
53$(eval $(call gb_Library_add_exception_objects,fps_aqua,\
54	fpicker/source/aqua/resourceprovider \
55	fpicker/source/aqua/FPentry \
56	fpicker/source/aqua/SalAquaPicker \
57	fpicker/source/aqua/SalAquaFilePicker \
58	fpicker/source/aqua/SalAquaFolderPicker \
59	fpicker/source/aqua/CFStringUtilities \
60	fpicker/source/aqua/FilterHelper \
61	fpicker/source/aqua/ControlHelper \
62	fpicker/source/aqua/NSString_OOoAdditions \
63	fpicker/source/aqua/NSURL_OOoAdditions \
64	fpicker/source/aqua/AquaFilePickerDelegate \
65))
66
67$(eval $(call gb_Library_add_cxxflags,fps_aqua,\
68    -x objective-c++ \
69))
70
71# vim: set noet sw=4 ts=4:
72