Moved all the code into the ragel directory.
authorthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Fri, 14 Nov 2008 23:58:13 +0000 (23:58 +0000)
committerthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Fri, 14 Nov 2008 23:58:13 +0000 (23:58 +0000)
git-svn-id: http://svn.complang.org/ragel/trunk@564 052ea7fc-9027-0410-9066-f65837a77df0

85 files changed:
Makefile.in
common/Makefile.in [deleted file]
configure
configure.in
ragel/Makefile.in
ragel/buffer.h [moved from common/buffer.h with 100% similarity]
ragel/cd-fflatcodegen.cpp [moved from rlgen-cd/fflatcodegen.cpp with 99% similarity]
ragel/cd-fflatcodegen.h [moved from rlgen-cd/fflatcodegen.h with 98% similarity]
ragel/cd-fgotocodegen.cpp [moved from rlgen-cd/fgotocodegen.cpp with 99% similarity]
ragel/cd-fgotocodegen.h [moved from rlgen-cd/fgotocodegen.h with 98% similarity]
ragel/cd-flatcodegen.cpp [moved from rlgen-cd/flatcodegen.cpp with 99% similarity]
ragel/cd-flatcodegen.h [moved from rlgen-cd/flatcodegen.h with 99% similarity]
ragel/cd-fsmcodegen.cpp [moved from rlgen-cd/fsmcodegen.cpp with 99% similarity]
ragel/cd-fsmcodegen.h [moved from rlgen-cd/fsmcodegen.h with 100% similarity]
ragel/cd-ftabcodegen.cpp [moved from rlgen-cd/ftabcodegen.cpp with 99% similarity]
ragel/cd-ftabcodegen.h [moved from rlgen-cd/ftabcodegen.h with 98% similarity]
ragel/cd-gotocodegen.cpp [moved from rlgen-cd/gotocodegen.cpp with 99% similarity]
ragel/cd-gotocodegen.h [moved from rlgen-cd/gotocodegen.h with 99% similarity]
ragel/cd-ipgotocodegen.cpp [moved from rlgen-cd/ipgotocodegen.cpp with 99% similarity]
ragel/cd-ipgotocodegen.h [moved from rlgen-cd/ipgotocodegen.h with 99% similarity]
ragel/cd-main.cpp [moved from rlgen-cd/main.cpp with 94% similarity]
ragel/cd-rlgen-cd.h [moved from rlgen-cd/rlgen-cd.h with 100% similarity]
ragel/cd-splitcodegen.cpp [moved from rlgen-cd/splitcodegen.cpp with 99% similarity]
ragel/cd-splitcodegen.h [moved from rlgen-cd/splitcodegen.h with 98% similarity]
ragel/cd-tabcodegen.cpp [moved from rlgen-cd/tabcodegen.cpp with 99% similarity]
ragel/cd-tabcodegen.h [moved from rlgen-cd/tabcodegen.h with 99% similarity]
ragel/common.cpp [moved from common/common.cpp with 100% similarity]
ragel/common.h [moved from common/common.h with 100% similarity]
ragel/config.h.in [moved from common/config.h.in with 100% similarity]
ragel/csharp-fflatcodegen.cpp [moved from rlgen-csharp/fflatcodegen.cpp with 99% similarity]
ragel/csharp-fflatcodegen.h [moved from rlgen-csharp/fflatcodegen.h with 98% similarity]
ragel/csharp-fgotocodegen.cpp [moved from rlgen-csharp/fgotocodegen.cpp with 99% similarity]
ragel/csharp-fgotocodegen.h [moved from rlgen-csharp/fgotocodegen.h with 98% similarity]
ragel/csharp-flatcodegen.cpp [moved from rlgen-csharp/flatcodegen.cpp with 99% similarity]
ragel/csharp-flatcodegen.h [moved from rlgen-csharp/flatcodegen.h with 98% similarity]
ragel/csharp-fsmcodegen.cpp [moved from rlgen-csharp/fsmcodegen.cpp with 99% similarity]
ragel/csharp-fsmcodegen.h [moved from rlgen-csharp/fsmcodegen.h with 100% similarity]
ragel/csharp-ftabcodegen.cpp [moved from rlgen-csharp/ftabcodegen.cpp with 99% similarity]
ragel/csharp-ftabcodegen.h [moved from rlgen-csharp/ftabcodegen.h with 98% similarity]
ragel/csharp-gotocodegen.cpp [moved from rlgen-csharp/gotocodegen.cpp with 99% similarity]
ragel/csharp-gotocodegen.h [moved from rlgen-csharp/gotocodegen.h with 99% similarity]
ragel/csharp-ipgotocodegen.cpp [moved from rlgen-csharp/ipgotocodegen.cpp with 99% similarity]
ragel/csharp-ipgotocodegen.h [moved from rlgen-csharp/ipgotocodegen.h with 98% similarity]
ragel/csharp-main.cpp [moved from rlgen-csharp/main.cpp with 92% similarity]
ragel/csharp-rlgen-csharp.h [moved from rlgen-csharp/rlgen-csharp.h with 100% similarity]
ragel/csharp-splitcodegen.cpp [moved from rlgen-csharp/splitcodegen.cpp with 99% similarity]
ragel/csharp-splitcodegen.h [moved from rlgen-csharp/splitcodegen.h with 98% similarity]
ragel/csharp-tabcodegen.cpp [moved from rlgen-csharp/tabcodegen.cpp with 99% similarity]
ragel/csharp-tabcodegen.h [moved from rlgen-csharp/tabcodegen.h with 99% similarity]
ragel/dot-gvdotgen.cpp [moved from rlgen-dot/gvdotgen.cpp with 99% similarity]
ragel/dot-gvdotgen.h [moved from rlgen-dot/gvdotgen.h with 100% similarity]
ragel/dot-main.cpp [moved from rlgen-dot/main.cpp with 98% similarity]
ragel/dot-rlgen-dot.h [moved from rlgen-dot/rlgen-dot.h with 100% similarity]
ragel/gendata.cpp [moved from redfsm/gendata.cpp with 100% similarity]
ragel/gendata.h [moved from redfsm/gendata.h with 100% similarity]
ragel/java-javacodegen.cpp [moved from rlgen-java/javacodegen.cpp with 99% similarity]
ragel/java-javacodegen.h [moved from rlgen-java/javacodegen.h with 100% similarity]
ragel/java-main.cpp [moved from rlgen-java/main.cpp with 98% similarity]
ragel/java-rlgen-java.h [moved from rlgen-java/rlgen-java.h with 100% similarity]
ragel/pcheck.h [moved from common/pcheck.h with 100% similarity]
ragel/redfsm.cpp [moved from redfsm/redfsm.cpp with 100% similarity]
ragel/redfsm.h [moved from redfsm/redfsm.h with 100% similarity]
ragel/ruby-codegen.cpp [moved from rlgen-ruby/ruby-codegen.cpp with 99% similarity]
ragel/ruby-codegen.h [moved from rlgen-ruby/ruby-codegen.h with 100% similarity]
ragel/ruby-fflatcodegen.cpp [moved from rlgen-ruby/ruby-fflatcodegen.cpp with 100% similarity]
ragel/ruby-fflatcodegen.h [moved from rlgen-ruby/ruby-fflatcodegen.h with 100% similarity]
ragel/ruby-flatcodegen.cpp [moved from rlgen-ruby/ruby-flatcodegen.cpp with 99% similarity]
ragel/ruby-flatcodegen.h [moved from rlgen-ruby/ruby-flatcodegen.h with 100% similarity]
ragel/ruby-ftabcodegen.cpp [moved from rlgen-ruby/ruby-ftabcodegen.cpp with 99% similarity]
ragel/ruby-ftabcodegen.h [moved from rlgen-ruby/ruby-ftabcodegen.h with 100% similarity]
ragel/ruby-main.cpp [moved from rlgen-ruby/main.cpp with 98% similarity]
ragel/ruby-rbx-gotocodegen.cpp [moved from rlgen-ruby/rbx-gotocodegen.cpp with 99% similarity]
ragel/ruby-rbx-gotocodegen.h [moved from rlgen-ruby/rbx-gotocodegen.h with 100% similarity]
ragel/ruby-rlgen-ruby.h [moved from rlgen-ruby/rlgen-ruby.h with 100% similarity]
ragel/ruby-tabcodegen.cpp [moved from rlgen-ruby/ruby-tabcodegen.cpp with 99% similarity]
ragel/ruby-tabcodegen.h [moved from rlgen-ruby/ruby-tabcodegen.h with 100% similarity]
ragel/xmlparse.kh [moved from redfsm/xmlparse.kh with 100% similarity]
ragel/xmlparse.kl [moved from redfsm/xmlparse.kl with 100% similarity]
ragel/xmlscan.rl [moved from redfsm/xmlscan.rl with 100% similarity]
ragel/xmltags.gperf [moved from redfsm/xmltags.gperf with 100% similarity]
rlgen-cd/Makefile.in [deleted file]
rlgen-csharp/Makefile.in [deleted file]
rlgen-dot/Makefile.in [deleted file]
rlgen-java/Makefile.in [deleted file]
rlgen-ruby/Makefile.in [deleted file]

