1#
2# This file is part of the LibreOffice project.
3#
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/.
7#
8# This file incorporates work covered by the following license notice:
9#
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 .
17#
18
19PRJ=..
20
21PRJNAME=extensions
22TARGET=workben
23LIBTARGET=NO
24
25TARGETTYPE=CUI
26ENABLE_EXCEPTIONS=TRUE
27
28# --- Settings -----------------------------------------------------
29
30.INCLUDE :  settings.mk
31.IF "$(L10N_framework)"==""
32# --- Files --------------------------------------------------------
33
34OBJFILES=	$(OBJ)$/testcomponent.obj \
35        $(OBJ)$/testconnection.obj
36
37UNOUCRDEP=$(SOLARBINDIR)$/udkapi.rdb
38UNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb
39
40# output directory (one dir for each project)
41UNOUCROUT=$(OUT)$/inc
42
43UNOTYPES =	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
52
53
54#
55# std testcomponent
56#
57
58APP1TARGET = testcomponent
59APP1OBJS   = $(OBJ)$/testcomponent.obj
60APP1STDLIBS = 	$(SALLIB) \
61        $(CPPULIB)\
62        $(CPPUHELPERLIB)
63
64APP2TARGET = testconnection
65APP2OBJS   = $(OBJ)$/testconnection.obj
66APP2STDLIBS = 	$(SALLIB) \
67        $(CPPULIB) \
68        $(CPPUHELPERLIB)
69
70
71
72# --- Targets ------------------------------------------------------
73
74ALL : 	$(BIN)$/applicat.rdb	\
75    ALLTAR
76
77$(BIN)$/applicat.rdb: $(SOLARBINDIR)$/udkapi.rdb
78    rm -f $@
79    regmerge $@ / $?
80
81.ENDIF 		# L10N_framework
82
83.INCLUDE :  target.mk
84