Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / salhelper / test / rtti / makefile.mk
blobdd811d531c43912258fa138024c2bcde88b83d19
2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # This file incorporates work covered by the following license notice:
10 # Licensed to the Apache Software Foundation (ASF) under one or more
11 # contributor license agreements. See the NOTICE file distributed
12 # with this work for additional information regarding copyright
13 # ownership. The ASF licenses this file to you under the Apache
14 # License, Version 2.0 (the "License"); you may not use this file
15 # except in compliance with the License. You may obtain a copy of
16 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 PRJ=..$/..
20 PRJNAME= salhelper
21 TARGET= rtti
22 TARGET1=samplelibrtti
23 LIBTARGET=NO
24 TARGETTYPE=CUI
27 ENABLE_EXCEPTIONS=TRUE
29 USE_DEFFILE= TRUE
31 # --- Settings -----------------------------------------------------
33 .INCLUDE : settings.mk
35 # --- Files --------------------------------------------------------
37 #RTTI on
38 .IF "$(OS)" == "WNT"
39 CFLAGS+= -GR
40 .ENDIF
42 SLOFILES= \
43 $(SLO)$/samplelibrtti.obj
45 LIB1TARGET=$(SLB)$/$(TARGET1).lib
46 LIB1OBJFILES= \
47 $(SLO)$/samplelibrtti.obj
49 SHL1TARGET= $(TARGET1)
51 SHL1STDLIBS= \
52 $(CPPULIB) \
53 $(CPPUHELPERLIB) \
54 $(SALLIB)
57 SHL1DEPN=
58 SHL1IMPLIB= i$(TARGET1)
59 SHL1LIBS= $(SLB)$/$(TARGET1).lib
60 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
61 DEF1EXPORTFILE= exports.dxp
63 DEF1NAME= $(SHL1TARGET)
65 .IF "$(OS)$(CPUNAME)"=="SOLARISSPARC"
66 SHL1VERSIONMAP= sols.map
67 .ENDIF
70 # ------------------------------------------------------------------
72 APP1NOSAL=TRUE
74 APP1TARGET= $(TARGET)
76 APP1OBJS= $(OBJ)$/rttitest.obj
78 APP1STDLIBS= \
79 $(SALLIB) \
80 $(CPPUHELPERLIB) \
81 $(CPPULIB)
83 .IF "$(OS)" == "WNT"
84 APP1STDLIBS+= $(LB)$/isamplelibrtti.lib
85 .ELSE
86 APP1STDLIBS+= -lsamplelibrtti
87 .ENDIF
89 # --- Targets ------------------------------------------------------
91 .INCLUDE : target.mk