1996-10-06 03:46:43 +04:00
|
|
|
# $NetBSD: Makefile,v 1.11 1996/10/05 23:46:43 mrg Exp $
|
1994-02-26 13:57:09 +03:00
|
|
|
|
1995-09-17 03:20:22 +04:00
|
|
|
SUBDIR= boot bootxx installboot
|
1994-02-26 13:57:09 +03:00
|
|
|
|
1994-07-21 00:47:02 +04:00
|
|
|
### find out what to use for libkern and libsa
|
1995-10-01 00:43:35 +03:00
|
|
|
SAREL=
|
|
|
|
KERNREL=
|
1995-09-17 03:20:22 +04:00
|
|
|
.include "Makefile.inc"
|
1994-02-26 13:57:09 +03:00
|
|
|
.include "$S/lib/libsa/Makefile.inc"
|
1995-09-17 03:20:22 +04:00
|
|
|
.include "$S/lib/libkern/Makefile.inc"
|
1994-02-26 13:57:09 +03:00
|
|
|
|
1995-09-17 03:20:22 +04:00
|
|
|
all: ${SALIB} ${KERNLIB} _SUBDIRUSE
|
1994-02-26 13:57:09 +03:00
|
|
|
|
1995-09-17 03:20:22 +04:00
|
|
|
libdep:
|
1996-10-06 03:46:43 +04:00
|
|
|
@echo ${.OBJDIR}/${SALIB} ${KERNLIB}
|
1994-02-26 13:57:09 +03:00
|
|
|
|
1995-10-10 02:25:54 +03:00
|
|
|
sadep:
|
|
|
|
@echo ${.OBJDIR}/${SALIB}
|
|
|
|
|
|
|
|
kernlibdir:
|
1996-10-06 03:46:43 +04:00
|
|
|
@echo ${KERNDST}
|
1995-10-10 02:25:54 +03:00
|
|
|
|
|
|
|
salibdir:
|
|
|
|
@echo ${.OBJDIR}/${SADST}
|
|
|
|
|
1995-09-17 03:20:22 +04:00
|
|
|
clean:: _SUBDIRUSE
|
1994-02-26 13:57:09 +03:00
|
|
|
|
1995-09-17 03:20:22 +04:00
|
|
|
cleandir: _SUBDIRUSE
|
1994-02-26 13:57:09 +03:00
|
|
|
|
1995-10-06 00:03:12 +03:00
|
|
|
BINDIR=/usr/mdec
|
|
|
|
|
|
|
|
afterinstall:
|
|
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
|
|
|
${.CURDIR}/binstall.sh ${DESTDIR}${BINDIR}/binstall
|
|
|
|
|
1995-09-17 03:20:22 +04:00
|
|
|
.include <bsd.subdir.mk>
|