Ignore:
Timestamp:
08/20/04 11:45:32 (17 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
d2e3359
Parents:
d907ff5
Message:

Added asn1 parsing
Started fixing bug with tcp option parsing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/tracedump/Makefile

    rd907ff5 r5d6ebe1  
    33CXXFLAGS=-g -Wall $(INCLUDES) -rdynamic
    44LDFLAGS=-L/usr/local/wand/lib
    5 LDLIBS=-ltrace -ldl
     5LDLIBS=-ltrace -ldl -lpcap -lz
    66LINK_LAYERS=$(addsuffix .so,$(basename $(wildcard link_*.cc)))
    77ETH_LAYERS=$(addsuffix .so,$(basename $(wildcard eth_*.cc)))
    88IP_LAYERS=$(addsuffix .so,$(basename $(wildcard ip_*.cc)))
    9 PLUGINS=$(LINK_LAYERS) $(ETH_LAYERS) $(IP_LAYERS)
     9TCP_LAYERS=$(addsuffix .so,$(basename $(wildcard tcp_*.cc)))
     10PLUGINS=$(LINK_LAYERS) $(ETH_LAYERS) $(IP_LAYERS) $(TCP_LAYERS)
    1011
    11 all: tracedump $(PLUGINS)
     12all: tracedump $(PLUGINS) asn1-test
    1213
    1314tracedump: tracedump.cc tracedump-libtrace.o tracedump-lib.o
    1415
     16tcp_1720.so: tcp_1720.cc asn1.o
     17
    1518%.so:%.cc
    16         $(CXX) $(CXXFLAGS) -fpic -shared $< -o $@
     19        $(CXX) $(CXXFLAGS) -fpic -shared $^ -o $@
     20
     21asn1-test: CXXFLAGS+=-DTEST
     22asn1-test: asn1.cc
    1723
    1824clean:
    1925        rm -f *.o tracedump *.so
    2026
     27install:
     28        cp *.so $(LIBDIR)
     29
    2130.PHONY: clean all
    2231
Note: See TracChangeset for help on using the changeset viewer.