- use PROG not PROG_CXX

- link with -lm -lsupc++

as discussed in the audit-trail for PR#26714, now fixed.
This commit is contained in:
mrg 2006-10-09 08:32:53 +00:00
parent b55240a473
commit d32c431bcc
21 changed files with 84 additions and 84 deletions

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.3 2003/06/30 18:47:48 wiz Exp $
# $NetBSD: Makefile,v 1.4 2006/10/09 08:32:53 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/devices/grodvi/Makefile,v 1.4 2003/05/01 13:22:18 ru Exp $
DIST_SUBDIR= src/devices/grodvi
PROG_CXX= grodvi
PROG= grodvi
SRCS= dvi.cpp
DPADD+= ${LIBDRIVER} ${LIBGROFF} ${LIBM}
LDADD+= ${LIBDRIVER} ${LIBGROFF} -lm
DPADD+= ${LIBDRIVER} ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBDRIVER} ${LIBGROFF} -lm -lsupc++
CLEANFILES= ${MAN}
.include <bsd.prog.mk>

View File

@ -1,14 +1,14 @@
# $NetBSD: Makefile,v 1.4 2003/11/03 17:05:28 wiz Exp $
# $NetBSD: Makefile,v 1.5 2006/10/09 08:32:53 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/devices/grohtml/Makefile,v 1.5 2003/05/01 13:22:18 ru Exp $
DIST_SUBDIR= src/devices/grohtml
PROG_CXX= post-grohtml
PROG= post-grohtml
MAN= grohtml.1
SRCS= post-html.cpp html-table.cpp html-text.cpp output.cpp
DPADD+= ${LIBDRIVER} ${LIBGROFF} ${LIBM}
LDADD+= ${LIBDRIVER} ${LIBGROFF} -lm
DPADD+= ${LIBDRIVER} ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBDRIVER} ${LIBGROFF} -lm -lsupc++
CLEANFILES= ${MAN}
.include <bsd.prog.mk>

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.3 2003/06/30 18:47:48 wiz Exp $
# $NetBSD: Makefile,v 1.4 2006/10/09 08:32:54 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/devices/grolbp/Makefile,v 1.4 2003/05/01 13:22:18 ru Exp $
DIST_SUBDIR= src/devices/grolbp
PROG_CXX= grolbp
PROG= grolbp
SRCS= lbp.cpp
DPADD+= ${LIBDRIVER} ${LIBGROFF} ${LIBM}
LDADD+= ${LIBDRIVER} ${LIBGROFF} -lm
DPADD+= ${LIBDRIVER} ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBDRIVER} ${LIBGROFF} -lm -lsupc++
CLEANFILES= ${MAN}
.include <bsd.prog.mk>

View File

@ -1,14 +1,14 @@
# $NetBSD: Makefile,v 1.4 2004/07/30 15:04:19 wiz Exp $
# $NetBSD: Makefile,v 1.5 2006/10/09 08:32:54 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/devices/grolj4/Makefile,v 1.4 2003/05/01 13:22:18 ru Exp $
DIST_SUBDIR= src/devices/grolj4
PROG_CXX= grolj4
PROG= grolj4
SRCS= lj4.cpp
MAN= grolj4.1 lj4_font.5
DPADD+= ${LIBDRIVER} ${LIBGROFF} ${LIBM}
LDADD+= ${LIBDRIVER} ${LIBGROFF} -lm
DPADD+= ${LIBDRIVER} ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBDRIVER} ${LIBGROFF} -lm -lsupc++
CLEANFILES= ${MAN}
.include <bsd.prog.mk>

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.3 2003/06/30 18:47:49 wiz Exp $
# $NetBSD: Makefile,v 1.4 2006/10/09 08:32:54 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/devices/grops/Makefile,v 1.4 2003/05/01 13:22:19 ru Exp $
DIST_SUBDIR= src/devices/grops
PROG_CXX= grops
PROG= grops
SRCS= ps.cpp psrm.cpp
DPADD+= ${LIBDRIVER} ${LIBGROFF} ${LIBM}
LDADD+= ${LIBDRIVER} ${LIBGROFF} -lm
DPADD+= ${LIBDRIVER} ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBDRIVER} ${LIBGROFF} -lm -lsupc++
CLEANFILES= ${MAN}
.include <bsd.prog.mk>

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.3 2003/06/30 18:47:49 wiz Exp $
# $NetBSD: Makefile,v 1.4 2006/10/09 08:32:54 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/devices/grotty/Makefile,v 1.4 2003/05/01 13:22:19 ru Exp $
DIST_SUBDIR= src/devices/grotty
PROG_CXX= grotty
PROG= grotty
SRCS= tty.cpp
DPADD+= ${LIBDRIVER} ${LIBGROFF} ${LIBM}
LDADD+= ${LIBDRIVER} ${LIBGROFF} -lm
DPADD+= ${LIBDRIVER} ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBDRIVER} ${LIBGROFF} -lm -lsupc++
CLEANFILES= ${MAN}
.include <bsd.prog.mk>

