1999-08-28 02:22:10 +02:00
|
|
|
# $FreeBSD$
|
1995-01-19 23:28:38 +01:00
|
|
|
|
|
|
|
LIB= ss
|
1999-09-29 17:18:46 +02:00
|
|
|
SHLIB_MAJOR= 3
|
|
|
|
SHLIB_MINOR= 0
|
|
|
|
|
1998-03-06 09:26:00 +01:00
|
|
|
SRCS= data.c error.c execute_cmd.c help.c invocation.c list_rqs.c \
|
1995-01-19 23:28:38 +01:00
|
|
|
listen.c pager.c parse.c prompt.c request_tbl.c requests.c \
|
1998-03-06 09:26:00 +01:00
|
|
|
ss_err.c ss_err.h std_rqs.c
|
1995-01-19 23:28:38 +01:00
|
|
|
CFLAGS+= -I. -I${.CURDIR} -DPOSIX -DIN_LIBSS
|
1998-03-06 09:26:00 +01:00
|
|
|
CLEANFILES+= ss_err.c ss_err.h std_rqs.c
|
1996-06-24 06:26:21 +02:00
|
|
|
.if exists(${.OBJDIR}/../libcom_err)
|
1996-09-05 19:16:10 +02:00
|
|
|
LIBDESTDIR= ${.OBJDIR}/../libcom_err
|
1995-01-23 19:56:40 +01:00
|
|
|
.else
|
1996-09-05 19:16:10 +02:00
|
|
|
LIBDESTDIR= ${.CURDIR}/../libcom_err
|
1995-01-23 19:56:40 +01:00
|
|
|
.endif
|
1996-09-05 19:16:10 +02:00
|
|
|
DPADD= ${LIBDESTDIR}/libcom_err.a
|
|
|
|
LDADD= -L${LIBDESTDIR} -lcom_err
|
1995-01-19 23:28:38 +01:00
|
|
|
|
1998-03-12 11:08:50 +01:00
|
|
|
hdrs: ss_err.h
|
|
|
|
|
1998-03-06 14:44:12 +01:00
|
|
|
.ORDER: ss_err.c ss_err.h
|
|
|
|
ss_err.c ss_err.h: ${.CURDIR}/ss_err.et
|
1995-01-19 23:28:38 +01:00
|
|
|
test -e ss_err.et || ln -s ${.CURDIR}/ss_err.et .
|
|
|
|
compile_et ss_err.et
|
1996-05-08 01:19:49 +02:00
|
|
|
-test -h ss_err.et && rm -f ss_err.et
|
1995-01-19 23:28:38 +01:00
|
|
|
|
1995-02-12 03:35:35 +01:00
|
|
|
std_rqs.c: ${.CURDIR}/std_rqs.ct
|
1995-01-19 23:28:38 +01:00
|
|
|
test -e std_rqs.ct || ln -s ${.CURDIR}/std_rqs.ct .
|
|
|
|
mk_cmds std_rqs.ct
|
1996-05-08 01:19:49 +02:00
|
|
|
-test -h std_rqs.ct && rm -f std_rqs.ct
|
1995-01-19 23:28:38 +01:00
|
|
|
|
|
|
|
beforeinstall:
|
1996-08-30 04:12:07 +02:00
|
|
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/ss.h \
|
1998-03-12 11:08:50 +01:00
|
|
|
ss_err.h ${DESTDIR}/usr/include/ss
|
1996-08-30 04:12:07 +02:00
|
|
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/copyright.h \
|
|
|
|
${DESTDIR}/usr/include/ss/mit-sipb-copyright.h
|
1995-01-19 23:28:38 +01:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|