VirtualBox

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

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

Solaris vboxvfs: added mount wrapper.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Makefile.kmk 10307 2008-07-07 11:18:16Z 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
44#
45# mount - Userland mount wrapper for vboxvfs
46#
47PROGRAMS += vboxvfsmount
48vboxvfsmount_TEMPLATE = VBOXGUESTR3EXE
49vboxvfsmount_SOURCES = vboxvfs_mount.c
50
51include $(KBUILD_PATH)/subfooter.kmk
52
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