*BSD News Article 36898


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!pipex!uunet!twinkie.agile.com!mars.agile.com!cdunn
From: cdunn@mars.agile.com (Chad Dunn)
Subject: Modifications to Routed
Sender: usenet@twinkie.agile.com (News)
Message-ID: <CxKttw.3s9@twinkie.agile.com>
Date: Wed, 12 Oct 1994 20:20:19 GMT
Organization: Agile Networks, Inc.
X-Newsreader: TIN [version 1.1 PL9]
Lines: 42

	I recenlty got the source for routed in order to make some modifications, however
when I try to use "make" I run into some trouble with the Makefile...

#       @(#)Makefile    5.16 (Berkeley) 4/26/91

PROG=   routed
SRCS=   af.c if.c input.c main.c output.c startup.c tables.c timer.c \
        trace.c inet.c
MAN8=   routed.0
SUBDIR= query trace
DPADD=  ${LIBUTIL} ${LIBCOMPAT}
LDADD=  -lutil -lcompat

# .include <bsd.prog.mk>

# .if (${MACHINE} == "vax")
# The following can be deleted where not appropriate to use the kernel's
# inline code expansions.
INLINE= /sys/vax/inline/obj/inline
C2=     /usr/libexec/c2
c.o:
        ${CC} -S ${CFLAGS} ${.CURDIR}/${.PREFIX}.c
        @${C2} ${.PREFIX}.s | ${INLINE} | ${AS} -o ${.PREFIX}.o
        @rm -f ${.PREFIX}.s
# .endif


This is the Makefile with a few things commented out that i didn't need, but here's what 
happens when I try to do a make....

mars 153: make
Make: No arguments or description file.  Stop.
mars 154:


I really need to figure this out, I'd appreciate any help I could get.  I've tried to comile 
in HpUX as well as SunOS.

Thanks in advance

Chad Dunn