1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24PRJ = . 25PRJNAME = smoketestoo_native 26TARGET = smoketest 27 28ENABLE_EXCEPTIONS = TRUE 29 30ABORT_ON_ASSERTION = TRUE 31 32.INCLUDE: settings.mk 33 34CFLAGSCXX += $(CPPUNIT_CFLAGS) 35 36#building with stlport, but cppunit was not built with stlport 37.IF "$(USE_SYSTEM_STL)"!="YES" 38.IF "$(SYSTEM_CPPUNIT)"=="YES" 39CFLAGSCXX+=-DADAPT_EXT_STL 40.ENDIF 41.ENDIF 42 43SLOFILES = $(SHL1OBJS) 44 45SHL1TARGET = smoketest 46SHL1OBJS = $(SLO)/smoketest.obj 47SHL1RPATH = NONE 48SHL1STDLIBS = $(CPPUHELPERLIB) $(CPPULIB) $(CPPUNITLIB) $(SALLIB) $(TESTLIB) 49SHL1VERSIONMAP = version.map 50DEF1NAME = $(SHL1TARGET) 51 52.INCLUDE: target.mk 53.INCLUDE: installationtest.mk 54 55ALLTAR : cpptest 56 57cpptest : $(SHL1TARGETN) 58 59TEST_ARGUMENTS = smoketest.doc=$(OUTDIR)/bin$(UPDMINOREXT)/smoketestdoc.sxw 60CPPTEST_LIBRARY = $(SHL1TARGETN) 61 62.IF "$(OS)" != "WNT" 63$(installationtest_instpath).flag : $(shell ls \ 64 $(installationtest_instset)/OOo_*_install-arc_$(defaultlangiso).tar.gz) 65 $(COMMAND_ECHO)$(RM) -r $(installationtest_instpath) 66 $(COMMAND_ECHO)$(MKDIRHIER) $(installationtest_instpath) 67 $(COMMAND_ECHO)cd $(installationtest_instpath) && $(GNUTAR) xfz \ 68 $(installationtest_instset)/OOo_*_install-arc_$(defaultlangiso).tar.gz 69 $(COMMAND_ECHO)$(MV) $(installationtest_instpath)/OOo_*_install-arc_$(defaultlangiso) \ 70 $(installationtest_instpath)/opt 71 $(COMMAND_ECHO)$(TOUCH) $@ 72cpptest : $(installationtest_instpath).flag 73.END 74