Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Import of amd reach-over Makefiles for using the sources in dist/am-u…

…tils.
  • Loading branch information...
commit 43865c2a45517da9c79198f4789bc03a1667b1e4 1 parent 2a3bcf9
authored November 20, 2000
5  usr.sbin/amd/Makefile
... ...
@@ -1,5 +1,6 @@
1  
-#	$NetBSD: Makefile,v 1.1.1.6 1999/09/04 22:24:53 christos Exp $
2  
-SUBDIR= libamu amd amq hlfsd fixmount fsinfo mk-amd-map pawd wire-test doc
  1
+#	$NetBSD: Makefile,v 1.1.1.7 2000/11/20 00:16:16 wiz Exp $
  2
+
  3
+SUBDIR=	libamu amd amq doc fixmount fsinfo hlfsd mk-amd-map pawd scripts wire-test
3 4
 
4 5
 all-amd all-amq all-hlfsd all-fixmount all-fsinfo all-mk-amd-map all-pawd \
5 6
     all-wire-test: all-libamu
26  usr.sbin/amd/Makefile.inc
... ...
@@ -1,20 +1,24 @@
1  
-#	$NetBSD: Makefile.inc,v 1.1.1.6 1999/02/01 18:45:39 christos Exp $
  1
+#	$NetBSD: Makefile.inc,v 1.1.1.7 2000/11/20 00:16:16 wiz Exp $
  2
+
  3
+WARNS?=	1
  4
+
  5
+IDIST=	${.CURDIR}/../../../dist/am-utils
  6
+
  7
+LIBAMUOBJDIR!=cd ${.CURDIR}/../libamu; \
  8
+	printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
  9
+
  10
+CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/../include -I${IDIST}/libamu \
  11
+	-I${IDIST}/include -I${LIBAMUOBJDIR}
2 12
 
3 13
 .include <bsd.own.mk>
4 14
 
5  
-WARNS ?= 1
6  
-LIBAMU != cd ${.CURDIR}/../libamu;\
7  
-    printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
8  
-CPPFLAGS += -I${.CURDIR}/../include -I${.CURDIR} -I${LIBAMU} -I. -DHAVE_CONFIG_H
9  
-CPPFLAGS += -DDEBUG
10 15
 .if !defined(LIB) || empty(LIB)
11  
-LDADD += -L${LIBAMU} -lamu -lrpcsvc -ll
12  
-.if defined(NOPIC)
13  
-DPADD += ${LIBAMU}/libamu.a
  16
+LDADD+=	-L${LIBAMUOBJDIR} -lamu
  17
+.if ${MKPIC} == "no"
  18
+DPADD+=	${LIBAMUOBJDIR}/libamu.a
14 19
 .else
15  
-DPADD += ${LIBAMU}/libamu_pic.a
  20
+DPADD+=	${LIBAMUOBJDIR}/libamu_pic.a
16 21
 .endif
17  
-DPADD += ${LIBRPCSVC} ${LIBL}
18 22
 .endif
19 23
 
20 24
 .if exists(${.CURDIR}/../../Makefile.inc)
47  usr.sbin/amd/amd/Makefile
... ...
@@ -1,18 +1,35 @@
1  
-#	$NetBSD: Makefile,v 1.1.1.5 1999/02/01 18:46:29 christos Exp $
2  
-
3  
-PROG= amd
4  
-SRCS=	conf_parse.c conf_tok.c srvr_nfs.c srvr_amfs_auto.c sched.c rpc_fwd.c \
5  
-restart.c opts.c ops_unionfs.c ops_umapfs.c ops_ufs.c ops_tmpfs.c \
6  
-ops_tfs.c ops_pcfs.c ops_nullfs.c ops_nfs3.c ops_nfs.c ops_mfs.c \
7  
-ops_cdfs.c ops_autofs.c nfs_subr.c nfs_start.c nfs_prot_svc.c mntfs.c \
8  
-mapc.c map.c info_union.c info_passwd.c info_nis.c info_ndbm.c \
9  
-info_file.c info_hesiod.c get_args.c conf.c clock.c autil.c \
10  
-amq_svc.c amq_subr.c amfs_union.c amfs_toplvl.c amfs_root.c amfs_program.c \
11  
-amfs_nfsx.c amfs_nfsl.c amfs_linkx.c amfs_link.c amfs_inherit.c amfs_host.c \
12  
-amfs_error.c amfs_direct.c amfs_auto.c amd.c am_ops.c 
13  
-MAN+= amd.8
14  
-YHEADER=1
15  
-CLEANFILES+=conf_tok.c conf_parse.c conf_parse.h
  1
+#	$NetBSD: Makefile,v 1.1.1.6 2000/11/20 00:16:18 wiz Exp $
  2
+
  3
+.include "${.CURDIR}/../Makefile.inc"
  4
+
  5
+PROG=	amd
  6
+
  7
+DIST=	${IDIST}/amd
  8
+.PATH:	${DIST}
  9
+
  10
+SRCS=	am_ops.c amd.c amfs_auto.c amfs_direct.c amfs_error.c amfs_host.c \
  11
+	amfs_inherit.c amfs_link.c amfs_linkx.c amfs_nfsl.c amfs_nfsx.c \
  12
+	amfs_program.c amfs_root.c amfs_toplvl.c amfs_union.c amq_subr.c \
  13
+	amq_svc.c autil.c clock.c conf.c get_args.c info_file.c info_hesiod.c \
  14
+	info_ndbm.c info_nis.c info_passwd.c \
  15
+	info_union.c map.c mapc.c mntfs.c nfs_prot_svc.c nfs_start.c \
  16
+	nfs_subr.c ops_autofs.c ops_cdfs.c \
  17
+	ops_mfs.c ops_nfs.c ops_nfs3.c ops_nullfs.c ops_pcfs.c \
  18
+	ops_tfs.c ops_tmpfs.c ops_ufs.c ops_umapfs.c ops_unionfs.c \
  19
+	opts.c restart.c rpc_fwd.c sched.c srvr_amfs_auto.c srvr_nfs.c \
  20
+	conf_parse.c conf_tok.c
  21
+# the following are not supported on NetBSD
  22
+#	info_ldap.c info_nisplus.c ops_cachefs.c ops_efs.c ops_lofs.c ops_xfs.c
  23
+MAN+=	amd.8
  24
+
  25
+AMDOBJDIR!=cd ${.CURDIR}; \
  26
+	printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
  27
+
  28
+CPPFLAGS+=	-I${DIST} -I${AMDOBJDIR}
  29
+LDADD+=		${LIBAMU} -lrpcsvc
  30
+DPADD+=		${LIBRPCSVC}
  31
+YHEADER=	1
  32
+CLEANFILES+=	conf_tok.c conf_parse.c conf_parse.h
16 33
 
17 34
 conf_tok.o: conf_parse.h
18 35
 
17  usr.sbin/amd/amq/Makefile
... ...
@@ -1,7 +1,16 @@
1  
-#	$NetBSD: Makefile,v 1.1.1.2 1997/07/24 21:23:01 christos Exp $
  1
+#	$NetBSD: Makefile,v 1.1.1.3 2000/11/20 00:16:18 wiz Exp $
2 2
 
3  
-PROG= amq
4  
-SRCS=	amq_xdr.c amq_clnt.c amq.c 
5  
-MAN+= amq.8
  3
+.include "${.CURDIR}/../Makefile.inc"
  4
+
  5
+PROG=	amq
  6
+
  7
+DIST=	${IDIST}/amq
  8
+.PATH:	${DIST}
  9
+
  10
+SRCS=	amq_xdr.c amq_clnt.c amq.c
  11
+MAN+=	amq.8
  12
+
  13
+CPPFLAGS+=	-I${DIST}
  14
+LDADD+=		${LIBAMU}
6 15
 
7 16
 .include <bsd.prog.mk>
13  usr.sbin/amd/doc/Makefile
... ...
@@ -1,6 +1,13 @@
1  
-#	$NetBSD: Makefile,v 1.1.1.3 1999/09/04 22:25:45 christos Exp $
  1
+#	$NetBSD: Makefile,v 1.1.1.4 2000/11/20 00:16:18 wiz Exp $
2 2
 
3  
-TEXINFO = am-utils.info
4  
-INFOFLAGS = -I${.CURDIR}
  3
+.include "${.CURDIR}/../Makefile.inc"
  4
+
  5
+DIST=	${IDIST}/doc
  6
+.PATH:	${DIST}
  7
+
  8
+TEXINFO=	am-utils.texi
  9
+INFOFLAGS=	-I${DIST} -I${.CURDIR}
  10
+
  11
+CLEANFILES+=	am-utils.info
5 12
 
6 13
 .include <bsd.info.mk>
18  usr.sbin/amd/fixmount/Makefile
... ...
@@ -1,7 +1,17 @@
1  
-#	$NetBSD: Makefile,v 1.1.1.1 1997/07/24 21:24:12 christos Exp $
  1
+#	$NetBSD: Makefile,v 1.1.1.2 2000/11/20 00:16:18 wiz Exp $
2 2
 
3  
-PROG= fixmount
4  
-SRCS=	check_mount.c fixmount.c 
5  
-MAN+= fixmount.8
  3
+.include "${.CURDIR}/../Makefile.inc"
  4
+
  5
+PROG=	fixmount
  6
+
  7
+DIST=	${IDIST}/fixmount
  8
+.PATH:	${DIST} ${IDIST}/conf/checkmount
  9
+
  10
+SRCS=	fixmount.c checkmount_bsd44.c
  11
+MAN+=	fixmount.8
  12
+
  13
+CPPFLAGS+=	-I${DIST}
  14
+LDADD+=		${LIBAMU} -lrpcsvc
  15
+DPADD+=		${LIBRPCSVC}
6 16
 
7 17
 .include <bsd.prog.mk>
28  usr.sbin/amd/fsinfo/Makefile
... ...
@@ -1,12 +1,24 @@
1  
-#	$NetBSD: Makefile,v 1.1.1.4 1998/08/08 22:05:38 christos Exp $
  1
+#	$NetBSD: Makefile,v 1.1.1.5 2000/11/20 00:16:18 wiz Exp $
2 2
 
3  
-PROG= fsinfo
4  
-SRCS=	fsi_gram.c fsi_lex.c wr_fstab.c wr_exportfs.c wr_dumpset.c wr_bparam.c \
5  
-wr_atab.c fsinfo.c fsi_util.c fsi_dict.c fsi_analyze.c 
6  
-MAN+= fsinfo.8
7  
-YHEADER=1
8  
-CLEANFILES+=fsi_lex.c fsi_gram.c fsi_gram.h
  3
+.include "${.CURDIR}/../Makefile.inc"
9 4
 
10  
-fsi_lex.o: fsi_gram.h
  5
+PROG=	fsinfo
  6
+
  7
+DIST=	${IDIST}/fsinfo
  8
+.PATH:	${DIST}
  9
+
  10
+SRCS=	fsi_analyze.c fsi_dict.c fsi_gram.c fsi_lex.c fsi_util.c fsinfo.c \
  11
+	wr_atab.c wr_bparam.c wr_dumpset.c wr_exportfs.c wr_fstab.c
  12
+MAN+=	fsinfo.8
  13
+
  14
+
  15
+FSINFOOBJDIR!=cd ${.CURDIR}; \
  16
+	printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
  17
+
  18
+CPPFLAGS+=	-I${DIST} -I${FSINFOOBJDIR}
  19
+YHEADER=	1
  20
+CLEANFILES+=	fsi_lex.c fsi_gram.c fsi_gram.h
  21
+
  22
+fsi_lex.o fsinfo.o: fsi_gram.h
11 23
 
12 24
 .include <bsd.prog.mk>
17  usr.sbin/amd/hlfsd/Makefile
... ...
@@ -1,7 +1,16 @@
1  
-#	$NetBSD: Makefile,v 1.1.1.1 1997/07/24 21:22:43 christos Exp $
  1
+#	$NetBSD: Makefile,v 1.1.1.2 2000/11/20 00:16:18 wiz Exp $
2 2
 
3  
-PROG= hlfsd
4  
-SRCS=	stubs.c nfs_prot_svc.c homedir.c hlfsd.c 
5  
-MAN+= hlfsd.8
  3
+.include "${.CURDIR}/../Makefile.inc"
  4
+
  5
+PROG=	hlfsd
  6
+
  7
+DIST=	${IDIST}/hlfsd
  8
+.PATH:	${DIST}
  9
+
  10
+SRCS=	hlfsd.c homedir.c nfs_prot_svc.c stubs.c
  11
+MAN+=	hlfsd.8
  12
+
  13
+CPPFLAGS+=	-I${DIST}
  14
+LDADD+=		${LIBAMU} -lrpcsvc
6 15
 
7 16
 .include <bsd.prog.mk>
26  usr.sbin/amd/include/amu_nfs_prot.h
... ...
@@ -1,7 +1,7 @@
1  
-/*	$NetBSD: amu_nfs_prot.h,v 1.1.1.5 1999/09/04 22:25:02 christos Exp $	*/
  1
+/* $NetBSD: amu_nfs_prot.h,v 1.1.1.6 2000/11/20 00:16:18 wiz Exp $ */
2 2
 
3 3
 /*
4  
- * Copyright (c) 1997-1999 Erez Zadok
  4
+ * Copyright (c) 1997-2000 Erez Zadok
5 5
  * Copyright (c) 1990 Jan-Simon Pendry
6 6
  * Copyright (c) 1990 Imperial College of Science, Technology & Medicine
7 7
  * Copyright (c) 1990 The Regents of the University of California.
@@ -40,7 +40,7 @@
40 40
  *
41 41
  *      %W% (Berkeley) %G%
42 42
  *
43  
- * Id: nfs_prot_netbsd1_3.h,v 1.3 1999/02/04 07:24:36 ezk Exp 
  43
+ * $Id: amu_nfs_prot.h,v 1.1.1.6 2000/11/20 00:16:18 wiz Exp $
44 44
  *
45 45
  */
46 46
 
@@ -50,6 +50,26 @@
50 50
 #ifdef HAVE_RPCSVC_NFS_PROT_H
51 51
 # include <rpcsvc/nfs_prot.h>
52 52
 #endif /* HAVE_RPCSVC_NFS_PROT_H */
  53
+#ifdef HAVE_NFS_RPCV2_H
  54
+# include <nfs/rpcv2.h>
  55
+#endif /* HAVE_NFS_RPCV2_H */
  56
+#ifndef NFS_NPROCS
  57
+# define NFS_NPROCS	26
  58
+#endif /* not NFS_NPROCS */
  59
+#ifdef HAVE_NFS_NFS_H
  60
+# include <nfs/nfs.h>
  61
+#endif /* HAVE_NFS_NFS_H */
  62
+#ifdef HAVE_NFS_NFSMOUNT_H
  63
+# include <nfs/nfsmount.h>
  64
+#endif /* HAVE_NFS_NFSMOUNT_H */
  65
+
  66
+#ifdef HAVE_UFS_UFS_UFSMOUNT_H
  67
+/* netbsd-1.4 does't protect <ufs/ufs/ufsmount.h> */
  68
+# ifndef _UFS_UFS_UFSMOUNT_H
  69
+#  include <ufs/ufs/ufsmount.h>
  70
+#  define _UFS_UFS_UFSMOUNT_H
  71
+# endif /* not _UFS_UFS_UFSMOUNT_H */
  72
+#endif /* HAVE_UFS_UFS_UFSMOUNT_H */
53 73
 
54 74
 /* NON-NFS STUFF (doesn't really belong here) */
55 75
 #ifndef DEFINED_YPALL_CALLBACK_FXN_T
2  usr.sbin/amd/include/aux_conf.h
... ...
@@ -1,3 +1,5 @@
  1
+/* $NetBSD: aux_conf.h,v 1.1.1.3 2000/11/20 00:16:17 wiz Exp $ */
  2
+
1 3
 /*
2 4
  * aux_conf.h:
3 5
  * This file gets "filled in" for each architecture.
400  usr.sbin/amd/include/config.h
... ...
@@ -1,5 +1,7 @@
  1
+/* $NetBSD: config.h,v 1.1.1.9 2000/11/20 00:16:17 wiz Exp $ */
  2
+
1 3
 /* config.h.  Generated automatically by configure.  */
2  
-/* aux/config.h.in.  Generated automatically from ./aux/configure.in by autoheader.  */
  4
+/* config.h.in.  Generated automatically from configure.in by autoheader.  */
3 5
 /*
4 6
  * Start of am-utils-6.x config.h file.
5 7
  * Erez Zadok <ezk@cs.columbia.edu>
@@ -17,40 +19,40 @@
17 19
  */
18 20
 
19 21
 /* Define if have automount filesystem */
20  
-#define HAVE_AM_FS_AUTO 1
  22
+#define HAVE_AMU_FS_AUTO 1
21 23
 
22 24
 /* Define if have direct automount filesystem */
23  
-#define HAVE_AM_FS_DIRECT 1
  25
+#define HAVE_AMU_FS_DIRECT 1
24 26
 
25 27
 /* Define if have "top-level" filesystem */
26  
-#define HAVE_AM_FS_TOPLVL 1
  28
+#define HAVE_AMU_FS_TOPLVL 1
27 29
 
28 30
 /* Define if have error filesystem */
29  
-#define HAVE_AM_FS_ERROR 1
  31
+#define HAVE_AMU_FS_ERROR 1
30 32
 
31 33
 /* Define if have inheritance filesystem */
32  
-#define HAVE_AM_FS_INHERIT 1
  34
+#define HAVE_AMU_FS_INHERIT 1
33 35
 
34 36
 /* Define if have program filesystem */
35  
-#define HAVE_AM_FS_PROGRAM 1
  37
+#define HAVE_AMU_FS_PROGRAM 1
36 38
 
37 39
 /* Define if have symbolic-link filesystem */
38  
-#define HAVE_AM_FS_LINK 1
  40
+#define HAVE_AMU_FS_LINK 1
39 41
 
40 42
 /* Define if have symlink with existence check filesystem */
41  
-#define HAVE_AM_FS_LINKX 1
  43
+#define HAVE_AMU_FS_LINKX 1
42 44
 
43 45
 /* Define if have NFS host-tree filesystem */
44  
-#define HAVE_AM_FS_HOST 1
  46
+#define HAVE_AMU_FS_HOST 1
45 47
 
46 48
 /* Define if have nfsl (NFS with local link check) filesystem */
47  
-#define HAVE_AM_FS_NFSL 1
  49
+#define HAVE_AMU_FS_NFSL 1
48 50
 
49 51
 /* Define if have multi-NFS filesystem */
50  
-#define HAVE_AM_FS_NFSX 1
  52
+#define HAVE_AMU_FS_NFSX 1
51 53
 
52 54
 /* Define if have union filesystem */
53  
-#define HAVE_AM_FS_UNION 1
  55
+#define HAVE_AMU_FS_UNION 1
54 56
 
55 57
 
56 58
 /*
@@ -192,7 +194,7 @@
192 194
 /* #undef MOUNT_TYPE_CACHEFS */
193 195
 
194 196
 /* Mount(2) type/name for IGNORE filesystem (not real just ignore for df) */
195  
-/* #undef MOUNT_TYPE_IGNORE */
  197
+#define MOUNT_TYPE_IGNORE MNT_IGNORE
196 198
 
197 199
 /* Mount(2) type/name for NULLFS (loopback on bsd44) filesystem */
198 200
 #define MOUNT_TYPE_NULLFS MOUNT_NULL
@@ -437,6 +439,9 @@
437 439
 /* asynchronous filesystem access */
438 440
 #define MNT2_GEN_OPT_ASYNC 0x40
439 441
 
  442
+/* automounter filesystem (ignore) flag, used in bsdi-4.1 */
  443
+/* #undef MNT2_GEN_OPT_AUTOMNTFS */
  444
+
440 445
 /* cache (what?) */
441 446
 /* #undef MNT2_GEN_OPT_CACHE */
442 447
 
@@ -447,7 +452,7 @@
447 452
 /* #undef MNT2_GEN_OPT_FSS */
448 453
 
449 454
 /* ignore mount entry in df output */
450  
-/* #undef MNT2_GEN_OPT_IGNORE */
  455
+#define MNT2_GEN_OPT_IGNORE 0x100000
451 456
 
452 457
 /* journaling filesystem (AIX's UFS/FFS) */
453 458
 /* #undef MNT2_GEN_OPT_JFS */
@@ -485,6 +490,9 @@
485 490
 /* Return ENAMETOOLONG for long filenames */
486 491
 /* #undef MNT2_GEN_OPT_NOTRUNC */
487 492
 
  493
+/* Pass mount option string to kernel */
  494
