]> granicus.if.org Git - linux-pam/blob - Make.Rules.in
Relevant BUGIDs: 476981
[linux-pam] / Make.Rules.in
1 ##
2 ## $Id$
3 ##
4 ## @configure_input@
5 ##
6
7 srcdir = @srcdir@
8 top_srcdir = @top_srcdir@
9 VPATH = @srcdir@
10 prefix = @prefix@
11 exec_prefix = @exec_prefix@
12
13 bindir = @bindir@
14 sbindir = @sbindir@
15 libexecdir = @libexecdir@
16 datadir = @datadir@
17 sysconfdir = @sysconfdir@
18 sharedstatedir = @sharedstatedir@
19 localstatedir = @localstatedir@
20 libdir = @libdir@
21 infodir = @infodir@
22 includedir = @includedir@
23
24 absolute_srcdir = @LOCALSRCDIR@
25
26 # major and minor numbers of this release
27 MAJOR_REL=@LIBPAM_VERSION_MAJOR@
28 MINOR_REL=@LIBPAM_VERSION_MINOR@
29
30 # The following is the generic set of compiler options for compiling
31 # Linux-PAM. True, they are a little anal. Pay attention to the comments
32 # they generate.
33
34 HEADER_DIRS=-I./include -I$(absolute_srcdir)/libpam/include \
35         -I$(absolute_srcdir) -I$(absolute_srcdir)/libpamc/include
36 WARNINGS=@WARNINGS@
37 OS_CFLAGS=@OS_CFLAGS@
38 PIC=@PIC@
39
40 # Mode to install shared libraries with
41 SHLIBMODE=@SHLIBMODE@
42
43 NEED_LINK_LIB_C=@PAM_NEEDS_LIBC@
44 HAVE_LCKPWDF=@HAVE_LCKPWDF@
45 HAVE_LIBCRACK=@HAVE_LIBCRACK@
46 HAVE_LIBCRYPT=@HAVE_LIBCRYPT@
47 HAVE_LIBUTIL=@HAVE_LIBUTIL@
48 HAVE_NDBM_H=@HAVE_NDBM_H@
49 HAVE_LIBNDBM=@HAVE_LIBNDBM@
50 HAVE_LIBDB=@HAVE_LIBDB@
51 HAVE_LIBFL=@HAVE_LIBFL@
52 HAVE_LIBNSL=@HAVE_LIBNSL@
53 HAVE_LIBPWDB=@HAVE_LIBPWDB@
54
55 # documentation support
56 HAVE_SGML2TXT=@HAVE_SGML2TXT@
57 HAVE_SGML2HTML=@HAVE_SGML2HTML@
58 PSER=@PSER@
59 DOCDIR=@DOCDIR@
60 MANDIR=@MANDIR@
61
62 # configuration settings
63 WITH_DEBUG=@WITH_DEBUG@
64 WITH_MEMORY_DEBUG=@WITH_MEMORY_DEBUG@
65 WITH_LIBDEBUG=@WITH_LIBDEBUG@
66 WITH_PAMLOCKING=@WITH_PAMLOCKING@
67 WITH_LCKPWDF=@WITH_LCKPWDF@
68 STATIC_LIBPAM=@STATIC_LIBPAM@
69 DYNAMIC_LIBPAM=@DYNAMIC_LIBPAM@
70 STATIC=@STATIC@
71 DYNAMIC=@DYNAMIC@
72
73 # Location of libraries when installed on the system
74 FAKEROOT=@FAKEROOT@
75 SECUREDIR=@SECUREDIR@
76 SCONFIGD=@SCONFIGDIR@
77 SUPLEMENTED=@SUPLEMENTED@
78 INCLUDED=@INCLUDEDIR@/security
79 CRACKLIB_DICTPATH=@CRACKLIB_DICTPATH@
80
81 # generic build setup
82 OS=@OS@
83 CC=@CC@
84 CFLAGS=$(WARNINGS) -D$(OS) $(OS_CFLAGS) $(HEADER_DIRS) @CONF_CFLAGS@
85 LD=@LD@
86 LD_D=@LD_D@
87 LD_L=@LD_L@
88 LDCONFIG=@LDCONFIG@
89 DYNTYPE=@DYNTYPE@
90 USESONAME=@USESONAME@
91 NEEDSONAME=@NEEDSONAME@
92 SOSWITCH=@SOSWITCH@
93 LIBDL=@LIBDL@
94 MKDIR=@MKDIR@
95 INSTALL=@INSTALL@
96 RANLIB=@RANLIB@
97 STRIP=@STRIP@
98 CC_STATIC=@CC_STATIC@
99
100 LINKLIBS = $(NEED_LINK_LIB_C) $(LIBDL)