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