+/* #undef MNT2_GEN_OPT_OPTIONSTR */
  495
+
488 496
 /* allow overlay mounts */
489 497
 /* #undef MNT2_GEN_OPT_OVERLAY */
490 498
 
@@ -535,7 +543,7 @@
535 543
 /* #undef MNT2_NFS_OPT_AUTHERR */
536 544
 
537 545
 /* set dead server retry thresh */
538  
-#define MNT2_NFS_OPT_DEADTHRESH 0x4000
  546
+/* #undef MNT2_NFS_OPT_DEADTHRESH */
539 547
 
540 548
 /* Dismount in progress */
541 549
 /* #undef MNT2_NFS_OPT_DISMINPROG */
@@ -544,7 +552,7 @@
544 552
 /* #undef MNT2_NFS_OPT_DISMNT */
545 553
 
546 554
 /* Don't estimate rtt dynamically */
547  
-#define MNT2_NFS_OPT_DUMBTIMR 0x800
  555
+/* #undef MNT2_NFS_OPT_DUMBTIMR */
548 556
 
549 557
 /* System V-style gid inheritance */
550 558
 /* #undef MNT2_NFS_OPT_GRPID */
@@ -562,7 +570,10 @@
562 570
 /* #undef MNT2_NFS_OPT_IGNORE */
563 571
 
564 572
 /* allow interrupts on hard mount */
565  
-#define MNT2_NFS_OPT_INT 0x40
  573
+/* #undef MNT2_NFS_OPT_INT */
  574
+
  575
+/* allow interrupts on hard mount */
  576
+/* #undef MNT2_NFS_OPT_INTR */
566 577
 
567 578
 /* Bits set internally */
568 579
 /* #undef MNT2_NFS_OPT_INTERNAL */
@@ -577,13 +588,13 @@
577 588
 /* #undef MNT2_NFS_OPT_KNCONF */
578 589
 
579 590
 /* set lease term (nqnfs) */
580  
-#define MNT2_NFS_OPT_LEASETERM 0x1000
  591
+/* #undef MNT2_NFS_OPT_LEASETERM */
581 592
 
582 593
 /* Local locking (no lock manager) */
583 594
 /* #undef MNT2_NFS_OPT_LLOCK */
584 595
 
585 596
 /* set maximum grouplist size */
586  
-#define MNT2_NFS_OPT_MAXGRPS 0x20
  597
+/* #undef MNT2_NFS_OPT_MAXGRPS */
587 598
 
588 599
 /* Mnt server for mnt point */
589 600
 /* #undef MNT2_NFS_OPT_MNTD */
@@ -592,13 +603,13 @@
592 603
 /* #undef MNT2_NFS_OPT_MYWRITE */
593 604
 
594 605
 /* mount NFS Version 3 */
595  
-#define MNT2_NFS_OPT_NFSV3 0x200
  606
+/* #undef MNT2_NFS_OPT_NFSV3 */
596 607
 
597 608
 /* don't cache attributes */
598 609
 /* #undef MNT2_NFS_OPT_NOAC */
599 610
 
600 611
 /* Don't Connect the socket */
601  
-#define MNT2_NFS_OPT_NOCONN 0x80
  612
+/* #undef MNT2_NFS_OPT_NOCONN */
602 613
 
603 614
 /* no close-to-open consistency */
604 615
 /* #undef MNT2_NFS_OPT_NOCTO */
@@ -610,7 +621,7 @@
610 621
 /* #undef MNT2_NFS_OPT_NQLOOKLEASE */
611 622
 
612 623
 /* Use Nqnfs protocol */
613  
-#define MNT2_NFS_OPT_NQNFS 0x100
  624
+/* #undef MNT2_NFS_OPT_NQNFS */
614 625
 
615 626
 /* static pathconf kludge info */
616 627
 /* #undef MNT2_NFS_OPT_POSIX */
@@ -622,13 +633,13 @@
622 633
 /* #undef MNT2_NFS_OPT_RDIRALOOK */
623 634
 
624 635
 /* set read ahead */
625  
-#define MNT2_NFS_OPT_READAHEAD 0x2000
  636
+/* #undef MNT2_NFS_OPT_READAHEAD */
626 637
 
627 638
 /* Allocate a reserved port */
628  
-#define MNT2_NFS_OPT_RESVPORT 0x8000
  639
+/* #undef MNT2_NFS_OPT_RESVPORT */
629 640
 
630 641
 /* set number of request retries */
631  
-#define MNT2_NFS_OPT_RETRANS 0x10
  642
+/* #undef MNT2_NFS_OPT_RETRANS */
632 643
 
633 644
 /* read only */
634 645
 /* #undef MNT2_NFS_OPT_RONLY */
@@ -637,7 +648,7 @@
637 648
 /* #undef MNT2_NFS_OPT_RPCTIMESYNC */
638 649
 
639 650
 /* set read size */
640  
-#define MNT2_NFS_OPT_RSIZE 0x4
  651
+/* #undef MNT2_NFS_OPT_RSIZE */
641 652
 
642 653
 /* secure mount */
643 654
 /* #undef MNT2_NFS_OPT_SECURE */
@@ -652,11 +663,14 @@
652 663
 /* #undef MNT2_NFS_OPT_SPONGY */
653 664
 
654 665
 /* set initial timeout */
655  
-#define MNT2_NFS_OPT_TIMEO 0x8
  666
+/* #undef MNT2_NFS_OPT_TIMEO */
656 667
 
657 668
 /* use TCP for mounts */
658 669
 /* #undef MNT2_NFS_OPT_TCP */
659 670
 
  671
+/* linux NFSv3 */
  672
+/* #undef MNT2_NFS_OPT_VER3 */
  673
+
660 674
 /* Wait for authentication */
661 675
 /* #undef MNT2_NFS_OPT_WAITAUTH */
662 676
 
@@ -670,7 +684,7 @@
670 684
 /* #undef MNT2_NFS_OPT_WANTSND */
671 685
 
672 686
 /* set write size */
673  
-#define MNT2_NFS_OPT_WSIZE 0x2
  687
+/* #undef MNT2_NFS_OPT_WSIZE */
674 688
 
675 689
 /* set symlink cache time-to-live */
676 690
 /* #undef MNT2_NFS_OPT_SYMTTL */
@@ -807,11 +821,14 @@
807 821
 #define HAVE_FIELD_NFS_ARGS_T_SOTYPE 1
808 822
 
809 823
 /* does struct nfs_args have a version field? */
810  
-#define HAVE_FIELD_NFS_ARGS_T_VERSION 1
  824
+#define HAVE_FIELD_NFS_ARGS_T_VERSION 
811 825
 
812 826
 /* does struct ifreq have field ifr_addr? */
813 827
 #define HAVE_FIELD_STRUCT_IFREQ_IFR_ADDR 1
814 828
 
  829
+/* does struct ifaddrs have field ifa_next? */
  830
+#define HAVE_FIELD_STRUCT_IFADDRS_IFA_NEXT 1
  831
+
815 832
 /* does struct sockaddr have field sa_len? */
