Changeset fc3dcfa


Ignore:
Timestamp:
05/19/06 18:12:15 (15 years ago)
Author:
Brendon Jones <brendonj@…>
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:
deed208
Parents:
acc80de
Message:

Updated the parsers Makefile.am to actually make use of the results returned by the autoconf/automake magic.

The code compiles in Linux and FreeBSD now, though using the 'make dist' tarball in FreeBSD requires the *.tab.* files to be deleted. These are created by bison in Linux and are meant to be part of the dist so that whoever uses it doesn't need bison themselves...they dont seem to work nicely in FreeBSD for some reason?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpacketdump/parser/Makefile.am

    r14b2010 rfc3dcfa  
    44#libparser_la_SOURCES = libconfig.c libconfig.h config_internal.h config.lexer.c config.parser.h configuration.h config.parser.c
    55libparser_la_SOURCES = parser.lexer.c parser.tab.c parser.h
    6 libparser_la_LIBADD = @ADD_LIBS@ -lfl
    7 libparser_la_LDFLAGS = @ADD_LDFLAGS@ -lfl
     6libparser_la_LIBADD = @ADD_LIBS@ @LEXLIB@
     7libparser_la_LDFLAGS = @ADD_LDFLAGS@ -L../
     8INCLUDES = @ADD_INCLS@ -I../ -I../../lib
    89
    910EXTRA_DIST= parser.l parser.y
     11BUILT_SOURCES=parser.tab.h
    1012
    1113
    12 %.tab.c: %.y
    13         bison -d -o$@ $<
     14%.tab.c %.tab.h: %.y
     15        @YACC@ -d -o$@ $<
    1416
    15 %.lexer.c: %.l
    16         flex -o$@ $<
     17%.lexer.c: %.l %.tab.c
     18        @LEX@ -o$@ $<
Note: See TracChangeset for help on using the changeset viewer.