tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
MKATF variable
I'd like to add a mechanism to avoid compiling libatf-c++, since it
is the only library in the base system which requires a c++
compiler. Are there more places to sprinkle MKATF tests?
Index: Makefile
===================================================================
RCS file: /cvsroot/src/lib/Makefile,v
retrieving revision 1.124
diff -u -r1.124 Makefile
--- Makefile 22 May 2008 14:16:11 -0000 1.124
+++ Makefile 8 Jul 2008 06:44:43 -0000
@@ -3,7 +3,7 @@
.include <bsd.own.mk>
-SUBDIR= csu libc .WAIT libarch libatf-c libatf-c++ \
+SUBDIR= csu libc .WAIT libarch \
libbsdmalloc libbluetooth libbz2 \
libcompat libcrypt \
libcurses libevent libintl libkvm libl libm \
@@ -11,6 +11,10 @@
libpthread_dbg libpuffs libresolv librmt librpcsvc librt
libsdp \
libterm libusbhid libutil libwrap liby libz
+.if (${MKATF} != "no")
+SUBDIR+= libatf-c libatf-c++
+.endif
+
# libform and libmenu need libcurses
SUBDIR+= .WAIT libform libmenu
Index: bsd.own.mk
===================================================================
RCS file: /cvsroot/src/share/mk/bsd.own.mk,v
retrieving revision 1.513
diff -u -r1.513 bsd.own.mk
--- bsd.own.mk 23 May 2008 13:07:35 -0000 1.513
+++ bsd.own.mk 8 Jul 2008 06:43:41 -0000
@@ -558,7 +558,7 @@
MKOBJ \
MKPAM MKPF MKPIC MKPICINSTALL MKPICLIB MKPOSTFIX MKPROFILE \
MKSHARE MKSKEY MKSTATICLIB \
- MKYP
+ MKYP MKATF
${var}?= yes
.endfor
Home |
Main Index |
Thread Index |
Old Index