xref: /AOO41X/main/vcl/Library_vclplug_svp.mk (revision 752c0af7a363384187ac405b16fce81a66637031)
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,vclplug_svp))
25
26$(eval $(call gb_Library_set_include,vclplug_svp,\
27    $$(INCLUDE) \
28    -I$(SRCDIR)/vcl/inc \
29    -I$(SRCDIR)/vcl/inc/pch \
30    -I$(SRCDIR)/solenv/inc \
31    -I$(OUTDIR)/inc/offuh \
32    -I$(OUTDIR)/inc/stl \
33    -I$(OUTDIR)/inc \
34))
35
36$(eval $(call gb_Library_set_defs,vclplug_svp,\
37    $$(DEFS) \
38    -DVCLPLUG_SVP_IMPLEMENTATION \
39))
40
41$(eval $(call gb_Library_add_linked_libs,vclplug_svp,\
42    vcl \
43    tl \
44    utl \
45    sot \
46    ucbhelper \
47    basegfx \
48    basebmp \
49    comphelper \
50    cppuhelper \
51    icuuc \
52    icule \
53    i18nisolang1 \
54    i18npaper \
55    i18nutil \
56    jvmaccess \
57    stl \
58    cppu \
59    sal \
60    vos3 \
61    X11 \
62    Xext \
63    SM \
64    ICE \
65    $(gb_STDLIBS) \
66))
67
68$(eval $(call gb_Library_add_exception_objects,vclplug_svp,\
69    vcl/unx/generic/printergfx/bitmap_gfx \
70    vcl/unx/generic/printergfx/common_gfx \
71    vcl/unx/generic/printergfx/glyphset \
72    vcl/unx/generic/printergfx/printerjob \
73    vcl/unx/generic/printergfx/psputil \
74    vcl/unx/generic/printergfx/text_gfx \
75    vcl/unx/headless/svpbmp \
76    vcl/unx/headless/svpdummies \
77    vcl/unx/headless/svpelement \
78    vcl/unx/headless/svpframe \
79    vcl/unx/headless/svpgdi \
80    vcl/unx/headless/svpinst \
81    vcl/unx/headless/svpprn \
82    vcl/unx/headless/svppspgraphics \
83    vcl/unx/headless/svptext \
84    vcl/unx/headless/svpvd \
85))
86
87ifeq ($(OS),LINUX)
88$(eval $(call gb_Library_add_linked_libs,vclplug_svp,\
89    dl \
90    m \
91    pthread \
92))
93endif
94# vim: set noet sw=4 ts=4:
95