summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-06-05 21:30:46 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-06-05 21:30:46 +0000
commiteb5cb11b701be7e684b8dcd1775dba39a0b0e917 (patch)
tree534226f6dae1be92b4894254f32c77a3bd5febfd
parent1bf28f7e9452cbb1a9685278f70bb98ebaa876e7 (diff)
Notes
-rw-r--r--gnu/usr.bin/cc/cc/Makefile1
-rw-r--r--gnu/usr.bin/cc/cpp/Makefile6
-rw-r--r--gnu/usr.bin/cc/f77/Makefile1
3 files changed, 5 insertions, 3 deletions
diff --git a/gnu/usr.bin/cc/cc/Makefile b/gnu/usr.bin/cc/cc/Makefile
index 4f90e71a3ba2..3dbc859bcdeb 100644
--- a/gnu/usr.bin/cc/cc/Makefile
+++ b/gnu/usr.bin/cc/cc/Makefile
@@ -7,7 +7,6 @@
PROG= cc
MAN= gcc.1
-NOMAN= # not while compile from GCC repo checkout
SRCS= gcc.c gccspec.c
NOSHARED?=yes
diff --git a/gnu/usr.bin/cc/cpp/Makefile b/gnu/usr.bin/cc/cpp/Makefile
index 16b5eba73f27..56fdc06de53c 100644
--- a/gnu/usr.bin/cc/cpp/Makefile
+++ b/gnu/usr.bin/cc/cpp/Makefile
@@ -7,7 +7,6 @@
PROG= cpp
SRCS= gcc.c cppspec.c
-NOMAN= 1
CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
@@ -15,4 +14,9 @@ CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
DPADD+= ${LIBCC_INT}
LDADD+= ${LIBCC_INT}
+CLEANFILES= cpp.1
+
+cpp.1: cccp.1
+ ln -sf ${.ALLSRC} ${.TARGET}
+
.include <bsd.prog.mk>
diff --git a/gnu/usr.bin/cc/f77/Makefile b/gnu/usr.bin/cc/f77/Makefile
index 101a8974b583..8dda51e716fe 100644
--- a/gnu/usr.bin/cc/f77/Makefile
+++ b/gnu/usr.bin/cc/f77/Makefile
@@ -7,7 +7,6 @@
PROG= f77
SRCS= gcc.c g77spec.c version.c
-NOMAN= # not while compile from GCC repo checkout
CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"