lok: be informative and exit when tilebench fails to initialize
[LibreOffice.git] / tools / Library_tl.mk
blob69b3149251e4105669fd4a74b2186c04963586bd
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
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/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Library_Library,tl))
22 $(eval $(call gb_Library_set_include,tl,\
23 -I$(SRCDIR)/tools/inc \
24 $$(INCLUDE) \
27 $(eval $(call gb_Library_set_precompiled_header,tl,$(SRCDIR)/tools/inc/pch/precompiled_tl))
29 $(eval $(call gb_Library_add_defs,tl,\
30 -DTOOLS_DLLIMPLEMENTATION \
33 $(eval $(call gb_Library_use_sdk_api,tl))
35 $(eval $(call gb_Library_use_libraries,tl,\
36 basegfx \
37 comphelper \
38 i18nlangtag \
39 cppu \
40 sal \
44 $(eval $(call gb_Library_add_exception_objects,tl,\
45 tools/source/datetime/datetime \
46 tools/source/datetime/datetimeutils \
47 tools/source/datetime/tdate \
48 tools/source/datetime/ttime \
49 tools/source/debug/debug \
50 tools/source/fsys/urlobj \
51 tools/source/fsys/wldcrd \
52 tools/source/generic/b3dtrans \
53 tools/source/generic/bigint \
54 tools/source/generic/color \
55 tools/source/generic/config \
56 tools/source/generic/fract \
57 tools/source/generic/gen \
58 tools/source/generic/line \
59 tools/source/generic/point \
60 tools/source/generic/poly \
61 tools/source/generic/poly2 \
62 tools/source/generic/svborder \
63 tools/source/inet/inetmime \
64 tools/source/inet/inetmsg \
65 tools/source/inet/inetstrm \
66 tools/source/memtools/mempool \
67 tools/source/memtools/multisel \
68 tools/source/misc/cpuid \
69 tools/source/misc/extendapplicationenvironment \
70 tools/source/ref/globname \
71 tools/source/ref/ref \
72 tools/source/stream/stream \
73 tools/source/stream/vcompat \
74 tools/source/string/tenccvt \
75 tools/source/zcodec/zcodec \
76 tools/source/xml/XmlWriter \
77 tools/source/xml/XmlWalker \
80 ifeq ($(OS),WNT)
81 $(eval $(call gb_Library_add_exception_objects,tl, \
82 tools/source/stream/strmwnt \
84 else
85 $(eval $(call gb_Library_add_exception_objects,tl, \
86 tools/source/stream/strmunx \
88 endif
90 $(eval $(call gb_Library_add_generated_exception_objects,tl,\
91 CustomTarget/tools/string/reversemap \
94 $(eval $(call gb_Library_use_externals,tl,\
95 boost_headers \
96 zlib \
97 libxml2 \
100 ifeq ($(OS),LINUX)
101 $(eval $(call gb_Library_add_libs,tl,\
102 -lrt \
104 endif
106 ifeq ($(OS),WNT)
108 $(eval $(call gb_Library_use_system_win32_libs,tl,\
109 mpr \
110 ole32 \
111 shell32 \
112 uuid \
113 winmm \
116 endif
118 # vim: set noet sw=4 ts=4: