[Midnightbsd-cvs] src [10928] trunk/gnu/usr.bin/cc/Makefile: add a wait.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Jun 14 20:30:40 EDT 2018


Revision: 10928
          http://svnweb.midnightbsd.org/src/?rev=10928
Author:   laffer1
Date:     2018-06-14 20:30:39 -0400 (Thu, 14 Jun 2018)
Log Message:
-----------
add a wait.

Modified Paths:
--------------
    trunk/gnu/usr.bin/cc/Makefile

Modified: trunk/gnu/usr.bin/cc/Makefile
===================================================================
--- trunk/gnu/usr.bin/cc/Makefile	2018-06-15 00:30:13 UTC (rev 10927)
+++ trunk/gnu/usr.bin/cc/Makefile	2018-06-15 00:30:39 UTC (rev 10928)
@@ -1,5 +1,5 @@
 # $MidnightBSD$
-# $FreeBSD: src/gnu/usr.bin/cc/Makefile,v 1.41 2007/05/19 04:25:56 kan Exp $
+# $FreeBSD: stable/10/gnu/usr.bin/cc/Makefile 291866 2015-12-05 20:25:15Z bdrewery $
 
 .include <bsd.own.mk>
 
@@ -6,7 +6,8 @@
 # The order of some of these are rather important.  Some depend on previous
 # subdirs.
 
-SUBDIR= cc_tools libiberty libcpp libdecnumber cc_int cc cc1 include doc
+SUBDIR= cc_tools .WAIT \
+	libiberty libcpp libdecnumber cc_int cc cc1 include doc
 
 .if ${MK_CPP} != "no"
 SUBDIR+= cpp
@@ -13,11 +14,12 @@
 .endif
 
 .if ${MK_CXX} != "no"
-SUBDIR+= cc1plus c++ c++filt
+.if ${MK_GNUCXX} != "no"
+SUBDIR+= cc1plus c++ 
 .endif
-
-.if ${MK_OBJC} != "no"
-SUBDIR+= cc1obj
+# This should be moved into the above block once c++filt from elftoolchain or
+# similar is provided.
+SUBDIR+= c++filt
 .endif
 
 .if ${MK_GCOV} != "no"
@@ -24,4 +26,14 @@
 SUBDIR+= gcov
 .endif
 
+SUBDIR_DEPEND_c++:=	libcpp libiberty
+SUBDIR_DEPEND_c++filt=	libiberty
+SUBDIR_DEPEND_cc=	libcpp libiberty
+SUBDIR_DEPEND_cpp=	libcpp libiberty
+SUBDIR_DEPEND_cc1plus=	cc_int libcpp libdecnumber libiberty
+SUBDIR_DEPEND_cc1=	cc_int libcpp libdecnumber libiberty
+SUBDIR_DEPEND_gcov=	libiberty
+
+SUBDIR_PARALLEL=
+
 .include <bsd.subdir.mk>



More information about the Midnightbsd-cvs mailing list