1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 #*************************************************************************
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 # Copyright 2000, 2010 Oracle and/or its affiliates.
8 # OpenOffice.org - a multi-platform office productivity suite
10 # This file is part of OpenOffice.org.
12 # OpenOffice.org is free software: you can redistribute it and/or modify
13 # it under the terms of the GNU Lesser General Public License version 3
14 # only, as published by the Free Software Foundation.
16 # OpenOffice.org is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU Lesser General Public License version 3 for more details
20 # (a copy is included in the LICENSE file that accompanied this code).
22 # You should have received a copy of the GNU Lesser General Public License
23 # version 3 along with OpenOffice.org. If not, see
24 # <http://www.openoffice.org/license.html>
25 # for a copy of the LGPLv3 License.
27 #*************************************************************************
29 $(eval
$(call gb_Library_Library
,tl
))
31 $(eval
$(call gb_Library_add_package_headers
,tl
,tools_inc
))
32 $(eval
$(call gb_Library_add_package_headers
,tl
,tools_reversemap
))
34 $(eval
$(call gb_Library_set_include
,tl
,\
36 -I
$(realpath
$(SRCDIR
)/tools
/inc
) \
37 -I
$(SRCDIR
)/solenv
/inc \
38 -I
$(WORKDIR
)/CustomTarget
/tools
/source
/reversemap \
41 $(eval
$(call gb_Library_add_defs
,tl
,\
42 -DTOOLS_DLLIMPLEMENTATION \
46 $(eval
$(call gb_Library_add_api
,tl
,\
51 $(eval
$(call gb_Library_add_linked_libs
,tl
,\
61 $(eval
$(call gb_Library_add_exception_objects
,tl
,\
62 tools
/source
/datetime
/datetime \
63 tools
/source
/datetime
/tdate \
64 tools
/source
/datetime
/ttime \
65 tools
/source
/debug
/debug \
66 tools
/source
/debug
/stcktree \
67 tools
/source
/fsys
/comdep \
68 tools
/source
/fsys
/dirent \
69 tools
/source
/fsys
/filecopy \
70 tools
/source
/fsys
/fstat \
71 tools
/source
/fsys
/tdir \
72 tools
/source
/fsys
/tempfile \
73 tools
/source
/fsys
/urlobj \
74 tools
/source
/fsys
/wldcrd \
75 tools
/source
/generic
/b3dtrans \
76 tools
/source
/generic
/bigint \
77 tools
/source
/generic
/color \
78 tools
/source
/generic
/config \
79 tools
/source
/generic
/fract \
80 tools
/source
/generic
/gen \
81 tools
/source
/generic
/line \
82 tools
/source
/generic
/link \
83 tools
/source
/generic
/poly \
84 tools
/source
/generic
/poly2 \
85 tools
/source
/generic
/svborder \
86 tools
/source
/generic
/toolsin \
87 tools
/source
/generic
/svlibrary \
88 tools
/source
/inet
/inetmime \
89 tools
/source
/inet
/inetmsg \
90 tools
/source
/inet
/inetstrm \
91 tools
/source
/memtools
/contnr \
92 tools
/source
/memtools
/mempool \
93 tools
/source
/memtools
/multisel \
94 tools
/source
/memtools
/table \
95 tools
/source
/memtools
/unqidx \
96 tools
/source
/misc
/appendunixshellword \
97 tools
/source
/misc
/extendapplicationenvironment \
98 tools
/source
/misc
/getprocessworkingdir \
99 tools
/source
/misc
/solarmutex \
100 tools
/source
/rc
/isofallback \
102 tools
/source
/rc
/resary \
103 tools
/source
/rc
/resmgr \
104 tools
/source
/ref
/errinf \
105 tools
/source
/ref
/globname \
106 tools
/source
/ref
/pstm \
107 tools
/source
/ref
/ref \
108 tools
/source
/stream
/cachestr \
109 tools
/source
/stream
/stream \
110 tools
/source
/stream
/strmsys \
111 tools
/source
/stream
/vcompat \
112 tools
/source
/string
/tenccvt \
113 tools
/source
/string
/tstring \
114 tools
/source
/string
/tustring \
115 tools
/source
/string
/reversemap \
116 tools
/source
/testtoolloader
/testtoolloader \
117 tools
/source
/zcodec
/zcodec \
121 $(eval
$(call gb_Library_add_exception_objects
,tl
,\
122 tools
/unx
/source
/dll
/toolsdll \
126 $(eval
$(call gb_Library_use_external
,tl
,zlib
))
130 $(eval
$(call gb_Library_set_include
,tl
,\
132 -I
$(realpath
$(SRCDIR
)/tools
/win
/inc
) \
135 $(eval
$(call gb_Library_add_exception_objects
,tl
,\
136 tools
/win
/source
/dll
/toolsdll \
139 $(eval
$(call gb_Library_add_linked_libs
,tl
,\
148 # no -DTOOLS_DLLIMPLEMENTATION on toolsdll
149 # -DEXCEPTIONS_OFF -fno-exceptions on datetime tdate ttime bigint color config fract gen line link poly2 svborder toolsin inetmime inetmsg inetstrm contnr mempool multisel table unqidx cachestr stream strmsys vcompat tenccvt tstring tustring testtoolloader
150 # vim: set noet sw=4 ts=4: