VirtualBox

source: vbox/trunk/src/VBox/ImageMounter/vboximg-mount/Makefile.kmk@ 78352

Last change on this file since 78352 was 76553, checked in by vboxsync, 6 years ago

scm --update-copyright-year

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1# $Id: Makefile.kmk 76553 2019-01-01 01:45:53Z vboxsync $
2## @file
3# Sub-Makefile for the vboximg-mount Program.
4
5#
6# Copyright (C) 2006-2019 Oracle Corporation
7#
8# This file is part of VirtualBox Open Source Edition (OSE), as
9# available from http://www.virtualbox.org. This file is free software;
10# you can redistribute it and/or modify it under the terms of the GNU
11# General Public License (GPL) as published by the Free Software
12# Foundation, in version 2 as it comes in the "COPYING" file of the
13# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15#
16
17
18SUB_DEPTH = ../../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21ifeq ($(KBUILD_TARGET),darwin)
22 VBOX_PATH_FUSE ?= $(lastword $(sort $(wildcard $(KBUILD_DEVTOOLS_TRG)/osxfuse/v*)))
23 ifneq ($(VBOX_PATH_FUSE),)
24 LIB_FUSE := $(VBOX_PATH_FUSE)/lib/libosxfuse.dylib
25 LIBPATH_FUSE := $(VBOX_PATH_FUSE)/lib
26 FUSE_INCS := $(VBOX_PATH_FUSE)/include/osxfuse
27 else
28 LIB_FUSE := /usr/local/lib/libosxfuse.dylib
29 LIBPATH_FUSE := /usr/local/lib
30 FUSE_INCS := /usr/local/include/osxfuse \
31 /usr/local/include
32 endif
33else
34 LIB_FUSE := fuse
35 FUSE_INCS := /usr/include
36endif
37
38#
39# vboximg-mount - Disk Image Flatting FUSE Program.
40#
41PROGRAMS += vboximg-mount
42
43vboximg-mount_TEMPLATE = VBOXMAINCLIENTEXE
44vboximg-mount_DEFS.darwin = __FreeBSD_==10
45vboximg-mount_DEFS = _FILE_OFFSET_BITS=64
46
47vboximg-mount_SOURCES = \
48 vboximg-mount.cpp \
49 vboximg-mount.h \
50 vboximgCrypto.cpp \
51 vboximgCrypto.h \
52 vboximgMedia.cpp \
53 vboximgMedia.h \
54 vboximgOpts.h \
55 SelfSizingTable.h
56
57vboximg-mount_LIBS = \
58 $(LIB_DDU) \
59 $(LIB_RUNTIME) \
60 $(LIB_FUSE)
61
62vboximg-mount_INCS = $(FUSE_INCS)
63#vboximg-mount_CXXFLAGS.darwin = -std=c++11
64
65include $(FILE_KBUILD_SUB_FOOTER)
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