pam: modules/pam_selinux/Makefile.am (NEW) - selinux build

baggins baggins at pld-linux.org
Mon Jul 11 17:12:20 CEST 2005


Author: baggins                      Date: Mon Jul 11 15:12:20 2005 GMT
Module: pam                           Tag: HEAD
---- Log message:
- selinux build

---- Files affected:
pam/modules/pam_selinux:
   Makefile.am (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: pam/modules/pam_selinux/Makefile.am
diff -u /dev/null pam/modules/pam_selinux/Makefile.am:1.1
--- /dev/null	Mon Jul 11 17:12:20 2005
+++ pam/modules/pam_selinux/Makefile.am	Mon Jul 11 17:12:15 2005
@@ -0,0 +1,50 @@
+## Process this file with automake to produce Makefile.in
+
+ at SET_MAKE@
+
+TITLE			= pam_selinux
+
+LIBS			=
+
+modulesdir		= /@libdirname@/security
+
+man_MANS		= pam_selinux.8 pam_selinux_check.8
+
+if SELINUX_PRESENT
+LIBSELINUX		= -lselinux
+else
+LIBSELINUX		=
+endif
+
+pam_selinux_la_CFLAGS	= -I$(top_srcdir)/include $(DYNAMIC)
+
+if DYNAMIC_MODULES
+modules_LTLIBRARIES	= pam_selinux.la
+endif
+
+pam_selinux_la_SOURCES	= pam_selinux.c
+pam_selinux_la_LDFLAGS	= -avoid-version -module
+pam_selinux_la_LIBADD	= $(LIBSELINUX)
+
+EXTRA_pam_selinux_la_SOURCES	= pam_selinux_check.c
+
+EXTRA_DIST		= README $(man_MANS)
+
+CLEANFILES		= *~ $(TITLE).so
+
+sbin_PROGRAMS		= pam_selinux_check
+pam_selinux_check_SOURCES= pam_selinux_check.c
+pam_selinux_chack_CFLAGS= -I$(top_srcdir)/include $(DYNAMIC)
+pam_selinux_check_LDADD	= $(LIBSELINUX)
+
+clean-local:
+	rm -rf static
+
+if STATIC_MODULES
+libpam_selinux_la_CFLAGS	= -I. -I../.. -I$(top_srcdir)/include $(STATIC)
+			   
+noinst_LTLIBRARIES		= libpam_selinux.la
+libpam_selinux_la_SOURCES	= pam_selinux.c
+libpam_selinux_la_DEPENDENCIES = register_static_stamp
+endif
+include $(top_srcdir)/modules/register_static.mk
================================================================



More information about the pld-cvs-commit mailing list