]> granicus.if.org Git - linux-pam/blob - defs/solaris.defs
Relevant BUGIDs: 424060
[linux-pam] / defs / solaris.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=cc
25 INSTALL=install
26 MKDIR=mkdir -p
27 WARNINGS = -D_POSIX_SOURCE 
28 PIC=-KPIC
29 CFLAGS=-g -D__EXTENSIONS__ -Dsolaris
30 ULIBS=
31 LD=ld                                      
32 LD_L=$(LD) -G 
33 LD_D=$(LD_L)
34 RDYNAMIC=
35 USESONAME=yes
36 SOSWITCH=-h
37 NEEDSONAME=no
38 LDCONFIG=echo
39 AR=ar -cr
40 RANLIB=ranlib
41 FAKEROOT=
42 PREFIX=/usr
43 SUPLEMENTED=$(PREFIX)/sbin
44 LIBDIR=$(PREFIX)/lib
45 SECUREDIR=$(LIBDIR)/security
46 INCLUDED=/usr/include/security
47 CONFIGED=/etc
48 SCONFIGED=/etc/security