summaryrefslogtreecommitdiffstats
path: root/lib/libss
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-03-06 08:26:00 +0000
committerbde <bde@FreeBSD.org>1998-03-06 08:26:00 +0000
commitea126748df408b251893fa0494eef1a95f744730 (patch)
treecd52d1a292fe235155bd2a4299932c5ea4568a4c /lib/libss
parent3875d4d80eb61e679fff42656d28aee34a95f272 (diff)
downloadFreeBSD-src-ea126748df408b251893fa0494eef1a95f744730.zip
FreeBSD-src-ea126748df408b251893fa0494eef1a95f744730.tar.gz
Fixed building with `make -jN'. Put ss_err.h in SRCS so that recent
changes to bsd.lib.mk can handle building it early enough. Don't use the same rule for ss_err.h and ss_err.c, else `make -jN' would run the rule twice concurrently. Don't put ss_err.c out of order in SRCS; doing so was a kludge to get ss_err.h built early enough for plain `make'. Don't put a non-generated file in CLEANFILES.
Diffstat (limited to 'lib/libss')
-rw-r--r--lib/libss/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/libss/Makefile b/lib/libss/Makefile
index 979238b..3d37cf0 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>
-
OpenPOWER on IntegriCloud