xref: /aoo41x/main/sal/test/unloading/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=	sal
30TARGET=		unloading
31TARGET1=samplelib1
32TARGET2=samplelib2
33#LIBTARGET=NO
34TARGETTYPE=CUI
35COMP1TYPELIST=$(TARGET1)
36
37NO_BSYMBOLIC=	TRUE
38ENABLE_EXCEPTIONS=TRUE
39
40USE_DEFFILE=	TRUE
41
42# --- Settings -----------------------------------------------------
43
44.INCLUDE :  settings.mk
45
46CFLAGS+= $(LFS_CFLAGS)
47CXXFLAGS+= $(LFS_CFLAGS)
48
49# --- Files --------------------------------------------------------
50
51UNOUCRDEP=$(SOLARBINDIR)$/udkapi.rdb
52UNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb
53
54CPPUMAKERFLAGS =
55
56.IF "$(BOOTSTRAP_SERVICE)" == "TRUE"
57UNOUCROUT=	$(OUT)$/inc$/bootstrap
58INCPRE+=	$(OUT)$/inc$/bootstrap
59.ELSE
60.IF "$(COM)" == "MSC"
61CPPUMAKERFLAGS = -L
62.ENDIF
63UNOUCROUT=	$(OUT)$/inc$/light
64INCPRE+=	$(OUT)$/inc$/light
65.ENDIF
66
67
68#SLOFILES=	\
69#		$(SLO)$/samplelib1.obj	\
70#		$(SLO)$/samplelib2.obj
71
72LIB1TARGET=$(SLB)$/$(TARGET1).lib
73LIB1OBJFILES= \
74		$(SLO)$/samplelib1.obj
75
76SHL1TARGET=	$(TARGET1)
77
78SHL1STDLIBS= \
79		$(CPPULIB)		\
80		$(CPPUHELPERLIB)	\
81		$(SALLIB)
82
83
84
85SHL1DEPN=
86#SHL1IMPLIB=	i$(TARGET1)
87SHL1LIBS=	$(SLB)$/$(TARGET1).lib
88SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
89DEF1EXPORTFILE=	exports.dxp
90DEF1NAME=	$(SHL1TARGET)
91#-------------------------------------------------------
92
93LIB2TARGET=$(SLB)$/$(TARGET2).lib
94LIB2OBJFILES= \
95		$(SLO)$/samplelib2.obj
96
97SHL2TARGET=	$(TARGET2)
98
99SHL2STDLIBS= \
100		$(CPPULIB)		\
101		$(CPPUHELPERLIB)	\
102		$(SALLIB)
103
104SHL2DEPN=
105SHL2LIBS=	$(SLB)$/$(TARGET2).lib
106SHL2DEF=	$(MISC)$/$(SHL2TARGET).def
107DEF2EXPORTFILE=	exports.dxp
108DEF2NAME=	$(SHL2TARGET)
109
110# ------------------------------------------------------------------
111
112APP1NOSAL=TRUE
113
114APP1TARGET=	$(TARGET)
115
116APP1OBJS=	$(OBJ)$/unloadTest.obj
117
118APP1STDLIBS= \
119	$(SALLIB) \
120	$(CPPUHELPERLIB) \
121	$(CPPULIB)
122
123# --- Targets ------------------------------------------------------
124
125.INCLUDE :	target.mk
126
127