blob: 349e0499e5f0701815d18c860335dd242a41feb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
SUBDIRS = po
pipepath=@pipepath@
localedir = @localedir@
topdir=.
AM_CPPFLAGS = \
-I$(topdir) \
-DLOCALEDIR=\"$(localedir)\" \
-DSSS_NSS_SOCKET_NAME=\"$(pipepath)/nss\" \
-DSSS_PAM_SOCKET_NAME=\"$(pipepath)/pam\" \
-DSSS_PAM_PRIV_SOCKET_NAME=\"$(pipepath)/private/pam\"
ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS =
if WANT_AUX_INFO
AM_CFLAGS += -aux-info $@.X
endif
if HAVE_GCC
AM_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \
-Wcast-qual -Wcast-align -Wwrite-strings
endif
nsslibdir = @nsslibdir@
pamlibdir = $(nsslibdir)/security
nsslib_LTLIBRARIES = libnss_sss.la
pamlib_LTLIBRARIES = pam_sss.la
libnss_sss_la_SOURCES = \
common.c \
passwd.c \
group.c \
sss_cli.h
libnss_sss_la_LDFLAGS = \
-module \
-avoid-version \
-Wl,--version-script,$(srcdir)/sss_nss.exports
pam_sss_la_SOURCES = \
pam_sss.c \
common.c \
sss_cli.h \
sss_pam_macros.h
pam_sss_la_LDFLAGS = \
-lpam \
-lpam_misc \
-module \
-avoid-version \
-Wl,--version-script,$(srcdir)/sss_pam.exports
noinst_PROGRAMS = pam_test_client
pam_test_client_SOURCES = pam_test_client.c
pam_test_client_LDFLAGS = -lpam -lpam_misc
EXTRA_DIST = build/config.rpath
dist_noinst_DATA = \
sss_nss.exports \
sss_pam.exports \
m4
install-data-hook:
mv $(DESTDIR)/$(nsslibdir)/libnss_sss.so $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2
CLEANFILES = *.X
tests: all $(check_PROGRAMS)
|