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) -----------------------------------
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
87 # --- .res file ----------------------------------------------------------
90 $(SRS
)$/core_strings.srs
93 RESLIB1IMAGES
=$(PRJ
)$/res
94 RESLIB1SRSFILES
=$(RES1FILELIST
)
96 # --- database ui (dbu) -----------------------------------
98 LIB2TARGET
=$(SLB
)$/$(TARGET2
).lib
100 $(SLB
)$/relationdesign.lib \
101 $(SLB
)$/tabledesign.lib \
102 $(SLB
)$/querydesign.lib \
105 $(SLB
)$/dbushared.lib \
106 $(SLB
)$/browser.lib \
109 $(SLB
)$/uicontrols.lib
111 SHL2TARGET
=$(TARGET2
)$(DLLPOSTFIX
)
136 SHL2STDLIBS
+= $(LB
)$/i
$(TARGET
).lib
137 SHL2DEPN
=$(LB
)$/i
$(TARGET
).lib
138 .ELIF
"$(GUI)"!="WNT" ||
"$(COM)"=="GCC"
140 -l
$(TARGET
)$(DLLPOSTFIX
)
141 SHL2DEPN
=$(SHL1TARGETN
)
144 $(LB
)$/i
$(TARGET
).lib
145 SHL2DEPN
=$(LB
)$/i
$(TARGET
).lib
148 SHL2IMPLIB
=i
$(TARGET2
)
149 SHL2LIBS
=$(LIB2TARGET
)
150 SHL2DEF
=$(MISC
)$/$(SHL2TARGET
).def
151 DEF2NAME
=$(SHL2TARGET
)
152 DEFLIB2NAME
=$(TARGET2
)
153 DEF2DEPN
= $(MISC
)$/$(SHL2TARGET
).flt \
154 $(SLB
)$/$(TARGET2
).lib
155 # SHL2VERSIONMAP=$(TARGET2).map
163 # --- .res file ----------------------------------------------------------
168 $(SRS
)$/uicontrols.srs \
169 $(SRS
)$/browser.srs \
171 $(SRS
)$/querydesign.srs \
172 $(SRS
)$/tabledesign.srs \
173 $(SRS
)$/relationdesign.srs \
174 $(SRS
)$/uiimglst.srs \
178 #needed by $(SLO)$/adodatalinks.obj
179 SHL2STDLIBS
+= $(OLE32LIB
) \
184 RESLIB2NAME
=$(TARGET2
)
185 RESLIB2IMAGES
=$(PRJ
)$/res
186 RESLIB2SRSFILES
=$(RES2FILELIST
)
188 # --- database tools (sdbt) -----------------------------------
190 LIB3TARGET
=$(SLB
)$/$(TARGET3
).lib
192 $(SLB
)$/conntools.lib \
193 $(SLB
)$/sdbtmisc.lib \
194 $(SLB
)$/sdbtshared.lib
196 SHL3TARGET
=$(TARGET3
)$(DLLPOSTFIX
)
207 SHL3LIBS
=$(LIB3TARGET
)
208 SHL3DEF
=$(MISC
)$/$(SHL3TARGET
).def
209 DEF3NAME
=$(SHL3TARGET
)
210 SHL3VERSIONMAP
=$(TARGET3
).map
212 # --- .res file ----------------------------------------------------------
215 $(SRS
)$/sdbt_strings.srs
217 RESLIB3NAME
=$(TARGET3
)
218 RESLIB3IMAGES
=$(PRJ
)$/res
219 RESLIB3SRSFILES
=$(RES3FILELIST
)
221 # --- Targets ----------------------------------
226 $(MISC
)$/$(SHL2TARGET
).flt
: makefile.mk
227 @echo
------------------------------
228 @echo CLEAR_THE_FILE
> $@
232 $(MISC
)$/$(SHL1TARGET
).flt
: makefile.mk
233 @echo
------------------------------
234 @echo CLEAR_THE_FILE
> $@