VirtualBox

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

Last change on this file since 95259 was 93115, checked in by vboxsync, 3 years ago

scm --update-copyright-year

  • 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 93115 2022-01-01 11:31:46Z vboxsync $
2## @file
3# Sub-Makefile for the Storage library.
4#
5
6#
7# Copyright (C) 2006-2022 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 VDIfTcpNet.cpp \
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 \
54 CUE.cpp \
55 VISO.cpp \
56 VCICache.cpp
57endif # !VBOX_ONLY_EXTPACKS
58
59if defined(VBOX_WITH_EXTPACK_PUEL) && defined(VBOX_WITH_EXTPACK_PUEL_BUILD)
60 if defined(VBOX_WITH_PLUGIN_CRYPT)
61 DLLS += VDPluginCrypt
62 VDPluginCrypt_TEMPLATE = VBoxR3ExtPackPuelWithOpenSsl
63 VDPluginCrypt_LDFLAGS.linux = $(VBOX_GCC_NO_UNDEFINED)
64 VDPluginCrypt_DEFS = $(if $(VD_WITH_IPRT_CRYPTO),VD_WITH_IPRT_CRYPTO,)
65 VDPluginCrypt_SOURCES = \
66 VDFilterCrypt.cpp \
67 VDKeyStore.cpp
68 VDPluginCrypt_SOURCES.win = \
69 VDPluginCrypt.rc
70 endif
71endif # VBOX_WITH_EXTPACK_PUEL
72
73#StorageLibNoDB_TEMPLATE = VBOXR3
74#StorageLibNoDB_DEFS = IN_VBOXDDU VBOX_HDD_NO_DYNAMIC_BACKENDS
75#StorageLibNoDB_SOURCES = \
76# $(StorageLib_SOURCES)
77
78# generate rules
79include $(FILE_KBUILD_SUB_FOOTER)
80
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