aboutsummaryrefslogtreecommitdiff
path: root/lib/libpam/modules
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-12-07 16:08:09 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-12-07 16:08:09 +0000
commite42070a701fc8453434cfe449439d252fc176542 (patch)
tree6a1e5e2830d44ffda1dbf04bd3d32d8dcfd44c21 /lib/libpam/modules
parent98a998d5e71e49fb5b209ff1d629114cd0b3a9ad (diff)
downloadsrc-e42070a701fc8453434cfe449439d252fc176542.tar.gz
src-e42070a701fc8453434cfe449439d252fc176542.zip
Replace unneeded manual dependency on header by adding it to SRCS.
bsd.lib.mk and bsd.prog.mk already depend all objs on headers in SRCS if there is not yet a depend file. The headers in SRCS are never built or installed. After 'make depend' the header was already added as a proper dependency on the objects where needed. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=291941
Diffstat (limited to 'lib/libpam/modules')
-rw-r--r--lib/libpam/modules/pam_ssh/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libpam/modules/pam_ssh/Makefile b/lib/libpam/modules/pam_ssh/Makefile
index b5ca478561dc..21991dc9f1c7 100644
--- a/lib/libpam/modules/pam_ssh/Makefile
+++ b/lib/libpam/modules/pam_ssh/Makefile
@@ -12,11 +12,10 @@ SRCS+= roaming_dummy.c
WARNS?= 3
CFLAGS+= -I${SSHDIR} -include ssh_namespace.h
+SRCS+= ssh_namespace.h
LIBADD= ssh
.include <bsd.lib.mk>
.PATH: ${SSHDIR}
-
-${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h