[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Suggestion: AM_PROG_PERF
From: |
Bear Giles |
Subject: |
Suggestion: AM_PROG_PERF |
Date: |
Fri, 7 Sep 2001 16:02:23 -0600 (MDT) |
A suggestion for automake. It currently supports yacc (bison) and
lex (flex), but not perf (gperf). This third item is extremely
useful when writing parsers, although not commonly discussed in
introductory textbooks on yacc/lex.
Anyway, I can create a working Makefile.am with:
SUFFIXES = .gc
.gc.c:
gperf -tCDl $< > $@
pkglib_PROGRAMS = sql92.so
sql92_so_SOURCES = parser.y scanner.l keywords.gc
sql92_so_LDADD = -ll
sql92_so_LDFLAGS = -shared
noinst_HEADERS = parser.h
(This actually creates a dynamical library loaded via dlopen(), but
that is beside the point here).
Since yacc and lex are already supported by automake, shouldn't
perf be supported as well?
--
Bear Giles
bgiles (at) coyotesong (dot) com
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Suggestion: AM_PROG_PERF,
Bear Giles <=