summaryrefslogtreecommitdiff
path: root/sss_client/Makefile.am
blob: 6347eab9fcc0db2282c379d57d50148c21abfd75 (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
topdir=.
AM_CPPFLAGS = -I$(topdir)
ACLOCAL_AMFLAGS = -I m4

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 \
    -version-info 2:0:0

pam_sss_la_SOURCES = \
    pam_sss.c \
    common.c \
    sss_cli.h

pam_sss_la_CFLAGS = \
    -Wall \
    -Werror
pam_sss_la_LDFLAGS = \
    -lpam \
    -lpam_misc \
    -module \
    -version-info 1:0:0

noinst_PROGRAMS = pam_test_client
pam_test_client_SOURCES = pam_test_client.c
pam_test_client_LDFLAGS = -lpam -lpam_misc