1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
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 #*************************************************************************
37 ENABLE_EXCEPTIONS
=TRUE
39 # --- Settings -----------------------------------------------------
41 .INCLUDE
: settings.mk
43 CFLAGS
+= $(LFS_CFLAGS
)
44 CXXFLAGS
+= $(LFS_CFLAGS
)
46 # --- BEGIN --------------------------------------------------------
53 # .IF "$(GUI)" == "WNT"
54 # SHL1STDLIBS+= $(SOLARLIBDIR)$/cppunit.lib
56 # .IF "$(GUI)" == "UNX"
57 # SHL1STDLIBS+=$(SOLARLIBDIR)$/libcppunit$(DLLPOSTFIX).a
60 SHL1IMPLIB
= i
$(SHL1TARGET
)
62 DEF1NAME
=$(SHL1TARGET
)
63 SHL1VERSIONMAP
= $(PRJ
)$/qa
$/export.map
65 #-------------------------------------------------------------------
67 SHL2OBJS
=$(SLO
)$/test_cpy_wrt_file.obj
70 .IF
"$(GUI)" == "WNT" ||
"$(GUI)" == "OS2"
71 SHL2STDLIBS
+=$(SOLARLIBDIR
)$/cppunit.lib
74 SHL2STDLIBS
+=$(SOLARLIBDIR
)$/libcppunit
$(DLLPOSTFIX
).a
76 SHL2IMPLIB
=i
$(SHL2TARGET
)
77 SHL2DEF
=$(MISC
)$/$(SHL2TARGET
).def
78 SHL2VERSIONMAP
= $(PRJ
)$/qa
$/export.map
79 DEF2NAME
=$(SHL2TARGET
)
82 # END --------------------------------------------------------------
84 # --- BEGIN --------------------------------------------------------
86 $(SLO
)$/osl_old_test_file.obj
87 SHL3TARGET
= osl_old_test_file
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
102 # --- Targets ------------------------------------------------------
105 .INCLUDE
: _cppunit.mk