-# $Id: Makefile,v 1.1.1.1 1995/10/18 08:38:17 deraadt Exp $
+# $Id: Makefile,v 1.2 1995/12/14 03:42:17 deraadt Exp $
LIB= g++
NOMAN= noman
.PATH: $(.CURDIR)/../iostream
LIBCURSES!= printf "xxx:\n\techo \$${LIBCURSES}\n.include <bsd.prog.mk>" |\
- $(MAKE) -r -s -f - xxx
+ $(MAKE) -r -s -f - xxx | grep curses
.include <bsd.lib.mk>
LIBUNIX!=cd $(.CURDIR)/../libunix; \
- printf "xxx:\n\techo \$${.OBJDIR}/libunix.a\n" | ${MAKE} -r -s -f - xxx
+ printf "xxx:\n\techo \$${.OBJDIR}/libunix.a\n" | \
+ ${MAKE} -r -s -f - xxx | grep libunix
LIBUUCONF!=cd $(.CURDIR)/../libuuconf; \
- printf "xxx:\n\techo \$${.OBJDIR}/libuuconf.a\n" | ${MAKE} -r -s -f - xxx
+ printf "xxx:\n\techo \$${.OBJDIR}/libuuconf.a\n" | \
+ ${MAKE} -r -s -f - xxx | grep libuuconf
LIBUUCP!=cd $(.CURDIR)/../libuucp; \
- printf "xxx:\n\techo \$${.OBJDIR}/libuucp.a\n" | ${MAKE} -r -s -f - xxx
+ printf "xxx:\n\techo \$${.OBJDIR}/libuucp.a\n" | \
+ ${MAKE} -r -s -f - xxx | grep libuucp
VERSION= 1.06.1
owner= uucp
-# $NetBSD: Makefile,v 1.24 1995/09/27 12:46:07 cgd Exp $
+# $NetBSD: Makefile,v 1.27 1995/12/07 07:26:32 phil Exp $
SUBDIR+= bc cpio dc diff diff3 gawk grep groff
SUBDIR+= gzip rcs sdiff send-pr sort tar
# some ports don't use the tool chain in /usr/src
-.if (${MACHINE_ARCH} != "alpha") && (${MACHINE_ARCH} != "mips")
+.if (${MACHINE_ARCH} != "alpha") && (${MACHINE_ARCH} != "mips") && \
+ (${MACHINE_ARCH} != "vax") && (${MACHINE_ARCH} != "ns32k")
SUBDIR+= gas gcc2 gdb ld
.endif
+# ns32k and vax wants newer gcc
+.if (${MACHINE_ARCH} == "ns32k") || (${MACHINE_ARCH} == "vax")
+SUBDIR+= gas gcc gdb ld
+.endif
+
# XXX alpha still needs the /usr/bin/cpp script.
.if (${MACHINE_ARCH} == "alpha")
afterinstall:
-# $Id: Makefile.cc1,v 1.1.1.1 1995/10/18 08:39:15 deraadt Exp $
+# $Id: Makefile.cc1,v 1.2 1995/12/14 03:42:27 deraadt Exp $
NOMAN=
YFLAGS=
LIBCC1!= cd $(.CURDIR)/../common; \
- printf "xxx:\n\techo \$${.OBJDIR}/libcc1.a\n" | ${MAKE} -r -s -f - xxx
+ printf "xxx:\n\techo \$${.OBJDIR}/libcc1.a\n" | \
+ ${MAKE} -r -s -f - xxx | grep libcc1
LDADD+=${LIBCC1} -lgnumalloc
DPADD+= /usr/lib/libgnumalloc.a
-# $Id: Makefile,v 1.1.1.1 1995/10/18 08:39:48 deraadt Exp $
+# $Id: Makefile,v 1.2 1995/12/14 03:42:30 deraadt Exp $
LIB= gcc
NOPROFILE=
LIB2SOBJS=${LIB2OBJS:.o=.so}
#${LIB1OBJS}: libgcc1.c
-# ${COMPILE.c} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc1.c
-# @${LD} -x -r ${.TARGET}
-# @mv a.out ${.TARGET}
+# @echo "${COMPILE.c} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc1.c"
+# @${COMPILE.c} -DL${.PREFIX} -o ${.TARGET}.o ${.CURDIR}/libgcc1.c
+# @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
+# @rm -f ${.TARGET}.o
${LIB2OBJS}: libgcc2.c
- ${COMPILE.c} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc2.c
- @${LD} -x -r ${.TARGET}
- @mv a.out ${.TARGET}
+ @echo "${COMPILE.c} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc2.c"
+ @${COMPILE.c} -DL${.PREFIX} -o ${.TARGET}.o ${.CURDIR}/libgcc2.c
+ @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
+ @rm -f ${.TARGET}.o
#${LIB1SOBJS}: libgcc1.c
# ${COMPILE.c} -fpic -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc1.c
-# $Id: Makefile,v 1.1.1.1 1995/10/18 08:39:56 deraadt Exp $
+# $Id: Makefile,v 1.2 1995/12/14 03:42:35 deraadt Exp $
# Paths to libraries
#
+PARALLEL=yes
LIBBFD!=cd $(.CURDIR)/../bfd; \
- printf "xxx:\n\techo \$${.OBJDIR}/libbfd.a\n" | ${MAKE} -r -s -f - xxx
+ printf "xxx:\n\techo \$${.OBJDIR}/libbfd.a\n" | \
+ ${MAKE} -r -s -f - xxx | grep libbfd
LIBREADLINE!=cd $(.CURDIR)/../readline; \
- printf "xxx:\n\techo \$${.OBJDIR}/libreadline.a\n" | ${MAKE} -r -s -f - xxx
+ printf "xxx:\n\techo \$${.OBJDIR}/libreadline.a\n" | \
+ ${MAKE} -r -s -f - xxx | grep libreadline
LIBIBERTY!=cd $(.CURDIR)/../libiberty; \
- printf "xxx:\n\techo \$${.OBJDIR}/libiberty.a\n" | ${MAKE} -r -s -f - xxx
+ printf "xxx:\n\techo \$${.OBJDIR}/libiberty.a\n" | \
+ ${MAKE} -r -s -f - xxx | grep libiberty
PROG= gdb
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: i386b-nat.c,v 1.3 1995/11/23 15:56:20 deraadt Exp $
+ $Id: i386b-nat.c,v 1.4 1995/12/14 03:42:37 deraadt Exp $
*/
#include <sys/types.h>
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: nm.h,v 1.2 1995/11/23 15:56:21 deraadt Exp $
+ $Id: nm.h,v 1.3 1995/12/14 03:42:38 deraadt Exp $
*/
#ifndef NM_I386BSD_H
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: tm.h,v 1.2 1995/11/23 15:56:22 deraadt Exp $
+ $Id: tm.h,v 1.3 1995/12/14 03:42:39 deraadt Exp $
*/
/* Override number of expected traps from sysv. */
-# $Id: Makefile,v 1.1.1.1 1995/10/18 08:40:13 deraadt Exp $
+# $Id: Makefile,v 1.2 1995/12/14 03:42:41 deraadt Exp $
# Paths to libraries
#
LIBBFD!=cd $(.CURDIR)/../bfd; \
- printf "xxx:\n\techo \$${.OBJDIR}/libbfd.a\n" | make -r -s -f - xxx
+ printf "xxx:\n\techo \$${.OBJDIR}/libbfd.a\n" | \
+ ${MAKE} -r -s -f - xxx | grep libbfd
LIBIBERTY!=cd $(.CURDIR)/../libiberty; \
- printf "xxx:\n\techo \$${.OBJDIR}/libiberty.a\n" | make -r -s -f - xxx
+ printf "xxx:\n\techo \$${.OBJDIR}/libiberty.a\n" | \
+ ${MAKE} -r -s -f - xxx | grep libiberty
PROG= objdump
-# $NetBSD: Makefile,v 1.16 1995/04/23 07:58:45 cgd Exp $
+# $NetBSD: Makefile,v 1.17 1995/10/24 22:18:34 jtc Exp $
PROG= gzip
SRCS= gzip.c zip.c deflate.c trees.c bits.c unzip.c inflate.c util.c \
LDADD+= -lgnumalloc
DPADD+= /usr/lib/libgnumalloc.a
-MLINKS= gzip.1 gunzip.1 gzip.1 gzcat.1 gzip.1 zcat.1
+MLINKS+= gzip.1 gunzip.1 gzip.1 gzcat.1 gzip.1 zcat.1
+MLINKS+= zdiff.1 zcmp.1
#MLINKS+= gzip.1 uncompress.1
LINKS+= ${BINDIR}/gzip ${BINDIR}/gunzip
LINKS+= ${BINDIR}/gzip ${BINDIR}/gzcat
-#LINKS+= ${BINDIR}/gzip ${BINDIR}/uncompress
LINKS+= ${BINDIR}/gzip ${BINDIR}/zcat
+LINKS+= ${BINDIR}/zdiff ${BINDIR}/zcmp
+#LINKS+= ${BINDIR}/gzip ${BINDIR}/uncompress
afterinstall:
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
-# $Id: Makefile.inc,v 1.1.1.1 1995/10/18 08:40:59 deraadt Exp $
+# $Id: Makefile.inc,v 1.2 1995/12/14 03:43:17 deraadt Exp $
LIBRCS!=cd $(.CURDIR)/../lib; \
- printf "xxx:\n\techo \$${.OBJDIR}/librcs.a\n" | ${MAKE} -r -s -f - xxx
+ printf "xxx:\n\techo \$${.OBJDIR}/librcs.a\n" | \
+ ${MAKE} -r -s -f - xxx | grep librcs
elif [ -f $HOME/.fullname ]; then
ORIGINATOR="`sed -e '1q' $HOME/.fullname`"
else
- # Must use temp file due to incompatibilities in quoting behavior
- # and to protect shell metacharacters in the expansion of $LOGNAME
- $PASSWD | grep "^$LOGNAME:" | awk -F: '{print $5}' | sed -e 's/,.*//' > $TEMP
- ORIGINATOR="`cat $TEMP`"
- rm -f $TEMP
+ ORIGINATOR=`$PASSWD | sed -e /"$LOGNAME"/'{s/^[^:]*:[^:]*:[^:]*:[^:]*:\([^,:;]*\).*$/\1/' -e q -e } -e d`
+ case "$ORIGINATOR" in
+ *'&'*)
+ TEMP=`echo $LOGNAME | tr '[a-z]' '[A-Z]'`
+ TEMP=`echo $TEMP $LOGNAME | sed 's/^\(.\)[^ ]* ./\1/'`
+ ORIGINATOR=`echo "$ORIGINATOR" | sed "s/&/$TEMP/"`
+ ;;
+ esac
fi
if [ -n "$ORGANIZATION" ]; then