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.38.68.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 #*************************************************************************
41 # --- Settings ----------------------------------
43 .INCLUDE
: settings.mk
47 # --- database core (dba) -----------------------------------
48 .IF
"$(L10N_framework)"==""
49 LIB1TARGET
=$(SLB
)$/$(TARGET
).lib
52 $(SLB
)$/dataaccess.lib \
54 $(SLB
)$/core_resource.lib
56 SHL1TARGET
=$(TARGET
)$(DLLPOSTFIX
)
78 SHL1LIBS
=$(LIB1TARGET
)
79 SHL1DEF
=$(MISC
)$/$(SHL1TARGET
).def
80 DEF1NAME
=$(SHL1TARGET
)
82 DEF1DEPN
= $(MISC
)$/$(SHL1TARGET
).flt \
84 # SHL1VERSIONMAP=$(TARGET).map
88 # --- .res file ----------------------------------------------------------
91 $(SRS
)$/core_strings.srs
94 RESLIB1IMAGES
=$(PRJ
)$/res
95 RESLIB1SRSFILES
=$(RES1FILELIST
)
97 # --- database ui (dbu) -----------------------------------
98 .IF
"$(L10N_framework)"==""
100 LIB2TARGET
=$(SLB
)$/$(TARGET2
).lib
102 $(SLB
)$/relationdesign.lib \
103 $(SLB
)$/tabledesign.lib \
104 $(SLB
)$/querydesign.lib \
107 $(SLB
)$/dbushared.lib \
108 $(SLB
)$/browser.lib \
111 $(SLB
)$/uicontrols.lib
113 SHL2TARGET
=$(TARGET2
)$(DLLPOSTFIX
)
138 SHL2STDLIBS
+= $(LB
)$/i
$(TARGET
).lib
139 SHL2DEPN
=$(LB
)$/i
$(TARGET
).lib
140 .ELIF
"$(GUI)"!="WNT" ||
"$(COM)"=="GCC"
142 -l
$(TARGET
)$(DLLPOSTFIX
)
143 SHL2DEPN
=$(SHL1TARGETN
)
146 $(LB
)$/i
$(TARGET
).lib
147 SHL2DEPN
=$(LB
)$/i
$(TARGET
).lib
150 SHL2IMPLIB
=i
$(TARGET2
)
151 SHL2LIBS
=$(LIB2TARGET
)
152 SHL2DEF
=$(MISC
)$/$(SHL2TARGET
).def
153 DEF2NAME
=$(SHL2TARGET
)
154 DEFLIB2NAME
=$(TARGET2
)
155 DEF2DEPN
= $(MISC
)$/$(SHL2TARGET
).flt \
156 $(SLB
)$/$(TARGET2
).lib
157 # SHL2VERSIONMAP=$(TARGET2).map
166 # --- .res file ----------------------------------------------------------
171 $(SRS
)$/uicontrols.srs \
172 $(SRS
)$/browser.srs \
174 $(SRS
)$/querydesign.srs \
175 $(SRS
)$/tabledesign.srs \
176 $(SRS
)$/relationdesign.srs \
177 $(SRS
)$/uiimglst.srs \
181 #needed by $(SLO)$/adodatalinks.obj
182 SHL2STDLIBS
+= $(OLE32LIB
) \
187 RESLIB2NAME
=$(TARGET2
)
188 RESLIB2IMAGES
=$(PRJ
)$/res
189 RESLIB2SRSFILES
=$(RES2FILELIST
)
191 # --- database tools (sdbt) -----------------------------------
192 .IF
"$(L10N_framework)"==""
193 LIB3TARGET
=$(SLB
)$/$(TARGET3
).lib
195 $(SLB
)$/conntools.lib \
196 $(SLB
)$/sdbtmisc.lib \
197 $(SLB
)$/sdbtshared.lib
199 SHL3TARGET
=$(TARGET3
)$(DLLPOSTFIX
)
210 SHL3LIBS
=$(LIB3TARGET
)
211 SHL3DEF
=$(MISC
)$/$(SHL3TARGET
).def
212 DEF3NAME
=$(SHL3TARGET
)
213 SHL3VERSIONMAP
=$(TARGET3
).map
217 # --- .res file ----------------------------------------------------------
220 $(SRS
)$/sdbt_strings.srs
222 RESLIB3NAME
=$(TARGET3
)
223 RESLIB3IMAGES
=$(PRJ
)$/res
224 RESLIB3SRSFILES
=$(RES3FILELIST
)
226 # --- Targets ----------------------------------
231 .IF
"$(L10N_framework)"==""
233 $(MISC
)$/$(SHL2TARGET
).flt
: makefile.mk
234 @echo
------------------------------
235 @echo CLEAR_THE_FILE
> $@
239 $(MISC
)$/$(SHL1TARGET
).flt
: makefile.mk
240 @echo
------------------------------
241 @echo CLEAR_THE_FILE
> $@