update dev300-m58
[ooovba.git] / reportdesign / util / makefile.mk
blobc6a5c8e8f75f0f4cc353d530757384515d293519
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.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 #*************************************************************************
32 PRJ=..
33 PRJNAME=reportdesign
34 TARGET=rpt
35 TARGET2=$(TARGET)ui
36 # USE_DEFFILE=TRUE
37 GEN_HID=TRUE
38 GEN_HID_OTHER=TRUE
40 # --- Settings ----------------------------------
41 .INCLUDE : settings.mk
43 # ------------------------------------------------------------------
44 # --- reportdesign core (rpt) -----------------------------------
46 LIB1TARGET=$(SLB)$/$(TARGET).lib
47 LIB1FILES=\
48 $(SLB)$/api.lib \
49 $(SLB)$/coreshared.lib \
50 $(SLB)$/core_resource.lib \
51 $(SLB)$/core_sdr.lib \
52 $(SLB)$/core_misc.lib
54 SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
56 SHL1STDLIBS= \
57 $(SVXCORELIB) \
58 $(SVXLIB) \
59 $(FWELIB) \
60 $(SFXLIB) \
61 $(TOOLSLIB) \
62 $(SVLLIB) \
63 $(SVTOOLLIB) \
64 $(UNOTOOLSLIB) \
65 $(DBTOOLSLIB) \
66 $(COMPHELPERLIB) \
67 $(CPPUHELPERLIB) \
68 $(CPPULIB) \
69 $(VCLLIB) \
70 $(TKLIB) \
71 $(VOSLIB) \
72 $(SALLIB)
74 .IF "$(GUI)"!="WNT" || "$(COM)"=="GCC"
75 SHL1STDLIBS+= \
76 -ldbu$(DLLPOSTFIX)
77 .ELSE
78 SHL1STDLIBS+= \
79 idbu.lib
80 .ENDIF
82 SHL1IMPLIB=i$(TARGET)
83 SHL1USE_EXPORTS=name
84 SHL1LIBS=$(LIB1TARGET)
85 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
87 DEF1NAME=$(SHL1TARGET)
88 DEFLIB1NAME=$(TARGET)
90 # --- .res file ----------------------------------------------------------
92 RES1FILELIST=\
93 $(SRS)$/core_strings.srs
95 RESLIB1NAME=$(TARGET)
96 RESLIB1IMAGES=$(PRJ)$/res
97 RESLIB1SRSFILES=$(RES1FILELIST)
100 # --- reportdesign UI core (rptui) -----------------------------------
101 LIB2TARGET=$(SLB)$/$(TARGET2).lib
102 LIB2FILES=\
103 $(SLB)$/uimisc.lib \
104 $(SLB)$/uidlg.lib \
105 $(SLB)$/uishared.lib \
106 $(SLB)$/ui_inspection.lib \
107 $(SLB)$/report.lib
109 SHL2TARGET=$(TARGET2)$(DLLPOSTFIX)
111 SHL2STDLIBS= \
112 $(SVXCORELIB) \
113 $(SVXLIB) \
114 $(SFXLIB) \
115 $(SVTOOLLIB) \
116 $(TKLIB) \
117 $(VCLLIB) \
118 $(SVLLIB) \
119 $(SOTLIB) \
120 $(UNOTOOLSLIB) \
121 $(TOOLSLIB) \
122 $(DBTOOLSLIB) \
123 $(COMPHELPERLIB) \
124 $(CPPUHELPERLIB) \
125 $(CPPULIB) \
126 $(FWELIB) \
127 $(SO2LIB) \
128 $(I18NISOLANGLIB) \
129 $(SALLIB)
130 .IF "$(GUI)"!="WNT" || "$(COM)"=="GCC"
131 SHL2STDLIBS+= \
132 -ldbu$(DLLPOSTFIX) \
133 -l$(TARGET)$(DLLPOSTFIX)
134 .ELSE
135 SHL2STDLIBS+= \
136 idbu.lib \
137 i$(TARGET).lib
138 .ENDIF
140 .IF "$(GUI)"!="WNT" || "$(COM)"=="GCC"
141 SHL2STDLIBS+= \
142 -lfor$(DLLPOSTFIX) \
143 -lforui$(DLLPOSTFIX)
144 .ELSE
145 SHL2STDLIBS+= \
146 ifor.lib \
147 iforui.lib
148 .ENDIF
151 SHL2DEPN=$(SHL1TARGETN)
152 SHL2LIBS=$(LIB2TARGET)
153 SHL2DEF=$(MISC)$/$(SHL2TARGET).def
154 DEF2NAME=$(SHL2TARGET)
155 SHL2VERSIONMAP=$(TARGET2).map
157 # --- .res file ----------------------------------------------------------
159 RES2FILELIST=\
160 $(SRS)$/uidlg.srs \
161 $(SRS)$/ui_inspection.srs \
162 $(SRS)$/report.srs
165 RESLIB2NAME=$(TARGET2)
166 RESLIB2IMAGES=$(PRJ)$/res
167 RESLIB2SRSFILES=$(RES2FILELIST)
169 # ------------------- rptxml -------------------
170 TARGET3=rptxml
171 # --- Library -----------------------------------
172 LIB3TARGET=$(SLB)$/rpt_flt.lib
173 LIB3FILES=\
174 $(SLB)$/xmlshared.lib \
175 $(SLB)$/$(TARGET3).lib
177 SHL3TARGET=$(TARGET3)$(DLLPOSTFIX)
179 SHL3STDLIBS=\
180 $(SVXCORELIB) \
181 $(XMLOFFLIB) \
182 $(VCLLIB) \
183 $(UNOTOOLSLIB) \
184 $(TOOLSLIB) \
185 $(DBTOOLSLIB) \
186 $(COMPHELPERLIB) \
187 $(CPPUHELPERLIB) \
188 $(CPPULIB) \
189 $(UCBHELPERLIB) \
190 $(SFXLIB) \
191 $(SVLLIB) \
192 $(SOTLIB) \
193 $(SO2LIB) \
194 $(SALLIB)
195 .IF "$(GUI)"!="WNT" || "$(COM)"=="GCC"
196 SHL3STDLIBS+= \
197 -l$(TARGET)$(DLLPOSTFIX)
198 .ELSE
199 SHL3STDLIBS+= \
200 irpt.lib
201 .ENDIF
204 SHL3DEPN=$(SHL1TARGETN)
205 SHL3LIBS=$(LIB3TARGET)
206 SHL3IMPLIB= i$(SHL3TARGET)
207 SHL3VERSIONMAP=rptui.map
208 SHL3DEF= $(MISC)$/$(SHL3TARGET).def
210 DEF3NAME=$(SHL3TARGET)
212 # --- Targets ----------------------------------
214 .INCLUDE : target.mk