View File

@ -1,17 +1,17 @@
# $NetBSD: Makefile,v 1.7 2003/10/20 00:54:37 lukem Exp $
# $NetBSD: Makefile,v 1.8 2006/10/09 08:32:54 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/preproc/eqn/Makefile,v 1.4 2003/05/01 13:22:19 ru Exp $
DIST_SUBDIR= src/preproc/eqn
PROG_CXX= eqn
PROG= eqn
SRCS= main.cpp lex.cpp \
box.cpp limit.cpp list.cpp over.cpp text.cpp \
script.cpp mark.cpp other.cpp delim.cpp sqrt.cpp pile.cpp special.cpp
GROFFYSRCS= eqn.y
CFLAGS+= -I${DIST_DIR} -I.
DPADD+= ${LIBGROFF}
LDADD+= ${LIBGROFF}
DPADD+= ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBGROFF} -lm -lsupc++
SCRIPTS= neqn
MAN= eqn.1 neqn.1
CLEANFILES= ${SCRIPTS} ${MAN}

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.3 2003/06/30 18:47:51 wiz Exp $
# $NetBSD: Makefile,v 1.4 2006/10/09 08:32:54 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/preproc/grn/Makefile,v 1.4 2003/05/01 13:22:19 ru Exp $
DIST_SUBDIR= src/preproc/grn
PROG_CXX= grn
PROG= grn
SRCS= hdb.cpp hpoint.cpp hgraph.cpp main.cpp
DPADD+= ${LIBGROFF} ${LIBM}
LDADD+= ${LIBGROFF} -lm
DPADD+= ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBGROFF} -lm -lsupc++
CLEANFILES= ${MAN}
.include <bsd.prog.mk>

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.3 2003/06/30 18:47:51 wiz Exp $
# $NetBSD: Makefile,v 1.4 2006/10/09 08:32:54 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/preproc/html/Makefile,v 1.5 2003/05/01 13:22:20 ru Exp $
DIST_SUBDIR= src/preproc/html
PROG_CXX= pre-grohtml
PROG= pre-grohtml
SRCS= pre-html.cpp pushback.cpp
DPADD+= ${LIBGROFF}
LDADD+= ${LIBGROFF}
DPADD+= ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBGROFF} -lm -lsupc++
NOMAN= YES
.include <bsd.prog.mk>

View File

@ -1,16 +1,16 @@
# $NetBSD: Makefile,v 1.8 2003/10/20 00:54:37 lukem Exp $
# $NetBSD: Makefile,v 1.9 2006/10/09 08:32:54 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/preproc/pic/Makefile,v 1.4 2003/05/01 13:22:20 ru Exp $
DIST_SUBDIR= src/preproc/pic
PROG_CXX= pic
PROG= pic
SRCS= lex.cpp main.cpp object.cpp \
common.cpp troff.cpp tex.cpp
GROFFYSRCS= pic.y
CFLAGS+= -I${DIST_DIR} -I.
DPADD+= ${LIBGROFF} ${LIBM}
LDADD+= ${LIBGROFF} -lm
DPADD+= ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBGROFF} -lm -lsupc++
CLEANFILES= ${MAN}
.include <bsd.prog.mk>

