xref: /AOO41X/main/canvas/source/vcl/makefile.mk (revision 7871dc3ea494bf86c742e1f4dfc9c6e20f5bcb2a)
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=..$/..
25
26PRJNAME=canvas
27TARGET=vclcanvas
28ENABLE_EXCEPTIONS=TRUE
29
30# --- Settings -----------------------------------------------------------
31
32.INCLUDE :  settings.mk
33DLLPRE =
34
35# --- Common ----------------------------------------------------------
36
37.IF "$(verbose)"!="" || "$(VERBOSE)"!=""
38CDEFS+= -DVERBOSE
39.ENDIF
40
41# Disable optimization for SunCC SPARC
42.IF "$(OS)$(CPU)"=="SOLARISS" && "$(COM)"!="GCC"
43NOOPTFILES = $(SLO)$/canvashelper_texturefill.obj
44.ENDIF
45
46SLOFILES =  $(SLO)$/backbuffer.obj \
47            $(SLO)$/bitmapbackbuffer.obj \
48            $(SLO)$/cachedbitmap.obj \
49            $(SLO)$/canvas.obj \
50            $(SLO)$/canvasbitmap.obj \
51            $(SLO)$/canvasbitmaphelper.obj \
52            $(SLO)$/canvascustomsprite.obj \
53            $(SLO)$/canvasfont.obj \
54            $(SLO)$/canvashelper.obj \
55            $(SLO)$/canvashelper_texturefill.obj \
56            $(SLO)$/devicehelper.obj \
57            $(SLO)$/impltools.obj \
58            $(SLO)$/services.obj \
59            $(SLO)$/spritecanvas.obj \
60            $(SLO)$/spritecanvashelper.obj \
61            $(SLO)$/spritedevicehelper.obj \
62            $(SLO)$/spritehelper.obj \
63            $(SLO)$/textlayout.obj \
64            $(SLO)$/windowoutdevholder.obj
65
66SHL1TARGET=$(TARGET).uno
67
68SHL1STDLIBS= $(TOOLSLIB) $(TKLIB) $(CPPULIB) $(SALLIB) $(VCLLIB) $(COMPHELPERLIB) $(CPPUHELPERLIB) $(BASEGFXLIB) $(CANVASTOOLSLIB) $(SVTOOLLIB) $(I18NISOLANGLIB)
69
70SHL1IMPLIB=i$(TARGET)
71SHL1LIBS=$(SLB)$/$(TARGET).lib
72SHL1DEF=$(MISC)$/$(SHL1TARGET).def
73
74SHL1VERSIONMAP=$(SOLARENV)/src/component.map
75
76DEF1NAME=$(SHL1TARGET)
77DEF1EXPORTFILE=exports.dxp
78
79# ==========================================================================
80
81.INCLUDE :  target.mk
82
83ALLTAR : $(MISC)/vclcanvas.component
84
85$(MISC)/vclcanvas.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
86        vclcanvas.component
87    $(XSLTPROC) --nonet --stringparam uri \
88        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
89        $(SOLARENV)/bin/createcomponent.xslt vclcanvas.component
90