blob: dfcdd53b700afb546d028de49d05cbd00ae9bcb8 [file] [log] [blame]
Matúš Kukan3fdb77f2013-04-09 17:34:43 +02001# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#
3# This file is part of the LibreOffice project.
4#
5# This Source Code Form is subject to the terms of the Mozilla Public
6# License, v. 2.0. If a copy of the MPL was not distributed with this
7# file, You can obtain one at http://mozilla.org/MPL/2.0/.
8#
9
10$(eval $(call gb_Library_Library,urelibs))
11
12# gb_URELIBS is defined in solenv/gbuild/extensions/pre_MergedLibsList.mk
13$(eval $(call gb_Library_use_library_objects,urelibs,\
14 $(gb_URELIBS) \
15))
16
Peter Foley23aaabc2013-04-10 18:00:31 -040017# needed to generate proper deps for module-deps.pl
18$(eval $(call gb_Library_use_libraries,urelibs,\
19 $(gb_UWINAPI) \
20))
21
Matúš Kukan3fdb77f2013-04-09 17:34:43 +020022$(eval $(call gb_Library_use_static_libraries,urelibs,\
23 findsofficepath \
24))
25
26$(eval $(call gb_Library_use_externals,urelibs,\
27 libxml2 \
28))
29
30$(eval $(call gb_Library_add_libs,urelibs,\
31 $(if $(filter $(OS),LINUX), \
32 -ldl \
33 -lpthread \
Matúš Kukanf3603fc2013-05-14 09:28:10 +020034 -lrt \
Matúš Kukan3fdb77f2013-04-09 17:34:43 +020035 ) \
36))
37
Tor Lillqvistb7f38c82013-11-15 16:05:21 +020038$(if $(filter $(OS),WNT), \
39 $(eval $(call gb_Library_use_system_win32_libs,urelibs,\
40 mpr \
41 ole32 \
42 shell32 \
43 ws2_32 \
44 )) \
45)
46
Matúš Kukan3fdb77f2013-04-09 17:34:43 +020047# vim: set noet sw=4 ts=4: