xref: /trunk/main/automation/Library_communi.mk (revision 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)
1*fb02ff42Sdamjan#**************************************************************
2*fb02ff42Sdamjan#
3*fb02ff42Sdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4*fb02ff42Sdamjan#  or more contributor license agreements.  See the NOTICE file
5*fb02ff42Sdamjan#  distributed with this work for additional information
6*fb02ff42Sdamjan#  regarding copyright ownership.  The ASF licenses this file
7*fb02ff42Sdamjan#  to you under the Apache License, Version 2.0 (the
8*fb02ff42Sdamjan#  "License"); you may not use this file except in compliance
9*fb02ff42Sdamjan#  with the License.  You may obtain a copy of the License at
10*fb02ff42Sdamjan#
11*fb02ff42Sdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12*fb02ff42Sdamjan#
13*fb02ff42Sdamjan#  Unless required by applicable law or agreed to in writing,
14*fb02ff42Sdamjan#  software distributed under the License is distributed on an
15*fb02ff42Sdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*fb02ff42Sdamjan#  KIND, either express or implied.  See the License for the
17*fb02ff42Sdamjan#  specific language governing permissions and limitations
18*fb02ff42Sdamjan#  under the License.
19*fb02ff42Sdamjan#
20*fb02ff42Sdamjan#**************************************************************
21*fb02ff42Sdamjan
22*fb02ff42Sdamjan
23*fb02ff42Sdamjan
24*fb02ff42Sdamjan$(eval $(call gb_Library_Library,communi))
25*fb02ff42Sdamjan
26*fb02ff42Sdamjan$(eval $(call gb_Library_add_precompiled_header,communi,$(SRCDIR)/automation/inc/pch/precompiled_automation))
27*fb02ff42Sdamjan
28*fb02ff42Sdamjan$(eval $(call gb_Library_add_package_headers,communi,automation_inc))
29*fb02ff42Sdamjan
30*fb02ff42Sdamjan$(eval $(call gb_Library_set_include,communi,\
31*fb02ff42Sdamjan        $$(INCLUDE) \
32*fb02ff42Sdamjan    -I$(SRCDIR)/automation/inc \
33*fb02ff42Sdamjan    -I$(SRCDIR)/automation/inc/pch \
34*fb02ff42Sdamjan    -I$(SRCDIR)/automation/source/inc \
35*fb02ff42Sdamjan))
36*fb02ff42Sdamjan
37*fb02ff42Sdamjan$(eval $(call gb_Library_add_defs,communi,\
38*fb02ff42Sdamjan    -DAUTOMATION_DLLIMPLEMENTATION \
39*fb02ff42Sdamjan))
40*fb02ff42Sdamjan
41*fb02ff42Sdamjan$(eval $(call gb_Library_add_api,communi,\
42*fb02ff42Sdamjan    offapi \
43*fb02ff42Sdamjan    udkapi \
44*fb02ff42Sdamjan))
45*fb02ff42Sdamjan
46*fb02ff42Sdamjan$(eval $(call gb_Library_add_linked_libs,communi,\
47*fb02ff42Sdamjan    sal \
48*fb02ff42Sdamjan    simplecm \
49*fb02ff42Sdamjan    svl \
50*fb02ff42Sdamjan    tl \
51*fb02ff42Sdamjan    vcl \
52*fb02ff42Sdamjan    vos3 \
53*fb02ff42Sdamjan    $(gb_STDLIBS) \
54*fb02ff42Sdamjan))
55*fb02ff42Sdamjan
56*fb02ff42Sdamjanifeq ($(GUI),WNT)
57*fb02ff42Sdamjan$(eval $(call gb_Library_add_linked_libs,communi,\
58*fb02ff42Sdamjan    advapi32 \
59*fb02ff42Sdamjan    gdi32 \
60*fb02ff42Sdamjan))
61*fb02ff42Sdamjanendif
62*fb02ff42Sdamjan
63*fb02ff42Sdamjan$(eval $(call gb_Library_add_noexception_objects,communi,\
64*fb02ff42Sdamjan    automation/source/communi/communi \
65*fb02ff42Sdamjan))
66*fb02ff42Sdamjan
67*fb02ff42Sdamjan
68*fb02ff42Sdamjan# vim: set noet sw=4 ts=4:
69