aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-05-28 17:06:50 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-05-28 17:06:50 +0000
commit37a48d408f2b41e2c45952de3498a018b4d41b31 (patch)
tree325b15bf87a318f4858724f04b5fd7a7970dee1a /gnu
parent3deada416849cf8be3f03a339b2774301025de02 (diff)
parentba78590287a343072fbf1cf3343cf236fce4703e (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/Makefile10
-rw-r--r--gnu/usr.bin/groff/src/preproc/soelim/Makefile9
2 files changed, 9 insertions, 10 deletions
diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile
index 373c2805fd662..796cefcacc981 100644
--- a/gnu/lib/Makefile
+++ b/gnu/lib/Makefile
@@ -2,7 +2,11 @@
.include <src.opts.mk>
-SUBDIR= csu libgcc libgcov libdialog libgomp libregex libreadline
+SUBDIR= csu libgcc libdialog libregex
+
+.if ${MK_GCC} != "no"
+SUBDIR+= libgcov libgomp
+.endif
.if ${MK_SSP} != "no"
SUBDIR+= libssp
@@ -12,6 +16,10 @@ SUBDIR+= libssp
SUBDIR+= tests
.endif
+.if ${MK_GDB} != "no"
+SUBDIR+= libreadline
+.endif
+
# libsupc++ uses libstdc++ headers, although 'make includes' should
# have taken care of that already.
.if ${MK_GNUCXX} != "no"
diff --git a/gnu/usr.bin/groff/src/preproc/soelim/Makefile b/gnu/usr.bin/groff/src/preproc/soelim/Makefile
deleted file mode 100644
index 2c68b8005f0ab..0000000000000
--- a/gnu/usr.bin/groff/src/preproc/soelim/Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
-# $FreeBSD$
-
-PROG_CXX= soelim
-SRCS= soelim.cpp
-DPADD= ${LIBGROFF}
-LDADD= ${LIBGROFF}
-CLEANFILES= ${MAN}
-
-.include <bsd.prog.mk>