xref: /trunk/main/sc/workben/makefile.mk (revision 7871dc3e)
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
23PRJ=..
24
25PRJNAME=sc
26TARGET=tst
27IDLMAP=map.idl
28
29# --- Settings -----------------------------------------------------
30
31.INCLUDE :  settings.mk
32
33# --- Files --------------------------------------------------------
34
35UNOUCRDEP=	$(BIN)$/applicat.rdb
36UNOUCRRDB=	$(BIN)$/applicat.rdb
37
38UNOTYPES=\
39	com.sun.star.util.Date		\
40	com.sun.star.sheet.XAddIn	\
41	com.sun.star.sheet.XVolatileResult	\
42	com.sun.star.lang.XServiceName	\
43	com.sun.star.lang.XServiceInfo	\
44	com.sun.star.lang.Locale	\
45	com.sun.star.lang.XSingleServiceFactory	\
46	com.sun.star.registry.XRegistryKey	\
47	com.sun.star.uno.XWeak	\
48	com.sun.star.uno.XAggregation	\
49	com.sun.star.uno.TypeClass	\
50	com.sun.star.lang.XTypeProvider	\
51	com.sun.star.lang.XMultiServiceFactory	\
52	stardiv.starcalc.test.XTestAddIn
53
54PACKAGE=stardiv$/starcalc$/test
55IDLFILES= testadd.idl
56
57SLOFILES=	\
58		$(SLO)$/addin.obj \
59		$(SLO)$/result.obj
60
61EXCEPTIONSFILES= \
62		$(SLO)$/addin.obj \
63		$(SLO)$/result.obj
64
65SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
66
67SHL1STDLIBS=$(VCLLIB) $(TOOLSLIB) $(SVLLIB) $(TKLIB) $(SALLIB) $(VOSLIB) $(CPPULIB) $(CPPUHELPERLIB)
68
69SHL1DEPN=   $(L)$/itools.lib $(SVLIBDEPEND)
70SHL1DEF=    $(MISC)$/$(SHL1TARGET).def
71SHL1IMPLIB=$(TARGET)
72SHL1OBJS=	$(SLO)$/addin.obj $(SLO)$/result.obj $(SLO)$/workben$/testadd.obj
73
74# --- Targets ------------------------------------------------------
75.INCLUDE :  target.mk
76
77.IF "$(GUI)" == "WNT"
78
79$(MISC)$/$(SHL1TARGET).def:  makefile.mk
80    @echo ------------------------------
81    @echo Making: $@
82    @echo LIBRARY     $(SHL1TARGET)                                  >$@
83.IF "$(COM)"!="GCC"
84    @echo DESCRIPTION 'StarOne Test-DLL'                            >>$@
85    @echo DATA        READ WRITE NONSHARED                          >>$@
86.ENDIF
87    @echo EXPORTS                                                   >>$@
88    @echo   component_getImplementationEnvironment @24              >>$@
89    @echo   component_writeInfo @25                                 >>$@
90    @echo   component_getFactory @26                                >>$@
91.ENDIF
92
93