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