]> granicus.if.org Git - linux-pam/blobdiff - modules/pam_unix/Makefile.am
Relevant BUGIDs:
[linux-pam] / modules / pam_unix / Makefile.am
index 47deb5039b7f6c11aa7b83590754c106100e8a27..fe884e77268275f1cb317f277bc5829e962db163 100644 (file)
@@ -12,7 +12,6 @@ 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)/unix_chkpwd\"
 
 AM_LDFLAGS = -L$(top_builddir)/libpam -lpam @LIBCRYPT@ @LIBSELINUX@
@@ -25,10 +24,9 @@ if HAVE_LIBCRACK
 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
@@ -44,5 +42,7 @@ pam_unix_la_SOURCES = bigcrypt.c pam_unix_acct.c \
        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)