bump product version to 4.1.6.2
[LibreOffice.git] / unoxml / test / makefile.mk
blob682cedb2a6246e93f67ee6bd34cca0653e2fa9e6
2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # This file incorporates work covered by the following license notice:
10 # Licensed to the Apache Software Foundation (ASF) under one or more
11 # contributor license agreements. See the NOTICE file distributed
12 # with this work for additional information regarding copyright
13 # ownership. The ASF licenses this file to you under the Apache
14 # License, Version 2.0 (the "License"); you may not use this file
15 # except in compliance with the License. You may obtain a copy of
16 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 PRJ=..
21 PRJNAME=unoxml
22 TARGET=tests
23 TARGETTYPE=GUI
25 ENABLE_EXCEPTIONS=TRUE
27 # --- Settings -----------------------------------------------------
29 .INCLUDE : settings.mk
31 CFLAGSCXX += $(CPPUNIT_CFLAGS)
33 # --- Common ----------------------------------------------------------
35 # BEGIN ----------------------------------------------------------------
36 # auto generated Target:tests by codegen.pl
37 SHL1OBJS= \
38 $(SLO)$/domtest.obj
40 # the following three libs are a bit of a hack: cannot link against
41 # unoxml here, because not yet delivered (and does not export
42 # ~anything). Need the functionality to test, so we're linking it in
43 # statically. Need to keep this in sync with
44 # source/services/makefile.mk
45 SHL1LIBS= \
46 $(SLB)$/domimpl.lib \
47 $(SLB)$/xpathimpl.lib \
48 $(SLB)$/eventsimpl.lib
50 SHL1TARGET= tests
51 SHL1STDLIBS= \
52 $(UCBHELPERLIB) \
53 $(LIBXML2LIB) \
54 $(TOOLSLIB) \
55 $(COMPHELPERLIB) \
56 $(CPPUHELPERLIB) \
57 $(CPPUNITLIB) \
58 $(CPPULIB) \
59 $(SAXLIB) \
60 $(SALLIB)\
61 $(EXPATASCII3RDLIB)
63 SHL1IMPLIB= i$(SHL1TARGET)
65 DEF1NAME =$(SHL1TARGET)
66 SHL1VERSIONMAP = export.map
68 # END ------------------------------------------------------------------
70 #------------------------------- All object files -------------------------------
71 # do this here, so we get right dependencies
72 SLOFILES=$(SHL1OBJS)
74 # --- Targets ------------------------------------------------------
76 .INCLUDE : target.mk
77 .INCLUDE : _cppunit.mk
79 # --- Fake uno bootstrap ------------------------
81 $(BIN)$/unoxml_unittest_test.ini : makefile.mk
82 rm -f $@
83 @echo UNO_SERVICES= > $@
84 @echo UNO_TYPES=$(UNOUCRRDB:s/\/\\/) >> $@
86 # --- Enable testshl2 execution in normal build ------------------------
88 $(MISC)$/unoxml_unittest_succeeded : $(SHL1TARGETN) $(BIN)$/unoxml_unittest_test.ini
89 @echo ----------------------------------------------------------
90 @echo - start unit test on library $(SHL1TARGETN)
91 @echo ----------------------------------------------------------
92 $(TESTSHL2) -forward $(BIN)$/ -sf $(mktmp ) $(SHL1TARGETN)
93 $(TOUCH) $@
95 ALLTAR : $(MISC)$/unoxml_unittest_succeeded