Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / am-utils / lib / libamu / Makefile
blob2267ec66b243c132146c6e831cd3d0e2f8d66a0c
1 # $NetBSD: Makefile,v 1.20 2006/05/11 09:08:09 mrg Exp $
3 NOLINKLIB= # defined
5 .include <bsd.own.mk>
7 LIB= amu
9 LIBAMUOBJDIR!=cd ${.CURDIR}/../../lib/libamu && ${PRINTOBJDIR}
11 .include "${.CURDIR}/../../Makefile.inc"
13 DIST= ${IDIST}/libamu
14 .PATH: ${DIST} ${IDIST}/conf/mtab ${IDIST}/conf/transp ${IDIST}/conf/umount
16 SRCS= hasmntopt.c misc_rpc.c mount_fs.c mtab.c mtab_bsd.c \
17 nfs_prot_xdr.c strutil.c transp_sockets.c ualarm.c umount_bsd44.c \
18 wire.c xdr_func.c xutil.c
20 # XXX
21 .if ${HAVE_GCC} == 4
22 COPTS.xdr_func.c+= -fno-strict-aliasing
23 .endif
25 # some host specific compile time settings amd wants to have compiled in
26 config_local.h: mkconf
27 ${_MKTARGET_CREATE}
28 rm -f ${.TARGET}
29 ${HOST_SH} ${.ALLSRC} \
30 `${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh` > ${.TARGET}
32 CLEANFILES+= config_local.h
34 .include <bsd.lib.mk>
36 ${SRCS}: config_local.h