| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
include /usr/share/dpkg/pkg-info.mk |
| 8 |
|
| 9 |
NOEPOCH_VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/NOEPOCH_VERSION. := $(shellscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/shell. echo $(DEB_VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_VERSION.) | sed -e 's/.*://g') |
| 10 |
TAR_VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/TAR_VERSION. := $(shellscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/shell. echo $(NOEPOCH_VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/NOEPOCH_VERSION.) | sed -e 's/-.*//g') |
| 11 |
UPSTREAM_VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/UPSTREAM_VERSION. := $(shellscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/shell. echo $(TAR_VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/TAR_VERSION.) | sed -e 's/\.dfsg.*//g') |
| 12 |
NOGIT_VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/NOGIT_VERSION. := $(shellscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/shell. echo $(UPSTREAM_VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/UPSTREAM_VERSION.) | sed -e 's/+git[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]//g') |
| 13 |
MAJORscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/MAJOR. := $(shellscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/shell. echo $(VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/VERSION.) | sed -e 's/\..*//g') |
| 14 |
|
| 15 |
include /usr/share/dpkg/architecture.mk |
| 16 |
|
| 17 |
ifeq (,$(filterscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/filter. custom,$(DEB_BUILD_OPTIONSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_BUILD_OPTIONS.))) |
| 18 |
CUSTOMscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/CUSTOM. := |
| 19 |
VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/VERSION. := $(NOGIT_VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/NOGIT_VERSION.) |
| 20 |
else |
| 21 |
CUSTOMscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/CUSTOM. := .custom.$(shellscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/shell. date +'%Y%m%d') |
| 22 |
VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/VERSION. := $(NOEPOCH_VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/NOEPOCH_VERSION.)$(CUSTOMscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/CUSTOM.) |
| 23 |
endif |
| 24 |
|
| 25 |
ifeq ($(DEB_HOST_ARCH_CPUscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_HOST_ARCH_CPU.),i386) |
| 26 |
MACHINEscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/MACHINE. := 486 |
| 27 |
else |
| 28 |
MACHINEscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/MACHINE. := $(DEB_HOST_ARCH_CPUscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_HOST_ARCH_CPU.) |
| 29 |
endif |
| 30 |
|
| 31 |
NCPUSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/NCPUS. := 8 |
| 32 |
|
| 33 |
pkgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg. := gnumach-image-$(VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/VERSION.)-$(MACHINEscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/MACHINE.)-up |
| 34 |
pkg_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_dbg. := gnumach-image-$(VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/VERSION.)-$(MACHINEscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/MACHINE.)-up-dbg |
| 35 |
pkg_udebscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_udeb. := kernel-image-$(VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/VERSION.)-$(MACHINEscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/MACHINE.)-di |
| 36 |
pkg_xenscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_xen. := gnumach-image-$(VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/VERSION.)-xen-$(MACHINEscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/MACHINE.) |
| 37 |
pkg_xen_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_xen_dbg. := gnumach-image-$(VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/VERSION.)-xen-$(MACHINEscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/MACHINE.)-dbg |
| 38 |
pkg_xen_udebscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_xen_udeb. := kernel-image-$(VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/VERSION.)-xen-$(MACHINEscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/MACHINE.)-di |
| 39 |
pkg_paescip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_pae. := gnumach-image-$(VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/VERSION.)-$(MACHINEscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/MACHINE.)-pae |
| 40 |
pkg_pae_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_pae_dbg. := gnumach-image-$(VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/VERSION.)-$(MACHINEscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/MACHINE.)-pae-dbg |
| 41 |
pkg_smpscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_smp. := gnumach-image-$(VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/VERSION.)-$(MACHINEscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/MACHINE.)-smp |
| 42 |
pkg_smp_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_smp_dbg. := gnumach-image-$(VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/VERSION.)-$(MACHINEscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/MACHINE.)-smp-dbg |
| 43 |
pkg_commonscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_common. := gnumach-common |
| 44 |
pkg_devscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_dev. := gnumach-dev |
| 45 |
|
| 46 |
HAVE_KERNEL_ARCHSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_KERNEL_ARCHS. = amd64 i386 |
| 47 |
HAVE_XEN_ARCHSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_XEN_ARCHS. = amd64 i386 |
| 48 |
HAVE_SMP_ARCHSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_SMP_ARCHS. = amd64 i386 |
| 49 |
|
| 50 |
ifneq (,$(filterscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/filter. $(DEB_HOST_ARCH_CPUscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_HOST_ARCH_CPU.),$(HAVE_KERNEL_ARCHSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_KERNEL_ARCHS.))) |
| 51 |
HAVE_KERNELscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_KERNEL.=1 |
| 52 |
endif |
| 53 |
ifneq (,$(filterscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/filter. $(DEB_HOST_ARCH_CPUscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_HOST_ARCH_CPU.),$(HAVE_XEN_ARCHSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_XEN_ARCHS.))) |
| 54 |
HAVE_XENscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_XEN.=1 |
| 55 |
endif |
| 56 |
ifneq (,$(filterscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/filter. $(DEB_HOST_ARCH_CPUscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_HOST_ARCH_CPU.),$(HAVE_SMP_ARCHSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_SMP_ARCHS.))) |
| 57 |
HAVE_SMPscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_SMP.=1 |
| 58 |
endif |
| 59 |
|
| 60 |
ifeq ($(HAVE_KERNELscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_KERNEL.),1) |
| 61 |
nopkgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg. := -N$(pkgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg.) |
| 62 |
nopkg_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg_dbg. := -N$(pkg_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_dbg.) |
| 63 |
nopkg_udebscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg_udeb. := -N$(pkg_udebscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_udeb.) |
| 64 |
endif |
| 65 |
|
| 66 |
ifeq ($(HAVE_XENscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_XEN.),1) |
| 67 |
nopkg_xenscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg_xen. := -N$(pkg_xenscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_xen.) -N$(pkg_xen_udebscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_xen_udeb.) |
| 68 |
nopkg_xen_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg_xen_dbg. := -N$(pkg_xen_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_xen_dbg.) |
| 69 |
endif |
| 70 |
|
| 71 |
ifeq ($(HAVE_XENscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_XEN.),1) |
| 72 |
nopkg_xenscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg_xen. := -N$(pkg_xenscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_xen.) -N$(pkg_xen_udebscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_xen_udeb.) |
| 73 |
nopkg_xen_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg_xen_dbg. := -N$(pkg_xen_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_xen_dbg.) |
| 74 |
endif |
| 75 |
|
| 76 |
ifeq ($(HAVE_SMPscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_SMP.),1) |
| 77 |
nopkg_smpscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg_smp. := -N$(pkg_smpscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_smp.) |
| 78 |
nopkg_smp_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg_smp_dbg. := -N$(pkg_smp_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_smp_dbg.) |
| 79 |
endif |
| 80 |
|
| 81 |
ifeq ($(DEB_HOST_ARCH_CPUscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_HOST_ARCH_CPU.),i386) |
| 82 |
nopkg_paescip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg_pae. := -N$(pkg_paescip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_pae.) |
| 83 |
nopkg_pae_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg_pae_dbg. := -N$(pkg_pae_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/pkg_pae_dbg.) |
| 84 |
endif |
| 85 |
|
| 86 |
Dscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D. := $(CURDIRscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/CURDIR.)/debian/tmp |
| 87 |
D_DBGscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_DBG. := $(Dscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D.)-dbg |
| 88 |
D_UDEBscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_UDEB. := $(Dscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D.)-udeb |
| 89 |
D_XENscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_XEN. := $(Dscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D.)-xen |
| 90 |
D_XEN_DBGscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_XEN_DBG. := $(Dscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D.)-xen-dbg |
| 91 |
D_XEN_UDEBscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_XEN_UDEB. := $(Dscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D.)-xen-udeb |
| 92 |
D_PAEscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_PAE. := $(Dscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D.)-pae |
| 93 |
D_PAE_DBGscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_PAE_DBG. := $(Dscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D.)-pae-dbg |
| 94 |
D_SMPscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_SMP. := $(Dscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D.)-smp |
| 95 |
D_SMP_DBGscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_SMP_DBG. := $(Dscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D.)-smp-dbg |
| 96 |
|
| 97 |
export PARALLEL_HOMEscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/PARALLEL_HOME. := $(CURDIRscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/CURDIR.)/.parallel |
| 98 |
|
| 99 |
CCASFLAGSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/CCASFLAGS. = -fdebug-prefix-map=$(CURDIRscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/CURDIR.)=. |
| 100 |
CFLAGSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/CFLAGS. = -ffile-prefix-map=$(CURDIRscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/CURDIR.)=. -Wall -g -pipe -fno-strict-aliasing -no-pie -fno-PIE -fno-pie -Wformat -Werror=format-security |
| 101 |
LDFLAGSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/LDFLAGS. = -no-pie |
| 102 |
|
| 103 |
ifneq (,$(filterscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/filter. noopt,$(DEB_BUILD_OPTIONSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_BUILD_OPTIONS.))) |
| 104 |
CFLAGS += -O0 |
| 105 |
else |
| 106 |
CFLAGS += -O2 |
| 107 |
endif |
| 108 |
|
| 109 |
ifneq (,$(filterscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/filter. parallel=%,$(DEB_BUILD_OPTIONSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_BUILD_OPTIONS.))) |
| 110 |
DEB_PARALLEL_JOBSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_PARALLEL_JOBS. ?= $(patsubstscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/patsubst. parallel=%,%,$(filterscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/filter. parallel=%,$(DEB_BUILD_OPTIONSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_BUILD_OPTIONS.))) |
| 111 |
endif |
| 112 |
|
| 113 |
ifneq (,$(DEB_PARALLEL_JOBSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_PARALLEL_JOBS.)) |
| 114 |
MAKEFLAGSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/MAKEFLAGS. += -j$(DEB_PARALLEL_JOBSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_PARALLEL_JOBS.) |
| 115 |
endif |
| 116 |
|
| 117 |
common_configurescip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/common_configure. := \ |
| 118 |
--build=$(DEB_BUILD_GNU_TYPEscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_BUILD_GNU_TYPE.) \ |
| 119 |
--host=$(DEB_HOST_GNU_CPUscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_HOST_GNU_CPU.)-gnu \ |
| 120 |
--prefix=/usr \ |
| 121 |
--exec-prefix=/ \ |
| 122 |
--includedir=/usr/include/$(DEB_HOST_MULTIARCHscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_HOST_MULTIARCH.) \ |
| 123 |
--disable-net-group \ |
| 124 |
--disable-pcmcia-group \ |
| 125 |
--disable-wireless-group |
| 126 |
|
| 127 |
ifeq ($(DEB_HOST_ARCHscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_HOST_ARCH.),hurd-amd64) |
| 128 |
common_configurescip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/common_configure. += \ |
| 129 |
--disable-user32 |
| 130 |
endif |
| 131 |
|
| 132 |
debian/controlscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`debian/control`().: debian/control.stamp |
| 133 |
debian/control.stampscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`debian/control.stamp`().: debian/control.in |
| 134 |
ifneq (,$(filterscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/filter. custom,$(DEB_BUILD_OPTIONSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_BUILD_OPTIONS.))) |
| 135 |
@echo Building a custom kernel: "$(VERSION)" |
| 136 |
else |
| 137 |
@echo Building a stock kernel: "$(VERSION)" |
| 138 |
endif |
| 139 |
sed -e 's/@version@/$(VERSIONscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/VERSION.)/g' < $< > debian/control |
| 140 |
touch $@ |
| 141 |
|
| 142 |
configurescip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/configure().: configure.ac |
| 143 |
autoreconf -fi |
| 144 |
|
| 145 |
|
| 146 |
define doconfigurescip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/doconfigure. |
| 147 |
build$(1)/config.status: configure |
| 148 |
dh_testdir |
| 149 |
-mkdir build$(1) |
| 150 |
cd build$(1) && PACKAGE_VERSION_SUFFIX=$(CUSTOM)$(1)-$(MACHINE) ../configure \ |
| 151 |
CCASFLAGS="$(CCASFLAGS)" \ |
| 152 |
CFLAGS="$(CFLAGS)" \ |
| 153 |
LDFLAGS="$(LDFLAGS)" \ |
| 154 |
$(common_configure) \ |
| 155 |
$(2) |
| 156 |
|
| 157 |
build$(1)-dbg/config.status: configure |
| 158 |
dh_testdir |
| 159 |
-mkdir build$(1)-dbg |
| 160 |
cd build$(1)-dbg && PACKAGE_VERSION_SUFFIX=$(CUSTOM)$(1)-$(MACHINE)-dbg ../configure --enable-kdb \ |
| 161 |
CCASFLAGS="$(CCASFLAGS)" \ |
| 162 |
CFLAGS="$(CFLAGS)" \ |
| 163 |
LDFLAGS="$(LDFLAGS)" \ |
| 164 |
$(common_configure) \ |
| 165 |
$(2) |
| 166 |
endef |
| 167 |
|
| 168 |
$(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-up,))`().evalscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/eval. $(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-up,))`().callscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/call. scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-up,))`().doconfigure,scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-up,))`().-up,))scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-up,))`(). |
| 169 |
$(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-xen,--enable-platform=xen))`().evalscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/eval. $(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-xen,--enable-platform=xen))`().callscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/call. scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-xen,--enable-platform=xen))`().doconfigure,scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-xen,--enable-platform=xen))`().-xen,scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-xen,--enable-platform=xen))`().--enable-platform=scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-xen,--enable-platform=xen))`().xen))scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-xen,--enable-platform=xen))`(). |
| 170 |
$(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-pae,--enable-pae))`().evalscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/eval. $(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-pae,--enable-pae))`().callscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/call. scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-pae,--enable-pae))`().doconfigure,scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-pae,--enable-pae))`().-pae,scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-pae,--enable-pae))`().--enable-pae))scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-pae,--enable-pae))`(). |
| 171 |
$(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-smp,--enable-ncpus=$(NCPUS)))`().evalscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/eval. $(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-smp,--enable-ncpus=$(NCPUS)))`().callscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/call. scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-smp,--enable-ncpus=$(NCPUS)))`().doconfigure,scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-smp,--enable-ncpus=$(NCPUS)))`().-smp,scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-smp,--enable-ncpus=$(NCPUS)))`().--enable-ncpus=$(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-smp,--enable-ncpus=$(NCPUS)))`().NCPUSscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/NCPUS.)))scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call doconfigure,-smp,--enable-ncpus=$(NCPUS)))`(). |
| 172 |
|
| 173 |
|
| 174 |
define __dobuildscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/__dobuild. |
| 175 |
build-arch: build$(1)$(2)/stamp |
| 176 |
build$(1)$(2)/stamp: build$(1)$(2)/config.status doc/mach.info |
| 177 |
dh_testdir |
| 178 |
$(MAKE) -C build$(1)$(2) |
| 179 |
ifeq ($(DEB_HOST_ARCH_OS),linux) |
| 180 |
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES))) |
| 181 |
mkdir -p $(PARALLEL_HOME) |
| 182 |
parallel --fg --semaphore --semaphorename gnumach-build $(MAKE) -C build$(1)$(2) check < /dev/null ; \ |
| 183 |
RET=$$$$? ; cat build$(1)$(2)/tests/test-*.log build$(1)$(2)/test-suite.log ; exit $$$$RET |
| 184 |
endif |
| 185 |
endif |
| 186 |
touch $$@ |
| 187 |
endef |
| 188 |
|
| 189 |
|
| 190 |
define _dobuildscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/_dobuild. |
| 191 |
$(evalscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/eval. $(call __dobuild,$1,)) |
| 192 |
endef |
| 193 |
|
| 194 |
ifeq ($(filterscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/filter. pkg.gnumach.nodbg,$(DEB_BUILD_PROFILESscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_BUILD_PROFILES.)),) |
| 195 |
definescip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/define(). _dobuild_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/_dobuild_dbg(). |
| 196 |
$(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call __dobuild,$1,-dbg))`().evalscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/eval. $(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call __dobuild,$1,-dbg))`().callscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/call. scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call __dobuild,$1,-dbg))`().__dobuild,$scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call __dobuild,$1,-dbg))`().1scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/1.,scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call __dobuild,$1,-dbg))`().-dbg))scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call __dobuild,$1,-dbg))`(). |
| 197 |
endefscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/endef(). |
| 198 |
else |
| 199 |
definescip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/define(). _dobuild_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/_dobuild_dbg(). |
| 200 |
endefscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/endef(). |
| 201 |
endif |
| 202 |
|
| 203 |
define dobuildscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/dobuild. |
| 204 |
$(evalscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/eval. $(call _dobuild,$1,)) |
| 205 |
$(eval $(call _dobuild_dbg,$1,)) |
| 206 |
endef |
| 207 |
|
| 208 |
ifeq ($(HAVE_KERNELscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_KERNEL.),1) |
| 209 |
ifeq ($(filterscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/filter. stage1,$(DEB_BUILD_PROFILESscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_BUILD_PROFILES.)),) |
| 210 |
|
| 211 |
$(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-up))`().evalscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/eval. $(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-up))`().callscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/call. scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-up))`().dobuild,scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-up))`().-up))scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-up))`(). |
| 212 |
|
| 213 |
ifeq ($(filter pkg.gnumach.onlyup,$(DEB_BUILD_PROFILES)),) |
| 214 |
|
| 215 |
ifeq ($(HAVE_XEN),1) |
| 216 |
ifeq ($(filter pkg.gnumach.noxen,$(DEB_BUILD_PROFILES)),) |
| 217 |
$(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-xen))`().evalscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/eval. $(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-xen))`().callscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/call. scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-xen))`().dobuild,scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-xen))`().-xen))scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-xen))`(). |
| 218 |
endif |
| 219 |
endif |
| 220 |
|
| 221 |
ifeq ($(HAVE_SMP),1) |
| 222 |
ifeq ($(filter pkg.gnumach.nosmp,$(DEB_BUILD_PROFILES)),) |
| 223 |
$(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-smp))`().evalscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/eval. $(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-smp))`().callscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/call. scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-smp))`().dobuild,scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-smp))`().-smp))scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-smp))`(). |
| 224 |
endif |
| 225 |
endif |
| 226 |
|
| 227 |
ifeq ($(DEB_HOST_ARCH_CPU),i386) |
| 228 |
ifeq ($(filter pkg.gnumach.nopae,$(DEB_BUILD_PROFILES)),) |
| 229 |
$(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-pae))`().evalscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/eval. $(scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-pae))`().callscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/call. scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-pae))`().dobuild,scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-pae))`().-pae))scip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`$(eval $(call dobuild,-pae))`(). |
| 230 |
endif |
| 231 |
endif |
| 232 |
|
| 233 |
endif |
| 234 |
|
| 235 |
else |
| 236 |
build-archscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/build-arch().: build-up/config.status |
| 237 |
endif |
| 238 |
else |
| 239 |
build-archscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/build-arch().: build-up/config.status |
| 240 |
endif |
| 241 |
|
| 242 |
build-indepscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/build-indep().: build-arch |
| 243 |
buildscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/build().: build-arch build-indep |
| 244 |
|
| 245 |
doc/mach.infoscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`doc/mach.info`().: build-up/config.status |
| 246 |
dh_testdirscip-debian debian debhelper . dh_testdir(). |
| 247 |
$(MAKEscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/MAKE.) -C build-up ../doc/mach.info |
| 248 |
|
| 249 |
cleanscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/clean().: |
| 250 |
dh_testdirscip-debian debian debhelper . dh_testdir(). |
| 251 |
|
| 252 |
rm -f debian/control.stamp |
| 253 |
|
| 254 |
rm -f machine |
| 255 |
rm -rf build-up build-xen build-pae build-smp build-up-dbg build-xen-dbg build-pae-dbg build-smp-dbg $(D_UDEBscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_UDEB.) $(D_XEN_UDEBscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_XEN_UDEB.) $(D_XENscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_XEN.) $(D_PAEscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_PAE.) $(D_SMPscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_SMP.) $(D_DBGscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_DBG.) $(D_XEN_DBGscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_XEN_DBG.) $(D_PAE_DBGscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_PAE_DBG.) $(D_SMP_DBGscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_SMP_DBG.) |
| 256 |
|
| 257 |
|
| 258 |
rm -rf autom4te.cache build-aux |
| 259 |
rm -f aclocal.m4 config.h.in configure INSTALL Makefile.in |
| 260 |
rm -f doc/mach.info* doc/stamp-vti doc/version.texi |
| 261 |
find -name '*~' -o -name '*.rej' -o -name '*.orig' | xargs rm -f |
| 262 |
|
| 263 |
rm -f debian/gnumach-image-*.preinst |
| 264 |
rm -f debian/gnumach-image-*.prerm |
| 265 |
rm -f debian/gnumach-image-*.postinst |
| 266 |
rm -f debian/gnumach-image-*.postrm |
| 267 |
|
| 268 |
rm -rf $(PARALLEL_HOMEscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/PARALLEL_HOME.) |
| 269 |
|
| 270 |
dh_cleanscip-debian debian debhelper . dh_clean(). |
| 271 |
|
| 272 |
|
| 273 |
define _doinstallscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/_doinstall. |
| 274 |
$(MAKE) -C build$(1) install DESTDIR=$(2) |
| 275 |
endef |
| 276 |
|
| 277 |
|
| 278 |
define doinstallscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/doinstall. |
| 279 |
$(call _doinstall,$(1)$(2),$(3)) |
| 280 |
mv $(3)/boot/gnumach $(3)/boot/gnumach-$(VERSION)$(1)-$(MACHINE)$(2) |
| 281 |
endef |
| 282 |
|
| 283 |
ifeq ($(filterscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/filter. pkg.gnumach.nodbg,$(DEB_BUILD_PROFILESscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_BUILD_PROFILES.)),) |
| 284 |
define _doinstall_dbg |
| 285 |
$(call _doinstall,$(1)$(2)-dbg,$(3)) |
| 286 |
mv $(3)/boot/gnumach $(3)/boot/gnumach-$(VERSION)$(1)-$(MACHINE)$(2)-dbg |
| 287 |
endef |
| 288 |
else |
| 289 |
define _doinstall_dbg |
| 290 |
endef |
| 291 |
endif |
| 292 |
|
| 293 |
|
| 294 |
|
| 295 |
define doinstall_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/doinstall_dbg. |
| 296 |
$(call doinstall,$(1),$(2),$(3)) |
| 297 |
$(call _doinstall_dbg,$(1),$(2),$(4)) |
| 298 |
endef |
| 299 |
|
| 300 |
|
| 301 |
define doinstall_dbg_udebscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/doinstall_dbg_udeb. |
| 302 |
$(call doinstall_dbg,$(1),$(2),$(3),$(4)) |
| 303 |
mkdir -p $(5)/boot |
| 304 |
cp $(3)/boot/gnumach-$(VERSION)$(1)-$(MACHINE)$(2) $(5)/boot/gnumach |
| 305 |
endef |
| 306 |
|
| 307 |
installscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/install().: build |
| 308 |
dh_testdirscip-debian debian debhelper . dh_testdir(). |
| 309 |
dh_testrootscip-debian debian debhelper . dh_testroot(). |
| 310 |
dh_prepscip-debian debian debhelper . dh_prep(). -a |
| 311 |
-rm -rf $(D_DBGscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D_DBG.) |
| 312 |
dh_installdirsscip-debian debian debhelper . dh_installdirs(). -a |
| 313 |
|
| 314 |
ifeq ($(HAVE_KERNELscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_KERNEL.),1) |
| 315 |
ifeq ($(filterscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/filter. stage1,$(DEB_BUILD_PROFILESscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_BUILD_PROFILES.)),) |
| 316 |
$(call doinstall_dbg_udeb,,-up,$(D),$(D_DBG),$(D_UDEB)) |
| 317 |
|
| 318 |
ifeq ($(filter pkg.gnumach.onlyup,$(DEB_BUILD_PROFILES)),) |
| 319 |
ifeq ($(HAVE_XEN),1) |
| 320 |
ifeq ($(filter pkg.gnumach.noxen,$(DEB_BUILD_PROFILES)),) |
| 321 |
$(call doinstall_dbg_udeb,-xen,,$(D_XEN),$(D_XEN_DBG),$(D_XEN_UDEB)) |
| 322 |
endif |
| 323 |
endif |
| 324 |
|
| 325 |
ifeq ($(HAVE_SMP),1) |
| 326 |
ifeq ($(filter pkg.gnumach.nosmp,$(DEB_BUILD_PROFILES)),) |
| 327 |
$(call doinstall_dbg,,-smp,$(D_SMP),$(D_SMP_DBG)) |
| 328 |
endif |
| 329 |
endif |
| 330 |
|
| 331 |
ifeq ($(DEB_HOST_ARCH_CPU),i386) |
| 332 |
ifeq ($(filter pkg.gnumach.nopae,$(DEB_BUILD_PROFILES)),) |
| 333 |
$(call doinstall_dbg,,-pae,$(D_PAE),$(D_PAE_DBG)) |
| 334 |
endif |
| 335 |
endif |
| 336 |
endif |
| 337 |
|
| 338 |
ifeq ($(DEB_HOST_ARCH_OS),hurd) |
| 339 |
for script in preinst prerm postinst postrm ; do \ |
| 340 |
for prefix in "" -xen ; do \ |
| 341 |
for suffix in -up -pae -smp ; do \ |
| 342 |
for dbg in "" -dbg ; do \ |
| 343 |
sed -e "s/@VERSION@/$(VERSION)/g" \ |
| 344 |
-e "s/@RELEASE@/$(VERSION)$$prefix-$(MACHINE)$$suffix$$dbg/g" \ |
| 345 |
debian/gnumach-image.$$script.in \ |
| 346 |
> debian/gnumach-image-$(VERSION)$$prefix-$(MACHINE)$$suffix$$dbg.$$script ; \ |
| 347 |
done ; \ |
| 348 |
done ; \ |
| 349 |
done ; \ |
| 350 |
done |
| 351 |
endif |
| 352 |
else |
| 353 |
$(MAKE) -C build-up install-data \ |
| 354 |
DESTDIR=$(D) |
| 355 |
endif |
| 356 |
else |
| 357 |
$(MAKE) -C build-up install-data \ |
| 358 |
DESTDIR=$(D) |
| 359 |
endif |
| 360 |
|
| 361 |
binaryscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/binary().: binary-indep binary-arch |
| 362 |
|
| 363 |
binary-indepscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/binary-indep().: install debian/control.stamp |
| 364 |
dh_testdirscip-debian debian debhelper . dh_testdir(). |
| 365 |
dh_testrootscip-debian debian debhelper . dh_testroot(). |
| 366 |
|
| 367 |
dh_installscip-debian debian debhelper . dh_install(). -i --sourcedir=$(Dscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D.) |
| 368 |
|
| 369 |
dh_installdocsscip-debian debian debhelper . dh_installdocs(). -i |
| 370 |
dh_installchangelogsscip-debian debian debhelper . dh_installchangelogs(). -i -k ChangeLog |
| 371 |
dh_installinfoscip-debian debian debhelper . dh_installinfo(). -i |
| 372 |
|
| 373 |
dh_compressscip-debian debian debhelper . dh_compress(). -i |
| 374 |
dh_fixpermsscip-debian debian debhelper . dh_fixperms(). -i |
| 375 |
dh_installdebscip-debian debian debhelper . dh_installdeb(). -i |
| 376 |
dh_gencontrolscip-debian debian debhelper . dh_gencontrol(). -i |
| 377 |
dh_md5sumsscip-debian debian debhelper . dh_md5sums(). -i |
| 378 |
dh_builddebscip-debian debian debhelper . dh_builddeb(). -i |
| 379 |
|
| 380 |
binary-archscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/binary-arch().: install debian/control.stamp |
| 381 |
dh_testdirscip-debian debian debhelper . dh_testdir(). |
| 382 |
dh_testrootscip-debian debian debhelper . dh_testroot(). |
| 383 |
|
| 384 |
dh_installscip-debian debian debhelper . dh_install(). -a $(nopkg_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg_dbg.) $(nopkg_udebscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg_udeb.) $(nopkg_xenscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg_xen.) $(nopkg_xen_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg_xen_dbg.) $(nopkg_paescip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg_pae.) $(nopkg_pae_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg_pae_dbg.) $(nopkg_smpscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg_smp.) $(nopkg_smp_dbgscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/nopkg_smp_dbg.) --sourcedir=$(Dscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/D.) |
| 385 |
|
| 386 |
ifeq ($(HAVE_KERNELscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_KERNEL.),1) |
| 387 |
dh_install -p$(pkg) --sourcedir=$(D) boot |
| 388 |
dh_install -p$(pkg_dbg) --sourcedir=$(D_DBG) boot |
| 389 |
dh_install -p$(pkg_udeb) --sourcedir=$(D_UDEB) boot |
| 390 |
ifeq ($(HAVE_XENscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_XEN.),1) |
| 391 |
dh_install -p$(pkg_xen) --sourcedir=$(D_XEN) boot |
| 392 |
dh_install -p$(pkg_xen_dbg) --sourcedir=$(D_XEN_DBG) boot |
| 393 |
dh_install -p$(pkg_xen_udeb) --sourcedir=$(D_XEN_UDEB) boot |
| 394 |
endif |
| 395 |
ifeq ($(HAVE_SMPscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_SMP.),1) |
| 396 |
dh_install -p$(pkg_smp) --sourcedir=$(D_SMP) boot |
| 397 |
dh_install -p$(pkg_smp_dbg) --sourcedir=$(D_SMP_DBG) boot |
| 398 |
endif |
| 399 |
ifeq ($(DEB_HOST_ARCH_CPUscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_HOST_ARCH_CPU.),i386) |
| 400 |
dh_install -p$(pkg_pae) --sourcedir=$(D_PAE) boot |
| 401 |
dh_install -p$(pkg_pae_dbg) --sourcedir=$(D_PAE_DBG) boot |
| 402 |
endif |
| 403 |
|
| 404 |
dh_installdocs -p$(pkg) README NEWS i386/README-Drivers |
| 405 |
dh_installdocs -p$(pkg_dbg) README NEWS i386/README-Drivers |
| 406 |
ifeq ($(HAVE_XENscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_XEN.),1) |
| 407 |
dh_installdocs -p$(pkg_xen) README NEWS |
| 408 |
dh_installdocs -p$(pkg_xen_dbg) README NEWS |
| 409 |
endif |
| 410 |
ifeq ($(HAVE_SMPscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_SMP.),1) |
| 411 |
dh_installdocs -p$(pkg_smp) README NEWS |
| 412 |
dh_installdocs -p$(pkg_smp_dbg) README NEWS |
| 413 |
endif |
| 414 |
ifeq ($(DEB_HOST_ARCH_CPUscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_HOST_ARCH_CPU.),i386) |
| 415 |
dh_installdocs -p$(pkg_pae) README NEWS |
| 416 |
dh_installdocs -p$(pkg_pae_dbg) README NEWS |
| 417 |
endif |
| 418 |
endif |
| 419 |
|
| 420 |
dh_installdocs -a |
| 421 |
dh_installchangelogs -a -k ChangeLog |
| 422 |
dh_installinfo -a |
| 423 |
|
| 424 |
dh_link -a |
| 425 |
dh_strip -a $(nopkg_dbg) $(nopkg_xen_dbg) $(nopkg_pae_dbg) $(nopkg_smp_dbg) |
| 426 |
dh_compress -a $(nopkg) $(nopkg_dbg) $(nopkg_udeb) $(nopkg_xen) $(nopkg_xen_dbg) $(nopkg_pae) $(nopkg_pae_dbg) $(nopkg_smp) $(nopkg_smp_dbg) |
| 427 |
ifeq ($(HAVE_KERNELscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_KERNEL.),1) |
| 428 |
dh_compress -p$(pkg) boot/gnumach-$(VERSION)-$(MACHINE)-up |
| 429 |
dh_compress -p$(pkg_dbg) boot/gnumach-$(VERSION)-$(MACHINE)-up-dbg |
| 430 |
dh_compress -p$(pkg_udeb) boot/gnumach |
| 431 |
ifeq ($(HAVE_XENscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/HAVE_XEN.),1) |
| 432 |
dh_compress -p$(pkg_xen) boot/gnumach-$(VERSION)-xen-$(MACHINE) |
| 433 |
dh_compress -p$(pkg_xen_dbg) boot/gnumach-$(VERSION)-xen-$(MACHINE)-dbg |
| 434 |
dh_compress -p$(pkg_xen_udeb) boot/gnumach |
| 435 |
endif |
| 436 |
ifeq ($(HAVE_SMP),1) |
| 437 |
dh_compress -p$(pkg_smp) boot/gnumach-$(VERSION)-$(MACHINE)-smp |
| 438 |
dh_compress -p$(pkg_smp_dbg) boot/gnumach-$(VERSION)-$(MACHINE)-smp-dbg |
| 439 |
endif |
| 440 |
ifeq ($(DEB_HOST_ARCH_CPUscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/DEB_HOST_ARCH_CPU.),i386) |
| 441 |
dh_compress -p$(pkg_pae) boot/gnumach-$(VERSION)-$(MACHINE)-pae |
| 442 |
dh_compress -p$(pkg_pae_dbg) boot/gnumach-$(VERSION)-$(MACHINE)-pae-dbg |
| 443 |
endif |
| 444 |
endif |
| 445 |
dh_fixperms -a |
| 446 |
dh_installdeb -a |
| 447 |
dh_gencontrol -a |
| 448 |
dh_md5sums -a |
| 449 |
dh_builddeb -a |
| 450 |
|
| 451 |
.PHONYscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`.PHONY`().: build build-arch build-indep clean |
| 452 |
.PHONYscip-debian debian gnumach 2:1.8+git20260805-3 gnumach/rules/`.PHONY`().: install binary binary-indep binary-arch |