head	1.5;
access;
symbols;
locks; strict;
comment	@# @;


1.5
date	94.08.26.19.58.02;	author davy;	state Exp;
branches;
next	1.4;

1.4
date	92.05.08.14.15.36;	author davy;	state Exp;
branches;
next	1.3;

1.3
date	92.05.08.13.05.51;	author davy;	state Exp;
branches;
next	1.2;

1.2
date	92.05.08.09.27.24;	author davy;	state Exp;
branches;
next	1.1;

1.1
date	91.11.27.10.56.07;	author davy;	state Exp;
branches;
next	;


desc
@Version 1.0.
@


1.5
log
@Applied Solaris patches from Steven Bellenot (sfb@@entropy.math.fsu.edu).
@
text
@#
# $Header: /usr/local/src/getethers/RCS/Makefile,v 1.4 1992/05/08 14:15:36 davy Exp davy $
#
# Makefile for getethers.
#
# David A. Curry
# Purdue University
# Engineering Computer Network
# davy@@ecn.purdue.edu
# November, 1991
#
BINDIR=	/usr/local/etc
MANDIR=	/usr/local/man/man8

#
# Add -DNEED_STRDUP if you don't have the strdup() library routine.
# Add -DNEED_ENTOA  if you don't have the ether_ntoa() library routine.
# Add -DSOLARIS -DBSD_COMP if you are using Solaris 2.x
#
DEFS=	-DSOLARIS -DBSD_COMP
CFLAGS=	-O $(DEFS)

#
# Add -lnsl -lsocket if you are using Solaris 2.x
#
LIBS=	-lnsl -lsocket

OBJS=	arp.o excelan.o if.o main.o ping.o sniffer.o vendors.o

getethers: $(OBJS)
	$(CC) -o getethers $(OBJS) $(LIBS)

install: getethers
	install -c -s -m 4750 -o root -g wheel getethers $(BINDIR)/getethers
	install -c -m 644 getethers.8l $(MANDIR)/getethers.8l

clean:
	rm -f a.out core getethers *.o \#*

arp.o:		arp.c defs.h
excelan.o:	excelan.c defs.h
main.o:		main.c defs.h
if.o:		if.c defs.h
ping.o:		ping.c
sniffer.o:	sniffer.c defs.h
vendors.o:	vendors.c defs.h
@


1.4
log
@Made portable to 4.3BSD, from Peter Shipley (shipley@@tfs.com).
@
text
@d2 1
a2 1
# $Header: /usr/src/ecn/getethers/RCS/Makefile,v 1.3 92/05/08 13:05:51 davy Exp Locker: davy $
d12 2
a13 2
BINDIR=	/usr/ecn/etc
MANDIR=	/usr/man/man8
d17 2
a18 1
# Add -DNEED_ENTOA  if you don'y have the ether_ntoa() library routine.
d20 1
a20 1
DEFS=
d23 5
d31 1
a31 1
	$(CC) -o getethers $(OBJS)
@


1.3
log
@Added vendor name printing from Peter Shipley (shipley@@tfs.com).
@
text
@d2 1
a2 1
# $Header: /usr/src/ecn/getethers/RCS/Makefile,v 1.2 92/05/08 09:27:24 davy Exp Locker: davy $
d15 6
a20 1
CFLAGS=	-O
d34 1
a34 1
arp.o:		arp.c
d40 1
a40 1
vendors.o:	vendors.c
@


1.2
log
@Added changes to dump Sniffer format files from Ric Anderson,
ric@@cs.arizona.edu.
@
text
@d2 1
a2 1
# $Header: /usr/src/ecn/getethers/RCS/Makefile,v 1.1 91/11/27 10:56:07 davy Exp Locker: davy $
d17 1
a17 1
OBJS=	arp.o excelan.o if.o main.o ping.o sniffer.o
d35 1
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# $Header$
d17 1
a17 1
OBJS=	arp.o excelan.o if.o main.o ping.o
d34 1
@
