aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libss/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/libss/Makefile b/lib/libss/Makefile
index 979238b6493d..3d37cf0386d1 100644
--- a/lib/libss/Makefile
+++ b/lib/libss/Makefile
@@ -1,11 +1,11 @@
-# $Id$
+# $Id: Makefile,v 1.17 1997/02/22 15:08:00 peter Exp $
LIB= ss
-SRCS= ss_err.c data.c error.c execute_cmd.c help.c invocation.c list_rqs.c \
+SRCS= 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
+ ss_err.c ss_err.h std_rqs.c
CFLAGS+= -I. -I${.CURDIR} -DPOSIX -DIN_LIBSS
-CLEANFILES+= ss ss_err.c ss_err.h std_rqs.c
+CLEANFILES+= ss_err.c ss_err.h std_rqs.c
.if exists(${.OBJDIR}/../libcom_err)
LIBDESTDIR= ${.OBJDIR}/../libcom_err
.else
@@ -14,7 +14,9 @@ LIBDESTDIR= ${.CURDIR}/../libcom_err
DPADD= ${LIBDESTDIR}/libcom_err.a
LDADD= -L${LIBDESTDIR} -lcom_err
-ss_err.h ss_err.c: ${.CURDIR}/ss_err.et
+ss_err.c: ss_err.h
+
+ss_err.h: ${.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 -f ss_err.et
@@ -35,4 +37,3 @@ beforeinstall:
.endif
.include <bsd.lib.mk>
-