# # Unix Makefile for OCxMON ASN lookup, GNU autoconfig version # # A note on NeTraMet's compile-time variables .. # # DOS and Unix meters compile using C and define NETRAMET # OCxMON meter compiles using C++ and don't define NETRAMET # # NETRAMET is used to leave out things we don't need for DOS and Unix # Note on Irix: The Irix compiler doesn't like // comments very much!! GF= @GFLAG@ SHELL= /bin/sh RM=rm -f srcdir= ../.. SRC= $(srcdir)/src/bgp/integrat INC= $(srcdir)/src/bgp/integrat NTCONF= $(srcdir)/ntm_conf.h LIBS= -lnsl -lsocket # for Solaris OBJS= readbgp.o subnet.o unixtcp.o TARG= libbgp.a CC= @CC@ CFLAGS= $(GF) -I$(INC) -I$(srcdir) -DNETRAMET -DNF_OCX_BGP=1 -D@OS@ @DEFS@ all: $(TARG) readbgp.o: $(NTCONF) $(SRC)/readbgp.c $(CC) $(CFLAGS) -c $(SRC)/readbgp.c subnet.o: $(NTCONF) $(INC)/subnet.h $(INC)/subnetp.h \ $(SRC)/subnet.c $(SRC)/subnetp.c $(CC) $(CFLAGS) -c $(SRC)/subnet.c unixtcp.o: $(NTCONF) $(SRC)/../wattcp/unixtcp.c $(CC) $(CFLAGS) -c $(SRC)/../wattcp/unixtcp.c libbgp.a: ${OBJS} ar r libbgp.a ${OBJS} @RANLIB@ libbgp.a ip2as.o: $(SRC)/ip2as.c $(CC) $(CFLAGS) -c $(SRC)/ip2as.c ip2as: ip2as.o $(OBJS) $(CC) -o ip2as ip2as.o $(LIBS) $(OBJS) install: ../lib/libbgp.a lint: lint -nhx $(CSRCS) clean: $(RM) ${OBJS} ${TARG} *.lib *~ *.bak *core distclean: clean $(RM) Makefile \#* # $Log: Makefile.in,v $ # Revision 1.1.4.1.2.6 2002/02/23 01:57:14 nevil # Moving srl examples to examples/ directory. Modified examples/Makefile.in # # Revision 1.1.4.1.2.4 2000/06/06 03:38:06 nevil # Combine NEW_ATR with TCP_ATR, various bug fixes # # Revision 1.1.4.1.2.1 2000/01/12 02:57:01 nevil # Implement 'packet pair matched' turnaroundtime distribution attributes. # Fix ASN-related bugs in NeTraMet, distribution-related bugs in fd_filter. # # Revision 1.1.4.1 1999/10/03 21:06:05 nevil # *** empty log message *** # # Revision 1.1.2.7 1999/09/29 23:21:59 nevil # *** empty log message *** # # Revision 1.1.2.6 1999/09/29 22:29:10 nevil # Changes (mainly changing // to /* comments) for Irix # # Revision 1.1.2.5 1999/09/29 02:42:44 nevil # Fix problems discovered on PC meters # - Use NETRAMET compile-time variable to leave out C++ declarations # - Clean up mistakes in porting OCX_BGP code from meter_pc to meter_oc # # Revision 1.1.2.4 1999/09/24 04:37:11 nevil # *** empty log message *** # # Revision 1.1.2.3 1999/09/22 05:38:32 nevil # Improve code to work properly on 64-bit machines # - Add OS=ALPHA handling to configure.in # - Clean up the Alpha compiler warnings # - Change all the snmp-related code to use Bit32 instead of unsigned long # # Revision 1.1.2.2 1999/02/15 21:24:03 nevil # Distribution file for 4.3b9 # # Revision 1.1.2.1 1999/02/15 20:21:12 nevil # Add OCxMON BGP lookup to NeTraMet meter #