| Matúš Kukan | 3fdb77f | 2013-04-09 17:34:43 +0200 | [diff] [blame] | 1 | # -*- 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 Foley | 23aaabc | 2013-04-10 18:00:31 -0400 | [diff] [blame] | 17 | # needed to generate proper deps for module-deps.pl |
| 18 | $(eval $(call gb_Library_use_libraries,urelibs,\ |
| 19 | $(gb_UWINAPI) \ |
| 20 | )) |
| 21 | |
| Matúš Kukan | 3fdb77f | 2013-04-09 17:34:43 +0200 | [diff] [blame] | 22 | $(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úš Kukan | f3603fc | 2013-05-14 09:28:10 +0200 | [diff] [blame] | 34 | -lrt \ |
| Matúš Kukan | 3fdb77f | 2013-04-09 17:34:43 +0200 | [diff] [blame] | 35 | ) \ |
| 36 | )) |
| 37 | |
| Tor Lillqvist | b7f38c8 | 2013-11-15 16:05:21 +0200 | [diff] [blame] | 38 | $(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úš Kukan | 3fdb77f | 2013-04-09 17:34:43 +0200 | [diff] [blame] | 47 | # vim: set noet sw=4 ts=4: |