Make the README.cross a bit more copy&paste proof
[LibreOffice.git] / cppu / util / makefile.mk
blobea0c09488c856571aa715d809560622f422cdec6
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
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.
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).
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.
26 #*************************************************************************
27 PRJ=..
29 PRJNAME=cppu
30 TARGET=cppu
31 USE_DEFFILE=TRUE
32 ENABLE_EXCEPTIONS=TRUE
33 NO_BSYMBOLIC=TRUE
35 .IF "$(COM)" != "MSC"
36 UNIXVERSIONNAMES=UDK
37 .ENDIF
40 # --- Settings -----------------------------------------------------
42 .INCLUDE : settings.mk
43 .INCLUDE : ../source/helper/purpenv/export.mk
45 # --- Files --------------------------------------------------------
47 SHL1LIBS= \
48 $(SLB)$/cppu_typelib.lib \
49 $(SLB)$/cppu_uno.lib \
50 $(SLB)$/cppu_threadpool.lib \
51 $(SLB)$/cppu_cppu.lib
53 .IF "$(COM)" == "MSC"
54 SHL1TARGET=$(TARGET)$(UDK_MAJOR)
55 .ELSE
56 SHL1TARGET= uno_$(TARGET)
57 .ENDIF
59 SHL1STDLIBS = $(SALLIB)
61 SHL1DEPN=
62 .IF "$(COM)" == "MSC"
63 SHL1IMPLIB=i$(TARGET)
64 .ELSE
65 SHL1IMPLIB=uno_$(TARGET)
66 .ENDIF
67 .IF "$(OS)"!="FREEBSD" && "$(OS)"!="NETBSD" && "$(OS)"!="OPENBSD" && "$(OS)"!="DRAGONFLY"
68 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
69 .ENDIF
71 SHL1VERSIONMAP=$(TARGET).map
72 SHL1RPATH=URELIB
74 DEF1NAME=$(SHL1TARGET)
77 SHL2TARGET := $(NAMEpurpenv_helper)
78 DEF2NAME := $(SHL2TARGET)
79 .IF "$(GUI)$(COM)"=="WNTGCC"
80 SHL2VERSIONMAP:=uno_purpenvhelper$(COMID).map
81 .ELIF "$(COMNAME)"=="mscx"
82 SHL2VERSIONMAP:=$(SHL2TARGET)X.map
83 .ELSE
84 SHL2VERSIONMAP:=$(SHL2TARGET).map
85 .ENDIF # "$(GUI)$(COM)"=="WNTGCC"
86 SHL2DEF := $(MISC)$/$(SHL2TARGET).def
87 .IF "$(COM)" == "MSC"
88 SHL2IMPLIB := i$(SHL2TARGET)
89 .ELSE
90 SHL2IMPLIB := $(SHL2TARGET)
91 .ENDIF
92 SHL2STDLIBS := $(CPPULIB) $(SALLIB)
93 SHL2RPATH := URELIB
94 SHL2OBJS := \
95 $(SLO)$/helper_purpenv_Environment.obj \
96 $(SLO)$/helper_purpenv_Mapping.obj \
97 $(SLO)$/helper_purpenv_Proxy.obj
98 SHL2DEPN=$(SHL1TARGETN)
100 # --- Targets ------------------------------------------------------
101 .INCLUDE : target.mk
103 ALLTAR:
104 $(MAKE) $(MAKECMDGOALS) -f extra.mk