1 | # $Id: Makefile.kmk 76553 2019-01-01 01:45:53Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the VBoxFUSE Program.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2009-2019 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 |
|
---|
18 | SUB_DEPTH = ../../../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 | #
|
---|
22 | # VBOXR3EXE variant using the Mac OS X 10.5 SDK.
|
---|
23 | #
|
---|
24 | # We require this for VBoxFUSE since its libraries doesn't sit well with
|
---|
25 | # the 10.4 linker. Wonderful.
|
---|
26 | #
|
---|
27 | TEMPLATE_VBOXR3EXEOSX105 = VBOXR3EXE variant using the 10.5 SDK.
|
---|
28 | TEMPLATE_VBOXR3EXEOSX105_EXTENDS = VBOXR3EXE
|
---|
29 | TEMPLATE_VBOXR3EXEOSX105_DEFS.darwin = $(VBOX_DARWIN_DEF_SDK_10_5_DEFS)
|
---|
30 | TEMPLATE_VBOXR3EXEOSX105_DEFS.darwin = $(VBOX_DARWIN_DEF_SDK_10_5_DEFS)
|
---|
31 | TEMPLATE_VBOXR3EXEOSX105_CFLAGS.darwin = $(VBOX_DARWIN_DEF_SDK_10_5_CFLAGS) -fno-common
|
---|
32 | TEMPLATE_VBOXR3EXEOSX105_CXXFLAGS.darwin = $(VBOX_DARWIN_DEF_SDK_10_5_CXXFLAGS)
|
---|
33 | TEMPLATE_VBOXR3EXEOSX105_OBJCFLAGS.darwin = $(VBOX_DARWIN_DEF_SDK_10_5_OBJCFLAGS)
|
---|
34 | TEMPLATE_VBOXR3EXEOSX105_LDFLAGS.darwin = $(VBOX_DARWIN_DEF_SDK_10_5_LDFLAGS)
|
---|
35 |
|
---|
36 |
|
---|
37 | #
|
---|
38 | # VBoxFUSE - Disk Image Flatting FUSE Program.
|
---|
39 | #
|
---|
40 | PROGRAMS += VBoxFUSE
|
---|
41 | VBoxFUSE_TEMPLATE = VBOXR3EXE$(if-expr "$(KBUILD_TARGET)" == "darwin",OSX105,)
|
---|
42 | VBoxFUSE_DEFS.darwin = __FreeBSD_==10
|
---|
43 | VBoxFUSE_DEFS = _FILE_OFFSET_BITS=64
|
---|
44 | VBoxFUSE_INCS.darwin = \
|
---|
45 | /usr/local/include
|
---|
46 | VBoxFUSE_SOURCES = \
|
---|
47 | VBoxFUSE.cpp
|
---|
48 | VBoxFUSE_LIBS = \
|
---|
49 | $(LIB_DDU) \
|
---|
50 | $(LIB_RUNTIME)
|
---|
51 | VBoxFUSE_LIBS.darwin = fuse
|
---|
52 | VBoxFUSE_LIBS.linux = fuse
|
---|
53 | VBoxFUSE_LIBS.freebsd = fuse
|
---|
54 | VBoxFUSE_LIBPATHS.darwin = /usr/local/lib
|
---|
55 |
|
---|
56 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
57 |
|
---|