pam-util/options.h pam-util/vector.c pam-util/vector.h
if HAVE_LD_VERSION_SCRIPT
- VERSION_LDFLAGS = -Wl,--version-script=${srcdir}/pam_webauth_otp.map
+ VERSION_LDFLAGS = -Wl,--version-script=${srcdir}/module/pam_webauth_otp.map
else
- VERSION_LDFLAGS = -export-symbols ${srcdir}/pam_webauth_otp.sym
+ VERSION_LDFLAGS = -export-symbols ${srcdir}/module/pam_webauth_otp.sym
endif
pamdir = $(libdir)/security
-pam_LTLIBRARIES = pam_webauth_otp.la
-pam_webauth_otp_la_SOURCES = internal.h options.c public.c
-pam_webauth_otp_la_LDFLAGS = -module -shared -avoid-version \
+pam_LTLIBRARIES = module/pam_webauth_otp.la
+module_pam_webauth_otp_la_SOURCES = module/internal.h module/options.c \
+ module/public.c
+module_pam_webauth_otp_la_LDFLAGS = -module -shared -avoid-version \
$(VERSION_LDFLAGS) $(KRB5_LDFLAGS) $(AM_LDFLAGS)
-pam_webauth_otp_la_LIBADD = pam-util/libpamutil.la portable/libportable.la \
- -lwebauth $(KRB5_LIBS)
+module_pam_webauth_otp_la_LIBADD = pam-util/libpamutil.la \
+ portable/libportable.la -lwebauth $(KRB5_LIBS)
dist_man_MANS = docs/pam_webauth_otp.5
# Clean up the backup of config.h.in on make distclean.
# The list of objects and libraries used for module testing by programs that
# link with the fake PAM library or with both it and the module.
-MODULE_OBJECTS = options.lo public.lo pam-util/libpamutil.la \
+MODULE_OBJECTS = module/options.lo module/public.lo pam-util/libpamutil.la \
tests/fakepam/libfakepam.a
# The test programs themselves.
#include <webauth/factors.h>
#include <webauth/webkdc.h>
-#include <internal.h>
+#include <module/internal.h>
#include <pam-util/args.h>
#include <pam-util/logging.h>