1 | # $Id: Makefile.kmk 10067 2008-07-01 11:07:51Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Solaris Shared folder kernel module.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2008 Sun Microsystems, Inc.
|
---|
8 | #
|
---|
9 | # Sun Microsystems, Inc. confidential
|
---|
10 | # All rights reserved
|
---|
11 | #
|
---|
12 |
|
---|
13 | DEPTH ?= ../../../../..
|
---|
14 | SUB_DEPTH = ../..
|
---|
15 | include $(KBUILD_PATH)/subheader.kmk
|
---|
16 |
|
---|
17 | ifneq ($(KBUILD_HOST),solaris)
|
---|
18 | $(error "The Solaris guest additions can only be built on Solaris!")
|
---|
19 | endif
|
---|
20 |
|
---|
21 | #
|
---|
22 | # vboxvfs - The Shared Folder Driver
|
---|
23 | #
|
---|
24 | SYSMODS.solaris += vboxvfs
|
---|
25 | vboxvfs_TEMPLATE = VBOXGUESTR0
|
---|
26 | vboxvfs_DEFS = VBOX_HGCM
|
---|
27 | vboxvfs_INCS := \
|
---|
28 | $(PATH_SUB_CURRENT) \
|
---|
29 | $(PATH_TARGET)
|
---|
30 | vboxvfs_SOURCES = \
|
---|
31 | vboxvfs_vfsops.c \
|
---|
32 | vboxvfs_vnops.c \
|
---|
33 | vboxvfs_utils.c
|
---|
34 | vboxvfs_LIBS = \
|
---|
35 | $(VBOX_LIB_VBGL_R0) \
|
---|
36 | $(VBOX_LIB_IPRT_GUEST_R0)
|
---|
37 | #@todo find out why the additions box freaks out with this...
|
---|
38 | #vboxvfs_LDFLAGS += -N drv/vboxguest
|
---|
39 |
|
---|
40 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
41 |
|
---|