DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: M T

⟦1d6c9fe50⟧ TextFile

    Length: 1978 (0x7ba)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦3b20aab50⟧ »EurOpenD3/network/snmp/kip-snmp.91.tar.Z« 
        └─⟦b503a39fe⟧ 
            └─⟦this⟧ »kip/Makefile« 

TextFile

#
# makefile for KFPS/IP (KIP)
#
# Copyright (c) 1986 Kinetics, Inc.
#
# $Header: Makefile,v 4.1 88/11/01 19:47:28 sw0l Locked $
#
TARG=	gw
CSRCS=	gw.c gw2.c rtmp.c ie.c arp.c send.c init.c snmp_agent.c snmp.c asn1.c snmp_auth.c snmp_vars.c
ASRCS=	crt0.s gwasm.s
CRT0=	crt0.b
OBJS=	gwasm.b gw.b gw2.b rtmp.b ie.b arp.b send.b init.b snmp_agent.b snmp.b asn1.b snmp_auth.b snmp_vars.b
LIBS=	-lc
INCPATH=.
PBUFH=$(INCPATH)/fp/pbuf.h $(INCPATH)/fp/cmdmacro.h
INCS=	-I$(INCPATH) -I../snmplib
CC=	/usr/stanford/bin/cc68
#CFLAGS=	-z $(INCS) -DSTATS -DEDATA -DIP
#CFLAGS=	-z $(INCS) -DSTATS -DIP
CFLAGS=	$(INCS) -O -Dnoprepend -DKINETICS -DSNMP
AS=	/usr/stanford/bin/as68
LD=	/usr/stanford/bin/ld68

.SUFFIXES: .b

.c.b:
	$(CC) -c $(CFLAGS) $<

.s.b:
	m4 < $< > $<.x
	$(AS) -g -o $@ $<.x

all: $(TARG).srec

load: $(TARG).srec
	macput -u $(TARG).srec

$(TARG).srec: $(TARG).out
	etc/dl68 -T 64000 -o x.srec $(TARG).out
	cat s0 x.srec > $(TARG).srec
	rm x.srec
#	etc/efsputtext gw.srec ../mac

$(TARG).out: $(CRT0) $(OBJS) Makefile
	rm -f $(TARG).out
	$(LD) -T 64000 -q -X -o $(TARG).out -x $(CRT0) $(OBJS) $(LIBS)
	cp $(TARG).out $(TARG).sym
	strip $(TARG).out

snmp.b:	../snmplib/snmp.c
	${CC} ${CFLAGS} -c ../snmplib/snmp.c

snmp_agent.b:	../snmplib/snmp_agent.c
	${CC} ${CFLAGS} -c ../snmplib/snmp_agent.c

snmp_auth.b:	../snmplib/snmp_auth.c
	${CC} ${CFLAGS} -c ../snmplib/snmp_auth.c

snmp_vars.b:	../snmplib/snmp_vars.c
	${CC} ${CFLAGS} -c ../snmplib/snmp_vars.c

asn1.b:	    ../snmplib/asn1.c
	${CC} ${CFLAGS} -c ../snmplib/asn1.c



lint:
	lint -nhx $(LIBS) $(CSRCS)

clean:
	rm *.b *.out

#gw.h:	mung_gw.h
#$(INCPATH)/fp/cmdmacro.h: $(INCPATH)/fp/cmdidx.h
#arp.b:	gw.h $(PBUFH) inet.h 
#gw.b:	gw.h gwctl.h $(PBUFH) ab.h ether.h inet.h conf.h
#gw2.b:	gw.h gwctl.h $(PBUFH) ab.h inet.h 
#ie.b:	gw.h $(PBUFH) ie.h ether.h ab.h 
#rtmp.b:	gw.h gwctl.h $(PBUFH) ab.h inet.h 
#send.b:	gw.h $(PBUFH) 
#gwasm.b:	kfps.h
#$(CRT0):	kfps.h
#init.b:	gw.h $(PBUFH) ab.h ether.h inet.h ie.h