2003-10-21 14:01:19 +04:00
|
|
|
# $NetBSD: Makefile,v 1.18 2003/10/21 10:01:22 lukem Exp $
|
1997-07-25 01:19:53 +04:00
|
|
|
|
2001-12-12 04:48:43 +03:00
|
|
|
NOLINKLIB= # defined
|
2000-11-20 03:24:41 +03:00
|
|
|
|
2002-09-18 07:54:26 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
LIB= amu
|
|
|
|
|
2000-11-20 03:24:41 +03:00
|
|
|
.include "${.CURDIR}/../Makefile.inc"
|
|
|
|
|
|
|
|
DIST= ${IDIST}/libamu
|
|
|
|
.PATH: ${DIST} ${IDIST}/conf/mtab ${IDIST}/conf/transp ${IDIST}/conf/umount
|
|
|
|
|
2001-01-04 17:21:09 +03:00
|
|
|
SRCS= hasmntopt.c misc_rpc.c mount_fs.c mtab.c mtab_bsd.c \
|
2000-11-20 03:24:41 +03:00
|
|
|
nfs_prot_xdr.c transp_sockets.c ualarm.c umount_bsd44.c util.c wire.c \
|
|
|
|
xdr_func.c xutil.c
|
|
|
|
|
|
|
|
# some host specific compile time settings amd wants to have compiled in
|
1997-07-25 01:19:53 +04:00
|
|
|
config_local.h: mkconf
|
2003-10-21 14:01:19 +04:00
|
|
|
${_MKTARGET_CREATE}
|
2003-10-19 10:11:38 +04:00
|
|
|
rm -f ${.TARGET}
|
|
|
|
${HOST_SH} ${.ALLSRC} \
|
|
|
|
`${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh` > ${.TARGET}
|
1997-07-25 01:19:53 +04:00
|
|
|
|
2000-11-20 03:24:41 +03:00
|
|
|
CLEANFILES+= config_local.h
|
1997-07-28 04:46:55 +04:00
|
|
|
|
1997-07-25 01:19:53 +04:00
|
|
|
.include <bsd.lib.mk>
|
2000-11-20 03:24:41 +03:00
|
|
|
|
|
|
|
${SRCS}: config_local.h
|