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 #***********************************************************************/
27 PRJNAME
= smoketestoo_native
30 ENABLE_EXCEPTIONS
= TRUE
34 CFLAGSCXX
+= $(CPPUNIT_CFLAGS
)
36 #building with stlport, but cppunit was not built with stlport
37 .IF
"$(USE_SYSTEM_STL)"!="YES"
38 .IF
"$(SYSTEM_CPPUNIT)"=="YES"
39 CFLAGSCXX
+=-DADAPT_EXT_STL
43 SLOFILES
= $(SHL1OBJS
)
45 SHL1TARGET
= smoketest
46 SHL1OBJS
= $(SLO
)/smoketest.obj
48 SHL1STDLIBS
= $(CPPUHELPERLIB
) $(CPPULIB
) $(CPPUNITLIB
) $(SALLIB
) $(TESTLIB
)
49 SHL1VERSIONMAP
= version.map
50 DEF1NAME
= $(SHL1TARGET
)
53 .INCLUDE
: installationtest.mk
57 cpptest
: $(SHL1TARGETN
)
59 TEST_ARGUMENTS
= smoketest.doc
=$(BIN
)/smoketestdoc.sxw
60 CPPTEST_LIBRARY
= $(SHL1TARGETN
)
63 $(installationtest_instpath
).flag
: $(shell ls \
64 $(installationtest_instset
)/OOo_
*_install-arc_
$(defaultlangiso
).
tar.gz
)
65 $(RM
) -r
$(installationtest_instpath
)
66 $(MKDIRHIER
) $(installationtest_instpath
)
67 cd
$(installationtest_instpath
) && $(GNUTAR
) xfz \
68 $(installationtest_instset
)/OOo_
*_install-arc_
$(defaultlangiso
).
tar.gz
69 $(MV
) $(installationtest_instpath
)/OOo_
*_install-arc_
$(defaultlangiso
) \
70 $(installationtest_instpath
)/opt
72 cpptest
: $(installationtest_instpath
).flag