+.include <bsd.own.mk>
+
# Makefile for Reincarnation Server (RS)
PROG= rs
SRCS= exec.c main.c request.c manager.c table.c utility.c memory.c error.c
+.if ${USE_PCI} != "no"
+CPPFLAGS+= -DUSE_PCI
+.endif
+
DPADD+= ${LIBSYS} ${LIBEXEC}
LDADD+= -lsys -lexec
}
}
+#if USE_PCI
/* If PCI properties are set, inform the PCI driver about the new service. */
if(rpub->pci_acl.rsp_nr_device || rpub->pci_acl.rsp_nr_class) {
pci_acl = rpub->pci_acl;
return kill_service(rp, "pci_set_acl call failed", r);
}
}
+#endif /* USE_PCI */
if (rpub->devman_id != 0) {
r = ds_retrieve_label_endpt("devman",&ep);
/* No need to inform VFS and VM, cleanup is done on exit automatically. */
+#if USE_PCI
/* If PCI properties are set, inform the PCI driver. */
if(rpub->pci_acl.rsp_nr_device || rpub->pci_acl.rsp_nr_class) {
r = pci_del_acl(rpub->endpoint);
result = r;
}
}
+#endif /* USE_PCI */
if (rpub->devman_id != 0) {
r = ds_retrieve_label_endpt("devman",&ep);
#MINIX-specific vars
_MKVARS.yes+= \
MKWATCHDOG MKACPI MKAPIC MKMCONTEXT MKDEBUGREG MKSYSDEBUG \
- MKLIVEUPDATE MKSTATECTL MKTRACE MKINSTALLBOOT
+ MKLIVEUPDATE MKSTATECTL MKTRACE MKINSTALLBOOT MKPCI
.for var in ${_MKVARS.yes}
${var}?= yes
.endfor
#
.for var in USE_HESIOD USE_INET6 USE_KERBEROS USE_LDAP USE_PAM USE_YP \
USE_WATCHDOG USE_ACPI USE_APIC USE_MCONTEXT USE_DEBUGREG USE_SYSDEBUG \
-USE_LIVEUPDATE USE_STATECTL USE_TRACE
+USE_LIVEUPDATE USE_STATECTL USE_TRACE USE_PCI
.if (${${var:S/USE_/MK/}} == "no")
${var}:= no
.else