816 833
 #define HAVE_FIELD_STRUCT_SOCKADDR_SA_LEN 1
817 834
 
@@ -825,115 +842,9 @@
825 842
 /* should signal handlers be reinstalled? */
826 843
 /* #undef REINSTALL_SIGNAL_HANDLER */
827 844
 
828  
-
829  
-/**************************************************************************/
830  
-/*** Everything above this line is part of the "TOP" of acconfig.h.	***/
831  
-/**************************************************************************/
832  
-
833  
-
834  
-/* Define if on AIX 3.
835  
-   System headers sometimes define this.
836  
-   We just want to avoid a redefinition error message.  */
837  
-#ifndef _ALL_SOURCE
838  
-/* #undef _ALL_SOURCE */
839  
-#endif
840  
-
841  
-/* Define if using alloca.c.  */
842  
-/* #undef C_ALLOCA */
843  
-
844  
-/* Define to empty if the keyword does not work.  */
845  
-/* #undef const */
846  
-
847  
-/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
848  
-   This function is required for alloca.c support on those systems.  */
849  
-/* #undef CRAY_STACKSEG_END */
850  
-
851  
-/* Define to the type of elements in the array set by `getgroups'.
852  
-   Usually this is either `int' or `gid_t'.  */
853  
-#define GETGROUPS_T gid_t
854  
-
855  
-/* Define to `int' if <sys/types.h> doesn't define.  */
856  
-/* #undef gid_t */
857  
-
858  
-/* Define if you have alloca, as a function or macro.  */
859  
-#define HAVE_ALLOCA 1
860  
-
861  
-/* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
862  
-/* #undef HAVE_ALLOCA_H */
863  
-
864  
-/* Define if you support file names longer than 14 characters.  */
865  
-#define HAVE_LONG_FILE_NAMES 1
866  
-
867  
-/* Define if system calls automatically restart after interruption
868  
-   by a signal.  */
869  
-#define HAVE_RESTARTABLE_SYSCALLS 1
870  
-
871  
-/* Define if your struct stat has st_rdev.  */
872  
-#define HAVE_ST_RDEV 1
873  
-
874  
-/* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
875  
-#define HAVE_SYS_WAIT_H 1
876  
-
877  
-/* Define if you have <vfork.h>.  */
878  
-/* #undef HAVE_VFORK_H */
879  
-
880  
-/* Define if you have the wait3 system call.  */
881  
-#define HAVE_WAIT3 1
882  
-
883  
-/* Define as __inline if that's what the C compiler calls it.  */
884  
-/* #undef inline */
885  
-
886  
-/* Define to `int' if <sys/types.h> doesn't define.  */
887  
-/* #undef mode_t */
888  
-
889  
-/* Define if your C compiler doesn't accept -c and -o together.  */
890  
-/* #undef NO_MINUS_C_MINUS_O */
891  
-
892  
-/* Define to `int' if <sys/types.h> doesn't define.  */
893  
-/* #undef pid_t */
894  
-
895  
-/* Define if you need to in order for stat and other things to work.  */
896  
-/* #undef _POSIX_SOURCE */
897  
-
898  
-/* Define as the return type of signal handlers (int or void).  */
899  
-#define RETSIGTYPE void
900  
-
901  
-/* Define to `unsigned' if <sys/types.h> doesn't define.  */
902  
-/* #undef size_t */
903  
-
904  
-/* If using the C implementation of alloca, define if you know the
905  
-   direction of stack growth for your system; otherwise it will be
906  
-   automatically deduced at run-time.
907  
- STACK_DIRECTION > 0 => grows toward higher addresses
908  
- STACK_DIRECTION < 0 => grows toward lower addresses
909  
- STACK_DIRECTION = 0 => direction of growth unknown
  845
+/*
  846
+ * More definitions that depend on configure options.
910 847
  */
911  
-/* #undef STACK_DIRECTION */
912  
-
913  
-/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
914  
-/* #undef STAT_MACROS_BROKEN */
915  
-
916  
-/* Define if you have the ANSI C header files.  */
917  
-#define STDC_HEADERS 1
918  
-
919  
-/* Define if you can safely include both <sys/time.h> and <time.h>.  */
920  
-#define TIME_WITH_SYS_TIME 1
921  
-
922  
-/* Define if your <sys/time.h> declares struct tm.  */
923  
-/* #undef TM_IN_SYS_TIME */
924  
-
925  
-/* Define to `int' if <sys/types.h> doesn't define.  */
926  
-/* #undef uid_t */
927  
-
928  
-/* Define vfork as fork if vfork does not work.  */
929  
-/* #undef vfork */
930  
-
931  
-/* Define if your processor stores words with the most significant
932  
-   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
933  
-/* #undef WORDS_BIGENDIAN */
934  
-
935  
-/* Define if lex declares yytext as a char * by default, not a char[].  */
936  
-#define YYTEXT_POINTER 1
937 848
 
938 849
 /* Turn off general debugging by default */
939 850
 /* #undef DEBUG */
@@ -948,7 +859,7 @@
948 859
 #define PACKAGE "am-utils"
949 860
 
950 861
 /* Define version of package (must be defined by configure.in) */
951  
-#define VERSION "6.0.1s11"
  862
+#define VERSION "6.0.4"
952 863
 
953 864
 /* Define name of host machine's cpu (eg. sparc) */
954 865
 #define HOST_CPU MACHINE
@@ -959,8 +870,29 @@
959 870
 /* Define name of host machine's vendor (eg. sun) */
960 871
 #define HOST_VENDOR "unknown"
961 872
 
962  
-/* We pick some parameters from our local config file */
963 873
 #include <config_local.h>
  874
+#if 0
  875
+/* Define name and version of host machine (eg. solaris2.5.1) */
  876
+#define HOST_OS "netbsd1.5H"
  877
+
  878
+/* Define only name of host machine OS (eg. solaris2) */
  879
+#define HOST_OS_NAME "netbsd1"
  880
+
  881
+/* Define only version of host machine (eg. 2.5.1) */
  882
+#define HOST_OS_VERSION "1.5H"
  883
+
  884
+/* Define the header version of (linux) hosts (eg. 2.2.10) */
  885
+#define HOST_HEADER_VERSION "1.5H"
  886
+
  887
+/* Define name of host */
  888
+#define HOST_NAME "hiro"
  889
+
  890
+/* Define user name */
  891
+#define USER_NAME "wiz"
  892
+
  893
+/* Define configuration date */
  894
+#define CONFIG_DATE "Thu Nov  9 00:50:20 CET 2000"
  895
+#endif
964 896
 
965 897
 /* what type of network transport type is in use?  TLI or sockets? */
966 898
 /* #undef HAVE_TRANSPORT_TYPE_TLI */
@@ -977,6 +909,9 @@
977 909
 /* Define a type/structure for an NFS V3 filehandle */
978 910
 #define am_nfs_fh3 nfs_fh3
979 911
 
  912
+/* define if the host has NFS protocol headers in system headers */
  913
