summaryrefslogtreecommitdiff
path: root/lib/libss/Makefile
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-11-15 09:25:38 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-11-15 09:25:38 +0000
commit926b77b603d7b1b66dbf8aea6a698610a47907ef (patch)
treed71964632717d587387ce9ae0dc9de456024145e /lib/libss/Makefile
parentbe39c34b2c25ddfd8e96f8f858f741d4dda80e4b (diff)
Move libss to the main tree.
Diffstat (limited to 'lib/libss/Makefile')
-rw-r--r--lib/libss/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/libss/Makefile b/lib/libss/Makefile
new file mode 100644
index 00000000000..8af91083a49
--- /dev/null
+++ b/lib/libss/Makefile
@@ -0,0 +1,34 @@
+# $OpenBSD: Makefile,v 1.1 1996/11/15 09:25:23 downsj Exp $
+
+LIB= ss
+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
+CFLAGS+=-I. -I${.CURDIR}/.. -I${.CURDIR} -I${.CURDIR}/../com_err
+LDADD+= ${COM_ERR}
+CLEANFILES+= ss_err.c ss_err.h std_rqs.c ss
+
+ss_err.h ss_err.c: ${.CURDIR}/ss_err.et
+ test -e ss_err.et || ln -s ${.CURDIR}/ss_err.et .
+ compile_et ss_err.et
+ -test -h ss_err.et && rm ss_err.et
+
+std_rqs.c: ${.CURDIR}/std_rqs.ct
+ test -e std_rqs.ct || ln -s ${.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
+
+beforedepend:
+ test -h ss || ln -s . ss
+
+.include <bsd.lib.mk>