fix smoketest linkage
[LibreOffice.git] / vcl / Library_vclplug_svp.mk
blobcfc5ead9f4616bb87b791b539cf4fe3fc13807ff
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 #
6 # Copyright 2000, 2010 Oracle and/or its affiliates.
8 # OpenOffice.org - a multi-platform office productivity suite
10 # This file is part of OpenOffice.org.
12 # OpenOffice.org is free software: you can redistribute it and/or modify
13 # it under the terms of the GNU Lesser General Public License version 3
14 # only, as published by the Free Software Foundation.
16 # OpenOffice.org is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU Lesser General Public License version 3 for more details
20 # (a copy is included in the LICENSE file that accompanied this code).
22 # You should have received a copy of the GNU Lesser General Public License
23 # version 3 along with OpenOffice.org. If not, see
24 # <http://www.openoffice.org/license.html>
25 # for a copy of the LGPLv3 License.
27 #*************************************************************************
29 $(eval $(call gb_Library_Library,vclplug_svp))
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 \
39 $(eval $(call gb_Library_add_cxxflags,vclplug_svp,\
40 $$(FREETYPE_CFLAGS) \
43 $(eval $(call gb_Library_add_defs,vclplug_svp,\
44 -DVCLPLUG_SVP_IMPLEMENTATION \
47 $(eval $(call gb_Library_add_api,vclplug_svp,\
48 offapi \
49 udkapi \
52 $(eval $(call gb_Library_add_linked_libs,vclplug_svp,\
53 vcl \
54 tl \
55 utl \
56 sot \
57 ucbhelper \
58 basegfx \
59 basebmp \
60 comphelper \
61 cppuhelper \
62 i18nisolang1 \
63 i18npaper \
64 i18nutil \
65 jvmaccess \
66 cppu \
67 sal \
68 $(gb_STDLIBS) \
71 $(eval $(call gb_Library_use_externals,vclplug_svp,\
72 icule \
73 icuuc \
76 $(eval $(call gb_Library_add_exception_objects,vclplug_svp,\
77 vcl/headless/svpbmp \
78 vcl/headless/svpdummies \
79 vcl/headless/svpelement \
80 vcl/headless/svpframe \
81 vcl/headless/svpgdi \
82 vcl/headless/svpinst \
83 vcl/headless/svpdata \
84 vcl/headless/svpprn \
85 vcl/headless/svppspgraphics \
86 vcl/headless/svptext \
87 vcl/headless/svpvd \
90 ifeq ($(OS),LINUX)
91 $(eval $(call gb_Library_add_linked_libs,vclplug_svp,\
92 dl \
93 m \
94 pthread \
96 endif
97 # vim: set noet sw=4 ts=4: