~ubuntu-branches/ubuntu/hardy/nfs-utils/hardy-updates

« back to all changes in this revision

Viewing changes to config.mk.in

  • Committer: Bazaar Package Importer
  • Author(s): Nathaniel McCallum
  • Date: 2004-09-10 13:10:39 UTC
  • Revision ID: james.westby@ubuntu.com-20040910131039-qxfjx4pwgoz6imbv
Tags: upstream-1.0.6
ImportĀ upstreamĀ versionĀ 1.0.6

Show diffs side-by-side

added added

removed removed

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