-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
49 lines (42 loc) · 1.37 KB
/
Makefile.am
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
ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS = -Wall -Wextra \
-Wbad-function-cast \
-Wcast-align \
-Wcast-qual \
-Wconversion \
-Wformat-nonliteral \
-Wformat-security \
-Winit-self \
-Wmissing-declarations \
-Wmissing-include-dirs \
-Wmissing-format-attribute \
-Wmissing-prototypes \
-Wnested-externs \
-Wpointer-arith \
-Wredundant-decls \
-Wshadow \
-Wstrict-prototypes \
-Wwrite-strings \
-Wundef \
-Wunused \
-Wno-unused-parameter \
-Wno-format-zero-length \
-Wno-format-y2k
AM_LDFLAGS = -no-install
libdir = $(PAMDIR)
noinst_LTLIBRARIES = libyubisql.la
libyubisql_la_SOURCES = aes.c otp.c sql.c util.c
libyubisql_la_CFLAGS = @OPENSSL_CFLAGS@ @SQLITE_CFLAGS@ $(AM_CFLAGS)
libyubisql_la_LIBADD = @OPENSSL_LIBS@ @SQLITE_LIBS@
bin_PROGRAMS = check_OTP
sbin_PROGRAMS = manage_OTP
check_OTP_SOURCES = check_OTP.c
check_OTP_LDADD = libyubisql.la
manage_OTP_SOURCES = manage_OTP.c
manage_OTP_CFLAGS = @OPENSSL_CFLAGS@ @SQLITE_CFLAGS@ $(AM_CFLAGS)
manage_OTP_LDADD = libyubisql.la
lib_LTLIBRARIES = pam_yubisql.la
pam_yubisql_la_SOURCES = pam_yubisql.c
pam_yubisql_la_CFLAGS = $(AM_CFLAGS) -Wno-cast-qual -DINSTALL_BIN_DIR='"$(bindir)"'
pam_yubisql_la_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version
pam_yubisql_la_LIBADD = -lpam