diff --git a/gnu/lib/libg++/libg++/src/Makefile b/gnu/lib/libg++/libg++/src/Makefile index cf85afd76568..2cb74fa67d16 100644 --- a/gnu/lib/libg++/libg++/src/Makefile +++ b/gnu/lib/libg++/libg++/src/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.2 1996/12/17 18:57:01 phil Exp $ +# $NetBSD: Makefile,v 1.2 1996/12/17 21:32:27 cgd Exp $ LIB= g++ @@ -16,8 +16,13 @@ timer.c CXXFLAGS+= -nostdinc++ -I$(.CURDIR)/../../include \ -I$(.CURDIR)/../../libio -I$(.CURDIR)/../../libstdc++ CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../../libio +.if (${MACHINE} == "alpha") +LDADD= -lcurses +DPADD= ${LIBCURSES} +.else LDADD= ${DESTDIR}/usr/lib/c++rt0.o -lcurses DPADD= ${DESTDIR}/usr/lib/c++rt0.o ${LIBCURSES} +.endif NOMAN= noman LIBCURSES!= printf "xxx:\n\techo \$${LIBCURSES}\n.include " |\ $(MAKE) -r -s -f - xxx | grep curses diff --git a/gnu/lib/libg++/libg++2netbsd b/gnu/lib/libg++/libg++2netbsd index 3fefc03d8357..5f517349d86d 100644 --- a/gnu/lib/libg++/libg++2netbsd +++ b/gnu/lib/libg++/libg++2netbsd @@ -1,6 +1,6 @@ #!/usr/local/bin/perl # -# $NetBSD: libg++2netbsd,v 1.12 1996/12/17 19:14:16 phil Exp $ +# $NetBSD: libg++2netbsd,v 1.13 1996/12/17 21:32:26 cgd Exp $ # # Perl script to convert a standard distribution directory for libg++ into # a NetBSD source tree. @@ -506,8 +506,13 @@ LIB= g++ CXXFLAGS+= -nostdinc++ -I$(.CURDIR)/../../include \ -I$(.CURDIR)/../../libio -I$(.CURDIR)/../../libstdc++ CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../../libio +.if (${MACHINE} == "alpha") +LDADD= -lcurses +DPADD= ${LIBCURSES} +.else LDADD= ${DESTDIR}/usr/lib/c++rt0.o -lcurses DPADD= ${DESTDIR}/usr/lib/c++rt0.o ${LIBCURSES} +.endif NOMAN= noman LIBCURSES!= printf "xxx:\n\techo \$${LIBCURSES}\n.include " |\ $(MAKE) -r -s -f - xxx | grep curses