Avoid potential negative array index access to cached text.
[LibreOffice.git] / io / test / makefile.mk
blobc1d2c964986653d73b0c50efbd4a63c7b01b68b7
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=extensions
22 TARGET=workben
23 LIBTARGET=NO
25 TARGETTYPE=CUI
26 ENABLE_EXCEPTIONS=TRUE
28 # --- Settings -----------------------------------------------------
30 .INCLUDE : settings.mk
31 .IF "$(L10N_framework)"==""
32 # --- Files --------------------------------------------------------
34 OBJFILES= $(OBJ)$/testcomponent.obj \
35 $(OBJ)$/testconnection.obj
37 UNOUCRDEP=$(SOLARBINDIR)$/udkapi.rdb
38 UNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb
40 # output directory (one dir for each project)
41 UNOUCROUT=$(OUT)$/inc
43 UNOTYPES = com.sun.star.connection.XConnector \
44 com.sun.star.connection.XAcceptor \
45 com.sun.star.registry.XImplementationRegistration \
46 com.sun.star.lang.XComponent \
47 com.sun.star.lang.XSingleServiceFactory \
48 com.sun.star.lang.XMultiServiceFactory \
49 com.sun.star.test.XSimpleTest \
50 com.sun.star.lang.XSingleComponentFactory \
51 com.sun.star.lang.XMultiComponentFactory
55 # std testcomponent
58 APP1TARGET = testcomponent
59 APP1OBJS = $(OBJ)$/testcomponent.obj
60 APP1STDLIBS = $(SALLIB) \
61 $(CPPULIB)\
62 $(CPPUHELPERLIB)
64 APP2TARGET = testconnection
65 APP2OBJS = $(OBJ)$/testconnection.obj
66 APP2STDLIBS = $(SALLIB) \
67 $(CPPULIB) \
68 $(CPPUHELPERLIB)
72 # --- Targets ------------------------------------------------------
74 ALL : $(BIN)$/applicat.rdb \
75 ALLTAR
77 $(BIN)$/applicat.rdb: $(SOLARBINDIR)$/udkapi.rdb
78 rm -f $@
79 regmerge $@ / $?
81 .ENDIF # L10N_framework
83 .INCLUDE : target.mk