update dev300-m57
[ooovba.git] / sal / qa / rtl / math / makefile.mk
blob14e8cec2ec9ca207c97c3182b906357474cd662f
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.10 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
31 PRJ=..$/..$/..
32 INCPRE+= $(PRJ)$/qa$/inc
34 PRJNAME=sal
35 TARGET=rtl_math
36 # this is removed at the moment because we need some enhancements
37 # TESTDIR=TRUE
39 ENABLE_EXCEPTIONS=TRUE
41 # --- Settings -----------------------------------------------------
43 .INCLUDE : settings.mk
45 CFLAGS+= $(LFS_CFLAGS)
46 CXXFLAGS+= $(LFS_CFLAGS)
48 #----------------------------------- OStringBuffer -----------------------------------
50 SHL1OBJS= \
51 $(SLO)$/test_rtl_math.obj
53 SHL1TARGET= rtl_math
54 SHL1STDLIBS=\
55 $(SALLIB)
56 .IF "$(GUI)" == "WNT" || "$(GUI)" == "OS2"
57 SHL1STDLIBS+= $(SOLARLIBDIR)$/cppunit.lib
58 .ENDIF
59 .IF "$(GUI)" == "UNX"
60 SHL1STDLIBS+=$(SOLARLIBDIR)$/libcppunit$(DLLPOSTFIX).a
61 .ENDIF
63 SHL1IMPLIB= i$(SHL1TARGET)
64 # SHL1DEF= $(MISC)$/$(SHL1TARGET).def
66 DEF1NAME =$(SHL1TARGET)
67 # DEF1EXPORTFILE= export.exp
68 SHL1VERSIONMAP = $(PRJ)$/qa$/export.map
70 # --- BEGIN --------------------------------------------------------
71 SHL2OBJS= \
72 $(SLO)$/rtl_math.obj
73 SHL2TARGET= rtl_math2
74 SHL2STDLIBS=\
75 $(SALLIB) \
76 $(CPPUNITLIB)
78 SHL2IMPLIB= i$(SHL2TARGET)
79 DEF2NAME= $(SHL2TARGET)
80 SHL2VERSIONMAP = $(PRJ)$/qa$/export.map
84 # # --- BEGIN --------------------------------------------------------
85 # LLA: this is an old test, which seems not to work
86 # sal_setInt64()
87 # sal_getInt64()
88 # does not exist.
90 # SHL3OBJS= \
91 # $(SLO)$/rtl_old_testint64.obj
92 # SHL3TARGET= rtl_old_testint64
93 # SHL3STDLIBS=\
94 # $(SALLIB) \
95 # $(CPPUNITLIB)
97 # SHL3IMPLIB= i$(SHL3TARGET)
98 # DEF3NAME= $(SHL3TARGET)
99 # SHL3VERSIONMAP = $(PRJ)$/qa$/export.map
102 #------------------------------- All object files -------------------------------
103 # do this here, so we get right dependencies
104 # SLOFILES=$(SHL1OBJS)
106 # --- Targets ------------------------------------------------------
108 .INCLUDE : target.mk
109 .INCLUDE : _cppunit.mk