summaryrefslogtreecommitdiff
path: root/modules/pam_pwdb/Makefile.am
blob: 559b21209843bdf6fe338b4a4879fbe7e4ecfd00 (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
#
# Copyright (c) 2005 Thorsten Kukuk <kukuk@suse.de>
#

CLEANFILES = *~

EXTRA_DIST = TODO README md5.c md5_crypt.c bigcrypt.-c pam_unix_acct.-c \
	pam_unix_auth.-c pam_unix_md.-c pam_unix_passwd.-c \
	pam_unix_pwupd.-c pam_unix_sess.-c support.-c BUGS CHANGELOG

noinst_HEADERS = md5.h

securelibdir = $(SECUREDIR)
secureconfdir = $(SCONFIGDIR)

AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \
	-I$(top_srcdir)/modules/pammodutil/include/ \
	-DCHKPWD_HELPER=\"$(sbindir)/$(CHKPWD)\"
AM_LDFLAGS = -no-undefined -avoid-version -module \
	$(top_builddir)/modules/pammodutil/libpammodutil.la \
	-L$(top_builddir)/libpam -lpam @LIBCRYPT@ @LIBPWDB@
if HAVE_VERSIONING
  AM_LDFLAGS += -Wl,--version-script=../modules.map
endif

if HAVE_LIBPWDB
  securelib_LTLIBRARIES = pam_pwdb.la
  sbin_BINARIES = pwdb_chkpwd
endif

pam_pwdb_la_SOURCES = md5_good.c md5_broken.c pam_pwdb.c
pwdb_checkpwd = md5_good.c md5_broken.c pwdb_chkpwd.c