138581Sobrien# ex:ts=8 238581Sobrien# 338581Sobrien# Makefile for amd 438581Sobrien# This file is under a "BSD" copyright (c) by David O'Brien 1998 538581Sobrien# 650479Speter# $FreeBSD$ 738581Sobrien# 838581Sobrien 9156813Sru.include <bsd.own.mk> 10156813Sru 1180029Sobrien.PATH: ${.CURDIR}/../../../contrib/amd/amd 1238581Sobrien 1380029SobrienPROG= amd 1480029SobrienMAN= amd.8 1580029SobrienSRCS= conf_parse.y conf_tok.l 16174308SobrienSRCS+= am_ops.c amd.c amfs_auto.c amfs_direct.c amfs_error.c amfs_generic.c 17174308SobrienSRCS+= amfs_host.c amfs_link.c amfs_linkx.c amfs_nfsl.c 1880029SobrienSRCS+= amfs_nfsx.c amfs_program.c amfs_root.c amfs_toplvl.c 1980029SobrienSRCS+= amfs_union.c amq_subr.c amq_svc.c autil.c clock.c conf.c 20174308SobrienSRCS+= get_args.c info_exec.c info_file.c info_ndbm.c info_passwd.c 21174308SobrienSRCS+= info_union.c map.c mapc.c mntfs.c nfs_prot_svc.c nfs_start.c 22174308SobrienSRCS+= nfs_subr.c ops_cdfs.c ops_mfs.c ops_nfs.c ops_nfs3.c 23174308SobrienSRCS+= ops_nullfs.c ops_pcfs.c ops_tfs.c ops_ufs.c ops_umapfs.c 24174308SobrienSRCS+= ops_unionfs.c opts.c readdir.c restart.c rpc_fwd.c sched.c 2580029SobrienSRCS+= srvr_amfs_auto.c srvr_nfs.c 2638581Sobrien 2782825SobrienCFLAGS+= -I${.CURDIR}/../../../contrib/amd/amd \ 2882825Sobrien -I${DESTDIR}/usr/include/rpcsvc 2938581Sobrien 30174308SobrienDPADD= ${LIBAMU} ${LIBWRAP} 31177718SruLDADD= ${LIBAMU} -lwrap 3238581Sobrien 3338581SobrienCLEANFILES+= conf_parse.c conf_parse.h conf_tok.c 3438581Sobrien 3580029Sobrienconf_tok.o: conf_parse.h 3638581Sobrien 3738581Sobrien# These are generated at compile time 3838581SobrienSRCS+= mount_xdr.c 3938581SobrienCLEANFILES+= mount_xdr.c 4038581Sobrien 4138581Sobrienmount_xdr.c: ${MOUNT_X} 4238581Sobrien ${RPCCOM} -c -DWANT_NFS3 ${MOUNT_X} -o ${.TARGET} 4338581Sobrien 44156936Sru.if ${MK_HESIOD} != "no" 45148795SphkSRCS+= info_hesiod.c 46174308SobrienCFLAGS+= -DHAVE_MAP_HESIOD 47148795Sphk.endif 48148795Sphk 49156813Sru.if ${MK_NIS} != "no" 50137675SbzSRCS+= info_nis.c 51137675Sbz.endif 52137675Sbz 5338581Sobrien.include <bsd.prog.mk> 54