1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.21.2.2 $
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 #*************************************************************************
40 # --- Settings ----------------------------------
41 .INCLUDE
: settings.mk
43 .IF
"$(L10N_framework)"==""
45 # ------------------------------------------------------------------
46 # --- reportdesign core (rpt) -----------------------------------
48 LIB1TARGET
=$(SLB
)$/$(TARGET
).lib
51 $(SLB
)$/coreshared.lib \
52 $(SLB
)$/core_resource.lib \
53 $(SLB
)$/core_sdr.lib \
56 SHL1TARGET
=$(TARGET
)$(DLLPOSTFIX
)
80 .ELIF
"$(GUI)"!="WNT" ||
"$(COM)"=="GCC"
90 SHL1LIBS
=$(LIB1TARGET
)
91 SHL1DEF
=$(MISC
)$/$(SHL1TARGET
).def
93 DEF1NAME
=$(SHL1TARGET
)
96 # --- .res file ----------------------------------------------------------
99 $(SRS
)$/core_strings.srs
101 RESLIB1NAME
=$(TARGET
)
102 RESLIB1IMAGES
=$(PRJ
)$/res
103 RESLIB1SRSFILES
=$(RES1FILELIST
)
105 .IF
"$(L10N_framework)"==""
106 # --- reportdesign UI core (rptui) -----------------------------------
107 LIB2TARGET
=$(SLB
)$/$(TARGET2
).lib
111 $(SLB
)$/uishared.lib \
112 $(SLB
)$/ui_inspection.lib \
115 SHL2TARGET
=$(TARGET2
)$(DLLPOSTFIX
)
140 .ELIF
"$(GUI)"!="WNT" ||
"$(COM)"=="GCC"
143 -l
$(TARGET
)$(DLLPOSTFIX
)
154 .ELIF
"$(GUI)"!="WNT" ||
"$(COM)"=="GCC"
165 SHL2DEPN
=$(SHL1TARGETN
)
166 SHL2LIBS
=$(LIB2TARGET
)
167 SHL2DEF
=$(MISC
)$/$(SHL2TARGET
).def
168 DEF2NAME
=$(SHL2TARGET
)
169 SHL2VERSIONMAP
=$(TARGET2
).map
171 # --- .res file ----------------------------------------------------------
174 $(SRS
)$/ui_inspection.srs \
177 RESLIB2NAME
=$(TARGET2
)
178 RESLIB2IMAGES
=$(PRJ
)$/res
179 RESLIB2SRSFILES
=$(RES2FILELIST
)
180 .IF
"$(L10N_framework)"==""
182 # ------------------- rptxml -------------------
184 # --- Library -----------------------------------
185 LIB3TARGET
=$(SLB
)$/rpt_flt.lib
187 $(SLB
)$/xmlshared.lib \
188 $(SLB
)$/$(TARGET3
).lib
190 SHL3TARGET
=$(TARGET3
)$(DLLPOSTFIX
)
211 .ELIF
"$(GUI)"!="WNT" ||
"$(COM)"=="GCC"
213 -l
$(TARGET
)$(DLLPOSTFIX
)
220 SHL3DEPN
=$(SHL1TARGETN
)
221 SHL3LIBS
=$(LIB3TARGET
)
222 SHL3IMPLIB
= i
$(SHL3TARGET
)
223 SHL3VERSIONMAP
=rptui.map
224 SHL3DEF
= $(MISC
)$/$(SHL3TARGET
).def
226 DEF3NAME
=$(SHL3TARGET
)
230 # --- Targets ----------------------------------