Update git submodules
[LibreOffice.git] / tools / Library_tl.mk
blob233e75db005074fe65952477a92d3c363fad6b1f
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/ref/globname \
73 tools/source/ref/ref \
74 tools/source/stream/stream \
75 tools/source/stream/vcompat \
76 tools/source/stream/GenericTypeSerializer \
77 tools/source/string/tenccvt \
78 tools/source/zcodec/zcodec \
79 tools/source/xml/XmlWriter \
80 tools/source/xml/XmlWalker \
83 ifeq ($(OS),WNT)
84 $(eval $(call gb_Library_add_exception_objects,tl, \
85 tools/source/stream/strmwnt \
87 else
88 $(eval $(call gb_Library_add_exception_objects,tl, \
89 tools/source/stream/strmunx \
91 endif
93 $(eval $(call gb_Library_add_generated_exception_objects,tl,\
94 CustomTarget/tools/string/reversemap \
97 $(eval $(call gb_Library_use_externals,tl,\
98 boost_headers \
99 zlib \
100 libxml2 \
103 ifeq ($(OS),LINUX)
104 $(eval $(call gb_Library_add_libs,tl,\
105 -lrt \
107 endif
109 ifeq ($(OS),WNT)
111 $(eval $(call gb_Library_use_system_win32_libs,tl,\
112 mpr \
113 netapi32 \
114 ole32 \
115 shell32 \
116 uuid \
117 winmm \
120 endif
122 # vim: set noet sw=4 ts=4: