From a42c5bc9045270c646b52dea859e3871485bf781 Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Fri, 29 Apr 2016 14:08:21 -0700 Subject: [PATCH] install headers necessary for FSM and codegen usage of libragel --- Makefile.am | 4 ++-- aapl/Makefile.am | 2 +- src/Makefile.am | 9 ++++++--- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index 2b9c589..d601ca4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ -SUBDIRS = src doc -DIST_SUBDIRS = $(SUBDIRS) aapl +SUBDIRS = src doc aapl +DIST_SUBDIRS = $(SUBDIRS) dist_doc_DATA = CREDITS ChangeLog EXTRA_DIST = ragel.vim diff --git a/aapl/Makefile.am b/aapl/Makefile.am index 4a7f30f..fd9f9cb 100644 --- a/aapl/Makefile.am +++ b/aapl/Makefile.am @@ -1,4 +1,4 @@ -noinst_HEADERS = \ +include_HEADERS = \ avlbasic.h avlimel.h avlmap.h bstcommon.h compare.h insertsort.h \ sbstset.h avlcommon.h avlimelkey.h avlmel.h bstmap.h dlcommon.h \ mergesort.h sbsttable.h avlibasic.h avliset.h avlmelkey.h bstset.h \ diff --git a/src/Makefile.am b/src/Makefile.am index dd53a2e..d08a046 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -11,13 +11,16 @@ bin_PROGRAMS = ragel # construction code and the backend code generators. lib_LIBRARIES = libragel.a libfsm.a -include_HEADERS = libragel.h +include_HEADERS = \ + libragel.h action.h fsmgraph.h ragel.h common.h \ + gendata.h redfsm.h + +nodist_include_HEADERS = config.h ragel_CPPFLAGS = -I$(top_srcdir)/aapl -DBINDIR='"@bindir@"' BACKEND_SRC = \ - buffer.h redfsm.h action.h common.h fsmgraph.h gendata.h ragel.h \ - codegen.h binary.h bingoto.h binloopgoto.h binexpgoto.h binvar.h \ + buffer.h codegen.h binary.h bingoto.h binloopgoto.h binexpgoto.h binvar.h \ binloopvar.h binexpvar.h flat.h flatloopgoto.h flatexpgoto.h flatvar.h \ flatloopvar.h flatexpvar.h goto.h switchloopgoto.h switchexpgoto.h \ ipgoto.h xml.h dot.h asm.h \