index 7146ed3..9ad1f81 100644 (file)
@@ -18,9 +18,8 @@
 #   along with Ragel; if not, write to the Free Software
 #   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
 
-BUILD_COMMON = common redfsm rlgen-cd rlgen-java rlgen-ruby rlgen-csharp rlgen-dot
 BUILD_SUBDIRS = ragel 
-ALL_SUBDIRS = $(BUILD_COMMON) $(BUILD_SUBDIRS) test examples doc
+ALL_SUBDIRS = $(BUILD_SUBDIRS) test examples doc
 
 #*************************************
 
@@ -35,9 +34,6 @@ all: $(BUILD_SUBDIRS)
 
 .PHONY: $(ALL_SUBDIRS)
 
-$(BUILD_COMMON):
-       @cd $@ && $(MAKE)
-
 $(BUILD_SUBDIRS): $(BUILD_COMMON)
        @cd $@ && $(MAKE)
 
diff --git a/common/Makefile.in b/common/Makefile.in
deleted file mode 100644 (file)
index c0a3a34..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-#   Copyright 2001-2006 Adrian Thurston <thurston@complang.org>
-#
-
-#   This file is part of Ragel.
-#
-#   Ragel is free software; you can redistribute it and/or modify
-#   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
-#   (at your option) any later version.
-#
-#   Ragel is distributed in the hope that it will be useful,
-#   but WITHOUT ANY WARRANTY; without even the implied warranty of
-#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#   GNU General Public License for more details.
-#
-#   You should have received a copy of the GNU General Public License
-#   along with Ragel; if not, write to the Free Software
-#   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
-
-INCS += -I../aapl
-DEFS +=
-
-CXXFLAGS += -g -Wall
-LDFLAGS +=
-
-CC_SRCS = common.cpp
-
-GEN_SRC = version.h
-
-#*************************************
-prefix = @prefix@
-
-# Programs
-CXX = @CXX@
-AR = @AR@
-RANLIB = @RANLIB@
-
-# Get objects and dependencies from sources.
-OBJS = $(CC_SRCS:%.cpp=%.o)
-DEPS = $(CC_SRCS:%.cpp=.%.d)
-
-# Get the version info.
-include ../version.mk
-
-# rules
-
-all: common.a
-
-common.a: $(GEN_SRC) $(OBJS)
-       $(AR) -cr $@ $(OBJS) 
-       $(RANLIB) $@
-
-version.h: ../version.mk
-       echo '#define VERSION "$(VERSION)"' > version.h
-       echo '#define PUBDATE "$(PUBDATE)"' >> version.h
-       echo '#define PREFIX "$(prefix)"' >> version.h
-
-%.o: %.cpp
-       @$(CXX) -M $(DEFS) $(INCS) $< > .$*.d
-       $(CXX) -c $(CXXFLAGS) $(DEFS) $(INCS) -o $@ $<
-
-distclean: clean
-       rm -f Makefile config.h
-
-clean:
-       rm -f tags version.h .*.d *.o common.a
-
-install: all
-       @true
-
--include $(DEPS)
index 47a1e4a..d899390 100755 (executable)
--- a/configure
+++ b/configure
@@ -1649,7 +1649,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-ac_config_headers="$ac_config_headers common/config.h"
+ac_config_headers="$ac_config_headers ragel/config.h"
 
 
 BUILD_PARSERS=true
@@ -4115,7 +4115,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF
 for ac_config_target in $ac_config_targets
 do
   case $ac_config_target in
-    "common/config.h") CONFIG_HEADERS="$CONFIG_HEADERS common/config.h" ;;
+    "ragel/config.h") CONFIG_HEADERS="$CONFIG_HEADERS ragel/config.h" ;;
     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
     "ragel/Makefile") CONFIG_FILES="$CONFIG_FILES ragel/Makefile" ;;