View File

@ -1,15 +1,15 @@
# $NetBSD: Makefile,v 1.8 2003/10/20 00:54:37 lukem Exp $
# $NetBSD: Makefile,v 1.9 2006/10/09 08:32:54 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/preproc/refer/Makefile,v 1.4 2003/05/01 13:22:20 ru Exp $
DIST_SUBDIR= src/preproc/refer
PROG_CXX= refer
PROG= refer
SRCS= command.cpp ref.cpp refer.cpp token.cpp
GROFFYSRCS= label.y
CFLAGS+= -I${DIST_DIR}
DPADD+= ${LIBBIB} ${LIBGROFF} ${LIBM}
LDADD+= ${LIBBIB} ${LIBGROFF} -lm
DPADD+= ${LIBBIB} ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBBIB} ${LIBGROFF} -lm -lsupc++
CLEANFILES= ${MAN}
.include <bsd.prog.mk>

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.3 2003/06/30 18:47:52 wiz Exp $
# $NetBSD: Makefile,v 1.4 2006/10/09 08:32:54 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/preproc/soelim/Makefile,v 1.3 2003/05/01 13:22:20 ru Exp $
DIST_SUBDIR= src/preproc/soelim
PROG_CXX= soelim
PROG= soelim
SRCS= soelim.cpp
DPADD+= ${LIBGROFF}
LDADD+= ${LIBGROFF}
DPADD+= ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBGROFF} -lm -lsupc++
CLEANFILES= ${MAN}
.include <bsd.prog.mk>

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.3 2003/06/30 18:47:53 wiz Exp $
# $NetBSD: Makefile,v 1.4 2006/10/09 08:32:54 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/preproc/tbl/Makefile,v 1.4 2003/05/01 13:22:20 ru Exp $
DIST_SUBDIR= src/preproc/tbl
PROG_CXX= tbl
PROG= tbl
SRCS= main.cpp table.cpp
DPADD+= ${LIBGROFF} ${LIBM}
LDADD+= ${LIBGROFF} -lm
DPADD+= ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBGROFF} -lm -lsupc++
CLEANFILES= ${MAN}
.include <bsd.prog.mk>

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.3 2003/06/30 18:47:53 wiz Exp $
# $NetBSD: Makefile,v 1.4 2006/10/09 08:32:54 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/roff/groff/Makefile,v 1.7 2003/05/01 13:22:20 ru Exp $
DIST_SUBDIR= src/roff/groff
PROG_CXX= groff
PROG= groff
SRCS= groff.cpp pipeline.c
DPADD+= ${LIBGROFF} ${LIBM}
LDADD+= ${LIBGROFF} -lm
DPADD+= ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBGROFF} -lm -lsupc++
CLEANFILES= ${MAN}
.include <bsd.prog.mk>

View File

