1 #**************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
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 #**************************************************************************
38 ENABLE_EXCEPTIONS
=TRUE
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
)
54 # --- Types -------------------------------------
56 # comprehensive type info, so rdb needn't be installed
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 -------------------------------------
85 $(SLO
)$/analysis.obj \
86 $(SLO
)$/financial.obj \
87 $(SLO
)$/analysishelper.obj \
90 # SCO: the linker does know about weak symbols, but we can't ignore multiple defined symbols
92 SLOFILES
+=$(SLO
)$/staticmb.obj
101 analysis_funcnames.src \
102 analysis_deffuncnames.src
104 # --- Library -----------------------------------
106 SHL1TARGET
=$(TARGET
)$(DLLPOSTFIX
)
116 SHL1VERSIONMAP
=exports.map
117 SHL1DEF
=$(MISC
)$/$(SHL1TARGET
).def
118 DEF1NAME
=$(SHL1TARGET
)
120 # --- Resourcen ----------------------------------------------------
129 # --- Targets ----------------------------------
133 $(BIN
)$/analysisadd.rdb
: $(ALLIDLFILES
)
134 $(IDLC
) -I
$(PRJ
) -I
$(SOLARIDLDIR
) -O
$(BIN
) $?
135 $(REGMERGE
) $@
/UCR
$(BIN
)$/{$(?
:f
:s
/.idl
/.urd
/)}