include ../version.mk
# Rules.
-all: rlcodegen
+all: rlgen-cd
-rlcodegen: $(LIBS) $(OBJS)
+rlgen-cd: $(LIBS) $(OBJS)
$(CXX) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
%.o: %.cpp
rm -f Makefile
clean:
- rm -f tags .*.d *.o rlcodegen $(EXTRA_CLEAN)
+ rm -f tags .*.d *.o rlgen-cd $(EXTRA_CLEAN)
install: all
install -d $(PREFIX)/bin
- install -s rlcodegen $(PREFIX)/bin/rlcodegen
+ install -s rlgen-cd $(PREFIX)/bin/rlgen-cd
-include $(DEPS)
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
#include "fflatcodegen.h"
#include "redfsm.h"
#include "gendata.h"
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
#include "fgotocodegen.h"
#include "redfsm.h"
#include "gendata.h"
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
#include "flatcodegen.h"
#include "redfsm.h"
#include "gendata.h"
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
#include "fsmcodegen.h"
#include "redfsm.h"
#include "gendata.h"
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
#include "ftabcodegen.h"
#include "redfsm.h"
#include "gendata.h"
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
#include "gotocodegen.h"
#include "redfsm.h"
#include "bstmap.h"
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
#include "ipgotocodegen.h"
#include "redfsm.h"
#include "gendata.h"
#include <unistd.h>
#include "common.h"
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
#include "xmlparse.h"
#include "pcheck.h"
#include "vector.h"
ostream *openOutput( char *inputFile )
{
if ( hostLangType != CCode && hostLangType != DCode )
- error() << PROGNAME " generates code for C and D only" << endl;
+ error() << "this code generator is for C and D only" << endl;
/* If the output format is code and no output file name is given, then
* make a default. */
#include "vector.h"
#include "config.h"
-#define PROGNAME "rlcodegen"
+#define PROGNAME "rlgen-cd"
/* Target output style. */
enum CodeStyleEnum
*/
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
#include "splitcodegen.h"
#include "gendata.h"
#include <assert.h>
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "rlcodegen.h"
+#include "rlgen-cd.h"
#include "tabcodegen.h"
#include "redfsm.h"
#include "gendata.h"
case $lang in
c++)
- codegen=../rlcodegen/rlcodegen;
+ codegen=../rlgen-cd/rlgen-cd;
code_suffix=cpp;
compiler=$cxx_compiler;
lang_opt=-C;
cflags="-pedantic -ansi -Wall -O3"
;;
d)
- codegen=../rlcodegen/rlcodegen;
+ codegen=../rlgen-cd/rlgen-cd;
code_suffix=d;
compiler=$d_compiler;
lang_opt=-D;
cflags="-Wall -O3"
;;
c)
- codegen=../rlcodegen/rlcodegen;
+ codegen=../rlgen-cd/rlgen-cd;
code_suffix=c;
compiler=$c_compiler;
lang_opt=-C;
cflags="-pedantic -ansi -Wall -O3"
;;
obj-c)
- codegen=../rlcodegen/rlcodegen;
+ codegen=../rlgen-cd/rlgen-cd;
code_suffix=m;
compiler=$objc_compiler
lang_opt=-C;