Bump version to 6.4-15
[LibreOffice.git] / tools / Library_tl.mk
blobecad06913ed20df4daf7ceff2f8d4a71689e20c0
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,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 cppuhelper \
41 sal \
45 $(eval $(call gb_Library_add_exception_objects,tl,\
46 tools/source/datetime/datetime \
47 tools/source/datetime/datetimeutils \
48 tools/source/datetime/systemdatetime \
49 tools/source/datetime/tdate \
50 tools/source/datetime/ttime \
51 tools/source/debug/debug \
52 tools/source/fsys/fileutil \
53 tools/source/fsys/urlobj \
54 tools/source/fsys/wldcrd \
55 tools/source/generic/b3dtrans \
56 tools/source/generic/bigint \
57 tools/source/generic/color \
58 tools/source/generic/config \
59 tools/source/generic/fract \
60 tools/source/generic/gen \
61 tools/source/generic/line \
62 tools/source/generic/point \
63 tools/source/generic/poly \
64 tools/source/generic/poly2 \
65 tools/source/generic/svborder \
66 tools/source/inet/inetmime \
67 tools/source/inet/inetmsg \
68 tools/source/inet/inetstrm \
69 tools/source/memtools/multisel \
70 tools/source/misc/cpuid \
71 tools/source/misc/extendapplicationenvironment \
72 tools/source/misc/json_writer \
73 tools/source/ref/globname \
74 tools/source/ref/ref \
75 tools/source/stream/stream \
76 tools/source/stream/vcompat \
77 tools/source/stream/GenericTypeSerializer \
78 tools/source/string/tenccvt \
79 tools/source/zcodec/zcodec \
80 tools/source/xml/XmlWriter \
81 tools/source/xml/XmlWalker \
84 ifeq ($(OS),WNT)
85 $(eval $(call gb_Library_add_exception_objects,tl, \
86 tools/source/stream/strmwnt \
88 else
89 $(eval $(call gb_Library_add_exception_objects,tl, \
90 tools/source/stream/strmunx \
92 endif
94 $(eval $(call gb_Library_add_generated_exception_objects,tl,\
95 CustomTarget/tools/string/reversemap \
98 $(eval $(call gb_Library_use_externals,tl,\
99 boost_headers \
100 zlib \
101 libxml2 \
104 ifeq ($(OS),LINUX)
105 $(eval $(call gb_Library_add_libs,tl,\
106 -lrt \
108 endif
110 ifeq ($(OS),WNT)
112 $(eval $(call gb_Library_use_system_win32_libs,tl,\
113 mpr \
114 netapi32 \
115 ole32 \
116 shell32 \
117 uuid \
118 winmm \
121 endif
123 # vim: set noet sw=4 ts=4: