Make the README.cross a bit more copy&paste proof
[LibreOffice.git] / smoketestoo_native / makefile.mk
blobe83f839fdbda62222f82951ae3e3bb2dddbdcf44
1 #*************************************************************************
2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 # Copyright 2000, 2010 Oracle and/or its affiliates.
6 # OpenOffice.org - a multi-platform office productivity suite
8 # This file is part of OpenOffice.org.
10 # OpenOffice.org is free software: you can redistribute it and/or modify
11 # it under the terms of the GNU Lesser General Public License version 3
12 # only, as published by the Free Software Foundation.
14 # OpenOffice.org is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU Lesser General Public License version 3 for more details
18 # (a copy is included in the LICENSE file that accompanied this code).
20 # You should have received a copy of the GNU Lesser General Public License
21 # version 3 along with OpenOffice.org. If not, see
22 # <http://www.openoffice.org/license.html>
23 # for a copy of the LGPLv3 License.
24 #***********************************************************************/
26 PRJ = .
27 PRJNAME = smoketestoo_native
28 TARGET = smoketest
30 ENABLE_EXCEPTIONS = TRUE
31 VISIBILITY_HIDDEN = TRUE
33 ABORT_ON_ASSERTION = TRUE
35 .INCLUDE: settings.mk
37 CFLAGSCXX += $(CPPUNIT_CFLAGS)
39 SLOFILES = $(SHL1OBJS)
41 SHL1IMPLIB = i$(SHL1TARGET)
42 SHL1TARGET = smoketest
43 SHL1OBJS = $(SLO)/smoketest.obj
44 SHL1RPATH = NONE
45 SHL1STDLIBS = $(CPPUHELPERLIB) $(CPPULIB) $(CPPUNITLIB) $(SALLIB) $(TESTLIB)
46 SHL1USE_EXPORTS = name
47 DEF1NAME = $(SHL1TARGET)
49 .INCLUDE: target.mk
50 .INCLUDE: installationtest.mk
52 ALLTAR : cpptest
54 cpptest : $(SHL1TARGETN)
56 TEST_ARGUMENTS = smoketest.doc=$(BIN)/smoketestdoc.sxw
57 CPPTEST_LIBRARY = $(SHL1TARGETN)
59 .IF "$(OS)" != "WNT" || "$(CROSS_COMPILING)" == "YES"
60 localinstall :
61 $(RM) -r $(installationtest_instpath)
62 $(MKDIRHIER) $(installationtest_instpath)
63 ooinstall -l $(installationtest_instpath)/opt
64 cpptest : localinstall
65 .END