update dev300-m58
[ooovba.git] / io / test / makefile.mk
blobaf032ba8efb1e2dbc1788184b99c956e53ae8129
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.12 $
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 #*************************************************************************
32 PRJ=..
34 PRJNAME=extensions
35 TARGET=workben
36 LIBTARGET=NO
38 TARGETTYPE=CUI
39 ENABLE_EXCEPTIONS=TRUE
41 # --- Settings -----------------------------------------------------
43 .INCLUDE : settings.mk
44 # --- Files --------------------------------------------------------
46 OBJFILES= $(OBJ)$/testcomponent.obj \
47 $(OBJ)$/testconnection.obj
49 UNOUCRDEP=$(SOLARBINDIR)$/udkapi.rdb
50 UNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb
52 # output directory (one dir for each project)
53 UNOUCROUT=$(OUT)$/inc
55 UNOTYPES = com.sun.star.connection.XConnector \
56 com.sun.star.connection.XAcceptor \
57 com.sun.star.registry.XImplementationRegistration \
58 com.sun.star.lang.XComponent \
59 com.sun.star.lang.XSingleServiceFactory \
60 com.sun.star.lang.XMultiServiceFactory \
61 com.sun.star.test.XSimpleTest \
62 com.sun.star.lang.XSingleComponentFactory \
63 com.sun.star.lang.XMultiComponentFactory
67 # std testcomponent
70 APP1TARGET = testcomponent
71 APP1OBJS = $(OBJ)$/testcomponent.obj
72 APP1STDLIBS = $(SALLIB) \
73 $(CPPULIB)\
74 $(CPPUHELPERLIB)
76 APP2TARGET = testconnection
77 APP2OBJS = $(OBJ)$/testconnection.obj
78 APP2STDLIBS = $(SALLIB) \
79 $(CPPULIB) \
80 $(CPPUHELPERLIB)
84 # --- Targets ------------------------------------------------------
86 ALL : $(BIN)$/applicat.rdb \
87 ALLTAR
89 $(BIN)$/applicat.rdb: $(SOLARBINDIR)$/udkapi.rdb
90 rm -f $@
91 regmerge $@ / $?
94 .INCLUDE : target.mk