./usr/share/mk/bsd.sys.mk minix-sys
./usr/share/mk/bsd.test.mk minix-sys
./usr/share/mk/bsd.x11.mk minix-sys
-./usr/share/mk/minix.bootprog.mk minix-sys
+./usr/share/mk/minix.bootprog.mk minix-sys obsolete
./usr/share/mk/minix.gcc.mk minix-sys obsolete
./usr/share/mk/minix.gcov.mk minix-sys
./usr/share/mk/minix.service.mk minix-sys
BINDIR?= /usr/sbin
-.include <minix.bootprog.mk>
+.include <minix.service.mk>
imgrd.mfs: ../ramdisk/image
${HOST_LN} -fs ../ramdisk/image $@
-.include <minix.bootprog.mk>
+.include <minix.service.mk>
# Needs kernel/const.h, etc
CPPFLAGS+= -I${.CURDIR} -I${NETBSDSRCDIR}
-.include <minix.bootprog.mk>
+.include <minix.service.mk>
.include <bsd.subdir.mk>
# kernel headers are always called through kernel/*.h
CPPFLAGS+= -I${NETBSDSRCDIR}
-# kernel headers are always called through kernel/*.hi, this
+# kernel headers are always called through kernel/*.h, this
# time for generated headers, during cross compilation
CPPFLAGS+= -I${.OBJDIR}/..
${_MKTARGET_CREATE}
cd ${.CURDIR} ; ${HOST_SH} extract-mtype.sh > ${.OBJDIR}/extracted-mtype.h
-.include <minix.bootprog.mk>
+.include <minix.service.mk>
BINDIR?= /usr/sbin
-.include <minix.bootprog.mk>
+.include <minix.service.mk>
DEFAULT_NR_BUFS= 1024
CPPFLAGS+= -DDEFAULT_NR_BUFS=${DEFAULT_NR_BUFS}
-.include <minix.bootprog.mk>
+.include <minix.service.mk>
BINDIR?= /usr/sbin
-.include <minix.bootprog.mk>
+.include <minix.service.mk>
CPPFLAGS.schedule.c+= -I${NETBSDSRCDIR}
CPPFLAGS.utility.c+= -I${NETBSDSRCDIR}
-.include <minix.bootprog.mk>
+.include <minix.service.mk>
CPPFLAGS+= -I${NETBSDSRCDIR}
-.include <minix.bootprog.mk>
+.include <minix.service.mk>
CPPFLAGS.schedule.c+= -I${NETBSDSRCDIR}
CPPFLAGS.utility.c+= -I${NETBSDSRCDIR}
-.include <minix.bootprog.mk>
+.include <minix.service.mk>
BINDIR?= /usr/sbin
-.include <minix.bootprog.mk>
+.include <minix.service.mk>
CPPFLAGS+= -I${NETBSDSRCDIR}
.include "arch/${MACHINE_ARCH}/Makefile.inc"
-.include <minix.bootprog.mk>
+.include <minix.service.mk>
bsd.subdir.mk bsd.sys.mk bsd.test.mk bsd.x11.mk sys.mk
# MINIX-specific files
-FILES+= minix.bootprog.mk minix.service.mk minix.gcov.mk
+FILES+= minix.service.mk minix.gcov.mk
FILESDIR=/usr/share/mk
.endif
+++ /dev/null
-# MINIX-specific boot program options
-.include <bsd.own.mk>
-
-# LSC Static linking, order matters!
-# We can't use --start-group/--end-group as they are not supported by our
-# version of clang.
-
-# 1. No default libs
-LDADD+= -nodefaultlibs
-
-# 2. Compiler-specific libs
-.if !empty(CC:M*gcc)
-.if (${MACHINE_ARCH} == "earm")
-LDADD+= -lsys
-.else
-LDADD+= -lgcc -lsys -lgcc
-.endif
-.elif !empty(CC:M*clang)
-LDADD+= -L/usr/pkg/compiler-rt/lib -lCompilerRT-Generic -lsys -lCompilerRT-Generic
-.endif
-
-# 3. Minimal C library
-LDADD+= -lminc
-
-.include <bsd.prog.mk>
# MINIX-specific servers/drivers options
.include <bsd.own.mk>
-.include <minix.bootprog.mk>
+# LSC Static linking, order matters!
+# We can't use --start-group/--end-group as they are not supported by our
+# version of clang.
+
+# 1. No default libs
+LDADD+= -nodefaultlibs
+
+# 2. Compiler-specific libs
+.if !empty(CC:M*gcc)
+LDADD+= -lsys
+.elif !empty(CC:M*clang)
+LDADD+= -L/usr/pkg/compiler-rt/lib -lCompilerRT-Generic -lsys -lCompilerRT-Generic
+.endif
+
+# 3. Minimal C library
+LDADD+= -lminc
+
+.include <bsd.prog.mk>