1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
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.
14#
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).
20#
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.
25#
26#*************************************************************************
27
28PRJ=..$/..
29
30PRJNAME=testtools
31TARGET=performancetest
32ENABLE_EXCEPTIONS=TRUE
33USE_DEFFILE=TRUE
34LIBTARGET=NO
35
36# --- Settings -----------------------------------------------------
37
38.INCLUDE :  settings.mk
39
40# ------------------------------------------------------------------
41
42LIB1TARGET=$(SLB)$/perftest.lib
43LIB1OBJFILES= \
44		$(SLO)$/ubtest.obj
45
46SHL1TARGET = perftest.uno
47
48SHL1VERSIONMAP = $(SOLARENV)$/src$/component.map
49
50SHL1STDLIBS= \
51		$(CPPULIB)		\
52		$(CPPUHELPERLIB)	\
53		$(SALLIB)
54
55SHL1LIBS=	$(LIB1TARGET)
56SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
57DEF1NAME=	$(SHL1TARGET)
58
59# ---- test object ----
60
61LIB2TARGET=$(SLB)$/perfobj.lib
62LIB2OBJFILES= \
63		$(SLO)$/ubobject.obj
64
65SHL2TARGET = perfobj.uno
66
67SHL2VERSIONMAP = $(SOLARENV)$/src$/component.map
68
69SHL2STDLIBS= \
70		$(CPPULIB)		\
71		$(CPPUHELPERLIB)	\
72		$(SALLIB)
73
74SHL2LIBS=	$(LIB2TARGET)
75SHL2DEF=	$(MISC)$/$(SHL2TARGET).def
76DEF2NAME=	$(SHL2TARGET)
77
78# ---- pseudo uno bridge ----
79
80LIB3TARGET=$(SLB)$/pseudo.lib
81LIB3OBJFILES= \
82		$(SLO)$/pseudo.obj
83
84SHL3TARGET=pseudo_uno_uno
85
86SHL3VERSIONMAP = pseudo_uno_uno.map
87
88SHL3STDLIBS= \
89		$(CPPULIB)		\
90		$(SALLIB)
91
92SHL3LIBS=	$(LIB3TARGET)
93SHL3DEF=	$(MISC)$/$(SHL3TARGET).def
94DEF3NAME=	$(SHL3TARGET)
95
96# --- Targets ------------------------------------------------------
97
98.INCLUDE :	target.mk
99