aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.rules
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules41
1 files changed, 6 insertions, 35 deletions
diff --git a/Makefile.rules b/Makefile.rules
index d1fe66e..99c9cce 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -4,32 +4,12 @@
# Makefile rules for autofs project
#
-# -------------------------------------------------------------------------- #
-# CHECK HERE TO MAKE SURE YOU HAVE ALL THE CORRECT OPTIONS SET #
-# -------------------------------------------------------------------------- #
-
-# Special parameters for glibc.
-# If you're compiling for glibc (libc 6), uncomment these.
-#LIBNSL = -lnsl
-#LIBRESOLV = -lresolv
-
-# Uncomment these to build hesiod support. HESIOD should point to the
-# hesiod base directory.
-#HESIOD =/usr/athena
-#HESIOD_LIBS = -L$(HESIOD)/lib -lhesiod $(LIBRESOLV)
-
-# Uncomment this to build NIS+ support.
-#NISPLUS=1
-
-# -------------------------------------------------------------------------- #
-# YOU PROBABLY DON'T HAVE TO SET ANY OPTIONS BELOW THIS POINT #
-# -------------------------------------------------------------------------- #
-
# Root directory contents
SUBDIRS = daemon modules man
INCDIRS = include samples
INCFILES = COPYING COPYRIGHT NEWS README TODO Makefile Makefile.rules \
- .version
+ Makefile.conf.in .version .autofs-* configure.in aclocal.m4 \
+ configure
# Compilers, linkers and flags
# The STRIP defined here *must not* remove any dynamic-loading symbols
@@ -50,19 +30,6 @@ CXXFLAGS = $(CFLAGS)
LD = ld
SOLDFLAGS = -shared
-# Directory for autofs modules
-autofslibdir = $(DESTDIR)/usr/lib/autofs
-
-# Directory to install modules
-moddir = $(DESTDIR)/lib/modules/`uname -r`
-fsmoddir = $(moddir)/fs
-
-# Where to install the automount program
-sbindir = $(DESTDIR)/usr/sbin
-
-# Where to install man pages
-mandir = $(DESTDIR)/usr/man
-
# Kernel compilation rules (this is for "make kernel" to work; not needed
# if you're compiling the autofs kernel code as a part of the kernel itself.
# For "make kernel" to work you need the kernel code to be in the "kernel"
@@ -75,6 +42,10 @@ KINCLUDE = /usr/src/linux/include
# 3. Comment this out if you do *not* use versioned modules
MODFLAGS = -DMODVERSIONS -include $(KINCLUDE)/linux/modversions.h
+# Directory to install modules
+moddir = $(INSTALLROOT)/lib/modules/`uname -r`
+fsmoddir = $(moddir)/fs
+
# Standard rules
.SUFFIXES: .c .o .s .so