fix make -j race condition when building libs

This commit is contained in:
lukem 1997-10-18 06:21:28 +00:00
parent 89827aeb90
commit 291223920b
3 changed files with 13 additions and 13 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 1997/06/24 12:25:57 chopps Exp $
# $NetBSD: Makefile,v 1.4 1997/10/18 06:21:28 lukem Exp $
.if (${MACHINE_ARCH} == "arm32") || \
(${MACHINE_ARCH} == "i386") || \
@ -8,6 +8,9 @@
(${MACHINE_ARCH} == "sparc") || \
(${MACHINE_ARCH} == "vax")
SUBDIR+= common cc1 cc1plus cc1obj libgcc libobjc
all-cc1 all-cc1plus all-cc1obj: all-common
.endif
SUBDIR+= cc cpp g++

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.cc1,v 1.5 1997/05/07 07:15:38 mycroft Exp $
# $NetBSD: Makefile.cc1,v 1.6 1997/10/18 06:21:29 lukem Exp $
NOMAN=
@ -12,10 +12,7 @@ CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../common -I${.CURDIR}/../arch \
YFLAGS=
LIBCC1!=cd $(.CURDIR)/../common; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/libcc1.a\n" | ${MAKE} -s -f-
LDADD+= ${LIBCC1} -lgnumalloc
DPADD+= ${LIBCC1} ${LIBGNUMALLOC}
LDADD+= -L${COMMON} -lcc1 -lgnumalloc
DPADD+= ${COMMON}/libcc1.a ${LIBGNUMALLOC}
.include <bsd.prog.mk>

View File

@ -1,6 +1,6 @@
#!/usr/gnu/bin/perl
#
# $NetBSD: gcc2netbsd,v 1.25 1997/06/25 03:31:56 mrg Exp $
# $NetBSD: gcc2netbsd,v 1.26 1997/10/18 06:21:32 lukem Exp $
#
# Perl script to convert a standard distribution directory for gcc into
# a NetBSD source tree.
@ -485,6 +485,9 @@ or at most GNU software mirrors.
(${MACHINE_ARCH} == "sparc") || \
(${MACHINE_ARCH} == "vax")
SUBDIR+= common cc1 cc1plus cc1obj libgcc libobjc
all-cc1 all-cc1plus all-cc1obj: all-common
.endif
SUBDIR+= cc cpp g++
@ -505,11 +508,8 @@ CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../common -I${.CURDIR}/../arch \
YFLAGS=
LIBCC1!=cd $(.CURDIR)/../common; \
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/libcc1.a\n" | ${MAKE} -s -f-
LDADD+= ${LIBCC1} -lgnumalloc
DPADD+= ${LIBCC1} ${LIBGNUMALLOC}
LDADD+= -L${COMMON} -lcc1 -lgnumalloc
DPADD+= ${COMMON}/libcc1.a ${LIBGNUMALLOC}
.include <bsd.prog.mk>
%% file common/Makefile