summaryrefslogtreecommitdiff
path: root/lib/libss/Makefile
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1995-01-19 22:28:38 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1995-01-19 22:28:38 +0000
commit23432254885ec11c897275b013da93a9eba1717f (patch)
treeb1741b5e5bcdc2068c246b5e7224b50aedec591b /lib/libss/Makefile
parent3665217fb4b3308eac28d7513111c9d21c931630 (diff)
Notes
Diffstat (limited to 'lib/libss/Makefile')
-rw-r--r--lib/libss/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/libss/Makefile b/lib/libss/Makefile
new file mode 100644
index 000000000000..c0d81045d6e9
--- /dev/null
+++ b/lib/libss/Makefile
@@ -0,0 +1,32 @@
+# $Id$
+
+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} -DPOSIX -DIN_LIBSS
+CLEANFILES+= ss ss_err.c ss_err.h std_rqs.c
+LDADD+= -lcom_err
+
+ss_err.h ss_err.c: ss_err.et
+ test -e ss_err.et || ln -s ${.CURDIR}/ss_err.et .
+ compile_et ss_err.et
+
+std_rqs.c: std_rqs.ct
+ test -e std_rqs.ct || ln -s ${.CURDIR}/std_rqs.ct .
+ mk_cmds std_rqs.ct
+ ln -s ${.CURDIR} ss
+
+beforeinstall:
+ -cd ${.CURDIR}; cmp -s ss.h ${DESTDIR}/usr/include/ss/ss.h || \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 444 ss.h \
+ ${DESTDIR}/usr/include/ss
+ -cd ${.CURDIR}; cmp -s copyright.h \
+ ${DESTDIR}/usr/include/ss/mit-sipb-copyright.h || \
+ install -c -o ${BINOWN} -g ${BINGRP} -m 444 copyright.h \
+ ${DESTDIR}/usr/include/ss/mit-sipb-copyright.h
+ -cd ${.OBJDIR}; 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
+
+.include <bsd.lib.mk>