xref: /aoo42x/main/automation/Library_communi.mk (revision fb02ff42)
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,communi))
25
26$(eval $(call gb_Library_add_precompiled_header,communi,$(SRCDIR)/automation/inc/pch/precompiled_automation))
27
28$(eval $(call gb_Library_add_package_headers,communi,automation_inc))
29
30$(eval $(call gb_Library_set_include,communi,\
31        $$(INCLUDE) \
32	-I$(SRCDIR)/automation/inc \
33	-I$(SRCDIR)/automation/inc/pch \
34	-I$(SRCDIR)/automation/source/inc \
35))
36
37$(eval $(call gb_Library_add_defs,communi,\
38	-DAUTOMATION_DLLIMPLEMENTATION \
39))
40
41$(eval $(call gb_Library_add_api,communi,\
42	offapi \
43	udkapi \
44))
45
46$(eval $(call gb_Library_add_linked_libs,communi,\
47	sal \
48	simplecm \
49	svl \
50	tl \
51	vcl \
52	vos3 \
53	$(gb_STDLIBS) \
54))
55
56ifeq ($(GUI),WNT)
57$(eval $(call gb_Library_add_linked_libs,communi,\
58	advapi32 \
59	gdi32 \
60))
61endif
62
63$(eval $(call gb_Library_add_noexception_objects,communi,\
64	automation/source/communi/communi \
65))
66
67
68# vim: set noet sw=4 ts=4:
69