source: libpacketdump/parser/ @ fc3dcfa

Last change on this file since fc3dcfa was fc3dcfa, checked in by Brendon Jones <brendonj@…>, 16 years ago

Updated the parsers 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?

  • Property mode set to 100644
File size: 514 bytes
2#include_HEADERS = parser.h
4#libparser_la_SOURCES = libconfig.c libconfig.h config_internal.h config.lexer.c config.parser.h configuration.h config.parser.c
5libparser_la_SOURCES = parser.lexer.c parser.h
6libparser_la_LIBADD = @ADD_LIBS@ @LEXLIB@
7libparser_la_LDFLAGS = @ADD_LDFLAGS@ -L../
8INCLUDES = @ADD_INCLS@ -I../ -I../../lib
10EXTRA_DIST= parser.l parser.y
13 %.y
15        @YACC@ -d -o$@ $<
17%.lexer.c: %.l
18        @LEX@ -o$@ $<
Note: See TracBrowser for help on using the repository browser.