update credits
[LibreOffice.git] / tools / Library_tl.mk
blob8269e6ae98bfbcdfbc27ff6032b8982124963ab6
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/duration \
49 tools/source/datetime/systemdatetime \
50 tools/source/datetime/tdate \
51 tools/source/datetime/ttime \
52 tools/source/debug/debug \
53 tools/source/fsys/fileutil \
54 tools/source/fsys/urlobj \
55 tools/source/fsys/wldcrd \
56 tools/source/generic/b3dtrans \
57 tools/source/generic/bigint \
58 tools/source/generic/color \
59 tools/source/generic/config \
60 tools/source/generic/fract \
61 tools/source/generic/gen \
62 tools/source/generic/line \
63 tools/source/generic/point \
64 tools/source/generic/poly \
65 tools/source/generic/poly2 \
66 tools/source/generic/svborder \
67 tools/source/inet/inetmime \
68 tools/source/inet/inetmsg \
69 tools/source/inet/inetstrm \
70 tools/source/memtools/multisel \
71 tools/source/misc/cpuid \
72 tools/source/misc/extendapplicationenvironment \
73 tools/source/misc/json_writer \
74 tools/source/ref/globname \
75 tools/source/ref/ref \
76 tools/source/stream/stream \
77 tools/source/stream/vcompat \
78 tools/source/stream/GenericTypeSerializer \
79 tools/source/string/tenccvt \
80 tools/source/zcodec/zcodec \
81 tools/source/xml/XmlWriter \
82 tools/source/xml/XmlWalker \
85 ifneq ($(SYSTEM_LIBFIXMATH),TRUE)
86 $(eval $(call gb_Library_add_exception_objects,tl,\
87 tools/source/misc/fix16 \
89 endif
91 ifeq ($(OS),WNT)
92 $(eval $(call gb_Library_add_exception_objects,tl, \
93 tools/source/stream/strmwnt \
95 else
96 $(eval $(call gb_Library_add_exception_objects,tl, \
97 tools/source/stream/strmunx \
99 endif
101 $(eval $(call gb_Library_add_generated_exception_objects,tl,\
102 CustomTarget/tools/string/reversemap \
105 $(eval $(call gb_Library_use_externals,tl,\
106 boost_headers \
107 zlib \
108 libxml2 \
111 ifeq ($(OS),LINUX)
112 $(eval $(call gb_Library_add_libs,tl,\
113 -lrt \
115 endif
117 ifeq ($(SYSTEM_LIBFIXMATH),TRUE)
118 $(eval $(call gb_Library_add_libs,tl,\
119 -llibfixmath \
121 endif
123 ifeq ($(OS),WNT)
125 $(eval $(call gb_Library_use_system_win32_libs,tl,\
126 mpr \
127 netapi32 \
128 ole32 \
129 shell32 \
130 uuid \
131 winmm \
134 endif
136 # vim: set noet sw=4 ts=4: