Revert the last change and mark the program as PROG_CXX.

This commit is contained in:
Ruslan Ermilov 2002-04-11 11:06:06 +00:00
parent 5b93eb04a9
commit 5786a9cf4a
21 changed files with 61 additions and 64 deletions

View File

@ -6,7 +6,7 @@ GPROFDIR= ${.CURDIR}/../../../contrib/gperf
SUBDIR= doc SUBDIR= doc
PROG= gperf PROG_GCC= gperf
SRCS= bool-array.cc gen-perf.cc hash-table.cc iterator.cc key-list.cc \ SRCS= bool-array.cc gen-perf.cc hash-table.cc iterator.cc key-list.cc \
list-node.cc main.cc new.cc options.cc read-line.cc trace.cc \ list-node.cc main.cc new.cc options.cc read-line.cc trace.cc \
vectors.cc version.cc vectors.cc version.cc
@ -14,7 +14,4 @@ SRCS+= hash.cc getopt.c getopt1.c
CXXFLAGS+= -I${GPROFDIR}/lib -I${.CURDIR} CXXFLAGS+= -I${GPROFDIR}/lib -I${.CURDIR}
DPADD+= ${LIBSTDCPLUSPLUS}
LDADD+= -lstdc++
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,9 +1,9 @@
# $FreeBSD$ # $FreeBSD$
PROG= grodvi PROG_CXX= grodvi
SRCS= dvi.cc SRCS= dvi.cc
DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM}
LDADD= ${LIBDRIVER} ${LIBGROFF} -lm -lstdc++ LDADD= ${LIBDRIVER} ${LIBGROFF} -lm
CLEANFILES= ${MAN} CLEANFILES= ${MAN}
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,9 +1,9 @@
# $FreeBSD$ # $FreeBSD$
PROG= post-grohtml PROG_CXX= post-grohtml
SRCS= post-html.cc html-text.cc output.cc SRCS= post-html.cc html-text.cc output.cc
DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM}
LDADD= ${LIBDRIVER} ${LIBGROFF} -lm -lstdc++ LDADD= ${LIBDRIVER} ${LIBGROFF} -lm
NOMAN= YES NOMAN= YES
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,9 +1,9 @@
# $FreeBSD$ # $FreeBSD$
PROG= grolbp PROG_CXX= grolbp
SRCS= lbp.cc SRCS= lbp.cc
DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM}
LDADD= ${LIBDRIVER} ${LIBGROFF} -lm -lstdc++ LDADD= ${LIBDRIVER} ${LIBGROFF} -lm
CLEANFILES= ${MAN} CLEANFILES= ${MAN}
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,9 +1,9 @@
# $FreeBSD$ # $FreeBSD$
PROG= grolj4 PROG_CXX= grolj4
SRCS= lj4.cc SRCS= lj4.cc
DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM}
LDADD= ${LIBDRIVER} ${LIBGROFF} -lm -lstdc++ LDADD= ${LIBDRIVER} ${LIBGROFF} -lm
CLEANFILES= ${MAN} CLEANFILES= ${MAN}
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,9 +1,9 @@
# $FreeBSD$ # $FreeBSD$
PROG= grops PROG_CXX= grops
SRCS= ps.cc psrm.cc SRCS= ps.cc psrm.cc
DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM}
LDADD= ${LIBDRIVER} ${LIBGROFF} -lm -lstdc++ LDADD= ${LIBDRIVER} ${LIBGROFF} -lm
CLEANFILES= ${MAN} CLEANFILES= ${MAN}
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,9 +1,9 @@
# $FreeBSD$ # $FreeBSD$
PROG= grotty PROG_CXX= grotty
SRCS= tty.cc SRCS= tty.cc
DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} DPADD= ${LIBDRIVER} ${LIBGROFF} ${LIBM}
LDADD= ${LIBDRIVER} ${LIBGROFF} -lm -lstdc++ LDADD= ${LIBDRIVER} ${LIBGROFF} -lm
CLEANFILES= ${MAN} CLEANFILES= ${MAN}
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,12 +1,12 @@
# $FreeBSD$ # $FreeBSD$
PROG= eqn PROG_CXX= eqn
SRCS= eqn.cc eqn_tab.h main.cc lex.cc \ SRCS= eqn.cc eqn_tab.h main.cc lex.cc \
box.cc limit.cc list.cc over.cc text.cc \ box.cc limit.cc list.cc over.cc text.cc \
script.cc mark.cc other.cc delim.cc sqrt.cc pile.cc special.cc script.cc mark.cc other.cc delim.cc sqrt.cc pile.cc special.cc
CFLAGS+= -I${DIST_DIR} -I. CFLAGS+= -I${DIST_DIR} -I.
DPADD= ${LIBGROFF} ${LIBSTDCPLUSPLUS} DPADD= ${LIBGROFF}
LDADD= ${LIBGROFF} -lstdc++ LDADD= ${LIBGROFF}
SCRIPTS= neqn SCRIPTS= neqn
MAN= eqn.1 neqn.1 MAN= eqn.1 neqn.1
CLEANFILES= eqn.cc eqn_tab.h ${SCRIPTS} ${MAN} y.tab.c y.tab.h CLEANFILES= eqn.cc eqn_tab.h ${SCRIPTS} ${MAN} y.tab.c y.tab.h

View File

@ -1,9 +1,9 @@
# $FreeBSD$ # $FreeBSD$
PROG= grn PROG_CXX= grn
SRCS= hdb.cc hpoint.cc hgraph.cc main.cc SRCS= hdb.cc hpoint.cc hgraph.cc main.cc
DPADD= ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} DPADD= ${LIBGROFF} ${LIBM}
LDADD= ${LIBGROFF} -lm -lstdc++ LDADD= ${LIBGROFF} -lm
CLEANFILES= ${MAN} CLEANFILES= ${MAN}
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,9 +1,9 @@
# $FreeBSD$ # $FreeBSD$
PROG= pre-grohtml PROG_CXX= pre-grohtml
SRCS= pre-html.cc pushbackbuffer.cc SRCS= pre-html.cc pushbackbuffer.cc
DPADD= ${LIBGROFF} ${LIBSTDCPLUSPLUS} DPADD= ${LIBGROFF}
LDADD= ${LIBGROFF} -lstdc++ LDADD= ${LIBGROFF}
NOMAN= YES NOMAN= YES
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,11 +1,11 @@
# $FreeBSD$ # $FreeBSD$
PROG= pic PROG_CXX= pic
SRCS= lex.cc main.cc object.cc pic.cc pic_tab.h \ SRCS= lex.cc main.cc object.cc pic.cc pic_tab.h \
common.cc troff.cc tex.cc common.cc troff.cc tex.cc
CFLAGS+= -I${DIST_DIR} -I. CFLAGS+= -I${DIST_DIR} -I.
DPADD= ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} DPADD= ${LIBGROFF} ${LIBM}
LDADD= ${LIBGROFF} -lm -lstdc++ LDADD= ${LIBGROFF} -lm
CLEANFILES= ${MAN} pic.cc pic_tab.h y.tab.c y.tab.h CLEANFILES= ${MAN} pic.cc pic_tab.h y.tab.c y.tab.h
pic_tab.h: pic.cc pic_tab.h: pic.cc

View File

@ -1,10 +1,10 @@
# $FreeBSD$ # $FreeBSD$
PROG= refer PROG_CXX= refer
SRCS= command.cc label.cc ref.cc refer.cc token.cc SRCS= command.cc label.cc ref.cc refer.cc token.cc
CFLAGS+= -I${DIST_DIR} CFLAGS+= -I${DIST_DIR}
DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM}
LDADD= ${LIBBIB} ${LIBGROFF} -lm -lstdc++ LDADD= ${LIBBIB} ${LIBGROFF} -lm
CLEANFILES= label.cc label_tab.h ${MAN} y.tab.c y.tab.h CLEANFILES= label.cc label_tab.h ${MAN} y.tab.c y.tab.h
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,9 +1,9 @@
# $FreeBSD$ # $FreeBSD$
PROG= tbl PROG_CXX= tbl
SRCS= main.cc table.cc SRCS= main.cc table.cc
DPADD= ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} DPADD= ${LIBGROFF} ${LIBM}
LDADD= ${LIBGROFF} -lm -lstdc++ LDADD= ${LIBGROFF} -lm
CLEANFILES= ${MAN} CLEANFILES= ${MAN}
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,9 +1,9 @@
# $FreeBSD$ # $FreeBSD$
PROG= groff PROG_CXX= groff
SRCS= groff.cc pipeline.c SRCS= groff.cc pipeline.c
DPADD= ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} DPADD= ${LIBGROFF} ${LIBM}
LDADD= ${LIBGROFF} -lm -lstdc++ LDADD= ${LIBGROFF} -lm
CLEANFILES= ${MAN} CLEANFILES= ${MAN}
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,10 +1,10 @@
# $FreeBSD$ # $FreeBSD$
PROG= troff PROG_CXX= troff
SRCS= env.cc node.cc input.cc div.cc symbol.cc dictionary.cc reg.cc \ SRCS= env.cc node.cc input.cc div.cc symbol.cc dictionary.cc reg.cc \
number.cc majorminor.cc number.cc majorminor.cc
DPADD= ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} DPADD= ${LIBGROFF} ${LIBM}
LDADD= ${LIBGROFF} -lm -lstdc++ LDADD= ${LIBGROFF} -lm
CLEANFILES= majorminor.cc ${MAN} CLEANFILES= majorminor.cc ${MAN}
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,9 +1,9 @@
# $FreeBSD$ # $FreeBSD$
PROG= addftinfo PROG_CXX= addftinfo
SRCS= addftinfo.cc guess.cc SRCS= addftinfo.cc guess.cc
DPADD= ${LIBGROFF} ${LIBSTDCPLUSPLUS} DPADD= ${LIBGROFF}
LDADD= ${LIBGROFF} -lstdc++ LDADD= ${LIBGROFF}
CLEANFILES= ${MAN} CLEANFILES= ${MAN}
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,9 +1,9 @@
# $FreeBSD$ # $FreeBSD$
PROG= hpftodit PROG_CXX= hpftodit
SRCS= hpftodit.cc SRCS= hpftodit.cc
DPADD= ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} DPADD= ${LIBGROFF} ${LIBM}
LDADD= ${LIBGROFF} -lm -lstdc++ LDADD= ${LIBGROFF} -lm
CLEANFILES= ${MAN} CLEANFILES= ${MAN}
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,9 +1,9 @@
# $FreeBSD$ # $FreeBSD$
PROG= indxbib PROG_CXX= indxbib
SRCS= indxbib.cc signal.c SRCS= indxbib.cc signal.c
DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM}
LDADD= ${LIBBIB} ${LIBGROFF} -lm -lstdc++ LDADD= ${LIBBIB} ${LIBGROFF} -lm
CLEANFILES= ${MAN} CLEANFILES= ${MAN}
beforeinstall: beforeinstall:

View File

@ -1,9 +1,9 @@
# $FreeBSD$ # $FreeBSD$
PROG= lkbib PROG_CXX= lkbib
SRCS= lkbib.cc SRCS= lkbib.cc
DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM}
LDADD= ${LIBBIB} ${LIBGROFF} -lm -lstdc++ LDADD= ${LIBBIB} ${LIBGROFF} -lm
CLEANFILES= ${MAN} CLEANFILES= ${MAN}
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,9 +1,9 @@
# $FreeBSD$ # $FreeBSD$
PROG= lookbib PROG_CXX= lookbib
SRCS= lookbib.cc SRCS= lookbib.cc
DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM}
LDADD= ${LIBBIB} ${LIBGROFF} -lm -lstdc++ LDADD= ${LIBBIB} ${LIBGROFF} -lm
CLEANFILES= ${MAN} CLEANFILES= ${MAN}
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,9 +1,9 @@
# $FreeBSD$ # $FreeBSD$
PROG= tfmtodit PROG_CXX= tfmtodit
SRCS= tfmtodit.cc SRCS= tfmtodit.cc
DPADD= ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS} DPADD= ${LIBGROFF} ${LIBM}
LDADD= ${LIBGROFF} -lm -lstdc++ LDADD= ${LIBGROFF} -lm
CLEANFILES= ${MAN} CLEANFILES= ${MAN}
.include <bsd.prog.mk> .include <bsd.prog.mk>