+/* #undef HAVE_NFS_PROT_HEADERS */
  914
+
980 915
 /* define name of am-utils' NFS protocol header */
981 916
 #define AMU_NFS_PROTOCOL_HEADER "./conf/nfs_prot/nfs_prot_netbsd1_4.h"
982 917
 
@@ -1007,9 +942,6 @@
1007 942
 /* Define if have struct nfs_args in one of the standard nfs headers */
1008 943
 #define HAVE_STRUCT_NFS_ARGS 1
1009 944
 
1010  
-/* Define if have struct nfs_mount_data in one of the standard nfs headers */
1011  
-/* #undef HAVE_STRUCT_NFS_MOUNT_DATA */
1012  
-
1013 945
 /* Define if have struct nfs_gfs_mount in one of the standard nfs headers */
1014 946
 /* #undef HAVE_STRUCT_NFS_GFS_MOUNT */
1015 947
 
@@ -1072,6 +1004,112 @@
1072 1004
 /* define if must NOT use NFS "noconn" option */
1073 1005
 /* #undef USE_CONNECTED_NFS_SOCKETS */
1074 1006
 
  1007
+/**************************************************************************/
  1008
+/*** Everything above this line is part of the "TOP" of acconfig.h.	***/
  1009
+/**************************************************************************/
  1010
+
  1011
+
  1012
+/* Define if on AIX 3.
  1013
+   System headers sometimes define this.
  1014
+   We just want to avoid a redefinition error message.  */
  1015
+#ifndef _ALL_SOURCE
  1016
+/* #undef _ALL_SOURCE */
  1017
+#endif
  1018
+
  1019
+/* Define if using alloca.c.  */
  1020
+/* #undef C_ALLOCA */
  1021
+
  1022
+/* Define to empty if the keyword does not work.  */
  1023
+/* #undef const */
  1024
+
  1025
+/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
  1026
+   This function is required for alloca.c support on those systems.  */
  1027
+/* #undef CRAY_STACKSEG_END */
  1028
+
  1029
+/* Define to the type of elements in the array set by `getgroups'.
  1030
+   Usually this is either `int' or `gid_t'.  */
  1031
+#define GETGROUPS_T gid_t
  1032
+
  1033
+/* Define to `int' if <sys/types.h> doesn't define.  */
  1034
+/* #undef gid_t */
  1035
+
  1036
+/* Define if you have alloca, as a function or macro.  */
  1037
+#define HAVE_ALLOCA 1
  1038
+
  1039
+/* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
  1040
+/* #undef HAVE_ALLOCA_H */
  1041
+
  1042
+/* Define if you support file names longer than 14 characters.  */
  1043
+#define HAVE_LONG_FILE_NAMES 1
  1044
+
  1045
+/* Define if system calls automatically restart after interruption
  1046
+   by a signal.  */
  1047
+#define HAVE_RESTARTABLE_SYSCALLS 1
  1048
+
  1049
+/* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
  1050
+#define HAVE_SYS_WAIT_H 1
  1051
+
  1052
+/* Define if you have <vfork.h>.  */
  1053
+/* #undef HAVE_VFORK_H */
  1054
+
  1055
+/* Define if you have the wait3 system call.  */
  1056
+#define HAVE_WAIT3 1
  1057
+
  1058
+/* Define as __inline if that's what the C compiler calls it.  */
  1059
+/* #undef inline */
  1060
+
  1061
+/* Define to `int' if <sys/types.h> doesn't define.  */
  1062
+/* #undef mode_t */
  1063
+
  1064
+/* Define if your C compiler doesn't accept -c and -o together.  */
  1065
+/* #undef NO_MINUS_C_MINUS_O */
  1066
+
  1067
+/* Define to `int' if <sys/types.h> doesn't define.  */
  1068
+/* #undef pid_t */
  1069
+
  1070
+/* Define if you need to in order for stat and other things to work.  */
  1071
+/* #undef _POSIX_SOURCE */
  1072
+
  1073
+/* Define as the return type of signal handlers (int or void).  */
  1074
+#define RETSIGTYPE void
  1075
+
  1076
+/* Define to `unsigned' if <sys/types.h> doesn't define.  */
  1077
+/* #undef size_t */
  1078
+
  1079
+/* If using the C implementation of alloca, define if you know the
  1080
+   direction of stack growth for your system; otherwise it will be
  1081
+   automatically deduced at run-time.
  1082
+ STACK_DIRECTION > 0 => grows toward higher addresses
  1083
+ STACK_DIRECTION < 0 => grows toward lower addresses
  1084
+ STACK_DIRECTION = 0 => direction of growth unknown
  1085
+ */
  1086
+/* #undef STACK_DIRECTION */
  1087
+
  1088
+/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
  1089
+/* #undef STAT_MACROS_BROKEN */
  1090
+
  1091
+/* Define if you have the ANSI C header files.  */
  1092
+#define STDC_HEADERS 1
  1093
+
  1094
+/* Define if you can safely include both <sys/time.h> and <time.h>.  */
  1095
+#define TIME_WITH_SYS_TIME 1
  1096
+
  1097
+/* Define if your <sys/time.h> declares struct tm.  */
  1098
+/* #undef TM_IN_SYS_TIME */
  1099
+
  1100
+/* Define to `int' if <sys/types.h> doesn't define.  */
  1101
+/* #undef uid_t */
  1102
+
  1103
+/* Define vfork as fork if vfork does not work.  */
  1104
+/* #undef vfork */
  1105
+
  1106
+/* Define if your processor stores words with the most significant
  1107
+   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
  1108
+/* #undef WORDS_BIGENDIAN */
  1109
+
  1110
+/* Define if lex declares yytext as a char * by default, not a char[].  */
  1111
+#define YYTEXT_POINTER 1
  1112
+
1075 1113
 /* Define if you have the __seterr_reply function.  */
1076 1114
 /* #undef HAVE___SETERR_REPLY */
1077 1115
 
@@ -1099,6 +1137,9 @@
1099 1137
 /* Define if you have the clnt_sperrno function.  */
1100 1138
 #define HAVE_CLNT_SPERRNO 1
1101 1139
 
  1140
+/* Define if you have the clock_gettime function.  */
  1141
+#define HAVE_CLOCK_GETTIME 1
  1142
+
1102 1143
 /* Define if you have the cnodeid function.  */
1103 1144
 /* #undef HAVE_CNODEID */
1104 1145
 
@@ -1136,7 +1177,7 @@
1136 1177
 #define HAVE_GETHOSTNAME 1
1137 1178
 
1138 1179
 /* Define if you have the getifaddrs function.  */
1139  
-/* #undef HAVE_GETIFADDRS */
  1180
+#define HAVE_GETIFADDRS 1
1140 1181
 
1141 1182
 /* Define if you have the getmntinfo function.  */
1142 1183
 #define HAVE_GETMNTINFO 1
@@ -1222,6 +1263,9 @@
1222 1263
 /* Define if you have the seteuid function.  */
1223 1264
 #define HAVE_SETEUID 1
