merge the formfield patch from ooo-build
[ooovba.git] / sal / qa / osl / file / makefile.mk
blob7c6d1232c1a0adabd2978ba03859e92c4cfdd108
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.13 $
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 #*************************************************************************
32 PRJ=..$/..$/..
34 PRJNAME=sal
35 TARGET=qa_osl_file
37 ENABLE_EXCEPTIONS=TRUE
39 # --- Settings -----------------------------------------------------
41 .INCLUDE : settings.mk
43 CFLAGS+= $(LFS_CFLAGS)
44 CXXFLAGS+= $(LFS_CFLAGS)
46 # --- BEGIN --------------------------------------------------------
47 SHL1OBJS= \
48 $(SLO)$/osl_File.obj
49 SHL1TARGET= osl_File
50 SHL1STDLIBS=\
51 $(SALLIB) \
52 $(CPPUNITLIB)
53 # .IF "$(GUI)" == "WNT"
54 # SHL1STDLIBS+= $(SOLARLIBDIR)$/cppunit.lib
55 # .ENDIF
56 # .IF "$(GUI)" == "UNX"
57 # SHL1STDLIBS+=$(SOLARLIBDIR)$/libcppunit$(DLLPOSTFIX).a
58 # .ENDIF
60 SHL1IMPLIB= i$(SHL1TARGET)
62 DEF1NAME =$(SHL1TARGET)
63 SHL1VERSIONMAP = $(PRJ)$/qa$/export.map
65 #-------------------------------------------------------------------
67 SHL2OBJS=$(SLO)$/test_cpy_wrt_file.obj
68 SHL2TARGET=tcwf
69 SHL2STDLIBS=$(SALLIB)
70 .IF "$(GUI)" == "WNT" || "$(GUI)" == "OS2"
71 SHL2STDLIBS+=$(SOLARLIBDIR)$/cppunit.lib
72 .ENDIF
73 .IF "$(GUI)" == "UNX"
74 SHL2STDLIBS+=$(SOLARLIBDIR)$/libcppunit$(DLLPOSTFIX).a
75 .ENDIF
76 SHL2IMPLIB=i$(SHL2TARGET)
77 SHL2DEF=$(MISC)$/$(SHL2TARGET).def
78 SHL2VERSIONMAP = $(PRJ)$/qa$/export.map
79 DEF2NAME =$(SHL2TARGET)
82 # END --------------------------------------------------------------
84 # --- BEGIN --------------------------------------------------------
85 SHL3OBJS= \
86 $(SLO)$/osl_old_test_file.obj
87 SHL3TARGET= osl_old_test_file
88 SHL3STDLIBS=\
89 $(SALLIB) \
90 $(CPPUNITLIB)
92 SHL3IMPLIB= i$(SHL3TARGET)
94 DEF3NAME =$(SHL3TARGET)
95 SHL3VERSIONMAP = $(PRJ)$/qa$/export.map
96 # END --------------------------------------------------------------
98 #------------------------------- All object files -------------------------------
99 # do this here, so we get right dependencies
100 SLOFILES=$(SHL1OBJS)
102 # --- Targets ------------------------------------------------------
104 .INCLUDE : target.mk
105 .INCLUDE : _cppunit.mk