summaryrefslogtreecommitdiffabout
path: root/src/Make.am
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-07 14:24:18 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-05-07 15:55:38 (GMT)
commit4b0e477181f51c12f62236ec91f4bb714125393d (patch) (side-by-side diff)
tree9ddb2c5c16549ce5bf6056e45aef3646402accbc /src/Make.am
parentcede19f7c5a151c1aeb7c93d1793183bca8e8289 (diff)
downloadgrecs-4b0e477181f51c12f62236ec91f4bb714125393d.tar.gz
grecs-4b0e477181f51c12f62236ec91f4bb714125393d.tar.bz2
Support standalone compilation.
* AUTHORS, COPYING, NEWS, README: New files. * .gitignore: Update. * am/.gitignore: New file. * build-aux/.gitignore: New file. * build-aux/ylwrap: Remove. * Makefile.am: Define ACLOCAL_AMFLAGS [GRECS_CHANGELOG]: Build ChangeLog. * am/grecs.m4: Define GRECS_CHANGELOG and GRECS_SRCDIR. Fixup first argument, if it is [.]. * configure.ac: New file. * src/Make-inst.am (include_HEADERS): Add wordsplit.h. Install libgrecs.m4. * Make-shared.am (noinst_HEADERS): Add wordsplit.h. * src/Make-static.am: Likewise. * src/Make.am (GRECS_SRC): Remove wordsplit.h (noinst_HEADERS): Add yygrecs.h (YLWRAP): Remove. * src/libgrecs.m4: New file. * src/yygrecs.h: New file. * src/grecs-gram.y: Include yygrecs.h. * src/grecs-lex.l: Likewise. * src/preproc.c (yy_grecs_flex_debug): Rename to grecs_yy_flex_debug.
Diffstat (limited to 'src/Make.am') (more/less context) (ignore whitespace changes)
-rw-r--r--src/Make.am7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Make.am b/src/Make.am
index f246099..50f9170 100644
--- a/src/Make.am
+++ b/src/Make.am
@@ -29,16 +29,15 @@ GRECS_SRC = \
text.c\
tree.c\
version.c\
- wordsplit.c\
- wordsplit.h
+ wordsplit.c
+
+noinst_HEADERS = yygrecs.h
EXTRA_DIST=grecs-gram.h $(PP_SETUP_FILE) Make.am Make-inst.am Make-shared.am Make-static.am
INCLUDES = -I$(srcdir) @GRECS_INCLUDES@
AM_YFLAGS = -dtv
AM_LFLAGS = -d
-# Use a modified ylwrap implementation that understands the --prefix option.
-YLWRAP = $(top_srcdir)/$(grex_topdir)grecs/build-aux/ylwrap --prefix yy_grecs
incdir=$(pkgdatadir)/$(VERSION)/include
inc_DATA = $(PP_SETUP_FILE)

Return to:

Send suggestions and report system problems to the System administrator.