1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
11 # OpenOffice.org is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License version 3
13 # only, as published by the Free Software Foundation.
15 # OpenOffice.org is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Lesser General Public License version 3 for more details
19 # (a copy is included in the LICENSE file that accompanied this code).
21 # You should have received a copy of the GNU Lesser General Public License
22 # version 3 along with OpenOffice.org. If not, see
23 # <http://www.openoffice.org/license.html>
24 # for a copy of the LGPLv3 License.
26 #*************************************************************************
37 # --- Settings -----------------------------------------------------
39 .INCLUDE
: settings.mk
42 CXXFLAGS
+=$(LFS_CFLAGS
)
44 # --- Files --------------------------------------------------------
50 $(OBJ
)$/t_readline.obj
53 APP1OBJS
=$(OBJ
)$/t_readline.obj
55 APP1DEPN
=$(SLB
)$/sal.lib
65 APP1OBJS
=$(OBJ
)$/testfile.obj
67 APP1DEPN
=$(SLB
)$/sal.lib
76 APP2OBJS
=$(OBJ
)$/testpipe.obj
78 APP2DEPN
=$(SLB
)$/sal.lib
87 APP3OBJS
=$(OBJ
)$/testpip2.obj
89 APP3DEPN
=$(SLB
)$/sal.lib
98 APP4OBJS
=$(OBJ
)$/testproc.obj
100 APP4DEPN
=$(SLB
)$/sal.lib
106 $(OBJ
)$/measure_oustrings.obj
108 .IF
"$(HAVE_CALLGRIND)" == "YES"
109 CFLAGSCXX
+=-DHAVE_CALLGRIND
112 APP6TARGET
=measure_oustrings
113 APP6OBJS
=$(OBJ
)$/measure_oustrings.obj
114 APP6STDLIBS
=$(SALLIB
)
115 APP6DEPN
=$(SLB
)$/sal.lib
124 APP7OBJS
=$(OBJ
)$/t_random.obj
125 APP7STDLIBS
=$(SALLIB
)
126 APP7DEPN
=$(SLB
)$/sal.lib
135 APP8OBJS
=$(OBJ
)$/t_cipher.obj
136 APP8STDLIBS
=$(SALLIB
)
137 APP8DEPN
=$(SLB
)$/sal.lib
146 APP9OBJS
=$(OBJ
)$/t_digest.obj
147 APP9STDLIBS
=$(SALLIB
)
148 APP9DEPN
=$(SLB
)$/sal.lib
153 .IF
"$(TESTAPP)" == "getlocaleinfotest"
155 $(OBJ
)$/getlocaleinfotest.obj
157 APP10TARGET
=getlitest
158 APP10OBJS
=$(OBJ
)$/getlocaleinfotest.obj
167 APP10DEPN
=$(LB
)$/isal.lib
170 .IF
"$(TESTAPP)" == "test_osl_getVolInfo"
172 SHL10OBJS
=$(SLO
)$/t_osl_getVolInfo.obj
175 .IF
"$(GUI)" == "WNT"
176 APP10STDLIBS
=$(KERNEL32LIB
)
177 SHL10STDLIBS
=$(LB
)$/isal.lib
178 SHL10STDLIBS
+=$(SOLARLIBDIR
)$/cppunit.lib
181 .IF
"$(GUI)" == "UNX"
182 SHL10STDLIBS
=$(LB
)$/libsal.so
183 SHL10STDLIBS
+=$(SOLARLIBDIR
)$/libcppunit
$(DLLPOSTFIX
).a
186 SHL10IMPLIB
=i
$(SHL1TARGET
)
187 SHL10DEF
=$(MISC
)$/$(SHL1TARGET
).def
188 DEF10NAME
=$(SHL1TARGET
)
189 DEF10EXPORTFILE
=export.exp
192 .IF
"$(TESTAPP)" == "test_osl_joinProcess"
194 $(OBJ
)$/t_ojp_exe.obj
196 APP10OBJS
=$(OBJ
)$/t_ojp_exe.obj
198 .IF
"$(GUI)" == "UNX"
199 APP10STDLIBS
=$(LB
)$/libsal.so
202 SHL10OBJS
=$(SLO
)$/t_osl_joinProcess.obj
205 .IF
"$(GUI)" == "WNT"
206 APP10STDLIBS
=$(KERNEL32LIB
)
207 SHL10STDLIBS
=$(LB
)$/isal.lib
208 SHL10STDLIBS
+=$(SOLARLIBDIR
)$/cppunit.lib
211 .IF
"$(GUI)" == "UNX"
212 SHL10STDLIBS
=$(LB
)$/libsal.so
213 SHL10STDLIBS
+=$(SOLARLIBDIR
)$/libcppunit
$(DLLPOSTFIX
).a
216 SHL10IMPLIB
=i
$(SHL1TARGET
)
217 SHL10DEF
=$(MISC
)$/$(SHL1TARGET
).def
218 DEF10NAME
=$(SHL1TARGET
)
219 DEF10EXPORTFILE
=export.exp
222 # --- Targets ------------------------------------------------------