# $Id: Makefile.kmk 10307 2008-07-07 11:18:16Z vboxsync $ ## @file # Sub-Makefile for the Solaris Shared folder kernel module. # # # Copyright (C) 2008 Sun Microsystems, Inc. # # Sun Microsystems, Inc. confidential # All rights reserved # ifdef VBOX_KBUILD_HACKING SUB_DEPTH = ../../../../.. else DEPTH ?= ../../../../.. SUB_DEPTH = ../.. endif include $(KBUILD_PATH)/subheader.kmk ifneq ($(KBUILD_HOST),solaris) $(error "The Solaris guest additions can only be built on Solaris!") endif # # vboxvfs - The Shared Folder Driver # SYSMODS.solaris += vboxvfs vboxvfs_TEMPLATE = VBOXGUESTR0 vboxvfs_DEFS = VBOX_HGCM vboxvfs_INCS := \ $(PATH_SUB_CURRENT) \ $(PATH_TARGET) vboxvfs_SOURCES = \ vboxvfs_vfsops.c \ vboxvfs_vnops.c \ vboxvfs_utils.c vboxvfs_LIBS = \ $(VBOX_LIB_VBGL_R0) \ $(VBOX_LIB_IPRT_GUEST_R0) #@todo find out why the additions box freaks out with this... #vboxvfs_LDFLAGS += -N drv/vboxguest # # mount - Userland mount wrapper for vboxvfs # PROGRAMS += vboxvfsmount vboxvfsmount_TEMPLATE = VBOXGUESTR3EXE vboxvfsmount_SOURCES = vboxvfs_mount.c include $(KBUILD_PATH)/subfooter.kmk