merged tag ooo/OOO330_m14
[LibreOffice.git] / vbahelper / util / makefile.mk
blobdda4be0cbc8184945f422abdea5d8ea7c113af87
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
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.
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).
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.
26 #*************************************************************************
28 PRJ=..
30 PRJNAME=vbahelper
31 TARGET=vbahelper
33 # --- Settings ---------------------------------------------------
35 .INCLUDE : settings.mk
37 .IF "$(ENABLE_VBA)" == "NO"
38 dummy:
39 @echo "Nothing to build"
40 .ENDIF
42 TARGET_HELPER=vbahelper
44 LIB1TARGET= $(SLB)$/$(TARGET).lib
45 LIB1FILES=$(SLB)$/$(TARGET)bits.lib
47 SHL1TARGET= $(TARGET_HELPER)$(DLLPOSTFIX)
50 # dynamic libraries
51 SHL1STDLIBS= \
52 $(CPPULIB) \
53 $(COMPHELPERLIB) \
54 $(CPPUHELPERLIB) \
55 $(BASICLIB) \
56 $(TOOLSLIB) \
57 $(SALLIB)\
58 $(SFXLIB) \
59 $(SVTOOLLIB) \
60 $(SVLLIB) \
61 $(VCLLIB) \
62 $(SVTOOLLIB) \
63 $(MSFILTERLIB) \
64 $(TKLIB)
66 SHL1DEPN=
67 SHL1IMPLIB= i$(TARGET_HELPER)
68 SHL1USE_EXPORTS=name
69 SHL1LIBS=$(LIB1TARGET)
71 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
73 DEF1NAME=$(SHL1TARGET)
74 DEFLIB1NAME=$(TARGET)
76 TARGET_MSFORMS=msforms
77 SHL2TARGET=$(TARGET_MSFORMS)$(DLLPOSTFIX).uno
78 SHL2IMPLIB= i$(TARGET_MSFORMS)
80 SHL2VERSIONMAP=$(SOLARENV)/src/component.map
81 SHL2DEF=$(MISC)$/$(SHL2TARGET).def
82 DEF2NAME=$(SHL2TARGET)
83 SHL2STDLIBS= \
84 $(CPPUHELPERLIB) \
85 $(CPPULIB) \
86 $(COMPHELPERLIB) \
87 $(SVLIB) \
88 $(TOOLSLIB) \
89 $(SALLIB)\
90 $(VBAHELPERLIB) \
91 $(SFXLIB) \
92 $(SVXLIB) \
93 $(SVTOOLLIB) \
94 $(SVLLIB) \
95 $(VCLLIB) \
96 $(TKLIB) \
97 $(BASICLIB) \
99 SHL2DEPN=$(SHL1TARGETN)
100 SHL2LIBS=$(SLB)$/$(TARGET_MSFORMS).lib
102 # --- Targets -----------------------------------------------------------
104 .INCLUDE : target.mk