1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-24 07:40:52 +00:00

Add -lstdc++ to the link args for these C++ tools so that they can be

compiled with gcc-3.1.  Somebody thought it was a good idea to move
the implementation of new and delete from libgcc to libstdc++.  This
change doesn't harm the current compiler in the tree.
This commit is contained in:
Peter Wemm 2002-04-07 02:40:55 +00:00
parent ae17860040
commit fffa0325f7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94013
21 changed files with 43 additions and 40 deletions

View File

@ -14,4 +14,7 @@ SRCS+= hash.cc getopt.c getopt1.c
CXXFLAGS+= -I${GPROFDIR}/lib -I${.CURDIR}
DPADD+= ${LIBSTDCPLUSPLUS}
LDADD+= -lstdc++
.include <bsd.prog.mk>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -5,8 +5,8 @@ SRCS= eqn.cc eqn_tab.h main.cc lex.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
CFLAGS+= -I${DIST_DIR} -I.
DPADD= ${LIBGROFF}
LDADD= ${LIBGROFF}
DPADD= ${LIBGROFF} ${LIBSTDCPLUSPLUS}
LDADD= ${LIBGROFF} -lstdc++
SCRIPTS= neqn
MAN= eqn.1 neqn.1
CLEANFILES= eqn.cc eqn_tab.h ${SCRIPTS} ${MAN} y.tab.c y.tab.h

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -2,8 +2,8 @@
PROG= addftinfo
SRCS= addftinfo.cc guess.cc
DPADD= ${LIBGROFF}
LDADD= ${LIBGROFF}
DPADD= ${LIBGROFF} ${LIBSTDCPLUSPLUS}
LDADD= ${LIBGROFF} -lstdc++
CLEANFILES= ${MAN}
.include <bsd.prog.mk>

View File

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

View File

@ -2,8 +2,8 @@
PROG= indxbib
SRCS= indxbib.cc signal.c
DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM}
LDADD= ${LIBBIB} ${LIBGROFF} -lm
DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM} ${LIBSTDCPLUSPLUS}
LDADD= ${LIBBIB} ${LIBGROFF} -lm -lstdc++
CLEANFILES= ${MAN}
beforeinstall:

View File

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

View File

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

View File

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