[33567] | 1 | # $Id: Makefile.kmk 76553 2019-01-01 01:45:53Z vboxsync $
|
---|
| 2 | ## @file
|
---|
| 3 | # Sub-Makefile for the Storage library.
|
---|
| 4 | #
|
---|
| 5 |
|
---|
| 6 | #
|
---|
[76553] | 7 | # Copyright (C) 2006-2019 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
|
---|
[33567] | 25 |
|
---|
[51758] | 26 | #
|
---|
| 27 | # StorageLib - The storage Library.
|
---|
| 28 | #
|
---|
| 29 | LIBRARIES += StorageLib #StorageLibNoDB
|
---|
[33567] | 30 |
|
---|
[51758] | 31 | StorageLib_TEMPLATE = VBOXR3
|
---|
| 32 | StorageLib_DEFS = IN_VBOXDDU
|
---|
[59601] | 33 | ifeq ($(USER),bird)
|
---|
| 34 | StorageLib_DEFS.debug += RTMEM_WRAP_TO_EF_APIS
|
---|
| 35 | endif
|
---|
| 36 |
|
---|
[51758] | 37 | StorageLib_SOURCES = \
|
---|
[74316] | 38 | VD.cpp \
|
---|
| 39 | VDPlugin.cpp \
|
---|
| 40 | VDVfs.cpp \
|
---|
| 41 | VDIfVfs.cpp \
|
---|
| 42 | VDIfVfs2.cpp \
|
---|
| 43 | VDI.cpp \
|
---|
| 44 | VMDK.cpp \
|
---|
| 45 | VHD.cpp \
|
---|
| 46 | DMG.cpp \
|
---|
| 47 | Parallels.cpp \
|
---|
| 48 | ISCSI.cpp \
|
---|
| 49 | RAW.cpp \
|
---|
| 50 | QED.cpp \
|
---|
| 51 | QCOW.cpp \
|
---|
| 52 | VHDX.cpp \
|
---|
| 53 | CUE.cpp \
|
---|
| 54 | VISO.cpp \
|
---|
| 55 | VCICache.cpp
|
---|
| 56 | endif # !VBOX_ONLY_EXTPACKS
|
---|
[33567] | 57 |
|
---|
[51755] | 58 | if defined(VBOX_WITH_EXTPACK_PUEL) && defined(VBOX_WITH_EXTPACK_PUEL_BUILD)
|
---|
| 59 | if defined(VBOX_WITH_PLUGIN_CRYPT)
|
---|
| 60 | DLLS += VDPluginCrypt
|
---|
[63976] | 61 | VDPluginCrypt_TEMPLATE = VBoxR3ExtPackPuelWithOpenSsl
|
---|
[66125] | 62 | VDPluginCrypt_LDFLAGS.linux = $(VBOX_GCC_NO_UNDEFINED)
|
---|
[74316] | 63 | VDPluginCrypt_DEFS = $(if $(VD_WITH_IPRT_CRYPTO),VD_WITH_IPRT_CRYPTO,)
|
---|
[54403] | 64 | VDPluginCrypt_SOURCES = \
|
---|
[74316] | 65 | VDFilterCrypt.cpp \
|
---|
| 66 | VDKeyStore.cpp
|
---|
| 67 | VDPluginCrypt_SOURCES.win = \
|
---|
| 68 | 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 |
|
---|