Changeset 7e9d51c for examples


Ignore:
Timestamp:
06/17/05 15:38:20 (15 years ago)
Author:
Daniel Lawson <dlawson@…>
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:
a9329cc
Parents:
b5236ad
Message:

tidying up examples to make sure they should compile

Location:
examples
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • examples/capture/Makefile

    r4389bd1 r7e9d51c  
    77CFLAGS += $(INCLUDE)
    88libdir = -L$(PREFIX)/lib
    9 LDLIBS = $(libdir) -ltrace -lzl
     9LDLIBS = $(libdir) -ltrace
    1010
    11 BINS = capture capture-gzip
     11BINS = capture
    1212.PHONY: all clean distclean install depend
    1313
  • examples/erfsplit/erfsplit.c

    rd7d0d3a r7e9d51c  
    4747#include "libtrace.h"
    4848#include "dagformat.h"
    49 #include "utils.h"
     49//#include "utils.h"
    5050#include "getdate.h"
    5151
  • examples/event/Makefile

    rd97865b r7e9d51c  
    33CC=gcc
    44
    5 INCLUDE = -I/home/dlawson/code/libtrace/lib/
    6 CFLAGS = -Wall -Wimplicit -Wformat -pipe -g -O2
    7 CFLAGS += $(INCLUDE)
    8 libdir = -L/home/dlawson/code/libtrace/lib/.libs/
    9 LDLIBS = $(libdir) -lpcap -lz
     5INCLUDE = -I$(PREFIX)/include
     6CFLAGS  = -Wall -Wimplicit -Wformat -pipe -g -O2
     7CFLAGS  += $(INCLUDE)
     8LDFLAGS = -L$(PREFIX)/lib
     9LDLIBS  = -ltrace
    1010
    1111BINS = rate rate-tracetime
     
    1313
    1414all: $(BINS)
    15 
    16 rate: rate.c ../../lib/.libs/libtrace.a
    17 
    18 rate-tracetime: rate-tracetime.c ../../lib/.libs/libtrace.a
    1915
    2016clean:
  • examples/rtt/rtt.cc

    r79ffccd r7e9d51c  
    11#include <stdio.h>
     2#include <assert.h>
    23#include "libtrace.h"
    34#include <map>
Note: See TracChangeset for help on using the changeset viewer.