index 787e720..7bc0195 100644 (file)
@@ -19,7 +19,7 @@ dnl   along with Ragel; if not, write to the Free Software
 dnl   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
   
 AC_INIT(ragel/main.cpp)
-AC_CONFIG_HEADER(common/config.h)
+AC_CONFIG_HEADER(ragel/config.h)
 
 dnl Set to true if build system should generate parsers from ragel, kelbt, and
 dnl gperf sources. Set to false if generated files are included and not to be
index 30d6917..02f2b7c 100644 (file)
@@ -1,5 +1,5 @@
 #
-#   Copyright 2001-2007 Adrian Thurston <thurston@complang.org>
+#   Copyright 2001-2008 Adrian Thurston <thurston@complang.org>
 #
 
 #   This file is part of Ragel.
@@ -18,7 +18,7 @@
 #   along with Ragel; if not, write to the Free Software
 #   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
 
-INCS += -I../common -I../aapl -I../redfsm
+INCS += -I../aapl
 DEFS +=
 
 CXXFLAGS += -g -Wall
@@ -27,19 +27,25 @@ LDFLAGS +=
 CC_SRCS = \
        main.cpp parsetree.cpp parsedata.cpp fsmstate.cpp fsmbase.cpp \
        fsmattach.cpp fsmmin.cpp fsmgraph.cpp fsmap.cpp xmlcodegen.cpp \
-       rlscan.cpp rlparse.cpp inputdata.cpp
-
-GEN_SRC = rlscan.cpp rlparse.h rlparse.cpp
-
-RAGEL_LIBS = ../common/common.a \
-       ../redfsm/redfsm.a \
-       ../rlgen-cd/rlgen-cd.a \
-       ../rlgen-java/rlgen-java.a \
-       ../rlgen-ruby/rlgen-ruby.a \
-       ../rlgen-csharp/rlgen-csharp.a \
-       ../rlgen-dot/rlgen-dot.a
-
-LIBS = $(RAGEL_LIBS)
+       rlscan.cpp rlparse.cpp inputdata.cpp common.cpp \
+       redfsm.cpp gendata.cpp xmltags.cpp xmlscan.cpp xmlparse.cpp \
+       cd-main.cpp cd-fsmcodegen.cpp \
+       cd-tabcodegen.cpp cd-ftabcodegen.cpp cd-flatcodegen.cpp \
+       cd-fflatcodegen.cpp cd-gotocodegen.cpp cd-fgotocodegen.cpp \
+       cd-ipgotocodegen.cpp cd-splitcodegen.cpp  \
+       java-main.cpp java-javacodegen.cpp \
+       ruby-main.cpp ruby-codegen.cpp ruby-tabcodegen.cpp ruby-ftabcodegen.cpp \
+       ruby-flatcodegen.cpp ruby-fflatcodegen.cpp ruby-rbx-gotocodegen.cpp \
+       csharp-main.cpp csharp-fsmcodegen.cpp \
+       csharp-tabcodegen.cpp csharp-ftabcodegen.cpp csharp-flatcodegen.cpp \
+       csharp-fflatcodegen.cpp csharp-gotocodegen.cpp csharp-fgotocodegen.cpp \
+       csharp-ipgotocodegen.cpp csharp-splitcodegen.cpp \
+       dot-main.cpp dot-gvdotgen.cpp 
+
+GEN_SRC = version.h rlscan.cpp rlparse.h rlparse.cpp \
+       xmltags.cpp xmlscan.cpp xmlparse.cpp xmlparse.h
+
+LIBS =
 MINGW_LIBS = -lpsapi
 
 #*************************************
@@ -57,12 +63,20 @@ endif
 OBJS = $(CC_SRCS:%.cpp=%.o)
 DEPS = $(CC_SRCS:%.cpp=.%.d)
 
+# Get the version info.
+include ../version.mk
+
 # Rules.
 all: ragel$(EXEEXT)
 
-ragel$(EXEEXT): $(GEN_SRC) $(OBJS) $(RAGEL_LIBS)
+ragel$(EXEEXT): $(GEN_SRC) $(OBJS)
        $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
 
+version.h: ../version.mk
+       echo '#define VERSION "$(VERSION)"' > version.h
+       echo '#define PUBDATE "$(PUBDATE)"' >> version.h
+       echo '#define PREFIX "$(prefix)"' >> version.h
+
 ifeq ($(BUILD_PARSERS),true)
 
 rlparse.h: rlparse.kh
@@ -78,6 +92,18 @@ rlscan.cpp: rlparse.h
 rlscan.cpp: rlscan.rl
        ragel -G2 -o $@ $<
 
+xmlparse.h: xmlparse.kh
+       kelbt -o $@ $<
+
+xmlparse.cpp: xmlparse.kl xmlparse.kh
+       kelbt -o $@ $<
+
+xmlscan.cpp: xmlscan.rl
+       ragel -G2 -o xmlscan.cpp xmlscan.rl
+
+xmltags.cpp: xmltags.gperf
+       gperf -L C++ -t $< > $@
+
 endif
 
 %.o: %.cpp
similarity index 100%
rename from common/buffer.h
rename to ragel/buffer.h
similarity index 99%
rename from rlgen-cd/fflatcodegen.cpp
rename to ragel/cd-fflatcodegen.cpp
index 0401c49..40c3e6d 100644 (file)
@@ -21,8 +21,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlgen-cd.h"
-#include "fflatcodegen.h"
+#include "cd-rlgen-cd.h"
+#include "cd-fflatcodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
 
similarity index 98%
rename from rlgen-cd/fflatcodegen.h
rename to ragel/cd-fflatcodegen.h
index 6ac0b0d..8d5d7fa 100644 (file)
@@ -25,7 +25,7 @@
 #define _FFLATCODEGEN_H
 
 #include <iostream>
-#include "flatcodegen.h"
+#include "cd-flatcodegen.h"
 
 /* Forwards. */
 struct CodeGenData;
similarity index 99%
rename from rlgen-cd/fgotocodegen.cpp
rename to ragel/cd-fgotocodegen.cpp
index 443b416..ad4ee3e 100644 (file)
@@ -21,8 +21,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlgen-cd.h"
-#include "fgotocodegen.h"
+#include "cd-rlgen-cd.h"
+#include "cd-fgotocodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
 #include "bstmap.h"
similarity index 98%
rename from rlgen-cd/fgotocodegen.h
rename to ragel/cd-fgotocodegen.h
index 287b9dc..dcbd737 100644 (file)
@@ -25,7 +25,7 @@
 #define _FGOTOCODEGEN_H
 
 #include <iostream>
