xref: /aoo41x/main/sc/workben/makefile.mk (revision cdf0e10c)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27PRJ=..
28
29PRJNAME=sc
30TARGET=tst
31IDLMAP=map.idl
32
33# --- Settings -----------------------------------------------------
34
35.INCLUDE :  settings.mk
36
37# --- Files --------------------------------------------------------
38
39UNOUCRDEP=	$(BIN)$/applicat.rdb
40UNOUCRRDB=	$(BIN)$/applicat.rdb
41
42UNOTYPES=\
43	com.sun.star.util.Date		\
44	com.sun.star.sheet.XAddIn	\
45	com.sun.star.sheet.XVolatileResult	\
46	com.sun.star.lang.XServiceName	\
47	com.sun.star.lang.XServiceInfo	\
48	com.sun.star.lang.Locale	\
49	com.sun.star.lang.XSingleServiceFactory	\
50	com.sun.star.registry.XRegistryKey	\
51	com.sun.star.uno.XWeak	\
52	com.sun.star.uno.XAggregation	\
53	com.sun.star.uno.TypeClass	\
54	com.sun.star.lang.XTypeProvider	\
55	com.sun.star.lang.XMultiServiceFactory	\
56	stardiv.starcalc.test.XTestAddIn
57
58PACKAGE=stardiv$/starcalc$/test
59IDLFILES= testadd.idl
60
61SLOFILES=	\
62		$(SLO)$/addin.obj \
63		$(SLO)$/result.obj
64
65EXCEPTIONSFILES= \
66		$(SLO)$/addin.obj \
67		$(SLO)$/result.obj
68
69SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
70
71SHL1STDLIBS=$(VCLLIB) $(TOOLSLIB) $(SVLLIB) $(TKLIB) $(SALLIB) $(VOSLIB) $(CPPULIB) $(CPPUHELPERLIB)
72
73SHL1DEPN=   $(L)$/itools.lib $(SVLIBDEPEND)
74SHL1DEF=    $(MISC)$/$(SHL1TARGET).def
75SHL1IMPLIB=$(TARGET)
76SHL1OBJS=	$(SLO)$/addin.obj $(SLO)$/result.obj $(SLO)$/workben$/testadd.obj
77
78# --- Targets ------------------------------------------------------
79.INCLUDE :  target.mk
80
81.IF "$(GUI)" == "WNT"
82
83$(MISC)$/$(SHL1TARGET).def:  makefile.mk
84    @echo ------------------------------
85    @echo Making: $@
86    @echo LIBRARY     $(SHL1TARGET)                                  >$@
87.IF "$(COM)"!="GCC"
88    @echo DESCRIPTION 'StarOne Test-DLL'                            >>$@
89    @echo DATA        READ WRITE NONSHARED                          >>$@
90.ENDIF
91    @echo EXPORTS                                                   >>$@
92    @echo   component_getImplementationEnvironment @24              >>$@
93    @echo   component_writeInfo @25                                 >>$@
94    @echo   component_getFactory @26                                >>$@
95.ENDIF
96
97