xref: /trunk/main/vcl/Library_vclplug_svp.mk (revision cdf0e10c)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.	If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28$(eval $(call gb_Library_Library,vclplug_svp))
29
30$(eval $(call gb_Library_set_include,vclplug_svp,\
31	$$(INCLUDE) \
32	-I$(SRCDIR)/vcl/inc \
33	-I$(SRCDIR)/vcl/inc/pch \
34	-I$(SRCDIR)/solenv/inc \
35	-I$(OUTDIR)/inc/offuh \
36	-I$(OUTDIR)/inc/stl \
37	-I$(OUTDIR)/inc \
38))
39
40$(eval $(call gb_Library_set_defs,vclplug_svp,\
41	$$(DEFS) \
42    -DVCLPLUG_SVP_IMPLEMENTATION \
43))
44
45$(eval $(call gb_Library_add_linked_libs,vclplug_svp,\
46    vcl \
47    tl \
48    utl \
49    sot \
50    ucbhelper \
51	basegfx \
52	basebmp \
53	comphelper \
54    cppuhelper \
55    icuuc \
56    icule \
57	i18nisolang1 \
58	i18npaper \
59    i18nutil \
60    jvmaccess \
61	stl \
62	cppu \
63	sal \
64	vos3 \
65    X11 \
66    Xext \
67    SM \
68    ICE \
69	$(gb_STDLIBS) \
70))
71
72$(eval $(call gb_Library_add_exception_objects,vclplug_svp,\
73    vcl/unx/generic/printergfx/bitmap_gfx \
74    vcl/unx/generic/printergfx/common_gfx \
75    vcl/unx/generic/printergfx/glyphset \
76    vcl/unx/generic/printergfx/printerjob \
77    vcl/unx/generic/printergfx/psputil \
78    vcl/unx/generic/printergfx/text_gfx \
79    vcl/unx/headless/svpbmp \
80    vcl/unx/headless/svpdummies \
81    vcl/unx/headless/svpelement \
82    vcl/unx/headless/svpframe \
83    vcl/unx/headless/svpgdi \
84    vcl/unx/headless/svpinst \
85    vcl/unx/headless/svpprn \
86    vcl/unx/headless/svppspgraphics \
87    vcl/unx/headless/svptext \
88    vcl/unx/headless/svpvd \
89))
90
91ifeq ($(OS),LINUX)
92$(eval $(call gb_Library_add_linked_libs,vclplug_svp,\
93	dl \
94	m \
95	pthread \
96))
97endif
98# vim: set noet sw=4 ts=4:
99