99fed7264c
Use this routine both in mount_fs and rump_fs to provide equivalent command line parameters and therefore usage interchangeability. While doing this, combine some common mountgoop to mountprog.h
20 lines
352 B
Makefile
20 lines
352 B
Makefile
# $NetBSD: Makefile,v 1.9 2008/08/05 20:57:45 pooka Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= mount_ffs
|
|
SRCS= mount_ffs.c pathadj.c
|
|
MAN= mount_ffs.8
|
|
|
|
MLINKS= mount_ffs.8 mount_ufs.8
|
|
LINKS= ${BINDIR}/mount_ffs ${BINDIR}/mount_ufs
|
|
|
|
MOUNT= ${NETBSDSRCDIR}/sbin/mount
|
|
CPPFLAGS=-I${MOUNT}
|
|
.PATH: ${MOUNT}
|
|
|
|
DPADD+=${LIBUTIL}
|
|
LDADD+=-lutil
|
|
|
|
.include <bsd.prog.mk>
|