xref: /aoo4110/main/io/test/makefile.mk (revision b1cdbd2c)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ=..
25
26PRJNAME=extensions
27TARGET=workben
28LIBTARGET=NO
29
30TARGETTYPE=CUI
31ENABLE_EXCEPTIONS=TRUE
32
33# --- Settings -----------------------------------------------------
34
35.INCLUDE :  settings.mk
36.IF "$(L10N_framework)"==""
37# --- Files --------------------------------------------------------
38
39OBJFILES=	$(OBJ)$/testcomponent.obj \
40		$(OBJ)$/testconnection.obj
41
42UNOUCRDEP=$(SOLARBINDIR)$/udkapi.rdb
43UNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb
44
45# output directory (one dir for each project)
46UNOUCROUT=$(OUT)$/inc
47
48UNOTYPES =	com.sun.star.connection.XConnector \
49		com.sun.star.connection.XAcceptor  \
50		com.sun.star.registry.XImplementationRegistration \
51		com.sun.star.lang.XComponent \
52		com.sun.star.lang.XSingleServiceFactory \
53		com.sun.star.lang.XMultiServiceFactory \
54        com.sun.star.test.XSimpleTest            \
55        com.sun.star.lang.XSingleComponentFactory \
56        com.sun.star.lang.XMultiComponentFactory
57
58
59#
60# std testcomponent
61#
62
63APP1TARGET = testcomponent
64APP1OBJS   = $(OBJ)$/testcomponent.obj
65APP1STDLIBS = 	$(SALLIB) \
66		$(CPPULIB)\
67		$(CPPUHELPERLIB)
68
69APP2TARGET = testconnection
70APP2OBJS   = $(OBJ)$/testconnection.obj
71APP2STDLIBS = 	$(SALLIB) \
72		$(CPPULIB) \
73		$(CPPUHELPERLIB)
74
75
76
77# --- Targets ------------------------------------------------------
78
79ALL : 	$(BIN)$/applicat.rdb	\
80	ALLTAR
81
82$(BIN)$/applicat.rdb: $(SOLARBINDIR)$/udkapi.rdb
83	rm -f $@
84	regmerge $@ / $?
85
86.ENDIF 		# L10N_framework
87
88.INCLUDE :  target.mk
89