1 | # $Id: Makefile.kmk 56301 2015-06-09 14:38:36Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Storage library.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2015 Oracle Corporation
|
---|
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 |
|
---|
18 | SUB_DEPTH = ../../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 | VBOX_PATH_STORAGE_SRC := $(PATH_SUB_CURRENT)
|
---|
22 |
|
---|
23 | if !defined(VBOX_ONLY_EXTPACKS)
|
---|
24 | include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
|
---|
25 | include $(PATH_SUB_CURRENT)/Debug/Makefile.kmk
|
---|
26 |
|
---|
27 | ifndef VBOX_OSE
|
---|
28 | include $(PATH_SUB_CURRENT)/VDFormats/Makefile.kmk
|
---|
29 | endif
|
---|
30 |
|
---|
31 | #
|
---|
32 | # StorageLib - The storage Library.
|
---|
33 | #
|
---|
34 | LIBRARIES += StorageLib #StorageLibNoDB
|
---|
35 |
|
---|
36 | StorageLib_TEMPLATE = VBOXR3
|
---|
37 | StorageLib_DEFS = IN_VBOXDDU
|
---|
38 | StorageLib_SOURCES = \
|
---|
39 | VD.cpp \
|
---|
40 | VDVfs.cpp \
|
---|
41 | VDIfVfs.cpp \
|
---|
42 | VDI.cpp \
|
---|
43 | VMDK.cpp \
|
---|
44 | VHD.cpp \
|
---|
45 | DMG.cpp \
|
---|
46 | Parallels.cpp \
|
---|
47 | ISCSI.cpp \
|
---|
48 | RAW.cpp \
|
---|
49 | QED.cpp \
|
---|
50 | QCOW.cpp \
|
---|
51 | VHDX.cpp \
|
---|
52 | VCICache.cpp
|
---|
53 | endif
|
---|
54 |
|
---|
55 | if defined(VBOX_WITH_EXTPACK_PUEL) && defined(VBOX_WITH_EXTPACK_PUEL_BUILD)
|
---|
56 | if defined(VBOX_WITH_PLUGIN_CRYPT)
|
---|
57 | DLLS += VDPluginCrypt
|
---|
58 | VDPluginCrypt_TEMPLATE = VBoxR3ExtPackPuel
|
---|
59 | VDPluginCrypt_SDKS = VBoxOpenSslExtPack
|
---|
60 | VDPluginCrypt_LDFLAGS.linux = -Wl,--no-undefined
|
---|
61 |
|
---|
62 | VDPluginCrypt_SOURCES = \
|
---|
63 | VDFilterCrypt.cpp \
|
---|
64 | VDKeyStore.cpp
|
---|
65 | VDPluginCrypt_SOURCES.win = VDPluginCrypt.rc
|
---|
66 | endif
|
---|
67 | endif # VBOX_WITH_EXTPACK_PUEL
|
---|
68 |
|
---|
69 | #StorageLibNoDB_TEMPLATE = VBOXR3
|
---|
70 | #StorageLibNoDB_DEFS = IN_VBOXDDU VBOX_HDD_NO_DYNAMIC_BACKENDS
|
---|
71 | #StorageLibNoDB_SOURCES = \
|
---|
72 | # $(StorageLib_SOURCES)
|
---|
73 |
|
---|
74 | # generate rules
|
---|
75 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
76 |
|
---|