@ -1,14 +1,14 @@
# $NetBSD: Makefile,v 1.7 2006/02/06 18:29:48 wiz Exp $
# $NetBSD: Makefile,v 1.8 2006/10/09 08:32:54 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/roff/troff/Makefile,v 1.4 2003/05/01 13:22:20 ru Exp $
DIST_SUBDIR= src/roff/troff
PROG_CXX= troff
PROG= troff
SRCS= dictionary.cpp div.cpp env.cpp input.cpp \
majorminor.cpp mtsm.cpp node.cpp number.cpp reg.cpp
DPADD+= ${LIBGROFF} ${LIBM}
LDADD+= ${LIBGROFF} -lm
DPADD+= ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBGROFF} -lm -lsupc++
CLEANFILES= majorminor.cpp ${MAN}
.include <bsd.prog.mk>

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.3 2003/06/30 18:47:55 wiz Exp $
# $NetBSD: Makefile,v 1.4 2006/10/09 08:32:54 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/utils/addftinfo/Makefile,v 1.4 2003/05/01 13:22:20 ru Exp $
DIST_SUBDIR= src/utils/addftinfo
PROG_CXX= addftinfo
PROG= addftinfo
SRCS= addftinfo.cpp guess.cpp
DPADD+= ${LIBGROFF}
LDADD+= ${LIBGROFF}
DPADD+= ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBGROFF} -lm -lsupc++
CLEANFILES= ${MAN}
.include <bsd.prog.mk>

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.4 2004/07/30 15:04:19 wiz Exp $
# $NetBSD: Makefile,v 1.5 2006/10/09 08:32:54 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/utils/hpftodit/Makefile,v 1.4 2003/05/01 13:22:20 ru Exp $
DIST_SUBDIR= src/utils/hpftodit
PROG_CXX= hpftodit
PROG= hpftodit
SRCS= hpftodit.cpp hpuni.cpp
DPADD+= ${LIBGROFF} ${LIBM}
LDADD+= ${LIBGROFF} -lm
DPADD+= ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBGROFF} -lm -lsupc++
CLEANFILES= ${MAN}
.include <bsd.prog.mk>

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.3 2003/06/30 18:47:56 wiz Exp $
# $NetBSD: Makefile,v 1.4 2006/10/09 08:32:54 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/utils/indxbib/Makefile,v 1.7 2003/05/01 13:22:21 ru Exp $
DIST_SUBDIR= src/utils/indxbib
PROG_CXX= indxbib
PROG= indxbib
SRCS= indxbib.cpp signal.c
DPADD+= ${LIBBIB} ${LIBGROFF} ${LIBM}
LDADD+= ${LIBBIB} ${LIBGROFF} -lm
DPADD+= ${LIBBIB} ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBBIB} ${LIBGROFF} -lm -lsupc++
CLEANFILES= ${MAN}
COMMON_WORDS_FILE!=awk -F\" '/COMMON_WORDS_FILE/ { print $$2 }' ${.CURDIR}/../../include/defs.h

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.3 2003/06/30 18:47:56 wiz Exp $
# $NetBSD: Makefile,v 1.4 2006/10/09 08:32:54 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/utils/lkbib/Makefile,v 1.4 2003/05/01 13:22:21 ru Exp $
DIST_SUBDIR= src/utils/lkbib
PROG_CXX= lkbib
PROG= lkbib
SRCS= lkbib.cpp
DPADD+= ${LIBBIB} ${LIBGROFF} ${LIBM}
LDADD+= ${LIBBIB} ${LIBGROFF} -lm
DPADD+= ${LIBBIB} ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBBIB} ${LIBGROFF} -lm -lsupc++
CLEANFILES= ${MAN}
.include <bsd.prog.mk>

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.3 2003/06/30 18:47:56 wiz Exp $
# $NetBSD: Makefile,v 1.4 2006/10/09 08:32:55 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/utils/lookbib/Makefile,v 1.4 2003/05/01 13:22:21 ru Exp $
DIST_SUBDIR= src/utils/lookbib
PROG_CXX= lookbib
PROG= lookbib
SRCS= lookbib.cpp
DPADD+= ${LIBBIB} ${LIBGROFF} ${LIBM}
LDADD+= ${LIBBIB} ${LIBGROFF} -lm
DPADD+= ${LIBBIB} ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBBIB} ${LIBGROFF} -lm -lsupc++
CLEANFILES= ${MAN}
.include <bsd.prog.mk>

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.3 2003/06/30 18:47:57 wiz Exp $
# $NetBSD: Makefile,v 1.4 2006/10/09 08:32:55 mrg Exp $
# $FreeBSD: src/gnu/usr.bin/groff/src/utils/tfmtodit/Makefile,v 1.4 2003/05/01 13:22:21 ru Exp $
DIST_SUBDIR= src/utils/tfmtodit
PROG_CXX= tfmtodit
PROG= tfmtodit
SRCS= tfmtodit.cpp
DPADD+= ${LIBGROFF} ${LIBM}
LDADD+= ${LIBGROFF} -lm
DPADD+= ${LIBGROFF} ${LIBM} ${LIBSUPCXX}
LDADD+= ${LIBGROFF} -lm -lsupc++
CLEANFILES= ${MAN}
.include <bsd.prog.mk>