From ea126748df408b251893fa0494eef1a95f744730 Mon Sep 17 00:00:00 2001 From: bde Date: Fri, 6 Mar 1998 08:26:00 +0000 Subject: 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. --- lib/libss/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'lib') 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 - -- cgit v1.1