diff options
author | Lennart Poettering <lennart@poettering.net> | 2003-07-31 12:40:54 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2003-07-31 12:40:54 +0000 |
commit | d3ea4ac5edbb0b19e79556447299ca4f21fa5a25 (patch) | |
tree | efba452826adef82c1f1ccda48c8ca4c9cd4a7d7 /src/Makefile.am |
Moved everything to trunk
git-svn-id: file:///home/lennart/svn/public/pam_dotfile/trunk@13 5391d09e-f7c1-0310-8aa1-84a1c93f5a38
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..2905b7c --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,41 @@ +# $Id$ +# +# This file is part of pam_dotfile. +# +# pam_dotfile is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# pam_dotfile is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with pam_dotfile; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +AM_CFLAGS = -DSBINDIR=\"@sbindir@\" + +moduledir = @PAM_MODDIR@ +module_LTLIBRARIES = pam_dotfile.la + +pam_dotfile_la_SOURCES = pam_dotfile.c md5.c md5util.c md5.h md5util.h log.c log.h common.c common.h +pam_dotfile_la_LDFLAGS = -module -avoid-version +pam_dotfile_la_CFLAGS = $(AM_CFLAGS) + +sbin_PROGRAMS = pam-dotfile-helper +bin_PROGRAMS = pam-dotfile-gen pamtest + +pam_dotfile_gen_SOURCES = pam-dotfile-gen.c md5.c md5.h md5util.c md5util.h +pam_dotfile_gen_CFLAGS = $(AM_CFLAGS) + +pam_dotfile_helper_SOURCES = pam-dotfile-helper.c md5.c md5.h md5util.c md5util.h common.c common.h log.c log.h +pam_dotfile_helper_CFLAGS = $(AM_CFLAGS) + +pamtest_SOURCES = pamtest.c + +install-exec-hook: + chown root $(DESTDIR)$(sbindir)/pam-dotfile-helper + chmod u+s $(DESTDIR)$(sbindir)/pam-dotfile-helper |