1224 1265
 
  1266
+/* Define if you have the setitimer function.  */
  1267
+/* #undef HAVE_SETITIMER */
  1268
+
1225 1269
 /* Define if you have the setresuid function.  */
1226 1270
 /* #undef HAVE_SETRESUID */
1227 1271
 
@@ -1294,6 +1338,9 @@
1294 1338
 /* Define if you have the vmount function.  */
1295 1339
 /* #undef HAVE_VMOUNT */
1296 1340
 
  1341
+/* Define if you have the vsnprintf function.  */
  1342
+#define HAVE_VSNPRINTF 1
  1343
+
1297 1344
 /* Define if you have the wait3 function.  */
1298 1345
 #define HAVE_WAIT3 1
1299 1346
 
@@ -1487,7 +1534,7 @@
1487 1534
 /* #undef HAVE_HSFS_HSFS_H */
1488 1535
 
1489 1536
 /* Define if you have the <ifaddrs.h> header file.  */
1490  
-/* #undef HAVE_IFADDRS_H */
  1537
+#define HAVE_IFADDRS_H 1
1491 1538
 
1492 1539
 /* Define if you have the <irs.h> header file.  */
1493 1540
 /* #undef HAVE_IRS_H */
@@ -1510,6 +1557,12 @@
1510 1557
 /* Define if you have the <linux/fs.h> header file.  */
1511 1558
 /* #undef HAVE_LINUX_FS_H */
1512 1559
 
  1560
+/* Define if you have the <linux/kdev_t.h> header file.  */
  1561
+/* #undef HAVE_LINUX_KDEV_T_H */
  1562
+
  1563
+/* Define if you have the <linux/list.h> header file.  */
  1564
+/* #undef HAVE_LINUX_LIST_H */
  1565
+
1513 1566
 /* Define if you have the <linux/nfs.h> header file.  */
1514 1567
 /* #undef HAVE_LINUX_NFS_H */
1515 1568
 
@@ -1559,7 +1612,7 @@
1559 1612
 #define HAVE_NET_ROUTE_H 1
1560 1613
 
1561 1614
 /* Define if you have the <netconfig.h> header file.  */
1562  
-/* #undef HAVE_NETCONFIG_H */
  1615
+#define HAVE_NETCONFIG_H 1
1563 1616
 
1564 1617
 /* Define if you have the <netdb.h> header file.  */
1565 1618
 #define HAVE_NETDB_H 1
@@ -1879,11 +1932,14 @@
1879 1932
 /* Define if you have the rpcsvc library (-lrpcsvc).  */
1880 1933
 #define HAVE_LIBRPCSVC 1
1881 1934
 
  1935
+/* Define if you have the rt library (-lrt).  */
  1936
+/* #undef HAVE_LIBRT */
  1937
+
1882 1938
 /* Name of package */
1883 1939
 #define PACKAGE "am-utils"
1884 1940
 
1885 1941
 /* Version number of package */
1886  
-#define VERSION "6.0.1s11"
  1942
+#define VERSION "6.0.4"
1887 1943
 
1888 1944
 
1889 1945
 /**************************************************************************/
@@ -1894,70 +1950,76 @@
1894 1950
  * Existence of external definitions.
1895 1951
  */
1896 1952
 
1897  
-/* does sys_errlist[] exist? */
  1953
+/* does extern definition for sys_errlist[] exist? */
1898 1954
 #define HAVE_EXTERN_SYS_ERRLIST 1
1899 1955
 
1900  
-/* does optarg exist? */
  1956
+/* does extern definition for optarg exist? */
1901 1957
 #define HAVE_EXTERN_OPTARG 1
1902 1958
 
1903  
-/* does clnt_spcreateerror() exist? */
  1959
+/* does extern definition for clnt_spcreateerror() exist? */
1904 1960
 #define HAVE_EXTERN_CLNT_SPCREATEERROR 1
1905 1961
 
1906  
-/* does clnt_sperrno() exist? */
  1962
+/* does extern definition for clnt_sperrno() exist? */
1907 1963
 #define HAVE_EXTERN_CLNT_SPERRNO 1
1908 1964
 
1909  
-/* does free() exist? */
  1965
+/* does extern definition for free() exist? */
1910 1966
 #define HAVE_EXTERN_FREE 1
1911 1967
 
1912  
-/* does get_myaddress() exist? */
  1968
+/* does extern definition for get_myaddress() exist? */
1913 1969
 #define HAVE_EXTERN_GET_MYADDRESS 1
1914 1970
 
1915  
-/* does getccent() (hpux) exist? */
  1971
+/* does extern definition for getccent() (hpux) exist? */
1916 1972
 /* #undef HAVE_EXTERN_GETCCENT */
1917 1973
 
1918  
-/* does getdomainname() exist? */
  1974
+/* does extern definition for getdomainname() exist? */
1919 1975
 #define HAVE_EXTERN_GETDOMAINNAME 1
1920 1976
 
1921  
-/* does gethostname() exist? */
  1977
+/* does extern definition for gethostname() exist? */
1922 1978
 #define HAVE_EXTERN_GETHOSTNAME 1
1923 1979
 
1924  
-/* does getlogin() exist? */
  1980
+/* does extern definition for getlogin() exist? */
1925 1981
 #define HAVE_EXTERN_GETLOGIN 1
1926 1982
 
1927  
-/* does gettablesize() exist? */
  1983
+/* does extern definition for gettablesize() exist? */
1928 1984
 /* #undef HAVE_EXTERN_GETTABLESIZE */
1929 1985
 
1930  
-/* does getpagesize() exist? */
  1986
+/* does extern definition for getpagesize() exist? */
1931 1987
 #define HAVE_EXTERN_GETPAGESIZE 1
1932 1988
 
1933  
-/* does innetgr() exist? */
  1989
+/* does extern definition for innetgr() exist? */
1934 1990
 /* #undef HAVE_EXTERN_INNETGR */
1935 1991
 
1936  
-/* does mkstemp() exist? */
  1992
+/* does extern definition for mkstemp() exist? */
1937 1993
 #define HAVE_EXTERN_MKSTEMP 1
1938 1994
 
1939  
-/* does sbrk() exist? */
  1995
+/* does extern definition for sbrk() exist? */
1940 1996
 #define HAVE_EXTERN_SBRK 1
1941 1997
 
1942  
-/* does seteuid() exist? */
  1998
+/* does extern definition for seteuid() exist? */
1943 1999
 #define HAVE_EXTERN_SETEUID 1
1944 2000
 
1945  
-/* does strcasecmp() exist? */
  2001
+/* does extern definition for setitimer() exist? */
  2002
+/* #undef HAVE_EXTERN_SETITIMER */
  2003
+
  2004
+/* does extern definition for strcasecmp() exist? */
1946 2005
 #define HAVE_EXTERN_STRCASECMP 1
1947 2006
 
1948  
-/* does strdup() exist? */
  2007
+/* does extern definition for strdup() exist? */
1949 2008
 #define HAVE_EXTERN_STRDUP 1
1950 2009
 
