--- cci/usr/src/etc/nstat/Makefile 2019/07/28 12:24:19 1.1 +++ cci/usr/src/etc/nstat/Makefile 2019/07/28 12:24:30 1.1.1.2 @@ -1,10 +1,25 @@ -# Source for this area not supported in general source release. Please -# refer to specific release package / software source. - -default: dummy -all: dummy -install: dummy -clean: dummy -dummy: - @echo "make complete" +# @(#)Makefile 4.4 12/18/82 # +# OBJS2: for debugging with "cdb" +MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR} + + +OBJS1= host.o inet.o if.o main.o mbuf.o route.o acestat.o enpstat.o \ + arptab.o enperrors.o enpbuf.o + +#OBJS2 = end.o +#CFLAGS= -g "-Dregister=" -Dtahoe -I${INCLDIR} + +OBJS2 = +CFLAGS= -O -I${INCLDIR} +OBJS = ${OBJS1} ${OBJS2} +DESTDIR= + +nstat: ${OBJS} + ${CC} ${CFLAGS} ${OBJS} -o nstat + +install: etherstat + install -s nstat ${DESTDIR}/usr/ucb + +clean: + rm -f *.o core a.out errs