DragonFly BSD
DragonFly kernel List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

NO_OBJC patch


From: "R. Joseph Wright" <joseph@xxxxxxxxxxxx>
Date: Thu, 01 Jul 2004 20:41:15 -0700

I made a little patch so NO_OBJC and NO_FORTRAN will work. I didn't include the NO_CXX and NO_CPP options because they aren't in the man page for make.conf and also because I didn't know if anyone actually uses those options. If people do want those options, I can make another patch for that and add it to the man page.

--
(\_/)   Joseph
(o,o)  Those are my principles.  If you don't like them I have others.
()_()   --Groucho Marx
 " "
--- gnu/lib/gcc34/Makefile	2004-06-29 10:31:09.000000000 -0700
+++ gnu/lib/gcc34/Makefile.new	2004-06-29 11:18:07.000000000 -0700
@@ -6,7 +6,10 @@
 MAKE := HOST_CCVER=${HOST_CCVER} CCVER=gcc34 ${MAKE}
 .endif
 
+.if !defined(NO_OBJC)
 SUBDIR+=	libobjc
+.endif
+
 SUBDIR+=	libstdc++ libsupc++
 
 .include <bsd.subdir.mk>

--- gnu/usr.bin/cc34/Makefile	2004-06-20 13:59:21.000000000 -0700
+++ gnu/usr.bin/cc34/Makefile.new	2004-06-29 11:16:07.000000000 -0700
@@ -1,11 +1,18 @@
 # $DragonFly: src/gnu/usr.bin/cc34/Makefile,v 1.2 2004/06/20 20:59:21 joerg Exp $
 
 SUBDIR=		cc_prep cc_tools libbackend libcpp cc1 cc
-SUBDIR+=	cpp
-SUBDIR+=	gcov
-SUBDIR+=	cc1plus c++ c++filt
-SUBDIR+=	f771 g77
-SUBDIR+=	cc1obj
+
+SUBDIR+= cpp
+SUBDIR+= gcov
+SUBDIR+= cc1plus c++ c++filt
+
+.if !defined(NO_FORTRAN)
+SUBDIR+= f77 f771 f77doc
+.endif
+
+.if !defined(NO_OBJC)
+SUBDIR+= cc1obj
+.endif
 
 .ORDER: ${SUBDIR}



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]