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