Update ooo320-m1
[ooovba.git] / desktop / source / pagein / makefile.mk
blobcd12d66817fc0391d8e5d917b5b09b9c72bfb022
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.12 $
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=..$/..
34 PRJNAME=desktop
35 TARGET=pagein
36 TARGETTYPE=CUI
37 LIBTARGET=NO
39 NO_DEFAULT_STL=TRUE
40 LIBSALCPPRT=$(0)
42 # --- Settings -----------------------------------------------------
44 .INCLUDE : settings.mk
46 .INCLUDE .IGNORE : icuversion.mk
48 # --- Files --------------------------------------------------------
50 OBJFILES= \
51 $(OBJ)$/pagein.obj \
52 $(OBJ)$/file_image_unx.obj
54 APP1TARGET=$(TARGET)
55 APP1OBJS=$(OBJFILES)
56 APP1CODETYPE=C
58 # depends on libc only.
59 STDLIB=
61 # --- Targets ------------------------------------------------------
63 ALL: \
64 $(MISC)$/$(TARGET)-calc \
65 $(MISC)$/$(TARGET)-draw \
66 $(MISC)$/$(TARGET)-impress \
67 $(MISC)$/$(TARGET)-writer \
68 $(MISC)$/$(TARGET)-common \
69 ALLTAR
71 .INCLUDE : target.mk
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
81 @echo Making: $@
82 @-echo $(DLLPRE)sc$(DFTDLLPOST) > $@
83 @-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@
85 $(MISC)$/$(TARGET)-draw : makefile.mk
86 @echo Making: $@
87 @-echo $(DLLPRE)sd$(DFTDLLPOST) > $@
88 @-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@
90 $(MISC)$/$(TARGET)-impress : makefile.mk
91 @echo Making: $@
92 @-echo $(DLLPRE)sd$(DFTDLLPOST) > $@
93 @-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@
95 $(MISC)$/$(TARGET)-writer : makefile.mk
96 @echo Making: $@
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
102 @echo Making: $@
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) >> $@
109 .ENDIF # SYSTEM_ICU
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) >> $@
128 .ENDIF # ENABLE_GTK
129 .IF "$(ENABLE_KDE)" != ""
130 @-echo $(DLLPRE)vclplug_kde$(DFTDLLPOST) >> $@
131 .ENDIF # ENABLE_KDE
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) >> $@
148 .ENDIF # gcc
149 .IF "$(COMNAME)" == "sunpro5"
150 @-echo $(URELIBPATH)$/$(DLLPRE)stlport_sunpro$(DLLPOST) >> $@
151 .ENDIF # sunpro5
152 .ENDIF # SYSTEM_STL
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 >> $@
166 # urgh ...
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) >> $@
192 # uno bits
193 @-echo $(DLLPRE)reg$(DLLPOST) >> $@
194 @-echo $(DLLPRE)store$(DLLPOST) >> $@
195 # stoc bits
196 @-echo bootstrap$(UNODLLPOST) >> $@
197 @-echo reflection$(UNODLLPOST) >> $@
198 @-echo stocservices$(UNODLLPOST) >> $@
199 @-echo $(DLLPRE)sfx$(DFTDLLPOST) >> $@
200 @-echo $(DLLPRE)sofficeapp$(DLLPOST) >> $@