1#************************************************************************* 2# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3# 4# Copyright 2000, 2010 Oracle and/or its affiliates. 5# 6# OpenOffice.org - a multi-platform office productivity suite 7# 8# This file is part of OpenOffice.org. 9# 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. 13# 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). 19# 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#***********************************************************************/ 25 26PRJ = . 27PRJNAME = smoketestoo_native 28TARGET = smoketest 29 30ENABLE_EXCEPTIONS = TRUE 31 32ABORT_ON_ASSERTION = TRUE 33 34.INCLUDE: settings.mk 35 36CFLAGSCXX += $(CPPUNIT_CFLAGS) 37 38#building with stlport, but cppunit was not built with stlport 39.IF "$(USE_SYSTEM_STL)"!="YES" 40.IF "$(SYSTEM_CPPUNIT)"=="YES" 41CFLAGSCXX+=-DADAPT_EXT_STL 42.ENDIF 43.ENDIF 44 45SLOFILES = $(SHL1OBJS) 46 47SHL1TARGET = smoketest 48SHL1OBJS = $(SLO)/smoketest.obj 49SHL1RPATH = NONE 50SHL1STDLIBS = $(CPPUHELPERLIB) $(CPPULIB) $(CPPUNITLIB) $(SALLIB) $(TESTLIB) 51SHL1VERSIONMAP = version.map 52DEF1NAME = $(SHL1TARGET) 53 54.INCLUDE: target.mk 55.INCLUDE: installationtest.mk 56 57ALLTAR : cpptest 58 59cpptest : $(SHL1TARGETN) 60 61TEST_ARGUMENTS = smoketest.doc=$(OUTDIR)/bin$(UPDMINOREXT)/smoketestdoc.sxw 62CPPTEST_LIBRARY = $(SHL1TARGETN) 63 64.IF "$(OS)" != "WNT" 65$(installationtest_instpath).flag : $(shell ls \ 66 $(installationtest_instset)/OOo_*_install-arc_$(defaultlangiso).tar.gz) 67 $(COMMAND_ECHO)$(RM) -r $(installationtest_instpath) 68 $(COMMAND_ECHO)$(MKDIRHIER) $(installationtest_instpath) 69 $(COMMAND_ECHO)cd $(installationtest_instpath) && $(GNUTAR) xfz \ 70 $(installationtest_instset)/OOo_*_install-arc_$(defaultlangiso).tar.gz 71 $(COMMAND_ECHO)$(MV) $(installationtest_instpath)/OOo_*_install-arc_$(defaultlangiso) \ 72 $(installationtest_instpath)/opt 73 $(COMMAND_ECHO)$(TOUCH) $@ 74cpptest : $(installationtest_instpath).flag 75.END 76