xref: /aoo4110/main/canvas/source/tools/makefile.mk (revision b1cdbd2c)
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=canvastools
28ENABLE_EXCEPTIONS=TRUE
29
30# --- Settings -----------------------------------------------------------
31
32.INCLUDE :	settings.mk
33
34# --- Common ----------------------------------------------------------
35
36.IF "$(verbose)"!="" || "$(VERBOSE)"!=""
37CDEFS+= -DVERBOSE
38.ENDIF
39.IF "$(profiler)"!="" || "$(PROFILER)"!=""
40CDEFS+= -DPROFILER
41.ENDIF
42
43#CFLAGS +:= /Ox /Ot					# THIS IS IMPORTANT
44
45
46.IF "$(L10N_framework)"==""
47SLOFILES =	\
48	$(SLO)$/cachedprimitivebase.obj \
49	$(SLO)$/canvascustomspritehelper.obj \
50	$(SLO)$/canvastools.obj \
51	$(SLO)$/elapsedtime.obj \
52	$(SLO)$/parametricpolypolygon.obj \
53	$(SLO)$/prioritybooster.obj \
54	$(SLO)$/propertysethelper.obj \
55	$(SLO)$/spriteredrawmanager.obj \
56	$(SLO)$/surface.obj \
57	$(SLO)$/surfaceproxy.obj \
58	$(SLO)$/surfaceproxymanager.obj \
59	$(SLO)$/pagemanager.obj \
60	$(SLO)$/page.obj \
61	$(SLO)$/verifyinput.obj
62
63SHL1TARGET= 	$(TARGET)$(DLLPOSTFIX)
64SHL1IMPLIB= 	i$(TARGET)
65SHL1STDLIBS=	$(SALLIB) $(CPPULIB) $(BASEGFXLIB) $(CPPUHELPERLIB) $(COMPHELPERLIB) $(VCLLIB) $(TKLIB) $(TOOLSLIB)
66
67SHL1LIBS=	$(SLB)$/$(TARGET).lib
68
69SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
70DEF1NAME	=$(SHL1TARGET)
71DEF1DEPN	=$(MISC)$/$(SHL1TARGET).flt \
72		$(LIB1TARGET)
73
74DEF1DES		=Canvastools
75DEFLIB1NAME	=$(TARGET)
76
77.IF "$(GUI)" == "WNT"
78SHL1STDLIBS += $(WINMMLIB) $(KERNEL32LIB)
79.ENDIF
80.ENDIF
81
82# ==========================================================================
83
84.INCLUDE :	target.mk
85
86$(MISC)$/$(SHL1TARGET).flt : makefile.mk $(TARGET).flt
87	@$(TYPE) $(TARGET).flt > $@
88