VirtualBox

source: vbox/trunk/src/VBox/Installer/linux/Makefile.kmk@ 20340

Last change on this file since 20340 was 20340, checked in by vboxsync, 16 years ago

Install: Added VBoxTestOGL to .run installer on linux

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 13.6 KB
Line 
1# $Id: Makefile.kmk 20340 2009-06-05 14:43:08Z vboxsync $
2## @file
3# Makefile for the Linux installer.
4#
5
6#
7# Copyright (C) 2006-2007 Sun Microsystems, Inc.
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18# Clara, CA 95054 USA or visit http://www.sun.com if you need
19# additional information or have any questions.
20#
21
22SUB_DEPTH = ../../../..
23include $(KBUILD_PATH)/subheader.kmk
24
25ifneq ($(KBUILD_HOST),linux)
26 $(error "The Linux installer can only be built on Linux!")
27endif
28
29#
30# Globals and targets.
31#
32VBOX_PATH_LNX_INST_SRC := $(PATH_SUB_CURRENT)
33VBOX_LNX_INST_OUT_DIR := $(PATH_TARGET)/Installer/linux
34VBOX_LNX_INST_STAGE_DIR := $(PATH_TARGET)/Installer/linux/install
35VBOX_LNX_DBG_PATH := usr/lib/debug/opt/VirtualBox
36VBOX_LNX_PACKAGE_NAME = VirtualBox-$(VBOX_VERSION_STRING)-r$(VBOX_SVN_REV).run
37
38# Unset this to speed up things during makefile hacking.
39VBOX_LNX_INST_DEP_ON_MAKEFILE := $(MAKEFILE_CURRENT)
40
41BLDDIRS += $(VBOX_LNX_INST_OUT_DIR) $(VBOX_LNX_INST_STAGE_DIR)
42PACKING += $(PATH_BIN)/VirtualBox.tar.bz2
43if !defined(VBOX_NO_LINUX_RUN_INSTALLER) && !defined(VBOX_OSE)
44 PACKING += $(PATH_BIN)/$(VBOX_LNX_PACKAGE_NAME) \
45 $(PATH_BIN)/VirtualBox-dbg.tar.bz2
46endif
47
48OTHER_CLEAN += \
49 $(addprefix $(VBOX_LNX_INST_STAGE_DIR)/,\
50 install.sh \
51 uninstall.sh \
52 deffiles \
53 routines.sh \
54 vboxdrv.sh \
55 VirtualBox.tar.bz2 \
56 LICENSE) \
57 $(wildcard $(VBOX_LNX_INST_OUT_DIR)/VirtualBox-*) \
58 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/,\
59 vboxdrv.sh \
60 install.sh)
61
62#
63# Linux installs.
64#
65INSTALLS += linux-bin
66linux-bin_INST = bin/
67linux-bin_MODE = a+rx,u+w
68linux-bin_SOURCES = \
69 VBoxSysInfo.sh \
70 VBox.sh=>VBox.sh \
71 $(if $(VBOX_WITH_PYTHON),$(PATH_ROOT)/src/VBox/Frontends/VBoxShell/vboxshell.py=>vboxshell.py,)
72
73INSTALLS += linux-misc
74linux-misc_INST = bin/
75linux-misc_MODE = a+r,u+w
76linux-misc_SOURCES = \
77 $(PATH_ROOT)/src/VBox/Frontends/VirtualBox/images/$(if $(VBOX_OSE),OSE,NonOSE)/VirtualBox_32px.png=>VBox.png \
78 $(if $(VBOX_OSE),,$(VBOX_BRAND_LICENSE_TXT)=>LICENSE) \
79 $(if $(VBOX_WITH_QTGUI),$(PATH_linux-misc)/VirtualBox.desktop,)
80linux-misc_CLEAN = $(PATH_linux-misc)/VirtualBox.desktop
81
82$$(PATH_linux-misc)/VirtualBox.desktop: $(PATH_SUB_CURRENT)/VirtualBox.desktop $(VBOX_VERSION_STAMP) | $$(dir $$@)
83 $(call MSG_GENERATE,,$@,$<)
84ifdef VBOX_PATH_PACKAGE_DOCS
85 $(QUIET)$(SED) -e "s+\$$VBOX_DOC_PATH+$(VBOX_PATH_PACKAGE_DOCS)+" --output $@ $<
86else
87 $(QUIET)$(SED) -e "s+\$$VBOX_DOC_PATH+/opt/VirtualBox+" --output $@ $<
88endif
89
90
91
92#
93# The files residing in bin/ that we'll ship.
94#
95
96# Strip these binaries
97VBOX_LNX_STRIP_BIN = \
98 VBoxDD.so \
99 VBoxDD2.so \
100 VBoxREM.so \
101 VBoxDDU.so \
102 VBoxVMM.so \
103 $(if $(eq $(KBUILD_TARGET_ARCH),x86),VBoxREM32.so,) \
104 $(if $(eq $(KBUILD_TARGET_ARCH),x86),VBoxREM64.so,) \
105 VBoxRT.so \
106 $(if $(VBOX_WITH_VBOXSDL),VBoxSDL $(if $(VBOX_WITH_HARDENING),VBoxSDL.so),) \
107 $(if $(VBOX_WITH_SHARED_CLIPBOARD), VBoxSharedClipboard.so,) \
108 $(if $(VBOX_WITH_SHARED_FOLDERS), VBoxSharedFolders.so,) \
109 $(if $(VBOX_WITH_GUEST_PROPS),VBoxGuestPropSvc.so,) \
110 $(if $(VBOX_WITH_MAIN), \
111 VBoxManage \
112 VBoxNetDHCP $(if $(VBOX_WITH_HARDENING),VBoxNetDHCP.so,) \
113 VBoxNetAdpCtl \
114 VBoxSVC \
115 VBoxSettings.so \
116 VBoxXPCOM.so \
117 VBoxXPCOMC.so \
118 VBoxXPCOMIPCD \
119 components/VBoxXPCOMIPCC.so \
120 components/VBoxSVCM.so \
121 components/VBoxC.so,) \
122 $(if $(VBOX_WITH_CROGL),\
123 VBoxOGLhostcrutil.so \
124 VBoxOGLhosterrorspu.so \
125 VBoxOGLrenderspu.so \
126 VBoxTestOGL \
127 VBoxSharedCrOpenGL.so,) \
128 $(if $(VBOX_WITH_PYTHON),VBoxPython.so,) \
129 VBoxTunctl
130
131# Do not remove relocation information of these binaries
132VBOX_LNX_STRIP_OBJ = \
133 VBoxDD2GC.gc \
134 VBoxDD2R0.r0 \
135 VBoxDDGC.gc \
136 VBoxDDR0.r0 \
137 VMMGC.gc \
138 VMMR0.r0
139
140# Do not strip anything of these files
141VBOX_LNX_NO_STRIP = \
142 $(if $(VBOX_OSE),,LICENSE) \
143 $(if $(VBOX_WITH_MAIN), \
144 components/VBoxXPCOMBase.xpt \
145 components/VirtualBox_XPCOM.xpt) \
146 $(if $(VBOX_WITH_PYTHON),vboxshell.py,) \
147 VBoxSysInfo.sh \
148 VBox.sh \
149 VBox.png \
150 src
151
152# Qt4 GUI
153ifdef VBOX_WITH_QTGUI
154 include $(PATH_ROOT)/src/VBox/Frontends/VirtualBox/nls/ApprovedLanguages.kmk
155 VBOX_LNX_STRIP_BIN += \
156 VBoxKeyboard.so \
157 VirtualBox \
158 $(if $(VBOX_WITH_HARDENING),VirtualBox.so) \
159 $(if $(VBOX_WITH_DEBUGGER_GUI),VBoxDbg.so)
160 VBOX_LNX_NO_STRIP += \
161 VirtualBox.desktop \
162 $(VBOX_LICENSE_FILES) \
163 $(if $(VBOX_WITH_QT4_SUN),$(notdir $(wildcard $(PATH_BIN)/lib*VBox*)),) \
164 $(if $(VBOX_WITH_QT4_SUN),accessible/libqtaccessiblewidgets.so,) \
165 $(foreach f,$(VBOX_APPROVED_GUI_LANGUAGES),nls/VirtualBox_$(f).qm nls/qt_$(f).qm)
166endif
167
168# Guest Additions
169ifdef VBOX_WITH_ADDITIONS_PACKING
170 VBOX_LNX_NO_STRIP += \
171 additions/VBoxGuestAdditions.iso
172endif
173
174# Documentation
175ifdef VBOX_WITH_DOCS_PACKING
176 VBOX_LNX_NO_STRIP += \
177 VirtualBox.chm UserManual.pdf \
178 $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),VirtualBox_$(f).chm UserManual_$(f).pdf)
179 VBOX_LNX_STRIP_BIN += \
180 $(if $(VBOX_WITH_KCHMVIEWER),kchmviewer,)
181endif
182
183# VRDP
184ifdef VBOX_WITH_VRDP
185 VBOX_LNX_STRIP_BIN += \
186 VBoxVRDP.so \
187 VRDPAuth.so
188 VBOX_LNX_NO_STRIP += \
189 rdesktop-vrdp.tar.gz
190 ifdef VBOX_WITH_VRDP_RDESKTOP
191 VBOX_LNX_NO_STRIP += \
192 rdesktop-vrdp-keymaps
193 VBOX_LNX_STRIP_BIN += \
194 rdesktop-vrdp
195 endif
196endif
197
198# Python XPCOM glue
199ifdef VBOX_WITH_PYTHON
200 VBOX_LNX_NO_STRIP += \
201 $(foreach f,$(notdir $(wildcard $(PATH_BIN)/sdk/bindings/xpcom/python/xpcom/*.py)),sdk/bindings/xpcom/python/xpcom/$(f)) \
202 sdk/bindings/xpcom/python/xpcom/client/__init__.py \
203 sdk/bindings/xpcom/python/xpcom/server/__init__.py \
204 sdk/bindings/xpcom/python/xpcom/server/enumerator.py \
205 sdk/bindings/xpcom/python/xpcom/server/factory.py \
206 sdk/bindings/xpcom/python/xpcom/server/loader.py \
207 sdk/bindings/xpcom/python/xpcom/server/module.py \
208 sdk/bindings/xpcom/python/xpcom/server/policy.py \
209 sdk/installer/vboxapisetup.py \
210 sdk/installer/vboxapi/__init__.py \
211 sdk/installer/vboxapi/VirtualBox_constants.py
212endif
213
214# Headless
215ifdef VBOX_WITH_HEADLESS
216 VBOX_LNX_STRIP_BIN += \
217 VBoxHeadless \
218 $(if $(VBOX_WITH_HARDENING),VBoxHeadless.so)
219endif
220
221# BFE
222ifdef VBOX_WITH_BFE
223 VBOX_LNX_STRIP_BIN += \
224 VBoxBFE \
225 $(if $(VBOX_WITH_HARDENING),VBoxBFE.so)
226endif
227
228# Webservices
229ifdef VBOX_WITH_WEBSERVICES
230 VBOX_LNX_STRIP_BIN += \
231 vboxwebsrv \
232 webtest
233endif
234
235#
236# All the bin files that goes into the archives.
237#
238VBOX_LNX_ARCH_FILES := $(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_STRIP_OBJ) $(VBOX_LNX_NO_STRIP)
239
240# Cleanup of the files we copy/symlink from bin.
241OTHER_CLEAN += $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/,$(VBOX_LNX_ARCH_FILES)) \
242 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_STRIP_BIN))
243
244
245#
246# The generic installer.
247#
248$(PATH_BIN)/$(VBOX_LNX_PACKAGE_NAME): \
249 $(VBOX_LNX_INST_STAGE_DIR)/VirtualBox.tar.bz2 \
250 $(VBOX_VERSION_STAMP) \
251 $(VBOX_PATH_LNX_INST_SRC)/routines.sh \
252 $(VBOX_PATH_LNX_INST_SRC)/deffiles \
253 $(if $(VBOX_OSE),,$(VBOX_BRAND_LICENSE_TXT)) \
254 $(VBOX_LNX_INST_OUT_DIR)/vboxdrv.sh \
255 $(VBOX_LNX_INST_OUT_DIR)/install.sh \
256 $(VBOX_PATH_LNX_INST_SRC)/uninstall.sh \
257 $(wildcard $(PATH_BIN)/src/*) \
258 $(wildcard $(PATH_BIN)/src/*/*) \
259 $(wildcard $(PATH_BIN)/src/*/*/*) \
260 $(wildcard $(PATH_BIN)/src/*/*/*/*)
261 $(call MSG_TOOL,makeself,,$@)
262 $(QUIET)$(RM) -f $(wildcard $(PATH_BIN)/VirtualBox-*.run)
263 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_LNX_INST_SRC)/routines.sh $(VBOX_LNX_INST_STAGE_DIR)/
264 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_LNX_INST_SRC)/deffiles $(VBOX_LNX_INST_STAGE_DIR)/
265 $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(VBOX_BRAND_LICENSE_TXT) $(VBOX_LNX_INST_STAGE_DIR)/LICENSE)
266 $(QUIET)$(INSTALL) -m 0755 $(VBOX_LNX_INST_OUT_DIR)/vboxdrv.sh $(VBOX_LNX_INST_STAGE_DIR)/
267 $(QUIET)$(INSTALL) -m 0755 $(VBOX_LNX_INST_OUT_DIR)/install.sh $(VBOX_LNX_INST_STAGE_DIR)/
268 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_LNX_INST_SRC)/uninstall.sh $(VBOX_LNX_INST_STAGE_DIR)/
269 $(QUIET)$(RM) -f $@
270 $(QUIET)$(VBOX_MAKESELF) --follow --nocomp $(VBOX_LNX_INST_STAGE_DIR) $@ \
271 "VirtualBox for Linux installation" ./install.sh "\$$0 1> /dev/null"
272
273# files that needs editing before they can be included in the generic installer.
274$(VBOX_LNX_INST_OUT_DIR)/vboxdrv.sh: $(VBOX_PATH_LNX_INST_SRC)/vboxdrv.sh.in | $$(dir $$@)
275 $(QUIET)$(SED_EXT) \
276 -e "s|%NOLSB%|yes|g" \
277 -e "s|%PACKAGE%|virtualbox|g" \
278 --output $@ \
279 $<
280
281$(VBOX_LNX_INST_OUT_DIR)/install.sh: $(VBOX_PATH_LNX_INST_SRC)/install.sh $(VBOX_VERSION_STAMP) | $$(dir $$@)
282 $(QUIET)$(SED) \
283 -e "s;_VERSION_;$(VBOX_VERSION_STRING);g" \
284 -e "s;_SVNREV_;$(VBOX_SVN_REV);g" \
285 -e "s;_BUILD_;$(date-utc );g" \
286 -e "s;_ARCH_;$(KBUILD_TARGET_ARCH);g" \
287 -e "s;_HARDENED_;$(VBOX_WITH_HARDENING);g" \
288 -e "s;_PYTHON_;$(VBOX_WITH_PYTHON);g" \
289 --output $@ \
290 $<
291
292#
293# .tar.bz2 for converting into .run
294#
295$(VBOX_LNX_INST_STAGE_DIR)/VirtualBox.tar.bz2: \
296 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/, $(VBOX_LNX_ARCH_FILES)) \
297 $(VBOX_LNX_INST_DEP_ON_MAKEFILE) \
298 $(VBOX_VERSION_STAMP)
299 $(call MSG_L1,Packing $@)
300 $(QUIET)$(RM) -f -- $@ $(patsubst %.bz2,%,$@)
301 $(QUIET)$(MKDIR) -p $(@D)
302ifdef VBOX_USE_PBZIP2
303 $(QUIET)tar --owner 0 --group 0 -cRhf $(patsubst %.bz2,%,$@) -C $(VBOX_LNX_INST_OUT_DIR)/archive $(VBOX_LNX_ARCH_FILES)
304 $(QUIET)pbzip2 $(patsubst %.bz2,%,$@)
305else
306 $(QUIET)tar --owner 0 --group 0 -cjRhf $@ -C $(VBOX_LNX_INST_OUT_DIR)/archive $(VBOX_LNX_ARCH_FILES)
307endif
308 $(QUIET)$(CHMOD) 0644 $@
309
310#
311# .tar.bz2 for distribution with the files under VirtualBox-<ver>/.
312#
313$(PATH_BIN)/VirtualBox.tar.bz2: \
314 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/, $(VBOX_LNX_ARCH_FILES)) \
315 $(VBOX_LNX_INST_DEP_ON_MAKEFILE) \
316 $(VBOX_VERSION_STAMP)
317 $(call MSG_L1,Packing $@)
318 $(QUIET)$(RM) -f -- $(VBOX_LNX_INST_OUT_DIR)/VirtualBox-$(VBOX_VERSION_STRING) $@ $(patsubst %.bz2,%,$@)
319 $(QUIET)$(LN_SYMLINK) $(VBOX_LNX_INST_OUT_DIR)/archive/ $(VBOX_LNX_INST_OUT_DIR)/VirtualBox-$(VBOX_VERSION_STRING)
320ifdef VBOX_USE_PBZIP2
321 $(QUIET)tar --owner 0 --group 0 -cRhf $(patsubst %.bz2,%,$@) -C $(VBOX_LNX_INST_OUT_DIR) \
322 $(addprefix VirtualBox-$(VBOX_VERSION_STRING)/,$(VBOX_LNX_ARCH_FILES))
323 $(QUIET)pbzip2 $(patsubst %.bz2,%,$@)
324else
325 $(QUIET)tar --owner 0 --group 0 -cjRhf $@ -C $(VBOX_LNX_INST_OUT_DIR) \
326 $(addprefix VirtualBox-$(VBOX_VERSION_STRING)/,$(VBOX_LNX_ARCH_FILES))
327endif
328 $(QUIET)$(RM) -f -- $(VBOX_LNX_INST_OUT_DIR)/VirtualBox-$(VBOX_VERSION_STRING)
329
330
331# pattern rule for stripping and copying the VBOX_LNX_STRIP_BIN files to archive/
332$(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/,$(VBOX_LNX_STRIP_BIN)): \
333 $(VBOX_LNX_INST_OUT_DIR)/archive/% : $(PATH_BIN)/% \
334 $(if $(VBOX_NO_LINUX_RUN_INSTALLER),,\
335 $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/%) \
336 | $$(dir $$@)
337 $(call MSG_INST_FILE,$<,$@)
338 $(QUIET)$(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $< $@
339 $(QUIET)$(if $(VBOX_NO_LINUX_RUN_INSTALLER),,objcopy --add-gnu-debuglink=$(subst $(VBOX_LNX_INST_OUT_DIR)/archive,$(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH),$@) $@)
340
341# pattern rule for striping and copying the VBOX_LNX_STRIP_OBJ files to archive/
342$(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/,$(VBOX_LNX_STRIP_OBJ)): \
343 $(VBOX_LNX_INST_OUT_DIR)/archive/% : $(PATH_BIN)/% | $$(dir $$@)
344 $(call MSG_INST_FILE,$<,$@)
345ifeq ($(VBOX_DO_STRIP),)
346 $(QUIET)$(INSTALL) -m 0644 $< $@
347else # strip to temp file because of umask.
348 $(QUIET)objcopy --strip-unneeded -R .comment $< [email protected]
349 $(QUIET)$(INSTALL) -m 0644 [email protected] $@
350 $(QUIET)$(RM) -f -- [email protected]
351endif
352
353# pattern rule for linking the VBOX_LNX_NO_STRIP into archive/
354$(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/,$(VBOX_LNX_NO_STRIP)): \
355 $(VBOX_LNX_INST_OUT_DIR)/archive/% : $(PATH_BIN)/% | $$(dir $$@)
356 $(call MSG_INST_SYM,$<,$@)
357 $(QUIET)$(RM) -f $@
358 $(QUIET)$(LN_SYMLINK) $< $@
359
360# rules for creating directories in archive (the pattern rules depends on these). ## @todo use BLDDIRS
361BLDDIRS += $(foreach d,\
362 archive \
363 archive/components \
364 archive/nls \
365 $(if $(VBOX_WITH_QT4_SUN),archive/accessible,) \
366 $(if $(VBOX_WITH_PYTHON),\
367 archive/sdk/installer \
368 archive/sdk/installer/vboxapi \
369 archive/sdk/bindings/xpcom/python/xpcom \
370 archive/sdk/bindings/xpcom/python/xpcom/client \
371 archive/sdk/bindings/xpcom/python/xpcom/server,) \
372 archive/additions \
373 install\
374,$(VBOX_LNX_INST_OUT_DIR)/$(d)/)
375
376
377#
378# .tar.bz2 for with the debug info.
379#
380$(PATH_BIN)/VirtualBox-dbg.tar.bz2: \
381 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/, $(VBOX_LNX_STRIP_BIN))
382 $(call MSG_L1,Packing $@)
383 $(QUIET)$(RM) -f -- $@ $(patsubst %.bz2,%,$@)
384ifdef VBOX_USE_PBZIP2
385 $(QUIET)tar --owner 0 --group 0 -cRhf $(patsubst %.bz2,%,$@) -C $(VBOX_LNX_INST_OUT_DIR)/archive-dbg \
386 $(addprefix $(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_STRIP_BIN))
387 $(QUIET)pbzip2 $(patsubst %.bz2,%,$@)
388else
389 $(QUIET)tar --owner 0 --group 0 -cjRhf $@ -C $(VBOX_LNX_INST_OUT_DIR)/archive-dbg \
390 $(addprefix $(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_STRIP_BIN))
391endif
392
393# pattern rule for copying the debug info from the VBOX_LNX_STRIP_BIN files into archive-dbg/$(VBOX_LNX_DBG_PATH)/
394$(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_STRIP_BIN)): \
395 $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/% : $(PATH_BIN)/% | $$(dir $$@)
396 $(call MSG_TOOL,copydbg,$<,$@)
397 $(QUIET)objcopy --only-keep-debug $< $@
398
399# rules for creating directories in archive-dbg (the pattern rules depends on these). ## @todo use BLDDIRS
400BLDDIRS += $(foreach d,\
401 $(VBOX_LNX_DBG_PATH) \
402 $(VBOX_LNX_DBG_PATH)/components \
403,$(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(d)/)
404
405include $(KBUILD_PATH)/subfooter.kmk
406
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette