xref: /aoo41x/main/chart2/source/view/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
23
24PRJ=				..$/..
25PRJNAME=			chart2
26TARGET=				chartview
27
28USE_DEFFILE=		TRUE
29ENABLE_EXCEPTIONS=	TRUE
30
31# --- Settings -----------------------------------------------------
32
33.INCLUDE: $(PRJ)$/util$/makefile.pmk
34.INCLUDE: $(PRJ)$/chartview.pmk
35
36# --- export library -------------------------------------------------
37
38#You can use several library macros of this form to build libraries that
39#do not consist of all object files in a directory or to merge different libraries.
40LIB1TARGET=		$(SLB)$/$(TARGET).lib
41
42LIB1FILES=		\
43				$(SLB)$/chvaxes.lib \
44				$(SLB)$/chvtypes.lib \
45				$(SLB)$/chvdiagram.lib \
46				$(SLB)$/chview.lib
47
48#--------
49
50#Indicates the filename of the shared library.
51SHL1TARGET=		$(TARGET)$(DLLPOSTFIX)
52
53#indicates dependencies:
54.IF "$(COM)" == "MSC"
55SHL1DEPN = \
56        $(LB)$/icharttools.lib
57.ELSE
58SHL1DEPN =
59.ENDIF
60
61#Specifies an import library to create. For Win32 only.
62SHL1IMPLIB=		i$(TARGET)
63
64#Specifies libraries from the same module to put into the shared library.
65#was created above
66SHL1LIBS= 		$(LIB1TARGET)
67
68#Links import libraries.
69
70SHL1STDLIBS=	$(CHARTTOOLS)		\
71				$(CPPULIB)			\
72				$(EDITENGLIB)			\
73				$(CPPUHELPERLIB)	\
74				$(COMPHELPERLIB)	\
75				$(SALLIB)			\
76				$(SVLLIB)			\
77				$(SVTOOLLIB)		\
78				$(SVXCORELIB)			\
79				$(TOOLSLIB) 		\
80				$(UNOTOOLSLIB)      \
81				$(BASEGFXLIB) 		\
82				$(VCLLIB)           \
83			    $(SFXLIB)			\
84			    $(BASEGFXLIB)
85
86#--------exports
87
88#specifies the exported symbols for Windows only:
89SHL1DEF=		$(MISC)$/$(SHL1TARGET).def
90
91#Specifies the library name to parse for symbols. For Win32 only.
92DEFLIB1NAME=	$(TARGET)
93
94#A file of symbols to export.
95#DEF1EXPORTFILE=	$(PRJ)$/source$/inc$/exports.dxp
96
97#--------definition file
98
99#name of the definition file:
100DEF1NAME=		$(SHL1TARGET)
101
102# indicates definition file dependencies
103DEF1DEPN=		$(MISC)$/$(SHL1TARGET).flt
104
105#A comment on the definition file.
106DEF1DES=		Viewable Component Chart View
107
108# --- Targets -----------------------------------------------------------------
109
110.INCLUDE: target.mk
111
112# --- Filter -----------------------------------------------------------
113
114$(MISC)$/$(SHL1TARGET).flt: makefile.mk \
115							exports.flt
116	$(TYPE) exports.flt > $@
117
118ALLTAR : $(MISC)/chartview.component
119
120$(MISC)/chartview.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
121        chartview.component
122    $(XSLTPROC) --nonet --stringparam uri \
123        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
124        $(SOLARENV)/bin/createcomponent.xslt chartview.component
125