xref: /aoo41x/main/salhelper/source/makefile.mk (revision cdf0e10c)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27PRJ=..
28
29PRJNAME=salhelper
30TARGET=salhelper
31
32ENABLE_EXCEPTIONS=TRUE
33NO_BSYMBOLIC=TRUE
34USE_DEFFILE=TRUE
35
36.IF "$(OS)" != "WNT" && "$(GUI)"!="OS2"
37UNIXVERSIONNAMES=UDK
38.ENDIF # WNT
39
40# --- Settings -----------------------------------------------------
41
42.INCLUDE :  settings.mk
43
44# --- Files --------------------------------------------------------
45
46SLOFILES=	\
47	$(SLO)$/condition.obj \
48	$(SLO)$/dynload.obj \
49	$(SLO)$/simplereferenceobject.obj
50
51.IF "$(GUI)" == "WNT"
52SHL1TARGET=	$(TARGET)$(UDK_MAJOR)$(COMID)
53.ELIF "$(GUI)" == "OS2"
54SHL1TARGET=	salhelp$(UDK_MAJOR)
55.ELSE
56SHL1TARGET=	uno_$(TARGET)$(COMID)
57.ENDIF
58
59SHL1STDLIBS=$(SALLIB)
60
61SHL1DEPN=
62SHL1IMPLIB=	i$(TARGET)
63SHL1LIBS=	$(SLB)$/$(TARGET).lib
64SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
65SHL1RPATH=  URELIB
66
67DEF1NAME=	$(SHL1TARGET)
68
69.IF "$(COMNAME)"=="msci"
70SHL1VERSIONMAP=msci.map
71.ELIF "$(GUI)"=="OS2"
72SHL1VERSIONMAP=gcc3os2.map
73.ELIF "$(COMNAME)"=="sunpro5"
74SHL1VERSIONMAP=sols.map
75.ELIF "$(COMNAME)"=="gcc3"
76SHL1VERSIONMAP=gcc3.map
77.ENDIF
78
79# --- Targets ------------------------------------------------------
80
81.INCLUDE :	target.mk
82
83