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