1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
11 # OpenOffice.org is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License version 3
13 # only, as published by the Free Software Foundation.
15 # OpenOffice.org is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Lesser General Public License version 3 for more details
19 # (a copy is included in the LICENSE file that accompanied this code).
21 # You should have received a copy of the GNU Lesser General Public License
22 # version 3 along with OpenOffice.org. If not, see
23 # <http://www.openoffice.org/license.html>
24 # for a copy of the LGPLv3 License.
26 #*************************************************************************
32 #----------------------------------------------------------------
34 .INCLUDE
: $(PRJ
)/util
/makefile.pmk
35 #----------------------------------------------------------------
37 IDLLIST
:={$(subst,/,/ $(shell @
$(FIND
) $(IDLOUT
)/com
-type f
))}
38 DESTIDLLIST
={$(subst,$(IDLOUT
),$(DESTDIRIDL
) $(IDLLIST
))}
40 DESTINCLUDELIST
={$(subst,$(SOLARINCDIR
),$(DESTDIRINC
) $(INCLUDELIST
))}
41 DESTINCLUDELIST
+=$(DESTDIRINC
)/udkversion.mk
43 DESTINCDIRLIST
={$(subst,$(INCOUT
),$(DESTDIRINC
) $(INCLUDEDIRLIST
))}
45 IDL_DOCU_INDEX_FILE
= $(DESTDIRGENIDLREF
)/module-ix.html
46 IDL_DOCU_CLEANUP_FLAG
= $(MISC
)/idl_docu_cleanup.flag
48 IDL_CHAPTER_REFS
=idl_chapter_refs.txt
51 $(DESTDIRBIN
)/cppumaker
$(EXEPOSTFIX
) \
52 $(DESTDIRBIN
)/regcompare
$(EXEPOSTFIX
) \
53 $(DESTDIRBIN
)/idlcpp
$(EXEPOSTFIX
) \
54 $(DESTDIRBIN
)/idlc
$(EXEPOSTFIX
) \
55 $(DESTDIRBIN
)/javamaker
$(EXEPOSTFIX
) \
56 $(DESTDIRBIN
)/autodoc
$(EXEPOSTFIX
) \
57 $(DESTDIRBIN
)/unoapploader
$(EXEPOSTFIX
) \
58 $(DESTDIRBIN
)/uno-skeletonmaker
$(EXEPOSTFIX
)
62 $(DESTDIRBIN
)/climaker
$(EXEPOSTFIX
)
67 $(DESTDIRCLI
)/cli_basetypes.dll \
68 $(DESTDIRCLI
)/cli_uretypes.dll \
69 $(DESTDIRCLI
)/cli_oootypes.dll \
70 $(DESTDIRCLI
)/cli_ure.dll \
71 $(DESTDIRCLI
)/cli_cppuhelper.dll
77 $(DESTDIRLIB
)/istore.lib \
78 $(DESTDIRLIB
)/ireg.lib \
79 $(DESTDIRLIB
)/isal.lib \
80 $(DESTDIRLIB
)/isalhelper.lib \
81 $(DESTDIRLIB
)/icppu.lib \
82 $(DESTDIRLIB
)/icppuhelper.lib \
83 $(DESTDIRLIB
)/irmcxt.lib \
84 $(DESTDIRLIB
)/ipurpenvhelper3MSC.lib
88 LIBLIST
= $(DESTDIRLIB
)/libsalcpprt.a
91 # note, that inner class files are copied implicitly
93 $(DESTDIRJAR
)/com
/sun
/star
/lib
/loader
/Loader.class \
94 $(DESTDIRJAR
)/com
/sun
/star
/lib
/loader
/InstallationFinder.class \
95 $(DESTDIRJAR
)/com
/sun
/star
/lib
/loader
/WinRegKey.class \
96 $(DESTDIRJAR
)/com
/sun
/star
/lib
/loader
/WinRegKeyException.class
97 # $(DESTDIRJAR)/com/sun/star/lib/loader/Loader$$CustomURLClassLoader.class \
98 # $(DESTDIRJAR)/com/sun/star/lib/loader/InstallationFinder$$StreamGobbler.class \
101 $(DESTDIRSETTINGS
)/settings.mk \
102 $(DESTDIRSETTINGS
)/std.mk \
103 $(DESTDIRSETTINGS
)/stdtarget.mk \
104 $(DESTDIRSETTINGS
)/dk.mk
108 SETTINGSLIST
+=$(DESTDIRSETTINGS
)/component.uno.def
112 SETTINGSLIST
+=$(DESTDIRSETTINGS
)/component.uno.map
117 $(DESTDIR
)/index.html \
118 $(DESTDIRDOCU
)/tools.html \
119 $(DESTDIRDOCU
)/notsupported.html \
120 $(DESTDIRDOCU
)/install.html \
121 $(DESTDIREXAMPLES
)/examples.html \
122 $(DESTDIREXAMPLES
)/DevelopersGuide
/examples.html
126 $(DESTDIRDOCU
)/sdk_styles.css \
127 $(DESTDIRGENIDLREF
)/idl.css \
128 $(DESTDIRDOCUIMAGES
)/nada.gif \
129 $(DESTDIRDOCUIMAGES
)/arrow-2.gif \
130 $(DESTDIRDOCUIMAGES
)/bluball.gif \
131 $(DESTDIRDOCUIMAGES
)/orc-main-app_32.png \
132 $(DESTDIRDOCUIMAGES
)/ooo-main-app_32.png \
133 $(DESTDIRDOCUIMAGES
)/odk-footer-logo.gif \
134 $(DESTDIRDOCUIMAGES
)/arrow-1.gif \
135 $(DESTDIRDOCUIMAGES
)/arrow-3.gif \
136 $(DESTDIRDOCUIMAGES
)/bg_table.png \
137 $(DESTDIRDOCUIMAGES
)/bg_table2.png \
138 $(DESTDIRDOCUIMAGES
)/bg_table3.png \
139 $(DESTDIRDOCUIMAGES
)/nav_down.png \
140 $(DESTDIRDOCUIMAGES
)/nav_home.png \
141 $(DESTDIRDOCUIMAGES
)/nav_left.png \
142 $(DESTDIRDOCUIMAGES
)/nav_right.png \
143 $(DESTDIRDOCUIMAGES
)/nav_up.png \
144 $(DESTDIRDOCUIMAGES
)/sdk_head-1.png \
145 $(DESTDIRDOCUIMAGES
)/sdk_head-2.png \
146 $(DESTDIRDOCUIMAGES
)/sdk_line-1.gif \
147 $(DESTDIRDOCUIMAGES
)/sdk_line-2.gif
151 $(DESTDIR
)/config.guess \
152 $(DESTDIR
)/config.sub \
153 $(DESTDIR
)/configure.pl \
154 $(DESTDIR
)/setsdkenv_unix \
155 $(DESTDIR
)/setsdkenv_unix.sh.in \
156 $(DESTDIR
)/setsdkenv_unix.csh.in
159 $(DESTDIR
)/setsdkenv_windows.bat \
160 $(DESTDIR
)/setsdkenv_windows.template \
161 $(DESTDIR
)/setsdkname.bat \
175 $(IDL_DOCU_INDEX_FILE
) \
178 .IF
"$(OS)"=="MACOSX"
179 DIR_FILE_LIST
+= $(DESTDIRBIN
)/addsym-macosx.sh
182 .IF
"$(SOLAR_JAVA)" != ""
183 DIR_FILE_LIST
+= $(DESTDIRJAR
)/win
/unowinreg.dll
186 DIR_DIRECTORY_LIST
:=$(uniq
$(DIR_FILE_LIST
:d
))
187 DIR_CREATE_FLAG
:=$(MISC
)/copying_dirs_created.txt
188 DIR_FILE_FLAG
:=$(MISC
)/copying_files.txt
190 .IF
"$(SOLAR_JAVA)" != ""
191 # Special work for simple uno bootstrap mechanism
192 # zip uno loader class files and winreg helper library for later
193 # use in the build process (e.g. helper tools)
194 MYZIPTARGET
=$(BIN
)/uno_loader_classes.zip
196 MYZIPDIR
=$(DESTDIRJAR
)
197 MYZIPLIST
=com
/* win
/*
201 #--------------------------------------------------
203 #--------------------------------------------------
205 .IF
"$(L10N_framework)"==""
207 all : CLEAN_DKVERSION_CHECK \
213 #--------------------------------------------------
215 #--------------------------------------------------
216 .INCLUDE
: $(PRJ
)/util
/odk_rules.pmk
219 CLEANUP_DKVERSION_FILE
=$(DESTDIRSETTINGS
)/dk.mk
222 CLEAN_DKVERSION_CHECK
:
223 @@
-rm -f
$(CLEANUP_DKVERSION_FILE
)
225 $(DESTDIRBIN
)/addsym-macosx.sh
: addsym-macosx.sh
227 $(MY_TEXTCOPY
) $(MY_TEXTCOPY_SOURCEPRE
) $< $(MY_TEXTCOPY_TARGETPRE
) $@
230 $(DESTDIRSETTINGS
)/dk.mk
: dk.mk
233 tr
-d
"\015" < dk.mk | sed
-e
's/@@RELEASE@@/$(PRODUCT_RELEASE)/' -e
's/@@BUILDID@@/$(RSCREVISION)/'> $@
235 $(IDL_DOCU_CLEANUP_FLAG
) : $(IDL_CHAPTER_REFS
) $(PRJ
)/docs
/common
/ref
/idl.css
$(DESTIDLLIST
)
236 @@
-$(MY_DELETE_RECURSIVE
) $(DESTDIRGENIDLREF
)
239 $(IDL_DOCU_INDEX_FILE
) : $(IDL_DOCU_CLEANUP_FLAG
)
241 $(MY_AUTODOC
) -html
$(DESTDIRGENIDLREF
) -dvgroot
"http://wiki.services.openoffice.org/wiki" \
242 -name
$(IDLDOCREFNAME
) -lg idl
-dvgfile
$(IDL_CHAPTER_REFS
) -t
$(DESTDIRIDL
)
244 $(MY_TEXTCOPY
) $(MY_TEXTCOPY_SOURCEPRE
) $(PRJ
)/docs
/common
/ref
/idl.css
$(MY_TEXTCOPY_TARGETPRE
) $(@
:d
:d
)/idl.css
247 .IF
"$(SOLAR_JAVA)" != ""
248 $(MYZIPTARGET
) : $(BIN
)/unowinreg.dll
$(DESTCLASSESLIST
)
249 cd
$(MYZIPDIR
) && zip
$(MYZIPFLAGS
) ..
/..
/..
/bin
/$(MYZIPTARGET
:b
) $(MYZIPLIST
)