From 24a18b063ea1d35bccda37718742eab1ef1ac8ad Mon Sep 17 00:00:00 2001 From: thurston Date: Fri, 2 Feb 2007 21:03:29 +0000 Subject: [PATCH] Shortened the name of the Java code generation executable. git-svn-id: http://svn.complang.org/ragel/trunk@63 052ea7fc-9027-0410-9066-f65837a77df0 --- Makefile.in | 4 ++-- configure | 4 ++-- configure.in | 2 +- {javagen => rlgen-java}/Makefile.in | 8 ++++---- {javagen => rlgen-java}/fsmcodegen.cpp | 0 {javagen => rlgen-java}/fsmcodegen.h | 0 {javagen => rlgen-java}/javacodegen.cpp | 0 {javagen => rlgen-java}/javacodegen.h | 0 {javagen => rlgen-java}/javagen.h | 0 {javagen => rlgen-java}/main.cpp | 0 {javagen => rlgen-java}/tabcodegen.cpp | 0 {javagen => rlgen-java}/tabcodegen.h | 0 12 files changed, 9 insertions(+), 9 deletions(-) rename {javagen => rlgen-java}/Makefile.in (91%) rename {javagen => rlgen-java}/fsmcodegen.cpp (100%) rename {javagen => rlgen-java}/fsmcodegen.h (100%) rename {javagen => rlgen-java}/javacodegen.cpp (100%) rename {javagen => rlgen-java}/javacodegen.h (100%) rename {javagen => rlgen-java}/javagen.h (100%) rename {javagen => rlgen-java}/main.cpp (100%) rename {javagen => rlgen-java}/tabcodegen.cpp (100%) rename {javagen => rlgen-java}/tabcodegen.h (100%) diff --git a/Makefile.in b/Makefile.in index 6f18e87..6d11f17 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,5 +1,5 @@ # -# Copyright 2001-2006 Adrian Thurston +# Copyright 2001-2007 Adrian Thurston # # This file is part of Ragel. @@ -19,7 +19,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -BUILD_SUBDIRS = common ragel redfsm rlcodegen javagen +BUILD_SUBDIRS = common ragel redfsm rlcodegen rlgen-java ALL_SUBDIRS = $(BUILD_SUBDIRS) test examples doc #************************************* diff --git a/configure b/configure index 1173ca2..932d569 100755 --- a/configure +++ b/configure @@ -2856,7 +2856,7 @@ _ACEOF fi - ac_config_files="$ac_config_files Makefile common/Makefile ragel/Makefile redfsm/Makefile rlcodegen/Makefile javagen/Makefile doc/Makefile test/Makefile" + ac_config_files="$ac_config_files Makefile common/Makefile ragel/Makefile redfsm/Makefile rlcodegen/Makefile rlgen-java/Makefile doc/Makefile test/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure @@ -3386,7 +3386,7 @@ do "ragel/Makefile" ) CONFIG_FILES="$CONFIG_FILES ragel/Makefile" ;; "redfsm/Makefile" ) CONFIG_FILES="$CONFIG_FILES redfsm/Makefile" ;; "rlcodegen/Makefile" ) CONFIG_FILES="$CONFIG_FILES rlcodegen/Makefile" ;; - "javagen/Makefile" ) CONFIG_FILES="$CONFIG_FILES javagen/Makefile" ;; + "rlgen-java/Makefile" ) CONFIG_FILES="$CONFIG_FILES rlgen-java/Makefile" ;; "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; "common/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS common/config.h" ;; diff --git a/configure.in b/configure.in index 3aaa558..1537768 100644 --- a/configure.in +++ b/configure.in @@ -105,6 +105,6 @@ if test -n "$TXL"; then fi dnl write output files -AC_OUTPUT(Makefile common/Makefile ragel/Makefile redfsm/Makefile rlcodegen/Makefile javagen/Makefile doc/Makefile test/Makefile) +AC_OUTPUT(Makefile common/Makefile ragel/Makefile redfsm/Makefile rlcodegen/Makefile rlgen-java/Makefile doc/Makefile test/Makefile) echo "configuration of ragel complete" diff --git a/javagen/Makefile.in b/rlgen-java/Makefile.in similarity index 91% rename from javagen/Makefile.in rename to rlgen-java/Makefile.in index 9c0e91c..7ac7fb9 100644 --- a/javagen/Makefile.in +++ b/rlgen-java/Makefile.in @@ -44,9 +44,9 @@ DEPS = $(CC_SRCS:%.cpp=.%.d) include ../version.mk # Rules. -all: rlcodegen-java +all: rlgen-java -rlcodegen-java: $(REDFSM) $(OBJS) +rlgen-java: $(REDFSM) $(OBJS) $(CXX) $(LDFLAGS) -o $@ $(OBJS) $(REDFSM) $(LIBS) %.o: %.cpp @@ -57,10 +57,10 @@ distclean: clean rm -f Makefile clean: - rm -f tags .*.d *.o rlcodegen-java + rm -f tags .*.d *.o rlgen-java install: all install -d $(PREFIX)/bin - install -s rlcodegen-java $(PREFIX)/bin/rlcodegen-java + install -s rlgen-java $(PREFIX)/bin/rlgen-java -include $(DEPS) diff --git a/javagen/fsmcodegen.cpp b/rlgen-java/fsmcodegen.cpp similarity index 100% rename from javagen/fsmcodegen.cpp rename to rlgen-java/fsmcodegen.cpp diff --git a/javagen/fsmcodegen.h b/rlgen-java/fsmcodegen.h similarity index 100% rename from javagen/fsmcodegen.h rename to rlgen-java/fsmcodegen.h diff --git a/javagen/javacodegen.cpp b/rlgen-java/javacodegen.cpp similarity index 100% rename from javagen/javacodegen.cpp rename to rlgen-java/javacodegen.cpp diff --git a/javagen/javacodegen.h b/rlgen-java/javacodegen.h similarity index 100% rename from javagen/javacodegen.h rename to rlgen-java/javacodegen.h diff --git a/javagen/javagen.h b/rlgen-java/javagen.h similarity index 100% rename from javagen/javagen.h rename to rlgen-java/javagen.h diff --git a/javagen/main.cpp b/rlgen-java/main.cpp similarity index 100% rename from javagen/main.cpp rename to rlgen-java/main.cpp diff --git a/javagen/tabcodegen.cpp b/rlgen-java/tabcodegen.cpp similarity index 100% rename from javagen/tabcodegen.cpp rename to rlgen-java/tabcodegen.cpp diff --git a/javagen/tabcodegen.h b/rlgen-java/tabcodegen.h similarity index 100% rename from javagen/tabcodegen.h rename to rlgen-java/tabcodegen.h -- 2.7.4