VirtualBox

source: vbox/trunk/src/VBox/Storage/Makefile.kmk@ 74888

Last change on this file since 74888 was 74316, checked in by vboxsync, 6 years ago

Storage/VDFilterCrypt: Implemented IPRT based crypto alternative, guarded by VD_WITH_IPRT_CRYPTO, disabled, untested. bugref:9246

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1# $Id: Makefile.kmk 74316 2018-09-17 15:58:19Z vboxsync $
2## @file
3# Sub-Makefile for the Storage library.
4#
5
6#
7# Copyright (C) 2006-2017 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
18SUB_DEPTH = ../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21VBOX_PATH_STORAGE_SRC := $(PATH_SUB_CURRENT)
22
23if !defined(VBOX_ONLY_EXTPACKS)
24 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
25
26 #
27 # StorageLib - The storage Library.
28 #
29 LIBRARIES += StorageLib #StorageLibNoDB
30
31 StorageLib_TEMPLATE = VBOXR3
32 StorageLib_DEFS = IN_VBOXDDU
33 ifeq ($(USER),bird)
34 StorageLib_DEFS.debug += RTMEM_WRAP_TO_EF_APIS
35 endif
36
37 StorageLib_SOURCES = \
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
56endif # !VBOX_ONLY_EXTPACKS
57
58if defined(VBOX_WITH_EXTPACK_PUEL) && defined(VBOX_WITH_EXTPACK_PUEL_BUILD)
59 if defined(VBOX_WITH_PLUGIN_CRYPT)
60 DLLS += VDPluginCrypt
61 VDPluginCrypt_TEMPLATE = VBoxR3ExtPackPuelWithOpenSsl
62 VDPluginCrypt_LDFLAGS.linux = $(VBOX_GCC_NO_UNDEFINED)
63 VDPluginCrypt_DEFS = $(if $(VD_WITH_IPRT_CRYPTO),VD_WITH_IPRT_CRYPTO,)
64 VDPluginCrypt_SOURCES = \
65 VDFilterCrypt.cpp \
66 VDKeyStore.cpp
67 VDPluginCrypt_SOURCES.win = \
68 VDPluginCrypt.rc
69 endif
70endif # VBOX_WITH_EXTPACK_PUEL
71
72#StorageLibNoDB_TEMPLATE = VBOXR3
73#StorageLibNoDB_DEFS = IN_VBOXDDU VBOX_HDD_NO_DYNAMIC_BACKENDS
74#StorageLibNoDB_SOURCES = \
75# $(StorageLib_SOURCES)
76
77# generate rules
78include $(FILE_KBUILD_SUB_FOOTER)
79
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