[Midnightbsd-cvs] src: Makefile: Partially migrate to the new method

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Nov 11 11:00:04 EST 2008


Log Message:
-----------
Partially migrate to the new method

Modified Files:
--------------
    src/gnu/lib:
        Makefile (r1.2 -> r1.3)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/src/gnu/lib/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -L gnu/lib/Makefile -L gnu/lib/Makefile -u -r1.2 -r1.3
--- gnu/lib/Makefile
+++ gnu/lib/Makefile
@@ -1,15 +1,17 @@
 # $MidnightBSD$
 # $FreeBSD: src/gnu/lib/Makefile,v 1.40 2004/08/14 03:23:24 kan Exp $
 
+.include <bsd.own.mk>
+
 SUBDIR= csu libgcc libgcov libdialog libregex libreadline
 
 # libsupc++ uses libstdc++ headers, although 'make includes' should
 # have taken care of that already.
-.if !defined(NO_CXX)
+.if ${MK_CXX} != "no"
 SUBDIR+= libstdc++ libsupc++
 .endif
 
-.if !defined(NO_OBJC)
+.if ${MK_OBJC} != "no"
 SUBDIR+= libobjc
 .endif
 


More information about the Midnightbsd-cvs mailing list