Fix linking on Windows
[LibreOffice.git] / Library_merged.mk
blob4a8ccafbfc63b1ea931a6efa71a180e235072a27
1 # -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
3 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License. You may obtain a copy of the License at
8 # http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
13 # License.
15 # The Initial Developer of the Original Code is
16 # Matúš Kukan <matus.kukan@gmail.com> (C) 2011, All Rights Reserved.
18 # Alternatively, the contents of this file may be used under the terms of
19 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
20 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
21 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
22 # instead of those above.
25 $(eval $(call gb_Library_Library,merged))
27 $(eval $(call gb_Library_add_linked_libs,merged,$(filter-out $(gb_MERGED_LIBS),\
28 avmedia \
29 basegfx \
30 canvastools \
31 comphelper \
32 cppcanvas \
33 cppu \
34 cppuhelper \
35 drawinglayer \
36 editeng \
37 fwe \
38 i18nisolang1 \
39 i18npaper \
40 i18nutil \
41 jvmfwk \
42 lng \
43 fwe \
44 sal \
45 salhelper \
46 sax \
47 sb \
48 sfx \
49 sot \
50 svl \
51 svt \
52 svx \
53 svxcore \
54 tk \
55 tl \
56 ucbhelper \
57 utl \
58 vcl \
59 xo \
60 xcr \
61 $(gb_STDLIBS) \
62 )))
64 $(eval $(call gb_Library_use_externals,merged,\
65 icui18n \
66 icuuc \
67 jpeg \
68 libxml2 \
69 zlib \
72 $(eval $(call gb_Library_add_library_objects,merged,\
73 $(gb_CORE_LIBS) \
76 ifeq ($(OS),WNT)
77 $(eval $(call gb_Library_add_linked_libs,merged,\
78 advapi32 \
79 gdi32 \
80 ole32 \
81 oleaut32 \
82 shell32 \
83 user32 \
84 uuid \
86 endif
88 # something is missing here for sure
89 ifeq ($(OS),MACOSX)
90 $(eval $(call gb_Library_add_linked_libs,merged,\
91 objc \
92 Cocoa \
94 endif
96 # vim: set noet sw=4 ts=4: