With this, it is possible for Linux distributors to store their supplied default configuration files somewhere below /usr, while /etc only contains the changes made by the user. The new option --enable-vendordir defines where the shadow suite should additional look for login.defs if this file is not in /etc. libeconf is a key/value configuration file reading library, which handles the split of configuration files in different locations and merges them transparently for the application.
		
			
				
	
	
		
			76 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			76 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
 | 
						|
AUTOMAKE_OPTIONS = 1.0 foreign
 | 
						|
 | 
						|
DEFS = 
 | 
						|
 | 
						|
noinst_LTLIBRARIES = libshadow.la
 | 
						|
 | 
						|
libshadow_la_LDFLAGS = -version-info 0:0:0
 | 
						|
libshadow_la_CPPFLAGS = $(ECONF_CPPFLAGS)
 | 
						|
if HAVE_VENDORDIR
 | 
						|
libshadow_la_CPPFLAGS += -DVENDORDIR=\"$(VENDORDIR)\"
 | 
						|
endif
 | 
						|
 | 
						|
libshadow_la_SOURCES = \
 | 
						|
	commonio.c \
 | 
						|
	commonio.h \
 | 
						|
	defines.h \
 | 
						|
	encrypt.c \
 | 
						|
	exitcodes.h \
 | 
						|
	faillog.h \
 | 
						|
	fields.c \
 | 
						|
	fputsx.c \
 | 
						|
	getdef.c \
 | 
						|
	getdef.h \
 | 
						|
	get_gid.c \
 | 
						|
	getlong.c \
 | 
						|
	get_pid.c \
 | 
						|
	get_uid.c \
 | 
						|
	getulong.c \
 | 
						|
	groupio.c \
 | 
						|
	groupmem.c \
 | 
						|
	groupio.h \
 | 
						|
	gshadow.c \
 | 
						|
	lockpw.c \
 | 
						|
	nscd.c \
 | 
						|
	nscd.h \
 | 
						|
	sssd.c \
 | 
						|
	sssd.h \
 | 
						|
	pam_defs.h \
 | 
						|
	port.c \
 | 
						|
	port.h \
 | 
						|
	prototypes.h \
 | 
						|
	pwauth.c \
 | 
						|
	pwauth.h \
 | 
						|
	pwio.c \
 | 
						|
	pwio.h \
 | 
						|
	pwmem.c \
 | 
						|
	subordinateio.h \
 | 
						|
	subordinateio.c \
 | 
						|
	selinux.c \
 | 
						|
	semanage.c \
 | 
						|
	sgetgrent.c \
 | 
						|
	sgetpwent.c \
 | 
						|
	sgetspent.c \
 | 
						|
	sgroupio.c \
 | 
						|
	sgroupio.h\
 | 
						|
	shadow.c \
 | 
						|
	shadowio.c \
 | 
						|
	shadowio.h \
 | 
						|
	shadowmem.c \
 | 
						|
	spawn.c \
 | 
						|
	utent.c
 | 
						|
 | 
						|
if WITH_TCB
 | 
						|
libshadow_la_SOURCES += tcbfuncs.c tcbfuncs.h
 | 
						|
endif
 | 
						|
 | 
						|
# These files are unneeded for some reason, listed in
 | 
						|
# order of appearance:
 | 
						|
#
 | 
						|
# sources for dbm support (not yet used)
 | 
						|
 | 
						|
EXTRA_DIST = \
 | 
						|
	.indent.pro \
 | 
						|
	gshadow_.h
 |