Makefile revision 677833bc953b6cb418c701facbdcf4aa18d6c44e
98N/A#
98N/A# Makefile for the VirtualBox Linux Guest Additions Kernel Module.
98N/A#
98N/A
98N/A#
98N/A# Copyright (C) 2006 InnoTek Systemberatung GmbH
98N/A#
98N/A# This file is part of VirtualBox Open Source Edition (OSE), as
98N/A# available from http://www.virtualbox.org. This file is free software;
98N/A# you can redistribute it and/or modify it under the terms of the GNU
98N/A# General Public License as published by the Free Software Foundation,
98N/A# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
98N/A# distribution. VirtualBox OSE is distributed in the hope that it will
98N/A# be useful, but WITHOUT ANY WARRANTY of any kind.
98N/A#
98N/A# If you received this file as part of a commercial VirtualBox
98N/A# distribution, then only the terms of your commercial VirtualBox
98N/A# license agreement apply instead of the previous paragraph.
98N/A#
98N/A
98N/ADEPTH = ../../../../..
98N/Ainclude $(PATH_KBUILD)/header.kmk
98N/A
98N/AINSTALLS = vboxmod-bin
98N/ASYSMODS.linux = vboxadd
98N/A
98N/Avboxmod-bin_INST = bin/additions/src/vboxadd/
98N/Avboxmod-bin_MODE = a+r,u+w
98N/Avboxmod-bin_SOURCES = \
98N/A $(PATH_ROOT)/include/iprt/alloc.h=>include/iprt/alloc.h \
98N/A $(PATH_ROOT)/include/iprt/asm.h=>include/iprt/asm.h \
98N/A $(PATH_ROOT)/include/iprt/assert.h=>include/iprt/assert.h \
98N/A $(PATH_ROOT)/include/iprt/cdefs.h=>include/iprt/cdefs.h \
98N/A $(PATH_ROOT)/include/iprt/err.h=>include/iprt/err.h \
98N/A $(PATH_ROOT)/include/iprt/mem.h=>include/iprt/mem.h \
98N/A $(PATH_ROOT)/include/iprt/param.h=>include/iprt/param.h \
98N/A $(PATH_ROOT)/include/iprt/semaphore.h=>include/iprt/semaphore.h \
98N/A $(PATH_ROOT)/include/iprt/stdarg.h=>include/iprt/stdarg.h \
98N/A $(PATH_ROOT)/include/iprt/stdint.h=>include/iprt/stdint.h \
98N/A $(PATH_ROOT)/include/iprt/string.h=>include/iprt/string.h \
98N/A $(PATH_ROOT)/include/iprt/types.h=>include/iprt/types.h \
98N/A $(PATH_ROOT)/include/VBox/cdefs.h=>include/VBox/cdefs.h \
98N/A $(PATH_ROOT)/include/VBox/err.h=>include/VBox/err.h \
98N/A $(PATH_ROOT)/include/VBox/types.h=>include/VBox/types.h \
98N/A $(PATH_ROOT)/include/VBox/ostypes.h=>include/VBox/ostypes.h \
98N/A $(PATH_ROOT)/include/VBox/VBoxGuest.h=>include/VBox/VBoxGuest.h \
98N/A $(PATH_ROOT)/include/VBox/VBoxGuestLib.h=>include/VBox/VBoxGuestLib.h \
98N/A $(PATH_ROOT)/src/VBox/Runtime/r0drv/alloc-r0drv.cpp=>r0drv/alloc-r0drv.c \
98N/A $(PATH_ROOT)/src/VBox/Runtime/r0drv/alloc-r0drv.h=>r0drv/alloc-r0drv.h \
98N/A $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c=>r0drv/linux/alloc-r0drv-linux.c \
98N/A $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux/semaphore-r0drv-linux.c=>r0drv/linux/semaphore-r0drv-linux.c \
98N/A $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux/string.h=>r0drv/linux/string.h \
98N/A $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h=>r0drv/linux/the-linux-kernel.h \
98N/A vboxmod.c=>vboxmod.c \
98N/A cmc.c=>cmc.c \
98N/A vboxmod.h=>vboxmod.h \
98N/A waitcompat.h=>waitcompat.h \
98N/A Makefile.module=>Makefile \
98N/A $(PATH_OUT)/lib/VBoxGuestLibBaseLinux.a=>VBoxGuestLibBaseLinux.a
98N/A
98N/A#
98N/A# The module.
98N/A#
98N/Avboxadd_TEMPLATE = VBOXLNX32GUESTR0
98N/Avboxadd_DEFS = KBUILD_MODNAME=KBUILD_STR\(vboxadd\) KBUILD_BASENAME=KBUILD_STR\(vboxadd\) MODULE IN_RING0 IN_RT_R0 VBGL_VBOXGUEST EXPORT_SYMTAB VBGL_HGCM VBOX_HGCM
98N/Avboxadd_LIBS = $(PATH_LIB)/RuntimeLnx32GuestR0.a
98N/Avboxadd_SOURCES = vboxmod.c cmc.c
98N/Avboxadd_INCS = $(PATH_ROOT)/src/VBox/Runtime/r0drv/linux
98N/Avboxadd_NOINST = 1
98N/A
98N/Ainclude $(PATH_KBUILD)/footer.kmk
98N/A
98N/A