-#include "gotocodegen.h"
+#include "cd-gotocodegen.h"
 
 /* Forwards. */
 struct CodeGenData;
similarity index 99%
rename from rlgen-cd/flatcodegen.cpp
rename to ragel/cd-flatcodegen.cpp
index f753526..7630782 100644 (file)
@@ -21,8 +21,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlgen-cd.h"
-#include "flatcodegen.h"
+#include "cd-rlgen-cd.h"
+#include "cd-flatcodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
 
similarity index 99%
rename from rlgen-cd/flatcodegen.h
rename to ragel/cd-flatcodegen.h
index f568546..3dba38d 100644 (file)
@@ -25,7 +25,7 @@
 #define _FLATCODEGEN_H
 
 #include <iostream>
-#include "fsmcodegen.h"
+#include "cd-fsmcodegen.h"
 
 /* Forwards. */
 struct CodeGenData;
similarity index 99%
rename from rlgen-cd/fsmcodegen.cpp
rename to ragel/cd-fsmcodegen.cpp
index cbe2501..a2f2b79 100644 (file)
@@ -21,8 +21,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlgen-cd.h"
-#include "fsmcodegen.h"
+#include "cd-rlgen-cd.h"
+#include "cd-fsmcodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
 #include <sstream>
similarity index 100%
rename from rlgen-cd/fsmcodegen.h
rename to ragel/cd-fsmcodegen.h
similarity index 99%
rename from rlgen-cd/ftabcodegen.cpp
rename to ragel/cd-ftabcodegen.cpp
index a1d0a21..43c338b 100644 (file)
@@ -21,8 +21,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlgen-cd.h"
-#include "ftabcodegen.h"
+#include "cd-rlgen-cd.h"
+#include "cd-ftabcodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
 
similarity index 98%
rename from rlgen-cd/ftabcodegen.h
rename to ragel/cd-ftabcodegen.h
index 5de73e5..10431d5 100644 (file)
@@ -25,7 +25,7 @@
 #define _FTABCODEGEN_H
 
 #include <iostream>
-#include "tabcodegen.h"
+#include "cd-tabcodegen.h"
 
 /* Forwards. */
 struct CodeGenData;
similarity index 99%
rename from rlgen-cd/gotocodegen.cpp
rename to ragel/cd-gotocodegen.cpp
index 943a089..38093a2 100644 (file)
@@ -21,8 +21,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlgen-cd.h"
-#include "gotocodegen.h"
+#include "cd-rlgen-cd.h"
+#include "cd-gotocodegen.h"
 #include "redfsm.h"
 #include "bstmap.h"
 #include "gendata.h"
similarity index 99%
rename from rlgen-cd/gotocodegen.h
rename to ragel/cd-gotocodegen.h
index 11ce134..18b8a48 100644 (file)
@@ -25,7 +25,7 @@
 #define _GOTOCODEGEN_H
 
 #include <iostream>
-#include "fsmcodegen.h"
+#include "cd-fsmcodegen.h"
 
 /* Forwards. */
 struct CodeGenData;
similarity index 99%
rename from rlgen-cd/ipgotocodegen.cpp
rename to ragel/cd-ipgotocodegen.cpp
index 0a2b019..6f458be 100644 (file)
@@ -21,8 +21,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlgen-cd.h"
-#include "ipgotocodegen.h"
+#include "cd-rlgen-cd.h"
+#include "cd-ipgotocodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
 #include "bstmap.h"
similarity index 99%
rename from rlgen-cd/ipgotocodegen.h
rename to ragel/cd-ipgotocodegen.h
index 7b815ab..4de0701 100644 (file)
@@ -25,7 +25,7 @@
 #define _IPGCODEGEN_H
 
 #include <iostream>
-#include "gotocodegen.h"
+#include "cd-gotocodegen.h"
 
 /* Forwards. */
 struct CodeGenData;
similarity index 94%
rename from rlgen-cd/main.cpp
rename to ragel/cd-main.cpp
index c1542eb..267a740 100644 (file)
 #include <unistd.h>
 
 #include "common.h"
-#include "rlgen-cd.h"
+#include "cd-rlgen-cd.h"
 #include "xmlparse.h"
 #include "pcheck.h"
 #include "vector.h"
 #include "version.h"
 
 /* Code generators. */
-#include "tabcodegen.h"
-#include "ftabcodegen.h"
-#include "flatcodegen.h"
-#include "fflatcodegen.h"
-#include "gotocodegen.h"
-#include "fgotocodegen.h"
-#include "ipgotocodegen.h"
-#include "splitcodegen.h"
+#include "cd-tabcodegen.h"
+#include "cd-ftabcodegen.h"
+#include "cd-flatcodegen.h"
+#include "cd-fflatcodegen.h"
+#include "cd-gotocodegen.h"
+#include "cd-fgotocodegen.h"
+#include "cd-ipgotocodegen.h"
+#include "cd-splitcodegen.h"
 
 using std::istream;
 using std::ifstream;
similarity index 100%
rename from rlgen-cd/rlgen-cd.h
rename to ragel/cd-rlgen-cd.h
similarity index 99%
rename from rlgen-cd/splitcodegen.cpp
rename to ragel/cd-splitcodegen.cpp
index aa9ce5c..4e2a724 100644 (file)
@@ -20,8 +20,8 @@
  */
 
 
-#include "rlgen-cd.h"
-#include "splitcodegen.h"
+#include "cd-rlgen-cd.h"
+#include "cd-splitcodegen.h"
 #include "gendata.h"
 #include <assert.h>
 
similarity index 98%
rename from rlgen-cd/splitcodegen.h
rename to ragel/cd-splitcodegen.h
index 29ce42e..995e343 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef _SPLITCODEGEN_H
 #define _SPLITCODEGEN_H
 
