stage1_2/Makefile.am
author mjsousa
Sat, 15 Mar 2014 20:10:20 +0000
changeset 876 e2c4f6f4abe2
parent 820 62b55ca5b879
child 822 a7d9e0b8636b
permissions -rw-r--r--
Add support for parsing of REF_TO keyword (defined in IEC61131-3 v3). This support is currently inactive (in flex) until we get to add C code generation later on.
include ../common.mk

AM_YFLAGS = -d
AM_LFLAGS = -o$(LEX_OUTPUT_ROOT).c

# Make sure this header file is generated first (by bison), as it is included
# by other C++ code that will also be compiled.
BUILT_SOURCES = iec_bison.h

CLEANFILES = \
	iec_flex.cc \
	iec_bison.cc \
	iec_bison.h

lib_LIBRARIES = libstage1_2.a
libstage1_2_a_SOURCES = \
	iec_flex.ll \
	iec_bison.yy \
    create_enumtype_conversion_functions.cc \
	stage1_2.cc 

libstage1_2_a_CPPFLAGS =  -DDEFAULT_LIBDIR='"lib"' -I../../absyntax -DYY_BUF_SIZE=65536