-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile.am
32 lines (26 loc) · 1010 Bytes
/
Makefile.am
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
29
30
31
32
###########################################################################
##
## File: ./Makefile.am
## Versions: $Id: configure.ac,v 1.14 2017/05/22 03:50:05 $
## Created: 2017/05/22
## Author: José Miguel Silva Caldeira <miguel@ncdc.pt>
##
###########################################################################
ACLOCAL_AMFLAGS= -I config
mdir=$(PAMMODULEDIR)
sdir=$(NSSMODULEDIR)
m_LTLIBRARIES=log_credentials.la
s_LTLIBRARIES=libnss_log_credentials.la
install-data-local: etc/pam.d/log-credentials
cp etc/pam.d/log-credentials /etc/pam.d
log_credentials_la_SOURCES=log_credentials.c
log_credentials_la_LDFLAGS=-module -avoid-version
libnss_log_credentials_la_SOURCES=libnss_log_credentials.c
libnss_log_credentials_la_LDFLAGS=-module -version-info 2
help:
@echo ""
@echo "make - compile sources to a shared library module"
@echo "make all - same as above"
@echo "make install - copy module to destination"
@echo "make clean - cleans out most useless files"
@echo ""