[33567] | 1 | # $Id: Makefile.kmk 67455 2017-06-16 20:25:22Z vboxsync $
|
---|
| 2 | ## @file
|
---|
| 3 | # Sub-Makefile for the Storage library.
|
---|
| 4 | #
|
---|
| 5 |
|
---|
| 6 | #
|
---|
[62482] | 7 | # Copyright (C) 2006-2016 Oracle Corporation
|
---|
[33567] | 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 |
|
---|
[33586] | 21 | VBOX_PATH_STORAGE_SRC := $(PATH_SUB_CURRENT)
|
---|
| 22 |
|
---|
[51758] | 23 | if !defined(VBOX_ONLY_EXTPACKS)
|
---|
| 24 | include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
|
---|
| 25 | include $(PATH_SUB_CURRENT)/Debug/Makefile.kmk
|
---|
[33567] | 26 |
|
---|
[51758] | 27 | #
|
---|
| 28 | # StorageLib - The storage Library.
|
---|
| 29 | #
|
---|
| 30 | LIBRARIES += StorageLib #StorageLibNoDB
|
---|
[33567] | 31 |
|
---|
[51758] | 32 | StorageLib_TEMPLATE = VBOXR3
|
---|
| 33 | StorageLib_DEFS = IN_VBOXDDU
|
---|
[59601] | 34 | ifeq ($(USER),bird)
|
---|
| 35 | StorageLib_DEFS.debug += RTMEM_WRAP_TO_EF_APIS
|
---|
| 36 | endif
|
---|
| 37 |
|
---|
[51758] | 38 | StorageLib_SOURCES = \
|
---|
[51759] | 39 | VD.cpp \
|
---|
[66378] | 40 | VDPlugin.cpp \
|
---|
[51759] | 41 | VDVfs.cpp \
|
---|
| 42 | VDIfVfs.cpp \
|
---|
[59601] | 43 | VDIfVfs2.cpp \
|
---|
[51759] | 44 | VDI.cpp \
|
---|
| 45 | VMDK.cpp \
|
---|
| 46 | VHD.cpp \
|
---|
| 47 | DMG.cpp \
|
---|
| 48 | Parallels.cpp \
|
---|
| 49 | ISCSI.cpp \
|
---|
| 50 | RAW.cpp \
|
---|
| 51 | QED.cpp \
|
---|
| 52 | QCOW.cpp \
|
---|
| 53 | VHDX.cpp \
|
---|
[66140] | 54 | CUE.cpp \
|
---|
[67455] | 55 | VISO.cpp \
|
---|
[51759] | 56 | VCICache.cpp
|
---|
[51758] | 57 | endif
|
---|
[33567] | 58 |
|
---|
[51755] | 59 | if defined(VBOX_WITH_EXTPACK_PUEL) && defined(VBOX_WITH_EXTPACK_PUEL_BUILD)
|
---|
| 60 | if defined(VBOX_WITH_PLUGIN_CRYPT)
|
---|
| 61 | DLLS += VDPluginCrypt
|
---|
[63976] | 62 | VDPluginCrypt_TEMPLATE = VBoxR3ExtPackPuelWithOpenSsl
|
---|
[66125] | 63 | VDPluginCrypt_LDFLAGS.linux = $(VBOX_GCC_NO_UNDEFINED)
|
---|
[51104] | 64 |
|
---|
[54403] | 65 | VDPluginCrypt_SOURCES = \
|
---|
[54405] | 66 | VDFilterCrypt.cpp \
|
---|
| 67 | VDKeyStore.cpp
|
---|
[53806] | 68 | VDPluginCrypt_SOURCES.win = VDPluginCrypt.rc
|
---|
[51755] | 69 | endif
|
---|
| 70 | endif # VBOX_WITH_EXTPACK_PUEL
|
---|
| 71 |
|
---|
[33586] | 72 | #StorageLibNoDB_TEMPLATE = VBOXR3
|
---|
| 73 | #StorageLibNoDB_DEFS = IN_VBOXDDU VBOX_HDD_NO_DYNAMIC_BACKENDS
|
---|
| 74 | #StorageLibNoDB_SOURCES = \
|
---|
| 75 | # $(StorageLib_SOURCES)
|
---|
[33567] | 76 |
|
---|
| 77 | # generate rules
|
---|
[41477] | 78 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
[33567] | 79 |
|
---|