xref: /trunk/main/cppcanvas/util/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=..
25
26PRJNAME=cppcanvas
27TARGET=cppcanvas
28ENABLE_EXCEPTIONS=TRUE
29
30
31# --- Settings -----------------------------------------------------------
32
33.INCLUDE :	settings.mk
34
35# --- Common ----------------------------------------------------------
36
37LIB1TARGET=$(SLB)$/$(TARGET).lib
38LIB1FILES=\
39	$(SLB)$/canvaswrapper.lib	\
40	$(SLB)$/metafilerenderer.lib	\
41	$(SLB)$/cppcanvastools.lib
42
43SHL1TARGET= 	$(TARGET)$(DLLPOSTFIX)
44SHL1IMPLIB= 	i$(TARGET)
45SHL1STDLIBS=	$(TOOLSLIB) $(CPPULIB) $(SALLIB) $(VCLLIB) $(COMPHELPERLIB) $(CANVASTOOLSLIB) $(CPPUHELPERLIB) $(BASEGFXLIB) $(I18NISOLANGLIB)
46
47.IF "$(debug)$(dbgutil)"!=""
48SHL1STDLIBS += $(CPPUHELPERLIB)
49.ENDIF # "$(debug)$(dbgutil)"!=""
50
51SHL1LIBS=		$(SLB)$/$(TARGET).lib
52
53SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
54DEF1NAME	=$(SHL1TARGET)
55DEF1DEPN	=$(MISC)$/$(SHL1TARGET).flt \
56		$(LIB1TARGET)
57
58DEF1DES		=CPPCanvas
59DEFLIB1NAME	=$(TARGET)
60
61# ==========================================================================
62
63.INCLUDE :	target.mk
64
65$(MISC)$/$(SHL1TARGET).flt : makefile.mk
66	@$(TYPE) $(TARGET).flt > $@
67