xref: /aoo42x/main/salhelper/test/Symbols/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=salhelper
27TARGET=dynloader
28TARGET1=samplelib
29TARGETTYPE=CUI
30LIBTARGET=NO
31
32NO_BSYMBOLIC=	TRUE
33ENABLE_EXCEPTIONS=TRUE
34
35# --- Settings ---
36
37.INCLUDE : settings.mk
38
39# --- Files ---
40
41#RTTI on
42.IF "$(OS)" == "WNT"
43CFLAGS+= -GR
44.ENDIF
45
46
47#---------------------------------------------------------------------------
48# Build the test library which is loaded by the
49# RealDynamicLoader
50
51SLOFILES=	$(SLO)$/samplelib.obj
52
53LIB1TARGET=	$(SLB)$/$(TARGET1).lib
54LIB1OBJFILES=	$(SLOFILES)
55
56
57SHL1TARGET=	$(TARGET1)
58
59SHL1STDLIBS= \
60	$(SALLIB)
61
62SHL1DEPN=
63SHL1IMPLIB=	i$(TARGET1)
64SHL1LIBS=	$(SLB)$/$(TARGET1).lib
65SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
66
67DEF1NAME=	$(SHL1TARGET)
68DEFLIB1NAME=	$(TARGET1)
69DEF1DEPN=	$(MISC)$/$(SHL1TARGET).flt
70
71#DEF1EXPORTFILE=	exports.dxp
72
73# ------------------------------------------------------------------------------
74
75OBJFILES=	$(OBJ)$/loader.obj
76
77APP1TARGET=	$(TARGET)
78APP1OBJS=	$(OBJFILES)
79
80APP1STDLIBS= \
81	$(SALHELPERLIB)	\
82	$(SALLIB)
83
84APP1DEF=	$(MISC)\$(APP1TARGET).def
85
86# --- Targets ---
87
88.INCLUDE : target.mk
89
90$(MISC)$/$(SHL1TARGET).flt: makefile.mk
91	@echo ------------------------------
92	@echo Making: $@
93	@echo __CT>>$@
94