diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1996-11-16 21:53:13 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1996-11-16 21:53:13 +0000 |
commit | 6e21d0e99052f9aa63f868f8cca92af2bf9df8c4 (patch) | |
tree | b7b65b9b90c06fd1540ea0674cd3917b57a5117d /lib/libss/Makefile | |
parent | 323b04aa2a18a840696e1f531c46df669f2a979a (diff) |
Fix more libss stuff.
Diffstat (limited to 'lib/libss/Makefile')
-rw-r--r-- | lib/libss/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libss/Makefile b/lib/libss/Makefile index 8af91083a49..69af3eb9695 100644 --- a/lib/libss/Makefile +++ b/lib/libss/Makefile @@ -1,6 +1,7 @@ -# $OpenBSD: Makefile,v 1.1 1996/11/15 09:25:23 downsj Exp $ +# $OpenBSD: Makefile,v 1.2 1996/11/16 21:53:11 downsj Exp $ LIB= ss +HDRS= ss.h ss_err.h SRCS= ss_err.c data.c error.c execute_cmd.c help.c invocation.c list_rqs.c \ listen.c pager.c parse.c prompt.c request_tbl.c requests.c \ std_rqs.c @@ -18,15 +19,14 @@ std_rqs.c: ${.CURDIR}/std_rqs.ct mk_cmds std_rqs.ct -test -h std_rqs.ct && rm std_rqs.ct -includes: ss_err.h - -cd ${.OBJDIR}; \ - if [ -f ss_err.h ]; then \ - cmp -s ss_err.h ${DESTDIR}/usr/include/ss/ss_err.h || \ - install -c -o ${BINOWN} -g ${BINGRP} -m 444 ss_err.h \ - ${DESTDIR}/usr/include/ss; \ - else \ - true; \ - fi +includes: + @cd ${.CURDIR}; for i in $(HDRS); do \ + j="cmp -s $$i ${DESTDIR}/usr/include/ss/$$i || \ + install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$i \ + ${DESTDIR}/usr/include/ss"; \ + echo $$j; \ + eval "$$j"; \ + done beforedepend: test -h ss || ln -s . ss |