xref: /aoo41x/main/chart2/source/model/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=				chartmodel
27
28USE_DEFFILE=		TRUE
29ENABLE_EXCEPTIONS=	TRUE
30VISIBILITY_HIDDEN=TRUE
31
32# --- Settings -----------------------------------------------------
33
34.INCLUDE: $(PRJ)$/util$/makefile.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)$/chmodelmain.lib \
44				$(SLB)$/chmodeltemplate.lib \
45				$(SLB)$/chmodelfilter.lib
46
47#--------
48
49#Indicates the filename of the shared library.
50SHL1TARGET=		$(TARGET)$(DLLPOSTFIX)
51
52#indicates dependencies:
53.IF "$(COM)" == "MSC"
54SHL1DEPN = \
55        $(LB)$/icharttools.lib
56.ELSE
57SHL1DEPN =
58.ENDIF
59
60#Specifies an import library to create. For Win32 only.
61SHL1IMPLIB=		i$(TARGET)
62
63#Specifies libraries from the same module to put into the shared library.
64#was created above
65SHL1LIBS= 		$(LIB1TARGET)
66
67#Links import libraries.
68
69SHL1STDLIBS=	$(CHARTTOOLS) 		\
70				$(CPPULIB)			\
71				$(CPPUHELPERLIB)	\
72				$(COMPHELPERLIB)	\
73				$(UNOTOOLSLIB)		\
74				$(VCLLIB)			\
75				$(SVLLIB)			\
76				$(SVTOOLLIB)		\
77				$(SALLIB)			\
78				$(UCBHELPERLIB)     \
79				$(FWELIB)           \
80
81#--------exports
82
83#specifies the exported symbols for Windows only:
84SHL1DEF=		$(MISC)$/$(SHL1TARGET).def
85
86SHL1VERSIONMAP = $(SOLARENV)/src/component.map
87
88#--------definition file
89
90#name of the definition file:
91DEF1NAME=		$(SHL1TARGET)
92
93# --- Resources ---------------------------------------------------------------
94
95# --- Targets -----------------------------------------------------------------
96
97.INCLUDE: target.mk
98
99ALLTAR : $(MISC)/chartmodel.component
100
101$(MISC)/chartmodel.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
102        chartmodel.component
103    $(XSLTPROC) --nonet --stringparam uri \
104        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
105        $(SOLARENV)/bin/createcomponent.xslt chartmodel.component
106