VirtualBox

source: vbox/trunk/src/VBox/Additions/solaris/SharedFolders/Makefile.kmk@ 10129

Last change on this file since 10129 was 10129, checked in by vboxsync, 16 years ago

VBOX_KBUILD_HACKING.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 965 bytes
Line 
1# $Id: Makefile.kmk 10129 2008-07-03 03:07:18Z 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
13ifdef VBOX_KBUILD_HACKING
14SUB_DEPTH = ../../../../..
15else
16DEPTH ?= ../../../../..
17SUB_DEPTH = ../..
18endif
19include $(KBUILD_PATH)/subheader.kmk
20
21ifneq ($(KBUILD_HOST),solaris)
22$(error "The Solaris guest additions can only be built on Solaris!")
23endif
24
25#
26# vboxvfs - The Shared Folder Driver
27#
28SYSMODS.solaris += vboxvfs
29vboxvfs_TEMPLATE = VBOXGUESTR0
30vboxvfs_DEFS = VBOX_HGCM
31vboxvfs_INCS := \
32 $(PATH_SUB_CURRENT) \
33 $(PATH_TARGET)
34vboxvfs_SOURCES = \
35 vboxvfs_vfsops.c \
36 vboxvfs_vnops.c \
37 vboxvfs_utils.c
38vboxvfs_LIBS = \
39 $(VBOX_LIB_VBGL_R0) \
40 $(VBOX_LIB_IPRT_GUEST_R0)
41#@todo find out why the additions box freaks out with this...
42#vboxvfs_LDFLAGS += -N drv/vboxguest
43
44include $(KBUILD_PATH)/subfooter.kmk
45
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