xref: /aoo41x/main/salhelper/source/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
23PRJ=..
24
25PRJNAME=salhelper
26TARGET=salhelper
27
28ENABLE_EXCEPTIONS=TRUE
29NO_BSYMBOLIC=TRUE
30USE_DEFFILE=TRUE
31
32.IF "$(OS)" != "WNT" && "$(GUI)"!="OS2"
33UNIXVERSIONNAMES=UDK
34.ENDIF # WNT
35
36# --- Settings -----------------------------------------------------
37
38.INCLUDE :  settings.mk
39
40# --- Files --------------------------------------------------------
41
42SLOFILES=	\
43	$(SLO)$/condition.obj \
44	$(SLO)$/dynload.obj \
45	$(SLO)$/simplereferenceobject.obj
46
47.IF "$(GUI)" == "WNT"
48SHL1TARGET=	$(TARGET)$(UDK_MAJOR)$(COMID)
49.ELIF "$(GUI)" == "OS2"
50SHL1TARGET=	salhelp$(UDK_MAJOR)
51.ELSE
52SHL1TARGET=	uno_$(TARGET)$(COMID)
53.ENDIF
54
55SHL1STDLIBS=$(SALLIB)
56
57SHL1DEPN=
58SHL1IMPLIB=	i$(TARGET)
59SHL1LIBS=	$(SLB)$/$(TARGET).lib
60SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
61SHL1RPATH=  URELIB
62
63DEF1NAME=	$(SHL1TARGET)
64
65.IF "$(COMNAME)"=="msci"
66SHL1VERSIONMAP=msci.map
67.ELIF "$(GUI)"=="OS2"
68SHL1VERSIONMAP=gcc3os2.map
69.ELIF "$(COMNAME)"=="sunpro5"
70SHL1VERSIONMAP=sols.map
71.ELIF "$(COMNAME)"=="gcc3"
72SHL1VERSIONMAP=gcc3.map
73.ENDIF
74
75# --- Targets ------------------------------------------------------
76
77.INCLUDE :	target.mk
78
79