Update ooo320-m1
[ooovba.git] / scaddins / source / analysis / makefile.mk
blobe51d1082575871f9222be5c32c5d9c7163a4801c
1 #**************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.19 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #**************************************************************************
32 PRJ=..$/..
33 PRJNAME=scaddins
35 TARGET=analysis
38 ENABLE_EXCEPTIONS=TRUE
39 USE_DEFFILE=TRUE
40 LIBTARGET=NO
42 # --- Settings ----------------------------------
44 .INCLUDE : settings.mk
46 # --- Types -------------------------------------
48 UNOUCRRDB=$(SOLARBINDIR)$/types.rdb $(BIN)$/analysisadd.rdb
49 UNOUCRDEP=$(UNOUCRRDB)
51 UNOUCROUT=$(OUT)$/inc$/$(PRJNAME)$/$(TARGET)
52 INCPRE+=$(UNOUCROUT)
54 # --- Types -------------------------------------
56 # comprehensive type info, so rdb needn't be installed
57 NO_OFFUH=TRUE
58 CPPUMAKERFLAGS*=-C
60 UNOTYPES=\
61 com.sun.star.sheet.addin.XAnalysis \
62 com.sun.star.lang.XComponent \
63 com.sun.star.lang.XMultiServiceFactory \
64 com.sun.star.lang.XSingleComponentFactory \
65 com.sun.star.lang.XSingleServiceFactory \
66 com.sun.star.uno.TypeClass \
67 com.sun.star.uno.XInterface \
68 com.sun.star.registry.XImplementationRegistration \
69 com.sun.star.sheet.LocalizedName \
70 com.sun.star.sheet.XAddIn \
71 com.sun.star.sheet.XCompatibilityNames \
72 com.sun.star.lang.XServiceName \
73 com.sun.star.lang.XServiceInfo \
74 com.sun.star.lang.XTypeProvider \
75 com.sun.star.uno.XWeak \
76 com.sun.star.uno.XAggregation \
77 com.sun.star.uno.XComponentContext \
78 com.sun.star.util.Date \
79 com.sun.star.util.XNumberFormatter \
80 com.sun.star.util.XNumberFormatTypes
82 # --- Files -------------------------------------
84 SLOFILES=\
85 $(SLO)$/analysis.obj \
86 $(SLO)$/financial.obj \
87 $(SLO)$/analysishelper.obj \
88 $(SLO)$/bessel.obj
90 # SCO: the linker does know about weak symbols, but we can't ignore multiple defined symbols
91 .IF "$(OS)"=="SCO"
92 SLOFILES+=$(SLO)$/staticmb.obj
93 .ENDIF
95 ALLIDLFILES=\
96 analysisadd.idl
98 SRS1NAME=$(TARGET)
99 SRC1FILES = \
100 analysis.src \
101 analysis_funcnames.src \
102 analysis_deffuncnames.src
104 # --- Library -----------------------------------
106 SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
107 SHL1OBJS=$(SLOFILES)
108 SHL1STDLIBS= \
109 $(TOOLSLIB) \
110 $(CPPUHELPERLIB) \
111 $(CPPULIB) \
112 $(SALLIB)
114 SHL1DEPN=makefile.mk
116 SHL1VERSIONMAP=exports.map
117 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
118 DEF1NAME=$(SHL1TARGET)
120 # --- Resourcen ----------------------------------------------------
122 RESLIB1LIST=\
123 $(SRS)$/analysis.srs
125 RESLIB1NAME=analysis
126 RESLIB1SRSFILES=\
127 $(RESLIB1LIST)
129 # --- Targets ----------------------------------
131 .INCLUDE : target.mk
133 $(BIN)$/analysisadd.rdb: $(ALLIDLFILES)
134 $(IDLC) -I$(PRJ) -I$(SOLARIDLDIR) -O$(BIN) $?
135 $(REGMERGE) $@ /UCR $(BIN)$/{$(?:f:s/.idl/.urd/)}
136 touch $@