-#include "ipgotocodegen.h"
+#include "cd-ipgotocodegen.h"
 
 class SplitCodeGen : public IpGotoCodeGen
 {
similarity index 99%
rename from rlgen-cd/tabcodegen.cpp
rename to ragel/cd-tabcodegen.cpp
index 6754362..96033b4 100644 (file)
@@ -21,8 +21,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlgen-cd.h"
-#include "tabcodegen.h"
+#include "cd-rlgen-cd.h"
+#include "cd-tabcodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
 
similarity index 99%
rename from rlgen-cd/tabcodegen.h
rename to ragel/cd-tabcodegen.h
index bdcd392..fec2925 100644 (file)
@@ -25,7 +25,7 @@
 #define _TABCODEGEN_H
 
 #include <iostream>
-#include "fsmcodegen.h"
+#include "cd-fsmcodegen.h"
 
 /* Forwards. */
 struct CodeGenData;
similarity index 100%
rename from common/common.cpp
rename to ragel/common.cpp
similarity index 100%
rename from common/common.h
rename to ragel/common.h
similarity index 100%
rename from common/config.h.in
rename to ragel/config.h.in
similarity index 99%
rename from rlgen-csharp/fflatcodegen.cpp
rename to ragel/csharp-fflatcodegen.cpp
index 0edd7cf..a307159 100644 (file)
@@ -21,8 +21,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlgen-csharp.h"
-#include "fflatcodegen.h"
+#include "csharp-rlgen-csharp.h"
+#include "csharp-fflatcodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
 
similarity index 98%
rename from rlgen-csharp/fflatcodegen.h
rename to ragel/csharp-fflatcodegen.h
index dd25d83..a5007b9 100644 (file)
@@ -25,7 +25,7 @@
 #define _FFLATCODEGEN_H
 
 #include <iostream>
-#include "flatcodegen.h"
+#include "csharp-flatcodegen.h"
 
 /* Forwards. */
 struct CodeGenData;
similarity index 99%
rename from rlgen-csharp/fgotocodegen.cpp
rename to ragel/csharp-fgotocodegen.cpp
index f19684a..906419c 100644 (file)
@@ -21,8 +21,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlgen-csharp.h"
-#include "fgotocodegen.h"
+#include "csharp-rlgen-csharp.h"
+#include "csharp-fgotocodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
 #include "bstmap.h"
similarity index 98%
rename from rlgen-csharp/fgotocodegen.h
rename to ragel/csharp-fgotocodegen.h
index 68c7368..283b827 100644 (file)
@@ -25,7 +25,7 @@
 #define _FGOTOCODEGEN_H
 
 #include <iostream>
-#include "gotocodegen.h"
+#include "csharp-gotocodegen.h"
 
 /* Forwards. */
 struct CodeGenData;
similarity index 99%
rename from rlgen-csharp/flatcodegen.cpp
rename to ragel/csharp-flatcodegen.cpp
index 9dd191a..c59bfb4 100644 (file)
@@ -21,8 +21,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlgen-csharp.h"
-#include "flatcodegen.h"
+#include "csharp-rlgen-csharp.h"
+#include "csharp-flatcodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
 
similarity index 98%
rename from rlgen-csharp/flatcodegen.h
rename to ragel/csharp-flatcodegen.h
index 559cc34..ae3eadf 100644 (file)
@@ -25,7 +25,7 @@
 #define _FLATCODEGEN_H
 
 #include <iostream>
-#include "fsmcodegen.h"
+#include "csharp-fsmcodegen.h"
 
 /* Forwards. */
 struct CodeGenData;
similarity index 99%
rename from rlgen-csharp/fsmcodegen.cpp
rename to ragel/csharp-fsmcodegen.cpp
index a1b1c5d..35319a0 100644 (file)
@@ -21,8 +21,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlgen-csharp.h"
-#include "fsmcodegen.h"
+#include "csharp-rlgen-csharp.h"
+#include "csharp-fsmcodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
 #include <sstream>
similarity index 99%
rename from rlgen-csharp/ftabcodegen.cpp
rename to ragel/csharp-ftabcodegen.cpp
index 9ca8ce1..7a5ae6b 100644 (file)
@@ -21,8 +21,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlgen-csharp.h"
-#include "ftabcodegen.h"
+#include "csharp-rlgen-csharp.h"
+#include "csharp-ftabcodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
 
similarity index 98%
rename from rlgen-csharp/ftabcodegen.h
rename to ragel/csharp-ftabcodegen.h
index 173a3ce..00ed579 100644 (file)
@@ -25,7 +25,7 @@
 #define _FTABCODEGEN_H
 
 #include <iostream>
-#include "tabcodegen.h"
+#include "csharp-tabcodegen.h"
 
 /* Forwards. */
 struct CodeGenData;
similarity index 99%
rename from rlgen-csharp/gotocodegen.cpp
rename to ragel/csharp-gotocodegen.cpp
index 2fcf67b..508e558 100644 (file)
@@ -21,8 +21,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlgen-csharp.h"
-#include "gotocodegen.h"
+#include "csharp-rlgen-csharp.h"
+#include "csharp-gotocodegen.h"
 #include "redfsm.h"
 #include "bstmap.h"
 #include "gendata.h"
similarity index 99%
rename from rlgen-csharp/gotocodegen.h
rename to ragel/csharp-gotocodegen.h
index b686641..fab1428 100644 (file)
@@ -25,7 +25,7 @@
 #define _GOTOCODEGEN_H
 
 #include <iostream>
-#include "fsmcodegen.h"
+#include "csharp-fsmcodegen.h"
 
 /* Forwards. */
 struct CodeGenData;
similarity index 99%
rename from rlgen-csharp/ipgotocodegen.cpp
rename to ragel/csharp-ipgotocodegen.cpp
index aa3f36d..c0c5cc2 100644 (file)
@@ -21,8 +21,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlgen-csharp.h"
-#include "ipgotocodegen.h"
+#include "csharp-rlgen-csharp.h"
+#include "csharp-ipgotocodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
 #include "bstmap.h"
similarity index 98%
rename from rlgen-csharp/ipgotocodegen.h
rename to ragel/csharp-ipgotocodegen.h
index 0b9a300..c04d04f 100644 (file)
@@ -25,7 +25,7 @@
 #define _IPGCODEGEN_H
 
 #include <iostream>
-#include "gotocodegen.h"
+#include "csharp-gotocodegen.h"
 
 /* Forwards. */
 struct CodeGenData;
similarity index 92%
rename from rlgen-csharp/main.cpp
rename to ragel/csharp-main.cpp
index 121a2d7..d246b54 100644 (file)
 #include <unistd.h>
 
 #include "common.h"
-#include "rlgen-csharp.h"
+#include "csharp-rlgen-csharp.h"
 #include "xmlparse.h"
 #include "pcheck.h"
 #include "vector.h"
 #include "version.h"
 
 /* Code generators. */
-#include "tabcodegen.h"
-#include "ftabcodegen.h"
-#include "flatcodegen.h"
-#include "fflatcodegen.h"
-#include "gotocodegen.h"
-#include "fgotocodegen.h"
-#include "ipgotocodegen.h"
-#include "splitcodegen.h"
+#include "csharp-tabcodegen.h"
+#include "csharp-ftabcodegen.h"
+#include "csharp-flatcodegen.h"
+#include "csharp-fflatcodegen.h"
+#include "csharp-gotocodegen.h"
+#include "csharp-fgotocodegen.h"
+#include "csharp-ipgotocodegen.h"
+#include "csharp-splitcodegen.h"
 
 using std::istream;
 using std::ifstream;
similarity index 99%
rename from rlgen-csharp/splitcodegen.cpp
rename to ragel/csharp-splitcodegen.cpp
index 169f0a4..cdcba8d 100644 (file)
@@ -20,8 +20,8 @@
  */
 
 
-#include "rlgen-csharp.h"
-#include "splitcodegen.h"
+#include "csharp-rlgen-csharp.h"
+#include "csharp-splitcodegen.h"
 #include "gendata.h"
 #include <assert.h>
 
similarity index 98%
rename from rlgen-csharp/splitcodegen.h
rename to ragel/csharp-splitcodegen.h
index 9bfbe79..53fe118 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef _SPLITCODEGEN_H
 #define _SPLITCODEGEN_H
 
-#include "ipgotocodegen.h"
+#include "csharp-ipgotocodegen.h"
 
 class CSharpSplitCodeGen : public CSharpIpGotoCodeGen
 {
similarity index 99%
rename from rlgen-csharp/tabcodegen.cpp
rename to ragel/csharp-tabcodegen.cpp
index 30a2bf2..711f72b 100644 (file)
@@ -21,8 +21,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlgen-csharp.h"
-#include "tabcodegen.h"
+#include "csharp-rlgen-csharp.h"
+#include "csharp-tabcodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
 
similarity index 99%
rename from rlgen-csharp/tabcodegen.h
rename to ragel/csharp-tabcodegen.h
index c54afd5..19ca444 100644 (file)
@@ -25,7 +25,7 @@
 #define _TABCODEGEN_H
 
 #include <iostream>
-#include "fsmcodegen.h"
+#include "csharp-fsmcodegen.h"
 
 /* Forwards. */
 struct CodeGenData;
similarity index 99%
rename from rlgen-dot/gvdotgen.cpp
rename to ragel/dot-gvdotgen.cpp
index b02ef74..d80f6b7 100644 (file)
@@ -19,8 +19,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlgen-dot.h"
-#include "gvdotgen.h"
+#include "dot-rlgen-dot.h"
+#include "dot-gvdotgen.h"
 #include "gendata.h"
 
 using namespace std;
similarity index 100%
rename from rlgen-dot/gvdotgen.h
rename to ragel/dot-gvdotgen.h
similarity index 98%
rename from rlgen-dot/main.cpp
rename to ragel/dot-main.cpp
index 849d123..263aa4a 100644 (file)
 #include <unistd.h>
 
 #include "common.h"
-#include "rlgen-dot.h"
+#include "dot-rlgen-dot.h"
 #include "xmlparse.h"
 #include "pcheck.h"
 #include "vector.h"
 #include "version.h"
-#include "gvdotgen.h"
+#include "dot-gvdotgen.h"
 
 using std::istream;
 using std::ifstream;
similarity index 100%
rename from rlgen-dot/rlgen-dot.h
rename to ragel/dot-rlgen-dot.h
similarity index 100%
rename from redfsm/gendata.cpp
rename to ragel/gendata.cpp
similarity index 100%
rename from redfsm/gendata.h
rename to ragel/gendata.h
similarity index 99%
rename from rlgen-java/javacodegen.cpp
rename to ragel/java-javacodegen.cpp
index 763c495..fe9c5af 100644 (file)
@@ -20,8 +20,8 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  */
 
-#include "rlgen-java.h"
-#include "javacodegen.h"
+#include "java-rlgen-java.h"
+#include "java-javacodegen.h"
 #include "redfsm.h"
 #include "gendata.h"
 #include <iomanip>
similarity index 98%
rename from rlgen-java/main.cpp
rename to ragel/java-main.cpp
index 6bbe7b2..87992da 100644 (file)
 #include <fstream>
 #include <unistd.h>
 
-#include "rlgen-java.h"
+#include "java-rlgen-java.h"
 #include "xmlparse.h"
 #include "pcheck.h"
 #include "vector.h"
 #include "version.h"
 #include "common.h"
-#include "javacodegen.h"
+#include "java-javacodegen.h"
 
 using std::istream;
 using std::ifstream;
similarity index 100%
rename from common/pcheck.h
rename to ragel/pcheck.h
similarity index 100%
rename from redfsm/redfsm.cpp
rename to ragel/redfsm.cpp
similarity index 100%
rename from redfsm/redfsm.h
rename to ragel/redfsm.h
similarity index 99%
rename from rlgen-ruby/ruby-codegen.cpp
rename to ragel/ruby-codegen.cpp
index 8974af6..8680387 100644 (file)
@@ -24,7 +24,7 @@
 #include <sstream>
 #include "redfsm.h"
 #include "gendata.h"
-#include "rlgen-ruby.h"
+#include "ruby-rlgen-ruby.h"
 #include "ruby-codegen.h"
 
 using std::ostream;
similarity index 99%
rename from rlgen-ruby/ruby-flatcodegen.cpp
rename to ragel/ruby-flatcodegen.cpp
index bf30988..8925aae 100644 (file)
@@ -21,7 +21,7 @@
  */
 
 #include "ruby-flatcodegen.h"
-#include "rlgen-ruby.h"
+#include "ruby-rlgen-ruby.h"
 #include "redfsm.h"
 #include "gendata.h"
 
similarity index 99%
rename from rlgen-ruby/ruby-ftabcodegen.cpp
rename to ragel/ruby-ftabcodegen.cpp
index ffb65af..a1dd613 100644 (file)
@@ -24,7 +24,7 @@
 #include <sstream>
 #include "redfsm.h"
 #include "gendata.h"
-#include "rlgen-ruby.h"
+#include "ruby-rlgen-ruby.h"
 #include "ruby-ftabcodegen.h"
 
 using std::ostream;
similarity index 98%
rename from rlgen-ruby/main.cpp
rename to ragel/ruby-main.cpp
index 08786cd..a7272c0 100644 (file)
 #include "vector.h"
 #include "version.h"
 #include "common.h"
-#include "rlgen-ruby.h"
+#include "ruby-rlgen-ruby.h"
 #include "ruby-tabcodegen.h"
 #include "ruby-ftabcodegen.h"
 #include "ruby-flatcodegen.h"
 #include "ruby-fflatcodegen.h"
-#include "rbx-gotocodegen.h"
+#include "ruby-rbx-gotocodegen.h"
 
 using std::istream;
 using std::ifstream;
similarity index 99%
rename from rlgen-ruby/rbx-gotocodegen.cpp
rename to ragel/ruby-rbx-gotocodegen.cpp
index 06e6184..6aa42e2 100644 (file)
@@ -22,8 +22,8 @@
 
 #include <stdio.h>
 #include <string>
-#include "rlgen-ruby.h"
-#include "rbx-gotocodegen.h"
+#include "ruby-rlgen-ruby.h"
+#include "ruby-rbx-gotocodegen.h"
 #include "redfsm.h"
 #include "bstmap.h"
 #include "gendata.h"
similarity index 99%
rename from rlgen-ruby/ruby-tabcodegen.cpp
rename to ragel/ruby-tabcodegen.cpp
index ac7aa87..af50841 100644 (file)
@@ -24,7 +24,7 @@
 #include <sstream>
 #include "redfsm.h"
 #include "gendata.h"
-#include "rlgen-ruby.h"
+#include "ruby-rlgen-ruby.h"
 #include "ruby-tabcodegen.h"
 
 using std::ostream;
similarity index 100%
rename from redfsm/xmlparse.kh
rename to ragel/xmlparse.kh
similarity index 100%
rename from redfsm/xmlparse.kl
rename to ragel/xmlparse.kl
similarity index 100%
rename from redfsm/xmlscan.rl
rename to ragel/xmlscan.rl
similarity index 100%
rename from redfsm/xmltags.gperf
rename to ragel/xmltags.gperf
diff --git a/rlgen-cd/Makefile.in b/rlgen-cd/Makefile.in
deleted file mode 100644 (file)
index e8b6dca..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-#   Copyright 2001-2006 Adrian Thurston <thurston@complang.org>
-#
-
-#   This file is part of Ragel.
-#
-#   Ragel is free software; you can redistribute it and/or modify
-#   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
-#   (at your option) any later version.
-#
-#   Ragel is distributed in the hope that it will be useful,
-#   but WITHOUT ANY WARRANTY; without even the implied warranty of
-#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#   GNU General Public License for more details.
-#
-#   You should have received a copy of the GNU General Public License
-#   along with Ragel; if not, write to the Free Software
-#   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
-
-INCS += -I../common -I../redfsm -I../aapl
-DEFS +=
-
-CXXFLAGS += -g -Wall
-LDFLAGS +=
-
-CC_SRCS = main.cpp fsmcodegen.cpp \
-       tabcodegen.cpp ftabcodegen.cpp flatcodegen.cpp \
-       fflatcodegen.cpp gotocodegen.cpp fgotocodegen.cpp \
-       ipgotocodegen.cpp splitcodegen.cpp 
-
-GEN_SRC = xmltags.cpp xmlscan.cpp xmlparse.cpp xmlparse.h
-
-LIBS = ../common/common.a ../redfsm/redfsm.a
-
-#*************************************
-
-prefix = @prefix@
-EXEEXT = @EXEEXT@
-CXX = @CXX@
-AR = @AR@
-RANLIB = @RANLIB@
-
-# Get objects and dependencies from sources.
-OBJS = $(CC_SRCS:%.cpp=%.o)
-DEPS = $(CC_SRCS:%.cpp=.%.d)
-
-# Get the version info.
-include ../version.mk
-
-# Rules.
-all: rlgen-cd.a
-
-rlgen-cd.a: $(LIBS) $(OBJS)
-       $(AR) -cr $@ $(OBJS) 
-       $(RANLIB) $@
-
-%.o: %.cpp
-       @$(CXX) -M $(DEFS) $(INCS) $< > .$*.d
-       $(CXX) -c $(CXXFLAGS) $(DEFS) $(INCS) -o $@ $<
-
-distclean: clean
-       rm -f Makefile
-
-clean:
-       rm -f tags .*.d *.o rlgen-cd.a $(EXTRA_CLEAN)
-
-install: all
-       @true
-
--include $(DEPS)
diff --git a/rlgen-csharp/Makefile.in b/rlgen-csharp/Makefile.in
deleted file mode 100644 (file)
index 454eb3f..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-#   Copyright 2001-2006 Adrian Thurston <thurston@complang.org>
-#
-
-#   This file is part of Ragel.
-#
-#   Ragel is free software; you can redistribute it and/or modify
-#   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
-#   (at your option) any later version.
-#
-#   Ragel is distributed in the hope that it will be useful,
-#   but WITHOUT ANY WARRANTY; without even the implied warranty of
-#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#   GNU General Public License for more details.
-#
-#   You should have received a copy of the GNU General Public License
-#   along with Ragel; if not, write to the Free Software
-#   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
-
-INCS += -I../common -I../redfsm -I../aapl
-DEFS +=
-
-CXXFLAGS += -g -Wall
-LDFLAGS +=
-
-CC_SRCS = main.cpp fsmcodegen.cpp \
-       tabcodegen.cpp ftabcodegen.cpp flatcodegen.cpp \
-       fflatcodegen.cpp gotocodegen.cpp fgotocodegen.cpp \
-       ipgotocodegen.cpp splitcodegen.cpp 
-
-GEN_SRC = xmltags.cpp xmlscan.cpp xmlparse.cpp xmlparse.h
-
-LIBS = ../common/common.a ../redfsm/redfsm.a
-
-#*************************************
-
-prefix = @prefix@
-EXEEXT = @EXEEXT@
-CXX = @CXX@
-AR = @AR@
-RANLIB = @RANLIB@
-
-# Get objects and dependencies from sources.
-OBJS = $(CC_SRCS:%.cpp=%.o)
-DEPS = $(CC_SRCS:%.cpp=.%.d)
-
-# Get the version info.
-include ../version.mk
-
-# Rules.
-all: rlgen-csharp.a
-
-rlgen-csharp.a: $(LIBS) $(OBJS)
-       $(AR) -cr $@ $(OBJS) 
-       $(RANLIB) $@
-
-%.o: %.cpp
-       @$(CXX) -M $(DEFS) $(INCS) $< > .$*.d
-       $(CXX) -c $(CXXFLAGS) $(DEFS) $(INCS) -o $@ $<
-
-distclean: clean
-       rm -f Makefile
-
-clean:
-       rm -f tags .*.d *.o rlgen-csharp.a $(EXTRA_CLEAN)
-
-install: all
-       @true
-
--include $(DEPS)
diff --git a/rlgen-dot/Makefile.in b/rlgen-dot/Makefile.in
deleted file mode 100644 (file)
index c1ea1ac..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-#
-#   Copyright 2001-2007 Adrian Thurston <thurston@complang.org>
-#
-
-#   This file is part of Ragel.
-#
-#   Ragel is free software; you can redistribute it and/or modify
-#   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
-#   (at your option) any later version.
-#
-#   Ragel is distributed in the hope that it will be useful,
-#   but WITHOUT ANY WARRANTY; without even the implied warranty of
-#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#   GNU General Public License for more details.
-#
-#   You should have received a copy of the GNU General Public License
-#   along with Ragel; if not, write to the Free Software
-#   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
-
-INCS += -I../common -I../redfsm -I../aapl
-DEFS +=
-
-CXXFLAGS += -g -Wall
-LDFLAGS +=
-
-CC_SRCS = main.cpp gvdotgen.cpp 
-
-LIBS = ../common/common.a ../redfsm/redfsm.a
-
-
-#*************************************
-
-prefix = @prefix@
-EXEEXT = @EXEEXT@
-CXX = @CXX@
-AR = @AR@
-RANLIB = @RANLIB@
-
-# Get objects and dependencies from sources.
-OBJS = $(CC_SRCS:%.cpp=%.o)
-DEPS = $(CC_SRCS:%.cpp=.%.d)
-
-# Get the version info.
-include ../version.mk
-
-# Rules.
-all: rlgen-dot.a
-
-rlgen-dot.a: $(LIBS) $(OBJS)
-       $(AR) -cr $@ $(OBJS) 
-       $(RANLIB) $@
-
-%.o: %.cpp
-       @$(CXX) -M $(DEFS) $(INCS) $< > .$*.d
-       $(CXX) -c $(CXXFLAGS) $(DEFS) $(INCS) -o $@ $<
-
-distclean: clean
-       rm -f Makefile
-
-clean:
-       rm -f tags .*.d *.o rlgen-dot $(EXTRA_CLEAN)
-
-install: all
-       @true
-
--include $(DEPS)
diff --git a/rlgen-java/Makefile.in b/rlgen-java/Makefile.in
deleted file mode 100644 (file)
index 15e5880..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#
-#   Copyright 2007 Adrian Thurston <thurston@complang.org>
-#
-
-#   This file is part of Ragel.
-#
-#   Ragel is free software; you can redistribute it and/or modify
-#   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
-#   (at your option) any later version.
-#
-#   Ragel is distributed in the hope that it will be useful,
-#   but WITHOUT ANY WARRANTY; without even the implied warranty of
-#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#   GNU General Public License for more details.
-#
-#   You should have received a copy of the GNU General Public License
-#   along with Ragel; if not, write to the Free Software
-#   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
-
-INCS += -I../common -I../redfsm -I../aapl
-DEFS +=
-
-CXXFLAGS += -g -Wall
-LDFLAGS +=
-
-CC_SRCS = main.cpp javacodegen.cpp
-
-LIBS = ../common/common.a ../redfsm/redfsm.a
-
-LIBS += @LIBS@
-
-#*************************************
-
-prefix = @prefix@
-EXEEXT = @EXEEXT@
-CXX = @CXX@
-AR = @AR@
-RANLIB = @RANLIB@
-
-# Get objects and dependencies from sources.
-OBJS = $(CC_SRCS:%.cpp=%.o)
-DEPS = $(CC_SRCS:%.cpp=.%.d)
-
-# Get the version info.
-include ../version.mk
-
-# Rules.
-all: rlgen-java.a
-
-rlgen-java.a: $(LIBS) $(OBJS)
-       $(AR) -cr $@ $(OBJS) 
-       $(RANLIB) $@
-
-%.o: %.cpp
-       @$(CXX) -M $(DEFS) $(INCS) $< > .$*.d
-       $(CXX) -c $(CXXFLAGS) $(DEFS) $(INCS) -o $@ $<
-
-distclean: clean
-       rm -f Makefile
-
-clean:
-       rm -f tags .*.d *.o rlgen-java.a
-
-install: all
-       @true
-
--include $(DEPS)
diff --git a/rlgen-ruby/Makefile.in b/rlgen-ruby/Makefile.in
deleted file mode 100644 (file)
index 99f1fce..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-#
-#   Copyright 2007 Adrian Thurston <thurston@complang.org>
-#
-
-#   This file is part of Ragel.
-#
-#   Ragel is free software; you can redistribute it and/or modify
-#   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
-#   (at your option) any later version.
-#
-#   Ragel is distributed in the hope that it will be useful,
-#   but WITHOUT ANY WARRANTY; without even the implied warranty of
-#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#   GNU General Public License for more details.
-#
-#   You should have received a copy of the GNU General Public License
-#   along with Ragel; if not, write to the Free Software
-#   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
-
-INCS += -I../common -I../redfsm -I../aapl
-DEFS +=
-
-CXXFLAGS += -g -Wall
-LDFLAGS +=
-
-CC_SRCS = main.cpp ruby-codegen.cpp ruby-tabcodegen.cpp ruby-ftabcodegen.cpp \
-       ruby-flatcodegen.cpp ruby-fflatcodegen.cpp rbx-gotocodegen.cpp
-
-LIBS = ../common/common.a ../redfsm/redfsm.a
-
-LIBS += @LIBS@
-
-#*************************************
-
-prefix = @prefix@
-EXEEXT = @EXEEXT@
-CXX = @CXX@
-AR = @AR@
-RANLIB = @RANLIB@
-
-# Get objects and dependencies from sources.
-OBJS = $(CC_SRCS:%.cpp=%.o)
-DEPS = $(CC_SRCS:%.cpp=.%.d)
-
-# Get the version info.
-include ../version.mk
-
-# Rules.
-all: rlgen-ruby.a
-
-rlgen-ruby.a: $(LIBS) $(OBJS)
-       $(AR) -cr $@ $(OBJS) 
-       $(RANLIB) $@
-
-%.o: %.cpp
-       @$(CXX) -M $(DEFS) $(INCS) $< > .$*.d
-       $(CXX) -c $(CXXFLAGS) $(DEFS) $(INCS) -o $@ $<
-
-distclean: clean
-       rm -f Makefile
-
-clean:
-       rm -f tags .*.d *.o rlgen-ruby.a
-
-install: all
-       @true
-
--include $(DEPS)