1 | # $Id: CommonFetch.kmk 16979 2009-02-20 18:13:03Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Common Fetch.
|
---|
4 | # Included by both Makefile.kmk and Makefile-ose.kmk.
|
---|
5 | #
|
---|
6 |
|
---|
7 | #
|
---|
8 | # Copyright (C) 2006-2007 Sun Microsystems, Inc.
|
---|
9 | #
|
---|
10 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
11 | # available from http://www.virtualbox.org. This file is free software;
|
---|
12 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
13 | # General Public License as published by the Free Software Foundation,
|
---|
14 | # in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
15 | # distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
16 | # be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
17 | #
|
---|
18 |
|
---|
19 |
|
---|
20 | #
|
---|
21 | # Template for the fetch targets.
|
---|
22 | #
|
---|
23 | TEMPLATE_VBOXFETCH = Template for the fetch targets using zip.
|
---|
24 | ifdef FETCHDIR
|
---|
25 | TEMPLATE_VBOXFETCH_FETCHDIR ?= $(FETCHDIR)
|
---|
26 | else
|
---|
27 | TEMPLATE_VBOXFETCH_FETCHDIR ?= $(PATH_DEVTOOLS)/FetchDir
|
---|
28 | endif
|
---|
29 | TEMPLATE_VBOXFETCH_FETCHTOOL = WGET
|
---|
30 | TEMPLATE_VBOXFETCH_FETCHFLAGS = $(VBOX_FETCHFLAGS)
|
---|
31 | TEMPLATE_VBOXFETCH_UNPACKTOOL = ZIP
|
---|
32 | TEMPLATE_VBOXFETCH_UNPACKFLAGS = -o
|
---|
33 |
|
---|
34 | #
|
---|
35 | # tar.bz2 variant.
|
---|
36 | #
|
---|
37 | TEMPLATE_VBOXFETCH_TAR_BZ2 = Template for the fetch targets using tar.bz2.
|
---|
38 | TEMPLATE_VBOXFETCH_TAR_BZ2_FETCHDIR ?= $(TEMPLATE_VBOXFETCH_FETCHDIR)
|
---|
39 | TEMPLATE_VBOXFETCH_TAR_BZ2_FETCHTOOL = $(TEMPLATE_VBOXFETCH_FETCHTOOL)
|
---|
40 | TEMPLATE_VBOXFETCH_TAR_BZ2_FETCHFLAGS = $(TEMPLATE_VBOXFETCH_FETCHFLAGS)
|
---|
41 | TEMPLATE_VBOXFETCH_TAR_BZ2_UNPACKTOOL = TARBZ2
|
---|
42 | TEMPLATE_VBOXFETCH_TAR_BZ2_UNPACKFLAGS =
|
---|
43 |
|
---|
44 |
|
---|
45 | #
|
---|
46 | # OS/2 stuff.
|
---|
47 | #
|
---|
48 | ifeq ($(KBUILD_TARGET),os2)
|
---|
49 | FETCHES += os2.x86.glibidl.20070521
|
---|
50 | os2.x86.glibidl.20070521_TEMPLATE = VBOXFETCH
|
---|
51 | os2.x86.glibidl.20070521_INST = $(PATH_DEVTOOLS)/os2.x86/glibidl/20070521/
|
---|
52 | os2.x86.glibidl.20070521_SOURCES = http://hobbes.nmsu.edu/pub/os2/dev/util/glibidl_20070521.zip
|
---|
53 | glibidl_20070521.zip_MD5 = 054646a49b96ab762e4d5e9451ca1b37
|
---|
54 | glibidl_20070521.zip_SIZE = 611335
|
---|
55 | endif # OS/2 stuff
|
---|
56 |
|
---|
57 |
|
---|