VirtualBox

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

Last change on this file since 97271 was 96522, checked in by vboxsync, 2 years ago

Storage: Wrong file. bugref:10261

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1# $Id: Makefile.kmk 96522 2022-08-26 18:19:55Z vboxsync $
2## @file
3# Sub-Makefile for the Storage library.
4#
5
6#
7# Copyright (C) 2006-2022 Oracle and/or its affiliates.
8#
9# This file is part of VirtualBox base platform packages, as
10# available from https://www.virtualbox.org.
11#
12# This program is free software; you can redistribute it and/or
13# modify it under the terms of the GNU General Public License
14# as published by the Free Software Foundation, in version 3 of the
15# License.
16#
17# This program is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with this program; if not, see <https://www.gnu.org/licenses>.
24#
25# SPDX-License-Identifier: GPL-3.0-only
26#
27
28SUB_DEPTH = ../../..
29include $(KBUILD_PATH)/subheader.kmk
30
31VBOX_PATH_STORAGE_SRC := $(PATH_SUB_CURRENT)
32
33if !defined(VBOX_ONLY_EXTPACKS)
34 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
35
36 #
37 # StorageLib - The storage Library.
38 #
39 LIBRARIES += StorageLib #StorageLibNoDB
40
41 StorageLib_TEMPLATE = VBOXR3
42 StorageLib_DEFS = IN_VBOXDDU
43 ifeq ($(USER),bird)
44 StorageLib_DEFS.debug += RTMEM_WRAP_TO_EF_APIS
45 endif
46
47 StorageLib_SOURCES = \
48 VD.cpp \
49 VDPlugin.cpp \
50 VDVfs.cpp \
51 VDIfVfs.cpp \
52 VDIfVfs2.cpp \
53 VDIfTcpNet.cpp \
54 VDI.cpp \
55 VMDK.cpp \
56 VHD.cpp \
57 DMG.cpp \
58 Parallels.cpp \
59 ISCSI.cpp \
60 RAW.cpp \
61 QED.cpp \
62 QCOW.cpp \
63 VHDX.cpp \
64 CUE.cpp \
65 VISO.cpp \
66 VCICache.cpp
67endif # !VBOX_ONLY_EXTPACKS
68
69if defined(VBOX_WITH_EXTPACK_PUEL) && defined(VBOX_WITH_EXTPACK_PUEL_BUILD)
70 if defined(VBOX_WITH_PLUGIN_CRYPT)
71 DLLS += VDPluginCrypt
72 VDPluginCrypt_TEMPLATE = VBoxR3ExtPackPuelWithOpenSsl
73 VDPluginCrypt_LDFLAGS.linux = $(VBOX_GCC_NO_UNDEFINED)
74 VDPluginCrypt_DEFS = $(if $(VD_WITH_IPRT_CRYPTO),VD_WITH_IPRT_CRYPTO,)
75 VDPluginCrypt_SOURCES = \
76 VDFilterCrypt.cpp \
77 VDKeyStore.cpp
78 VDPluginCrypt_SOURCES.win = \
79 VDPluginCrypt.rc
80 endif
81endif # VBOX_WITH_EXTPACK_PUEL
82
83#StorageLibNoDB_TEMPLATE = VBOXR3
84#StorageLibNoDB_DEFS = IN_VBOXDDU VBOX_HDD_NO_DYNAMIC_BACKENDS
85#StorageLibNoDB_SOURCES = \
86# $(StorageLib_SOURCES)
87
88# generate rules
89include $(FILE_KBUILD_SUB_FOOTER)
90
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