diff options
Diffstat (limited to 'xtests')
-rw-r--r-- | xtests/Makefile.am | 10 | ||||
-rw-r--r-- | xtests/tst-pam_dispatch1.c | 3 | ||||
-rw-r--r-- | xtests/tst-pam_dispatch2.c | 3 | ||||
-rw-r--r-- | xtests/tst-pam_dispatch3.c | 3 |
4 files changed, 10 insertions, 9 deletions
diff --git a/xtests/Makefile.am b/xtests/Makefile.am index 622e3e59..549ef8c9 100644 --- a/xtests/Makefile.am +++ b/xtests/Makefile.am @@ -2,8 +2,10 @@ # Copyright (c) 2006 Thorsten Kukuk <kukuk@suse.de> # -AM_CFLAGS = -DLIBPAM_COMPILE -I$(top_srcdir)/libpam/include -AM_LDFLAGS = -L$(top_builddir)/libpam -lpam +AM_CFLAGS = -DLIBPAM_COMPILE -I$(top_srcdir)/libpam/include \ + -I$(top_srcdir)/libpamc/include -I$(top_srcdir)/libpam_misc/include +AM_LDFLAGS = -L$(top_builddir)/libpam -lpam \ + -L$(top_builddir)/libpam_misc -lpam_misc CLEANFILES = *~ @@ -14,10 +16,6 @@ XTESTS = tst-pam_dispatch1 tst-pam_dispatch2 tst-pam_dispatch3 noinst_PROGRAMS = $(XTESTS) -tst_pam_dispatch1_LDADD = -L$(top_builddir)/libpam -lpam -ldl -L$(top_builddir)/libpam_misc -lpam_misc -tst_pam_dispatch2_LDADD = -L$(top_builddir)/libpam -lpam -ldl -L$(top_builddir)/libpam_misc -lpam_misc -tst_pam_dispatch3_LDADD = -L$(top_builddir)/libpam -lpam -ldl -L$(top_builddir)/libpam_misc -lpam_misc - xtests: $(XTESTS) @failed=0; pass=0; all=0; \ for testname in $(XTESTS) ; do \ diff --git a/xtests/tst-pam_dispatch1.c b/xtests/tst-pam_dispatch1.c index 0fb5bdef..73720ab8 100644 --- a/xtests/tst-pam_dispatch1.c +++ b/xtests/tst-pam_dispatch1.c @@ -1,7 +1,8 @@ +#include <stdio.h> +#include <string.h> #include <security/pam_appl.h> #include <security/pam_misc.h> -#include <stdio.h> static struct pam_conv conv = { misc_conv, diff --git a/xtests/tst-pam_dispatch2.c b/xtests/tst-pam_dispatch2.c index 181484f9..7b4221be 100644 --- a/xtests/tst-pam_dispatch2.c +++ b/xtests/tst-pam_dispatch2.c @@ -1,7 +1,8 @@ +#include <stdio.h> +#include <strings.h> #include <security/pam_appl.h> #include <security/pam_misc.h> -#include <stdio.h> static struct pam_conv conv = { misc_conv, diff --git a/xtests/tst-pam_dispatch3.c b/xtests/tst-pam_dispatch3.c index 76f3a940..9183cada 100644 --- a/xtests/tst-pam_dispatch3.c +++ b/xtests/tst-pam_dispatch3.c @@ -1,7 +1,8 @@ +#include <stdio.h> +#include <string.h> #include <security/pam_appl.h> #include <security/pam_misc.h> -#include <stdio.h> static struct pam_conv conv = { misc_conv, |