1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
38 ENABLE_EXCEPTIONS
=TRUE
40 # --- Settings -----------------------------------------------------
42 .INCLUDE
: settings.mk
44 # --- Common ----------------------------------------------------------
46 # BEGIN ----------------------------------------------------------------
47 # auto generated Target:tests by codegen.pl
51 # the following three libs are a bit of a hack: cannot link against
52 # unoxml here, because not yet delivered (and does not export
53 # ~anything). Need the functionality to test, so we're linking it in
54 # statically. Need to keep this in sync with
55 # source/services/makefile.mk
58 $(SLB
)$/xpathimpl.lib \
59 $(SLB
)$/eventsimpl.lib
74 SHL1IMPLIB
= i
$(SHL1TARGET
)
76 DEF1NAME
=$(SHL1TARGET
)
77 SHL1VERSIONMAP
= export.map
79 # END ------------------------------------------------------------------
81 #------------------------------- All object files -------------------------------
82 # do this here, so we get right dependencies
85 # --- Targets ------------------------------------------------------
88 .INCLUDE
: _cppunit.mk
90 # --- Fake uno bootstrap ------------------------
92 $(BIN
)$/unoxml_unittest_test.ini
: makefile.mk
94 @echo UNO_SERVICES
= > $@
95 @echo UNO_TYPES
=$(UNOUCRRDB
:s
/\
/\\/) >> $@
97 # --- Enable testshl2 execution in normal build ------------------------
99 $(MISC
)$/unoxml_unittest_succeeded
: $(SHL1TARGETN
) $(BIN
)$/unoxml_unittest_test.ini
100 @echo
----------------------------------------------------------
101 @echo
- start unit
test on library
$(SHL1TARGETN
)
102 @echo
----------------------------------------------------------
103 testshl2
-forward
$(BIN
)$/ -sf
$(mktmp
) $(SHL1TARGETN
)
106 ALLTAR
: $(MISC
)$/unoxml_unittest_succeeded