rules revision 917d66601860f75830cb684385ba7b4d73458bca
316N/A# Copyright (C) 2006-2008 Sun Microsystems, Inc. 371N/A# This file is part of VirtualBox Open Source Edition (OSE), as 316N/A# you can redistribute it and/or modify it under the terms of the GNU 316N/A# General Public License as published by the Free Software Foundation, 316N/A# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE 316N/A# distribution. VirtualBox OSE is distributed in the hope that it will 316N/A# be useful, but WITHOUT ANY WARRANTY of any kind. 316N/A# NOPARALLEL=1 compile with -j1 316N/A# LINUX=<dir> compile vboxdrv against Linux found in <dir> 316N/A# VERBOSE=1 verbose build 316N/A# NOSUBVER=1 disable generation of the sub-version field (which is 316N/A# either the subversion rev [if available] or the build date) 316N/A# NOMODS=1 don't build any module 316N/A# NOQT=1 don't build the Qt GUI 316N/A# HEADLESS=1 build the headless version 316N/A# STAGEDISO=<path> don't build the VBoxAdditions, use the precompiled .iso # Ubuntu dapper: gcc-4.0 does not work with recompiler, use gcc-3.4 instead # Ubuntu gutsy: gcc-4.1 does not work for the webservices, use gcc-4.2 instead # Build modules for every kernel we find in /lib/modules/* # Build architecture-dependent files here. -e
's|%VERPKG%|$(verpkg)|g' \
-e
's|%NOLSB%|$(if $(filter _Debian_sarge ucs1.3,$(debrel)),yes,)|g' \
-e
's|%PACKAGE%|virtualbox|g' \
if [
"$(debrel)" =
"_Ubuntu_dapper" -o
"$(debrel)" =
"_Debian_sarge" ];
then \
# manually strip our R0/GC modules, dh_strip cannot handle them