Merge from vendor branch DIFFUTILS:
[dragonfly.git] / contrib / libpam / defs / solaris-2.1.5.defs
1 ##
2 #  Solaris defs contributed by Josh Wilmes <josh@makita.jpl.nasa.gov>
3 ##
4 # this file indicates the compiler and the various hardware/OS dependent
5 # flags for installation. It also defines the various destinations of
6 # installed files on the system.
7 #
8 # This file is the default version. Please look in .../defs/ for your
9 # preferred OS/vendor.
10
11 # Please note that the linker used must be the GNU ld, not the native Sun
12 # linker.  It is fairly common for the gnu linker (/usr/ccs/bin/ld) to be
13 # configured as the default linker for gcc.  To tell gcc to use the
14 # gnu linker, you need to set the GCC_EXEC_PREFIX environment variable
15 # to point at the directory where the gnu linker is installed.  Here's
16 # what I do:
17 # $ mkdir /tmp/foo
18 # $ ln -s /path/to/gnu/ld /tmp/foo/ld
19 # $ export GCC_EXEC_PREFIX=/tmp/foo/
20 # $ export PATH=/tmp/foo:$PATH
21
22 OS=solaris
23 ARCH=sun
24 CC=gcc
25 INSTALL=install
26 MKDIR=mkdir -p
27 CFLAGS=-O7 -pipe -g -D__EXTENSIONS__ -Dsolaris
28 ULIBS=
29 LD_D=gcc -shared -Xlinker -x  
30 LD=ld                                      
31 LD_L=$(LD) -G
32 USESONAME=yes
33 SOSWITCH=-h
34 NEEDSONAME=no
35 LDCONFIG=/sbin/echo
36 AR=ar -cr
37 RANLIB=ranlib
38 FAKEROOT=
39 PREFIX=/usr
40 SUPLEMENTED=$(PREFIX)/sbin
41 LIBDIR=$(PREFIX)/lib
42 SECUREDIR=$(LIBDIR)/security
43 INCLUDED=/usr/include/security
44 CONFIGED=/etc
45 SCONFIGED=/etc/security