2
# Configuration stuff for nfs-utils
5
VERSION = nfs-utils @VERSION@
7
prefix = $(install_prefix)@prefix@
8
exec_prefix = $(install_prefix)@prefix@
12
STATEDIR = $(install_prefix)@statedir@
13
STATDUSER = @statduser@
15
##################################################################
16
# This is the prefix that will be used for nfsd and mountd. Leave this
17
# empty, or set to `k'.
20
# This define will turn NFSv3 support on or off one day. Not functional yet.
21
NFSV3 = @enable_nfsv3@
23
# Where and how to install manpages
37
################# END OF USER SERVICEABLE PARTS ##################
38
ALLTARGETS = all clean distclean install installman \
39
depend dep postscript indent
42
ARCH = $(shell uname -m)
43
FLAGS_alpha = -mno-fp-regs -ffixed-8
44
ARCHFLAGS = $(FLAGS_$(ARCH))
55
RPCGEN = $(TOP)bin/rpcgen
56
GETKVER = $(TOP)tools/getkversion
58
MAN2PS = groff -Tps -man
60
AFLAGS = -I$(TOP)support/include \
61
-Wall $(ARCHFLAGS) -pipe
63
AFLAGS += -I$(KERNEL_INCDIR)
66
ALL-CFLAGS = $(AFLAGS) $(CCOPTS) -DVERSION="\"$(VERSION)\""
68
CFLAGS = @CFLAGS@ $(ALL-CFLAGS)
69
CC_FOR_BUILD = @CC_FOR_BUILD@
70
CFLAGS_FOR_BUILD= -O2 $(ALL-CFLAGS)
74
CFLAGS = $(CFLAGS_FOR_BUILD)
77
LDFLAGS = @LDFLAGS@ $(LDOPTS) -L$(TOP)support/lib
80
CFLAGS += -DNFS3_SUPPORTED
85
INSTALLSCRIPT = $(INSTALL) -m 755
86
INSTALLBIN = $(INSTALL) -m 755 -s
87
INSTALLSUID = $(INSTALL) -m 4755 -s
88
INSTALLMOD = $(INSTALL) -m 600
89
INSTALLMAN = $(INSTALL) -m 644
90
MAN1DIR = $(MANDIR)/man$(MAN1EXT)
91
MAN5DIR = $(MANDIR)/man$(MAN5EXT)
92
MAN7DIR = $(MANDIR)/man$(MAN7EXT)
93
MAN8DIR = $(MANDIR)/man$(MAN8EXT)
94
MAN9DIR = $(MANDIR)/man$(MAN9EXT)