summaryrefslogtreecommitdiff
path: root/Linux-PAM/defs/redhat.defs
diff options
context:
space:
mode:
Diffstat (limited to 'Linux-PAM/defs/redhat.defs')
-rw-r--r--Linux-PAM/defs/redhat.defs36
1 files changed, 36 insertions, 0 deletions
diff --git a/Linux-PAM/defs/redhat.defs b/Linux-PAM/defs/redhat.defs
new file mode 100644
index 00000000..a6ed36da
--- /dev/null
+++ b/Linux-PAM/defs/redhat.defs
@@ -0,0 +1,36 @@
+##
+# defs for Red Hat Linux
+# Michael K. Johnson <johnsonm@redhat.com>
+##
+# this file indicates the compiler and the various hardware/OS dependent
+# flags for installation. It also defines the various destinations of
+# installed files on the system.
+#
+# This file is the version used for Red Hat Linux.
+
+OS=linux
+ARCH=$(shell rpm --showrc | grep '^build arch' | sed 's/^.*: //g')
+CC=gcc
+INSTALL=install
+MKDIR=mkdir -p
+CFLAGS=$(RPM_OPT_FLAGS) -pipe -g
+ULIBS=#-lefence
+LD=ld
+LD_D=gcc -shared -Xlinker -x
+LD_L=$(LD) -x -shared
+USESONAME=yes
+SOSWITCH=-soname
+LINKLIBS=-lc
+NEEDSONAME=no
+LDCONFIG=/sbin/ldconfig
+AR=ar -cr
+RANLIB=ranlib
+FAKEROOT=$(RPM_BUILD_ROOT)
+PREFIX=
+SUPLEMENTED=$(PREFIX)/sbin
+LIBDIR=$(PREFIX)/lib
+SECUREDIR=$(LIBDIR)/security
+INCLUDED=/usr/include/security
+CONFIGED=/etc
+SCONFIGED=/etc/security
+EXTRALS=-lcrypt