1951  
-/* does strstr() exist? */
  2010
+/* does extern definition for strstr() exist? */
1952 2011
 #define HAVE_EXTERN_STRSTR 1
1953 2012
 
1954  
-/* does usleep() exist? */
  2013
+/* does extern definition for usleep() exist? */
1955 2014
 #define HAVE_EXTERN_USLEEP 1
1956 2015
 
1957  
-/* does wait3() exist? */
  2016
+/* does extern definition for wait3() exist? */
1958 2017
 #define HAVE_EXTERN_WAIT3 1
1959 2018
 
1960  
-/* does xdr_opaque_auth() exist? */
  2019
+/* does extern definition for vsnprintf() exist? */
  2020
+#define HAVE_EXTERN_VSNPRINTF 1
  2021
+
  2022
+/* does extern definition for xdr_opaque_auth() exist? */
1961 2023
 #define HAVE_EXTERN_XDR_OPAQUE_AUTH 1
1962 2024
 
1963 2025
 /****************************************************************************/
37  usr.sbin/amd/libamu/Makefile
... ...
@@ -1,27 +1,26 @@
1  
-#	$NetBSD: Makefile,v 1.1.1.3 1998/08/08 22:05:25 christos Exp $
  1
+#	$NetBSD: Makefile,v 1.1.1.4 2000/11/20 00:16:18 wiz Exp $
2 2
 
3  
-LIB= amu
4  
-SRCS=	mtabutil.c tranputil.c umount_fs.c xutil.c xdr_func.c wire.c \
5  
-util.c nfs_prot_xdr.c mtab.c mount_fs.c misc_rpc.c hasmntopt.c 
  3
+LIB=	amu
6 4
 
7  
-NOPROFILE=
8  
- 
  5
+MKLINKLIB=	no
  6
+
  7
+.include "${.CURDIR}/../Makefile.inc"
  8
+
  9
+DIST=	${IDIST}/libamu
  10
+.PATH:	${DIST} ${IDIST}/conf/mtab ${IDIST}/conf/transp ${IDIST}/conf/umount
  11
+
  12
+SRCS=	clnt_sperrno.c hasmntopt.c misc_rpc.c mount_fs.c mtab.c mtab_bsd.c \
  13
+	nfs_prot_xdr.c transp_sockets.c ualarm.c umount_bsd44.c util.c wire.c \
  14
+	xdr_func.c xutil.c
  15
+
  16
+# some host specific compile time settings amd wants to have compiled in
  17
+# XXX: will fail cross compilation
9 18
 config_local.h: mkconf
10 19
 	@rm -f ${.TARGET}
11 20
 	sh ${.ALLSRC} > ${.TARGET}
12 21
 
13  
-CLEANFILES+=config_local.h
  22
+CLEANFILES+=	config_local.h
14 23
 
15  
-install: __libinstall
16  
- 
17 24
 .include <bsd.lib.mk>
18  
- 
19  
-.if !defined(NOPIC)
20  
-__libinstall: ${DESTDIR}${LIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
21  
-.else
22  
-__libinstall:
23  
-.endif
24  
-
25  
-LDADD=
26  
-DPADD=
27  
-${OBJS}: config_local.h
  25
+
  26
+${SRCS}: config_local.h
3  usr.sbin/amd/libamu/mkconf
... ...
@@ -1,4 +1,5 @@
1  
-#	$NetBSD: mkconf,v 1.1.1.2 1999/09/04 22:25:00 christos Exp $
  1
+#	$NetBSD: mkconf,v 1.1.1.3 2000/11/20 00:16:18 wiz Exp $
  2
+#
2 3
 # mkconf
3 4
 # Generate local configuration parameters for amd
4 5
 #
2  usr.sbin/amd/libamu/shlib_version
... ...
@@ -1,2 +1,2 @@
1 1
 major=1
2  
-minor=0
  2
+minor=2
14  usr.sbin/amd/mk-amd-map/Makefile
... ...
@@ -1,7 +1,13 @@
1  
-#	$NetBSD: Makefile,v 1.1.1.2 1997/07/24 21:24:18 christos Exp $
  1
+#	$NetBSD: Makefile,v 1.1.1.3 2000/11/20 00:16:18 wiz Exp $
2 2
 
3  
-PROG= mk-amd-map
4  
-SRCS=	mk-amd-map.c 
5  
-MAN+= mk-amd-map.8
  3
+.include "${.CURDIR}/../Makefile.inc"
  4
+
  5
+PROG=	mk-amd-map
  6
+
  7
+DIST=	${IDIST}/mk-amd-map
  8
+.PATH:	${DIST}
  9
+
  10
+SRCS=	mk-amd-map.c
  11
+MAN+=	mk-amd-map.8
6 12
 
7 13
 .include <bsd.prog.mk>
24  usr.sbin/amd/pawd/Makefile
... ...
@@ -1,10 +1,18 @@
1  
-#	$NetBSD: Makefile,v 1.1.1.1 1998/08/08 22:05:39 christos Exp $
2  
-
3  
-PROG= pawd
4  
-SRCS=	pawd.c 
5  
-SRCS+= amq_clnt.c amq_xdr.c
6  
-MAN+= pawd.1
7  
-CFLAGS+=-I${.CURDIR}/../amq
8  
-.PATH.c: ${.CURDIR}/../amq
  1
+#	$NetBSD: Makefile,v 1.1.1.2 2000/11/20 00:16:18 wiz Exp $
  2
+
  3
+.include "${.CURDIR}/../Makefile.inc"
  4
+
  5
+BINDIR=	/usr/bin
  6
+
  7
+PROG=	pawd
  8
+
  9
+DIST=	${IDIST}/amq
  10
+.PATH:	${DIST}
  11
+
  12
+SRCS=	amq_clnt.c amq_xdr.c pawd.c
  13
+MAN+=	pawd.1
  14
+
  15
+CPPFLAGS+=	-I${DIST}
  16
+LDADD+=		${LIBAMU}
9 17
 
10 18
 .include <bsd.prog.mk>
16  usr.sbin/amd/wire-test/Makefile
... ...
@@ -1,7 +1,15 @@
1  
-#	$NetBSD: Makefile,v 1.1.1.1 1997/09/26 16:08:41 christos Exp $
  1
+#	$NetBSD: Makefile,v 1.1.1.2 2000/11/20 00:16:18 wiz Exp $
2 2
 
3  
-PROG= wire-test
4  
-SRCS=	wire-test.c 
5  
-MAN+= wire-test.8
  3
+.include "${.CURDIR}/../Makefile.inc"
  4
+
  5
+PROG=	wire-test
  6
+
  7
+DIST=	${IDIST}/wire-test
  8
+.PATH:	${DIST}
  9
+
  10
+SRCS=	wire-test.c
  11
+MAN+=	wire-test.8
  12
+
  13
+LDADD+=	${LIBAMU}
6 14
 
7 15
 .include <bsd.prog.mk>

0 notes on commit 43865c2

Please sign in to comment.
Something went wrong with that request. Please try again.