Update ooo320-m1
[ooovba.git] / io / test / makefile.mk
blobb7acf670684f7564050590770b1f38d1c8a38831
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 .IF "$(L10N_framework)"==""
45 # --- Files --------------------------------------------------------
47 OBJFILES= $(OBJ)$/testcomponent.obj \
48 $(OBJ)$/testconnection.obj
50 UNOUCRDEP=$(SOLARBINDIR)$/udkapi.rdb
51 UNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb
53 # output directory (one dir for each project)
54 UNOUCROUT=$(OUT)$/inc
56 UNOTYPES = com.sun.star.connection.XConnector \
57 com.sun.star.connection.XAcceptor \
58 com.sun.star.registry.XImplementationRegistration \
59 com.sun.star.lang.XComponent \
60 com.sun.star.lang.XSingleServiceFactory \
61 com.sun.star.lang.XMultiServiceFactory \
62 com.sun.star.test.XSimpleTest \
63 com.sun.star.lang.XSingleComponentFactory \
64 com.sun.star.lang.XMultiComponentFactory
68 # std testcomponent
71 APP1TARGET = testcomponent
72 APP1OBJS = $(OBJ)$/testcomponent.obj
73 APP1STDLIBS = $(SALLIB) \
74 $(CPPULIB)\
75 $(CPPUHELPERLIB)
77 APP2TARGET = testconnection
78 APP2OBJS = $(OBJ)$/testconnection.obj
79 APP2STDLIBS = $(SALLIB) \
80 $(CPPULIB) \
81 $(CPPUHELPERLIB)
85 # --- Targets ------------------------------------------------------
87 ALL : $(BIN)$/applicat.rdb \
88 ALLTAR
90 $(BIN)$/applicat.rdb: $(SOLARBINDIR)$/udkapi.rdb
91 rm -f $@
92 regmerge $@ / $?
94 .ENDIF # L10N_framework
96 .INCLUDE : target.mk