mirror of
https://github.com/linux-pam/linux-pam.git
synced 2024-12-01 05:34:01 +08:00
67aab1ff55
Purpose of commit: new feature Commit summary: --------------- Add SELinux support, based on Patch from Red Hat
126 lines
2.6 KiB
Plaintext
126 lines
2.6 KiB
Plaintext
##
|
|
## $Id$
|
|
##
|
|
## @configure_input@
|
|
##
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
libexecdir = @libexecdir@
|
|
datadir = @datadir@
|
|
sysconfdir = @sysconfdir@
|
|
sharedstatedir = @sharedstatedir@
|
|
localstatedir = @localstatedir@
|
|
libdir = @libdir@
|
|
infodir = @infodir@
|
|
includedir = @includedir@
|
|
mandir = @mandir@
|
|
|
|
absolute_srcdir = @LOCALSRCDIR@
|
|
absolute_objdir = @LOCALOBJDIR@
|
|
|
|
# major and minor numbers of this release
|
|
MAJOR_REL=@LIBPAM_VERSION_MAJOR@
|
|
MINOR_REL=@LIBPAM_VERSION_MINOR@
|
|
|
|
# The following is the generic set of compiler options for compiling
|
|
# Linux-PAM. True, they are a little anal. Pay attention to the comments
|
|
# they generate.
|
|
|
|
HEADER_DIRS=-I./include -I$(absolute_srcdir)/libpam/include \
|
|
-I$(absolute_objdir) -I$(absolute_srcdir)/libpamc/include
|
|
WARNINGS=@WARNINGS@
|
|
OS_CFLAGS=@OS_CFLAGS@
|
|
PIC=@PIC@
|
|
|
|
# Mode to install shared libraries with
|
|
SHLIBMODE=@SHLIBMODE@
|
|
# Mode to install man pages with
|
|
MANMODE=@MANMODE@
|
|
|
|
NEED_LINK_LIB_C=@PAM_NEEDS_LIBC@
|
|
HAVE_LCKPWDF=@HAVE_LCKPWDF@
|
|
HAVE_LIBCRACK=@HAVE_LIBCRACK@
|
|
HAVE_LIBCAP=@HAVE_LIBCAP@
|
|
HAVE_LIBCRYPT=@HAVE_LIBCRYPT@
|
|
HAVE_LIBUTIL=@HAVE_LIBUTIL@
|
|
HAVE_NDBM_H=@HAVE_NDBM_H@
|
|
HAVE_LIBNDBM=@HAVE_LIBNDBM@
|
|
HAVE_LIBDB=@HAVE_LIBDB@
|
|
HAVE_LIBFL=@HAVE_LIBFL@
|
|
HAVE_LIBNSL=@HAVE_LIBNSL@
|
|
HAVE_LIBPWDB=@HAVE_LIBPWDB@
|
|
HAVE_LIBSELINUX=@HAVE_LIBSELINUX@
|
|
|
|
ifeq (@HAVE_LIBFLEX@,yes)
|
|
LINK_LIBLEX=-lfl
|
|
else
|
|
ifeq (@HAVE_LIBLEX@,yes)
|
|
LINK_LIBLEX=-ll
|
|
endif
|
|
endif
|
|
|
|
# documentation support
|
|
HAVE_SGML2TXT=@HAVE_SGML2TXT@
|
|
HAVE_SGML2HTML=@HAVE_SGML2HTML@
|
|
HAVE_PS2PDF=@HAVE_PS2PDF@
|
|
PSER=@PSER@
|
|
DOCDIR=@DOCDIR@
|
|
MANDIR=@MANDIR@
|
|
|
|
# configuration settings
|
|
WITH_DEBUG=@WITH_DEBUG@
|
|
WITH_MEMORY_DEBUG=@WITH_MEMORY_DEBUG@
|
|
WITH_LIBDEBUG=@WITH_LIBDEBUG@
|
|
WITH_PRELUDE=@WITH_PRELUDE@
|
|
WITH_PAMLOCKING=@WITH_PAMLOCKING@
|
|
WITH_LCKPWDF=@WITH_LCKPWDF@
|
|
STATIC_LIBPAM=@STATIC_LIBPAM@
|
|
DYNAMIC_LIBPAM=@DYNAMIC_LIBPAM@
|
|
STATIC=@STATIC@
|
|
DYNAMIC=@DYNAMIC@
|
|
|
|
# Location of libraries when installed on the system
|
|
FAKEROOT=@FAKEROOT@
|
|
SECUREDIR=@SECUREDIR@
|
|
SCONFIGD=@SCONFIGDIR@
|
|
SUPLEMENTED=@SUPLEMENTED@
|
|
INCLUDED=@INCLUDEDIR@/security
|
|
CRACKLIB_DICTPATH=@CRACKLIB_DICTPATH@
|
|
|
|
# generic build setup
|
|
OS=@OS@
|
|
CC=@CC@
|
|
CFLAGS=$(WARNINGS) -D$(OS) @CFLAGS@ @CPPFLAGS@ $(OS_CFLAGS) $(HEADER_DIRS) @CONF_CFLAGS@
|
|
LDFLAGS=@LDFLAGS@
|
|
LD=@LD@
|
|
LD_D=@LD_D@
|
|
LD_L=@LD_L@
|
|
MV=@MV@
|
|
LDCONFIG=@LDCONFIG@
|
|
DYNTYPE=@DYNTYPE@
|
|
USESONAME=@USESONAME@
|
|
NEEDSONAME=@NEEDSONAME@
|
|
SOSWITCH=@SOSWITCH@
|
|
LIBDL=@LIBDL@
|
|
MKDIR=@MKDIR@
|
|
INSTALL=@INSTALL@
|
|
RANLIB=@RANLIB@
|
|
STRIP=@STRIP@
|
|
CC_STATIC=@CC_STATIC@
|
|
|
|
LINKLIBS = $(NEED_LINK_LIB_C) $(LIBDL)
|
|
|
|
USESONAME=@USESONAME@
|
|
SOSWITCH=@SOSWITCH@
|
|
|
|
ifdef DYNAMIC
|
|
CFLAGS += $(PIC)
|
|
endif
|