secureconfdir = $(SCONFIGDIR)
AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \
- -I$(top_srcdir)/modules/pammodutil/include/ \
-DCHKPWD_HELPER=\"$(sbindir)/unix_chkpwd\"
AM_LDFLAGS = -L$(top_builddir)/libpam -lpam @LIBCRYPT@ @LIBSELINUX@
endif
pam_unix_la_LDFLAGS = -no-undefined -avoid-version -module \
- -L$(top_builddir)/modules/pammodutil -lpammodutil \
@LIBCRACK@ @LIBNSL@
if HAVE_VERSIONING
- pam_unix_la_LDFLAGS += -Wl,--version-script=../modules.map
+ pam_unix_la_LDFLAGS += -Wl,--version-script=$(srcdir)/../modules.map
endif
securelib_LTLIBRARIES = pam_unix.la
yppasswd_xdr.c md5_good.c md5_broken.c
bigcrypt_SOURCES = bigcrypt.c bigcrypt_main.c
+bigcrypt_CFLAGS = $(AM_CFLAGS)
unix_chkpwd_SOURCES = unix_chkpwd.c md5_good.c md5_broken.c bigcrypt.c
+unix_chkpwd_CFLAGS = $(AM_CFLAGS)