1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
#
# Configuration stuff for nfs-utils
#
VERSION = nfs-utils @VERSION@
prefix = $(install_prefix)@prefix@
exec_prefix = $(install_prefix)@prefix@
BINDIR = @bindir@
SBINDIR = @sbindir@
MANDIR = @mandir@
STATEDIR = $(install_prefix)@statedir@
STATDUSER = @statduser@
##################################################################
# This is the prefix that will be used for nfsd and mountd. Leave this
# empty, or set to `k'.
KPREFIX = @kprefix@
# This define will turn NFSv3 support on or off one day. Not functional yet.
NFSV3 = @enable_nfsv3@
# Where and how to install manpages
MAN1EXT = 1
MAN5EXT = 5
MAN7EXT = 7
MAN8EXT = 8
MAN9EXT = 9
MANOWNER = root
MANGROUP = root
# Various libs
LIBBSD = @LIBBSD@
LIBNSL = @LIBNSL@
LIBWRAP = @LIBWRAP@
################# END OF USER SERVICEABLE PARTS ##################
ALLTARGETS = all clean distclean install installman \
depend dep postscript indent
ifndef ARCHFLAGS
ARCH = $(shell uname -m)
FLAGS_alpha = -mno-fp-regs -ffixed-8
ARCHFLAGS = $(FLAGS_$(ARCH))
.EXPORT: ARCHFLAGS
endif
AR = @AR@
LD = @LD@
RM = rm -f
MKDIR = mkdir -p
LN_S = ln -sf
RANLIB = @RANLIB@
INDENT = indent
RPCGEN = $(TOP)bin/rpcgen
GETKVER = $(TOP)tools/getkversion
INSTALL = install
MAN2PS = groff -Tps -man
AFLAGS = -I$(TOP)support/include \
-Wall $(ARCHFLAGS) -pipe
ifdef KERNEL_INCDIR
AFLAGS += -I$(KERNEL_INCDIR)
endif
ALL-CFLAGS = $(AFLAGS) $(CCOPTS) -DVERSION="\"$(VERSION)\""
CC = @CC@
CFLAGS = @CFLAGS@ $(ALL-CFLAGS)
CC_FOR_BUILD = @CC_FOR_BUILD@
CFLAGS_FOR_BUILD= -O2 $(ALL-CFLAGS)
ifdef BUILD
CC = $(CC_FOR_BUILD)
CFLAGS = $(CFLAGS_FOR_BUILD)
endif
LDFLAGS = @LDFLAGS@ $(LDOPTS) -L$(TOP)support/lib
ifdef NFSV3
CFLAGS += -DNFS3_SUPPORTED
endif
k = $(KPREFIX)
INSTALLSCRIPT = $(INSTALL) -m 755
INSTALLBIN = $(INSTALL) -m 755 -s
INSTALLSUID = $(INSTALL) -m 4755 -s
INSTALLMOD = $(INSTALL) -m 600
INSTALLMAN = $(INSTALL) -m 644
MAN1DIR = $(MANDIR)/man$(MAN1EXT)
MAN5DIR = $(MANDIR)/man$(MAN5EXT)
MAN7DIR = $(MANDIR)/man$(MAN7EXT)
MAN8DIR = $(MANDIR)/man$(MAN8EXT)
MAN9DIR = $(MANDIR)/man$(MAN9EXT)
|