summaryrefslogtreecommitdiffstats
path: root/pam_lastlog2/src/Makemodule.am
blob: 988441676f713c09ed49301e8ffa6fddf16d1998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
securelibdir = $(libdir)/security
securelib_LTLIBRARIES = pam_lastlog2.la

pam_lastlog2_la_SOURCES = \
	pam_lastlog2/src/pam_lastlog2.c

EXTRA_pam_lastlog2_la_DEPENDENCIES = \
	pam_lastlog2/src/pam_lastlog2.sym

pam_lastlog2_la_CFLAGS = \
	$(AM_CFLAGS) \
	 $(SOLIB_CFLAGS) \
	 -I$(ul_liblastlog2_incdir) \
	 -Iliblastlog2/src

pam_lastlog2_la_LDFLAGS = $(SOLIB_LDFLAGS) -module -avoid-version -shared
if HAVE_VSCRIPT
pam_lastlog2_la_LDFLAGS += pam_lastlog2_la_LDFLAGS += $(VSCRIPT_LDFLAGS),$(top_srcdir)/pam_lastlog2/src/pam_lastlog2.sym
endif

EXTRA_DIST += pam_lastlog2/src/pam_lastlog2.sym