rules revision 7c205843b5f25329b7bac4cb41e4c55a21c7aafe
1339N/A# Copyright (C) 2006-2010 Oracle Corporation 1339N/A# This file is part of VirtualBox Open Source Edition (OSE), as 486N/A# you can redistribute it and/or modify it under the terms of the GNU 919N/A# General Public License as published by the Free Software Foundation, 919N/A# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE 919N/A# distribution. VirtualBox OSE is distributed in the hope that it will 919N/A# be useful, but WITHOUT ANY WARRANTY of any kind. 919N/A# NOTE: if you make changes to this file, please check if the updates should 919N/A# NOPARALLEL=1 compile with -j1 486N/A# LINUX=<dir> compile vboxdrv against Linux found in <dir> 486N/A# VERBOSE=1 verbose build 486N/A# NOSUBVER=1 disable generation of the sub-version field (which is 493N/A# either the subversion rev [if available] or the build date) 970N/A# NOMODS=1 don't build any module 970N/A# NOQT=1 don't build the Qt GUI 970N/A# EFI include the EFI binary from prebuild 1339N/A# VERSUFFIX=<suffix> set a particular package version suffix (e.g. _customer) 1339N/A# HEADLESS=1 build the headless version 1339N/A# NOWEBSVC=1 don't build the webservice API, default for OSE 486N/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)