Changeset be54c88 for lib/Makefile


Ignore:
Timestamp:
07/21/04 10:01:21 (18 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:
c837874
Parents:
781cf2c
Message:

removed some bad debugging stuff i left in. assert(0) doesn't play nice in random places

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/Makefile

    r277442c rbe54c88  
    11CC=gcc-3.0
    22CFLAGS= -Wall -Wimplicit -Wformat -pipe -g -O3
     3PROFCFLAGS= -Wall -Wimplicit -Wformat -pipe -g -pg -fprofile-arcs -a
    34
    45INCLUDE = -I../include -I/usr/local/wand/include
    56CFLAGS += -D_FILE_OFFSET_BITS=64
    67CFLAGS += $(INCLUDE)
     8PROFCFLAGS += -D_FILE_OFFSET_BITS=64
     9PROFCFLAGS += $(INCLUDE)
    710libdir = -L/usr/local/wand/lib/
    811LDLIBS = $(libdir) -lpcapl -lzl
     
    1114CURRENT=1
    1215AGE=0
    13 REVISION=8
     16REVISION=9
    1417
    1518INCLIBS=/usr/local/wand/lib/libzl.a /usr/local/wand/lib/libpcapl.a
     
    1821
    1922all: libtrace.lo libtrace.la
     23
     24profile: clean libtrace-prof.lo libtrace-prof.la
     25
     26libfifo-prof.lo:        fifo.c
     27        libtool --mode=compile $(CC) $(PROFCFLAGS) -c $< -o libfifo-prof.lo
     28
     29libtrace-prof.lo:       trace.c
     30        libtool --mode=compile $(CC) $(PROFCFLAGS) -c $< -o libtrace-prof.lo
     31
     32libtrace-prof.la:       libtrace-prof.lo libfifo-prof.lo
     33        libtool --mode=link $(CC) $(CFLAGS) -o libtrace-prof.la \
     34        libtrace-prof.lo libfifo-prof.lo -rpath /usr/local/wand/lib $(LDLIBS) \
     35        -version-info $(CURRENT):$(REVISION):$(AGE)
     36
    2037
    2138
     
    3350
    3451clean:
    35         $(RM) *~ *.o libtrace.a *.lo *.la libtrace.so.* .libs/*.*
     52        $(RM) *~ *.o *.a *.lo *.la *.so .libs/*.*
    3653
    3754distclean:
    3855        $(RM) *~ *.o
    3956
     57
     58install-profile: libtrace-prof.la
     59        libtool --mode=install install -c libtrace-prof.la /usr/local/wand/lib/libtrace-prof.la
     60        libtool --finish /usr/local/wand/lib/
    4061
    4162install: libtrace.la
Note: See TracChangeset for help on using the changeset viewer.