source: libpacketdump/parser/Makefile.am @ fc3dcfa

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since fc3dcfa was fc3dcfa, checked in by Brendon Jones <brendonj@…>, 15 years ago

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?

  • Property mode set to 100644
File size: 514 bytes
Line 
1lib_LTLIBRARIES = libparser.la
2#include_HEADERS = parser.h
3
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.tab.c parser.h
6libparser_la_LIBADD = @ADD_LIBS@ @LEXLIB@
7libparser_la_LDFLAGS = @ADD_LDFLAGS@ -L../
8INCLUDES = @ADD_INCLS@ -I../ -I../../lib
9
10EXTRA_DIST= parser.l parser.y
11BUILT_SOURCES=parser.tab.h
12
13
14%.tab.c %.tab.h: %.y
15        @YACC@ -d -o$@ $<
16
17%.lexer.c: %.l %.tab.c
18        @LEX@ -o$@ $<
Note: See TracBrowser for help on using the repository browser.