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

⟦b3313d509⟧ TextFile

    Length: 1427 (0x593)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦697af93db⟧ »EurOpenD3/network/snmp/mit-snmp.tar.Z« 
        └─⟦57bbcbe75⟧ 
            └─⟦this⟧ »./snmptrap/Makefile« 
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦925ee6880⟧ »EurOpenD3/network/snmp/mit-snmp.900225.tar.Z« 
        └─⟦a4bfa469c⟧ 
            └─⟦this⟧ »./snmptrap/Makefile« 

TextFile


#
#	$Header: Makefile,v 1.1 89/01/11 22:11:28 jrd Exp $
#	Author: J. Davin
#	Copyright 1988, 1989, Massachusetts Institute of Technology
#	See permission and disclaimer notice in file "notice.h"
#

PROGNAME	=	snmptrap
INCDIRS		=	-I. -I../snmp -I../bsd
LIBSNMP		=	../snmp/libsnmp.a
LLIBSNMP	=	../snmp/llib-lsnmp.ln
LIBBSD		=	../bsd/libbsd.a
LLIBBSD		=	../bsd/llib-lbsd.ln
CFLAGS		=	-O
CDEFS		=	-DINLINE
SOURCES		=	$(PROGNAME).c
RCSCMD		=	rlog -L -h

all:		$(PROGNAME)

$(PROGNAME):	$(PROGNAME).o $(LIBSNMP) $(LIBBSD)
		cc -o $(PROGNAME) $(PROGNAME).o $(LIBBSD) $(LIBSNMP)

depend:
		makedepend -- $(CDEFS) $(INCDIRS) -- $(SOURCES)

lint:           $(SOURCES) $(LLIBSNMP) $(LLIBBSD)
		lint $(CDEFS) $(INCDIRS) $(LLIBSNMP) $(LLIBBSD) $(SOURCES)

.c.o:
		cc $(CFLAGS) $(CDEFS) $(INCDIRS) -c $<

clean:
		rm -f $(PROGNAME) $(PROGNAME).o Makefile.bak core *.out

$(SOURCES):
		co $@

rcs:
		$(RCSCMD) Makefile $(SOURCES)


# DO NOT DELETE THIS LINE -- make depend depends on it.

snmptrap.o: ../snmp/notice.h /usr/include/sys/types.h
snmptrap.o: /usr/include/sys/socket.h /usr/include/netinet/in.h
snmptrap.o: /usr/include/stdio.h /usr/include/netdb.h /usr/include/signal.h
snmptrap.o: ../bsd/host.h ../snmp/ctypes.h ../snmp/rdx.h ../snmp/debug.h
snmptrap.o: ../snmp/smp.h ../snmp/error.h ../snmp/aps.h ../snmp/asn.h
snmptrap.o: ../snmp/asndefs.h ../snmp/asl.h ../snmp/asldefs.h ../snmp/ap0.h
snmptrap.o: ../snmp/smx.h ../bsd/udp.h