update dev300-m57
[ooovba.git] / sal / test / unloading / makefile.mk
blob707c7dabd0e906788769c19060d00b465b55a98c
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.6 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
31 PRJ=..$/..
33 PRJNAME= sal
34 TARGET= unloading
35 TARGET1=samplelib1
36 TARGET2=samplelib2
37 #LIBTARGET=NO
38 TARGETTYPE=CUI
39 COMP1TYPELIST=$(TARGET1)
41 NO_BSYMBOLIC= TRUE
42 ENABLE_EXCEPTIONS=TRUE
44 USE_DEFFILE= TRUE
46 # --- Settings -----------------------------------------------------
48 .INCLUDE : settings.mk
50 CFLAGS+= $(LFS_CFLAGS)
51 CXXFLAGS+= $(LFS_CFLAGS)
53 # --- Files --------------------------------------------------------
55 UNOUCRDEP=$(SOLARBINDIR)$/udkapi.rdb
56 UNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb
58 CPPUMAKERFLAGS =
60 .IF "$(BOOTSTRAP_SERVICE)" == "TRUE"
61 UNOUCROUT= $(OUT)$/inc$/bootstrap
62 INCPRE+= $(OUT)$/inc$/bootstrap
63 .ELSE
64 .IF "$(COM)" == "MSC"
65 CPPUMAKERFLAGS = -L
66 .ENDIF
67 UNOUCROUT= $(OUT)$/inc$/light
68 INCPRE+= $(OUT)$/inc$/light
69 .ENDIF
72 #SLOFILES= \
73 # $(SLO)$/samplelib1.obj \
74 # $(SLO)$/samplelib2.obj
76 LIB1TARGET=$(SLB)$/$(TARGET1).lib
77 LIB1OBJFILES= \
78 $(SLO)$/samplelib1.obj
80 SHL1TARGET= $(TARGET1)
82 SHL1STDLIBS= \
83 $(CPPULIB) \
84 $(CPPUHELPERLIB) \
85 $(SALLIB)
89 SHL1DEPN=
90 #SHL1IMPLIB= i$(TARGET1)
91 SHL1LIBS= $(SLB)$/$(TARGET1).lib
92 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
93 DEF1EXPORTFILE= exports.dxp
94 DEF1NAME= $(SHL1TARGET)
95 #-------------------------------------------------------
97 LIB2TARGET=$(SLB)$/$(TARGET2).lib
98 LIB2OBJFILES= \
99 $(SLO)$/samplelib2.obj
101 SHL2TARGET= $(TARGET2)
103 SHL2STDLIBS= \
104 $(CPPULIB) \
105 $(CPPUHELPERLIB) \
106 $(SALLIB)
108 SHL2DEPN=
109 SHL2LIBS= $(SLB)$/$(TARGET2).lib
110 SHL2DEF= $(MISC)$/$(SHL2TARGET).def
111 DEF2EXPORTFILE= exports.dxp
112 DEF2NAME= $(SHL2TARGET)
114 # ------------------------------------------------------------------
116 APP1NOSAL=TRUE
118 APP1TARGET= $(TARGET)
120 APP1OBJS= $(OBJ)$/unloadTest.obj
122 APP1STDLIBS= \
123 $(SALLIB) \
124 $(CPPUHELPERLIB) \
125 $(CPPULIB)
127 # --- Targets ------------------------------------------------------
129 .INCLUDE : target.mk