diff options
author | Adrian Thurston <thurston@complang.org> | 2011-05-11 19:30:00 +0000 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2011-05-11 19:30:00 +0000 |
commit | adf5c202ca18265cca6fe902890de552e2ed5c20 (patch) | |
tree | a6ac37cbdb327502841a92ec6eab334ff2f70422 | |
parent | 925fdd1d832de5f9e4cebeb8579061aaa5331c75 (diff) | |
download | colm-adf5c202ca18265cca6fe902890de552e2ed5c20.tar.gz |
Fixes for the dists. refs #284.
-rw-r--r-- | Makefile.am | 7 | ||||
-rw-r--r-- | aapl/Makefile.am | 10 | ||||
-rw-r--r-- | colm/Makefile.am | 10 | ||||
-rw-r--r-- | configure.in | 2 |
4 files changed, 24 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am index feb2f16e..f907d2e1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -74,12 +74,11 @@ # ADT install: $(INSTALL_SUBDIRS) # ADT - SUBDIRS = colm -DIST_SUBDIRS = $(SUBDIRS) aapl test +DIST_SUBDIRS = $(SUBDIRS) aapl -#dist_doc_DATA = CREDITS ChangeLog -#EXTRA_DIST = ragel.vim +dist_doc_DATA = colm.vim +EXTRA_DIST = colm.vim # This file is checked for by the configure script and its existence causes the # parsers and the manual to not be built when the distribution is built. diff --git a/aapl/Makefile.am b/aapl/Makefile.am new file mode 100644 index 00000000..ea8fc510 --- /dev/null +++ b/aapl/Makefile.am @@ -0,0 +1,10 @@ +noinst_HEADERS = \ + astring.h avlbasic.h avlcommon.h avlibasic.h avlikeyless.h avlimap.h \ + avlimel.h avlimelkey.h avliset.h avlitree.h avlkeyless.h avlmap.h \ + avlmel.h avlmelkey.h avlset.h avltree.h bstcommon.h bstmap.h bstset.h \ + bsttable.h bubblesort.h compare.h dlcommon.h dlist.h dlistmel.h \ + dlistval.h insertsort.h mergesort.h quicksort.h resize.h sbstmap.h \ + sbstset.h sbsttable.h svector.h table.h vector.h + +EXTRA_DIST = README COPYING + diff --git a/colm/Makefile.am b/colm/Makefile.am index 9847c1d4..978f39f0 100644 --- a/colm/Makefile.am +++ b/colm/Makefile.am @@ -155,6 +155,11 @@ colm_LDADD = libcolmp.a # ADT DEFS_COLM += -DCOLM_LOG -DPREFIX='"$(prefix)"' colm_SOURCES = \ + buffer.h bytecode.h colm.h debug.h dotgen.h fsmcodegen.h fsmgraph.h \ + fsmrun.h input.h keyops.h lmparse.h lmscan.h map.h parsedata.h \ + parsetree.h pcheck.h pdacodegen.h pdagraph.h pdarun.h pool.h redbuild.h \ + redfsm.h rtvector.h tree.h version.h \ + \ analysis.cpp compile.cpp lmparse.cpp lmscan.cpp parsetree.cpp \ parsedata.cpp fsmstate.cpp fsmbase.cpp fsmattach.cpp fsmmin.cpp \ fsmgraph.cpp pdagraph.cpp pdabuild.cpp pdacodegen.cpp fsmcodegen.cpp \ @@ -163,3 +168,8 @@ colm_SOURCES = \ BUILT_SOURCES = \ version.h lmscan.cpp lmparse.h lmparse.cpp + +version.h: Makefile + echo '#define VERSION "$(PACKAGE_VERSION)"' > version.h + echo '#define PUBDATE "$(PUBDATE)"' >> version.h + diff --git a/configure.in b/configure.in index 4643592e..92e7ee7d 100644 --- a/configure.in +++ b/configure.in @@ -91,6 +91,6 @@ fi fi # build_parsers dnl write output files -AC_OUTPUT(Makefile colm/Makefile) +AC_OUTPUT(Makefile colm/Makefile aapl/Makefile) echo "configuration of colm complete" |