rules revision 5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9b
606N/A# Copyright (C) 2006-2010 Oracle Corporation 32N/A# This file is part of VirtualBox Open Source Edition (OSE), as 32N/A# you can redistribute it and/or modify it under the terms of the GNU 32N/A# General Public License as published by the Free Software Foundation, 32N/A# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE 32N/A# distribution. VirtualBox OSE is distributed in the hope that it will 32N/A# be useful, but WITHOUT ANY WARRANTY of any kind. 32N/A# NOTE: if you make changes to this file, please check if the updates should 32N/A#export DH_VERBOSE=1 32N/A# possible overrides: 32N/A# OSE=1 force VBOX_OSE 32N/A# NOPARALLEL=1 compile with -j1 32N/A# LINUX=<dir> compile vboxdrv against Linux found in <dir> 32N/A# VERBOSE=1 verbose build 32N/A# DEBUG=1 debug build 32N/A# NOSUBVER=1 disable generation of the sub-version field (which is 32N/A# either the subversion rev [if available] or the build date) 32N/A# NOMODS=1 don't build any module 32N/A# NOQT=1 don't build the Qt GUI 32N/A# EFI include the EFI binary from prebuild 493N/A# VERSUFFIX=<suffix> set a particular package version suffix (e.g. _customer) 32N/A# HEADLESS=1 build the headless version 32N/A# NOWEBSVC=1 don't build the webservice API, default for OSE 726N/A# STAGEDISO=<path> don't build the VBoxAdditions, use the precompiled .iso svn info|sed -e "s/^Revision: \(.*\)/-\1/;t;d"; else \ # shipping Linux kernel modules with bleeding-edge releases doesn't make sense # Locations of custom built Qt libraries (see below) # Build modules for every kernel we find in /lib/modules/* # Build architecture-dependent files here. -e
's|%VERPKG%|$(verpkg)|g' \
-e
's|%PACKAGE%|virtualbox|g' \
-e
's|%PACKAGE%|virtualbox|g' \
sed -e
's|%VER%|$(debver)|g' \
-e
's|%DATE%|$(shell date -R)|g' \
-e
's|%DEBREL%|$(subst _,~,$(debrel))|g' \
-e
's|%VERPKG%|$(verpkg)|g' \
# manually strip our R0/GC modules, dh_strip cannot handle them # for some reason, the Qt libraries couldn't be found on newer releases (e.g. Ubuntu hardy)