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 $
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 #*************************************************************************
42 # --- Settings -----------------------------------------------------
44 .INCLUDE
: settings.mk
46 .INCLUDE .IGNORE
: icuversion.mk
48 # --- Files --------------------------------------------------------
52 $(OBJ
)$/file_image_unx.obj
58 # depends on libc only.
61 # --- Targets ------------------------------------------------------
64 $(MISC
)$/$(TARGET
)-calc \
65 $(MISC
)$/$(TARGET
)-draw \
66 $(MISC
)$/$(TARGET
)-impress \
67 $(MISC
)$/$(TARGET
)-writer \
68 $(MISC
)$/$(TARGET
)-common \
73 ICUDLLPOST
=$(DLLPOST
).
$(ICU_MAJOR
)$(ICU_MINOR
)
74 UDKDLLPOST
=$(DLLPOST
).
$(UDK_MAJOR
)
75 UNODLLPOST
=.uno
$(DLLPOST
)
76 DFTDLLPOST
=$(DLLPOSTFIX
)$(DLLPOST
) # Default
78 URELIBPATH
=..
$/ure-link
$/lib
80 $(MISC
)$/$(TARGET
)-calc
: makefile.mk
82 @
-echo
$(DLLPRE
)sc
$(DFTDLLPOST
) > $@
83 @
-echo
$(DLLPRE
)svx
$(DFTDLLPOST
) >> $@
85 $(MISC
)$/$(TARGET
)-draw
: makefile.mk
87 @
-echo
$(DLLPRE
)sd
$(DFTDLLPOST
) > $@
88 @
-echo
$(DLLPRE
)svx
$(DFTDLLPOST
) >> $@
90 $(MISC
)$/$(TARGET
)-impress
: makefile.mk
92 @
-echo
$(DLLPRE
)sd
$(DFTDLLPOST
) > $@
93 @
-echo
$(DLLPRE
)svx
$(DFTDLLPOST
) >> $@
95 $(MISC
)$/$(TARGET
)-writer
: makefile.mk
97 @
-echo
$(DLLPRE
)sw
$(DFTDLLPOST
) > $@
98 @
-echo
$(DLLPRE
)svx
$(DFTDLLPOST
) >> $@
100 # sorted in approx. reverse load order (ld.so.1)
101 $(MISC
)$/$(TARGET
)-common
: makefile.mk
103 @
-echo i18npool
$(UNODLLPOST
) > $@
104 .IF
"$(SYSTEM_ICU)" != "YES"
105 @
-echo
$(DLLPRE
)icui18n
$(ICUDLLPOST
) >> $@
106 @
-echo
$(DLLPRE
)icule
$(ICUDLLPOST
) >> $@
107 @
-echo
$(DLLPRE
)icuuc
$(ICUDLLPOST
) >> $@
108 @
-echo
$(DLLPRE
)icudata
$(ICUDLLPOST
) >> $@
111 @
-echo
$(DLLPRE
)lng
$(DFTDLLPOST
) >> $@
112 @
-echo
$(DLLPRE
)xo
$(DFTDLLPOST
) >> $@
115 @
-echo
$(DLLPRE
)fwe
$(DFTDLLPOST
) >> $@
116 @
-echo
$(DLLPRE
)fwk
$(DFTDLLPOST
) >> $@
117 @
-echo
$(DLLPRE
)fwi
$(DFTDLLPOST
) >> $@
118 @
-echo
$(DLLPRE
)fwl
$(DFTDLLPOST
) >> $@
119 @
-echo
$(DLLPRE
)package2
$(DLLPOST
) >> $@
120 @
-echo
$(DLLPRE
)ucpfile1
$(DLLPOST
) >> $@
121 @
-echo
$(DLLPRE
)ucb1
$(DLLPOST
) >> $@
122 @
-echo configmgr2
$(UNODLLPOST
) >> $@
124 @
-echo
$(DLLPRE
)dtransX11
$(DFTDLLPOST
) >> $@
125 @
-echo
$(DLLPRE
)vclplug_gen
$(DFTDLLPOST
) >> $@
126 .IF
"$(ENABLE_GTK)" != ""
127 @
-echo
$(DLLPRE
)vclplug_gtk
$(DFTDLLPOST
) >> $@
129 .IF
"$(ENABLE_KDE)" != ""
130 @
-echo
$(DLLPRE
)vclplug_kde
$(DFTDLLPOST
) >> $@
133 @
-echo
$(DLLPRE
)psp
$(DFTDLLPOST
) >> $@
134 @
-echo
$(DLLPRE
)basegfx
$(DFTDLLPOST
) >> $@
135 @
-echo
$(DLLPRE
)sot
$(DFTDLLPOST
) >> $@
136 @
-echo
$(DLLPRE
)xcr
$(DFTDLLPOST
) >> $@
137 @
-echo
$(DLLPRE
)sb
$(DFTDLLPOST
) >> $@
139 # uno runtime environment
141 @
-echo
$(URELIBPATH
)$/stocservices
$(UNODLLPOST
) >> $@
142 @
-echo
$(URELIBPATH
)$/bootstrap
$(UNODLLPOST
) >> $@
143 @
-echo
$(URELIBPATH
)$/$(DLLPRE
)reg
$(UDKDLLPOST
) >> $@
144 @
-echo
$(URELIBPATH
)$/$(DLLPRE
)store
$(UDKDLLPOST
) >> $@
145 .IF
"$(USE_SYSTEM_STL)"!="YES"
146 .IF
"$(COMNAME)" == "gcc2" ||
"$(COMNAME)" == "gcc3"
147 @
-echo
$(URELIBPATH
)$/$(DLLPRE
)stlport_gcc
$(DLLPOST
) >> $@
149 .IF
"$(COMNAME)" == "sunpro5"
150 @
-echo
$(URELIBPATH
)$/$(DLLPRE
)stlport_sunpro
$(DLLPOST
) >> $@
153 @
-echo
$(URELIBPATH
)$/$(DLLPRE
)uno_cppuhelper
$(COMID
)$(UDKDLLPOST
) >> $@
154 @
-echo
$(URELIBPATH
)$/$(DLLPRE
)uno_cppu
$(UDKDLLPOST
) >> $@
155 @
-echo
$(URELIBPATH
)$/$(DLLPRE
)uno_sal
$(UDKDLLPOST
) >> $@
157 @
-echo
$(DLLPRE
)ucbhelper
$(UCBHELPER_MAJOR
)$(COMID
)$(DLLPOST
) >> $@
158 @
-echo
$(DLLPRE
)comphelp
$(COMPHLP_MAJOR
)$(COMID
)$(DLLPOST
) >> $@
159 @
-echo
$(DLLPRE
)tl
$(DFTDLLPOST
) >> $@
160 @
-echo
$(DLLPRE
)utl
$(DFTDLLPOST
) >> $@
161 @
-echo
$(DLLPRE
)svl
$(DFTDLLPOST
) >> $@
162 @
-echo
$(DLLPRE
)vcl
$(DFTDLLPOST
) >> $@
163 @
-echo
$(DLLPRE
)tk
$(DFTDLLPOST
) >> $@
164 @
-echo types.rdb
>> $@
165 @
-echo services.rdb
>> $@
167 @
-echo oovbaapi.rdb
>> $@
168 @
-echo deployment
$$(DLLPOSTFIX
)$(UNODLLPOST
) >> $@
169 @
-echo
$(DLLPRE
)deploymentmisc
$(DLLPOSTFIX
)$(DLLPOST
) >> $@
170 # omitted pieces (from writer startup ...) hopefully common
171 @
-echo
$(DLLPRE
)ucb1
$(DLLPOST
) >> $@
172 @
-echo
$(DLLPRE
)xstor
$(DLLPOST
) >> $@
173 @
-echo
$(DLLPRE
)package2
$(DLLPOST
) >> $@
174 @
-echo
$(DLLPRE
)filterconfig1
$(DLLPOST
) >> $@
175 @
-echo
$(DLLPRE
)uui
$(DFTDLLPOST
) >> $@
176 @
-echo
$(DLLPRE
)lng
$(DFTDLLPOST
) >> $@
177 @
-echo
$(DLLPRE
)svt
$(DFTDLLPOST
) >> $@
178 @
-echo
$(DLLPRE
)spl
$(DFTDLLPOST
) >> $@
179 @
-echo
$(DLLPRE
)basegfx
$(DFTDLLPOST
) >> $@
180 @
-echo
$(DLLPRE
)avmedia
$(DFTDLLPOST
) >> $@
181 @
-echo
$(DLLPRE
)dtransX11
$(DFTDLLPOST
) >> $@
182 @
-echo
$(DLLPRE
)helplinker
$(DFTDLLPOST
) >> $@
183 @
-echo
$(DLLPRE
)vclplug_gen
$(DFTDLLPOST
) >> $@
184 @
-echo
$(DLLPRE
)icule
$(ICUDLLPOST
) >> $@
185 @
-echo
$(DLLPRE
)icudata
$(ICUDLLPOST
) >> $@
186 @
-echo sax
$(UNODLLPOST
) >> $@
187 @
-echo gconfbe1
$(UNODLLPOST
) >> $@
188 @
-echo fsstorage
$(UNODLLPOST
) >> $@
189 @
-echo desktopbe
$(UNODLLPOST
) >> $@
190 @
-echo localebe1
$(UNODLLPOST
) >> $@
191 @
-echo ucpexpand1
$(UNODLLPOST
) >> $@
193 @
-echo
$(DLLPRE
)reg
$(DLLPOST
) >> $@
194 @
-echo
$(DLLPRE
)store
$(DLLPOST
) >> $@
196 @
-echo bootstrap
$(UNODLLPOST
) >> $@
197 @
-echo reflection
$(UNODLLPOST
) >> $@
198 @
-echo stocservices
$(UNODLLPOST
) >> $@
199 @
-echo
$(DLLPRE
)sfx
$(DFTDLLPOST
) >> $@
200 @
-echo
$(DLLPRE
)sofficeapp
$(DLLPOST
) >> $@