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