tdf#160371: sc_subsequent_filters_test2: Add unittest
[LibreOffice.git] / tools / Library_tl.mk
blobfee6fb1b4097954f29b95d52e29509ea7b682376
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/inet/hostfilter \
71 tools/source/memtools/multisel \
72 tools/source/misc/cpuid \
73 tools/source/misc/extendapplicationenvironment \
74 tools/source/misc/json_writer \
75 tools/source/ref/globname \
76 tools/source/ref/ref \
77 tools/source/stream/stream \
78 tools/source/stream/vcompat \
79 tools/source/stream/GenericTypeSerializer \
80 tools/source/string/tenccvt \
81 tools/source/zcodec/zcodec \
82 tools/source/xml/XmlWriter \
83 tools/source/xml/XmlWalker \
86 ifneq ($(SYSTEM_LIBFIXMATH),TRUE)
87 $(eval $(call gb_Library_add_exception_objects,tl,\
88 tools/source/misc/fix16 \
90 endif
92 ifeq ($(OS),WNT)
93 $(eval $(call gb_Library_add_exception_objects,tl, \
94 tools/source/stream/strmwnt \
96 else
97 $(eval $(call gb_Library_add_exception_objects,tl, \
98 tools/source/stream/strmunx \
100 endif
102 $(eval $(call gb_Library_add_generated_exception_objects,tl,\
103 CustomTarget/tools/string/reversemap \
106 $(eval $(call gb_Library_use_externals,tl,\
107 boost_headers \
108 zlib \
109 libxml2 \
112 ifeq ($(OS),LINUX)
113 $(eval $(call gb_Library_add_libs,tl,\
114 -lrt \
116 endif
118 ifeq ($(SYSTEM_LIBFIXMATH),TRUE)
119 $(eval $(call gb_Library_add_libs,tl,\
120 $(LIBFIXMATH_LIBS) \
122 endif
124 ifeq ($(OS),WNT)
126 $(eval $(call gb_Library_use_system_win32_libs,tl,\
127 mpr \
128 netapi32 \
129 ole32 \
130 shell32 \
131 uuid \
132 winmm \
135 endif
137 # vim: set noet sw=4 ts=4: