#
-# Copyright 2001-2006 Adrian Thurston <thurston@cs.queensu.ca>
+# Copyright 2001-2007 Adrian Thurston <thurston@cs.queensu.ca>
#
# This file is part of Ragel.
# 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
#*************************************
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
"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" ;;
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"
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
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)