Changeset 77509e9 for libpacketdump


Ignore:
Timestamp:
11/01/05 14:34:12 (16 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:
803ea87
Parents:
8013711
Message:

fixed makefile in libpacketdump to actually work!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpacketdump/Makefile.am

    rd18312c r77509e9  
    22include_HEADERS = libpacketdump.h
    33
    4 libpacketdump_la_SOURCES = libpacketdump.cc
     4#LINK_LAYERS=$(addsuffix .so,$(basename $(wildcard link_*.cc)))
     5#ETH_LAYERS=$(addsuffix .so,$(basename $(wildcard eth_*.cc)))
     6#IP_LAYERS=$(addsuffix .so,$(basename $(wildcard ip_*.cc)))
     7#TCP_LAYERS=$(addsuffix .so,$(basename $(wildcard tcp_*.cc)))
     8
     9LINK_LAYERS=$(wildcard link_*.cc)
     10ETH_LAYERS=$(wildcard eth_*.cc)
     11IP_LAYERS=$(wildcard ip_*.cc)
     12TCP_LAYERS=$(wildcard tcp_*.cc)
     13
     14PLUGINSOURCES=$(LINK_LAYERS) $(ETH_LAYERS) $(IP_LAYERS) $(TCP_LAYERS)
     15PLUGINS=$(addsuffix .so,$(basename $(PLUGINSOURCES)))
     16
     17libpacketdump_la_SOURCES = libpacketdump.cc $(PLUGINSOURCES)
    518
    619PLUGINDIR=$(libdir)/libpacketdump
    720
    8 INCLUDES= @ADD_INCLS@ -I../lib
     21INCLUDES= @ADD_INCLS@ -I../lib -I../
    922libpacketdump_la_LIBADD = @ADD_LIBS@ 
    1023libpacketdump_la_LDFLAGS=-version-info 2:23:0 @ADD_LDFLAGS@
     
    1225AM_CXXFLAGS=-g -Wall -DDIRNAME=\"$(PLUGINDIR)\" -rdynamic $(INCLUDES)
    1326
    14 LINK_LAYERS=$(addsuffix .so,$(basename $(wildcard link_*.cc)))
    15 ETH_LAYERS=$(addsuffix .so,$(basename $(wildcard eth_*.cc)))
    16 IP_LAYERS=$(addsuffix .so,$(basename $(wildcard ip_*.cc)))
    17 TCP_LAYERS=$(addsuffix .so,$(basename $(wildcard tcp_*.cc)))
    18 PLUGINS=$(LINK_LAYERS) $(ETH_LAYERS) $(IP_LAYERS) $(TCP_LAYERS)
    1927
    2028
     
    2533       
    2634clean-local:
    27         rm $(PLUGINS)
     35        rm -f $(PLUGINS)
    2836
    2937install-exec-local:
Note: See TracChangeset for help on using the changeset viewer.