Lines 1-3
Link Here
|
|
|
1 |
SYSLIBDIR=/lib |
2 |
|
1 |
if AIX |
3 |
if AIX |
2 |
authmod = NSS_LDAP |
4 |
authmod = NSS_LDAP |
3 |
else |
5 |
else |
Lines 38-47
Link Here
|
38 |
#INCLUDES = -I$(top_builddir) -I$(srcdir) |
40 |
#INCLUDES = -I$(top_builddir) -I$(srcdir) |
39 |
|
41 |
|
40 |
if GLIBC |
42 |
if GLIBC |
41 |
LIBC_VERS = `ls /lib/libc-*.so | tail -n 1 |sed -e 's/\/lib\/libc-\(.*\)\.so/\1/'` |
43 |
LIBC_VERS = `ls $(SYSLIBDIR)/libc-*.so | tail -n 1 | sed -e "s@$(SYSLIBDIR)/libc-\(.*\)\.so@\1@"` |
42 |
NSS_LDAP_LIBC_VERSIONED = libnss_ldap-$(LIBC_VERS).so |
44 |
NSS_LDAP_LIBC_VERSIONED = libnss_ldap-$(LIBC_VERS).so |
43 |
|
45 |
|
44 |
NSS_VERS = $(shell ls /lib/libnss_files.so.? | tail -n 1 | sed -e 's/\/lib\/libnss_files\.so\.\(.*\)/\1/') |
46 |
NSS_VERS = $(shell ls $(SYSLIBDIR)/libnss_files.so.? | tail -n 1 | sed -e "s@$(SYSLIBDIR)/libnss_files\.so\.\(.*\)@\1@") |
45 |
NSS_LDAP_NSS_VERSIONED = libnss_ldap.so.$(NSS_VERS) |
47 |
NSS_LDAP_NSS_VERSIONED = libnss_ldap.so.$(NSS_VERS) |
46 |
endif |
48 |
endif |
47 |
|
49 |
|