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

AM_CFLAGS = -DDEFAULT_MODULE_PATH=\"$(SECUREDIR)/\" \
	-I$(srcdir)/include $(LIBPRELUDE_CFLAGS) -DPAM_VERSION=\"$(VERSION)\"
AM_LDFLAGS = $(LIBPRELUDE_LIBS) @LIBDL@

CLEANFILES = *~

EXTRA_DIST = libpam.map pam_map.c

include_HEADERS = $(addprefix include/security/, _pam_compat.h _pam_macros.h _pam_types.h pam_appl.h pam_malloc.h pam_modules.h)

noinst_HEADERS = pam_prelude.h pam_private.h pam_tokens.h

libpam_la_LDFLAGS = -version-info 1:0:0
if HAVE_VERSIONING
  libpam_la_LDFLAGS += -Wl,--version-script=libpam.map
endif

lib_LTLIBRARIES = libpam.la

libpam_la_SOURCES = pam_account.c pam_auth.c pam_data.c pam_delay.c \
	pam_dispatch.c pam_end.c pam_env.c pam_handlers.c pam_item.c \
	pam_log.c pam_malloc.c pam_misc.c pam_password.c \
	pam_prelude.c pam_second.c pam_session.c pam_start.c \
	pam_static.c pam_strerror.c