1997-02-22 15:12:41 +00:00
|
|
|
# $Id$
|
1995-01-19 22:28:38 +00:00
|
|
|
|
|
|
|
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
|
1995-05-30 05:51:47 +00:00
|
|
|
CLEANFILES+= ss ss_err.c ss_err.h std_rqs.c
|
1996-06-24 04:26:21 +00:00
|
|
|
.if exists(${.OBJDIR}/../libcom_err)
|
1996-09-05 17:16:10 +00:00
|
|
|
LIBDESTDIR= ${.OBJDIR}/../libcom_err
|
1995-01-23 18:56:40 +00:00
|
|
|
.else
|
1996-09-05 17:16:10 +00:00
|
|
|
LIBDESTDIR= ${.CURDIR}/../libcom_err
|
1995-01-23 18:56:40 +00:00
|
|
|
.endif
|
1996-09-05 17:16:10 +00:00
|
|
|
DPADD= ${LIBDESTDIR}/libcom_err.a
|
|
|
|
LDADD= -L${LIBDESTDIR} -lcom_err
|
1995-01-19 22:28:38 +00:00
|
|
|
|
1995-02-12 02:35:35 +00:00
|
|
|
ss_err.h ss_err.c: ${.CURDIR}/ss_err.et
|
1995-01-19 22:28:38 +00:00
|
|
|
test -e ss_err.et || ln -s ${.CURDIR}/ss_err.et .
|
|
|
|
compile_et ss_err.et
|
1996-05-07 23:19:49 +00:00
|
|
|
-test -h ss_err.et && rm -f ss_err.et
|
1995-01-19 22:28:38 +00:00
|
|
|
|
1995-02-12 02:35:35 +00:00
|
|
|
std_rqs.c: ${.CURDIR}/std_rqs.ct
|
1995-01-19 22:28:38 +00:00
|
|
|
test -e std_rqs.ct || ln -s ${.CURDIR}/std_rqs.ct .
|
|
|
|
mk_cmds std_rqs.ct
|
1996-05-07 23:19:49 +00:00
|
|
|
-test -h std_rqs.ct && rm -f std_rqs.ct
|
1995-01-19 22:28:38 +00:00
|
|
|
|
|
|
|
beforeinstall:
|
1996-08-30 02:12:07 +00:00
|
|
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/ss.h \
|
|
|
|
${DESTDIR}/usr/include/ss
|
|
|
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/copyright.h \
|
|
|
|
${DESTDIR}/usr/include/ss/mit-sipb-copyright.h
|
1996-09-05 21:22:51 +00:00
|
|
|
.if exists(${.OBJDIR}/ss_err.h)
|
1996-08-30 02:12:07 +00:00
|
|
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ss_err.h \
|
|
|
|
${DESTDIR}/usr/include/ss
|
|
|
|
.endif
|
1995-01-19 22:28:38 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|
1995-01-23 18:56:40 +00:00
|
|
|
|