msousa@353: include common.mk msousa@353: Matteo@369: bin_PROGRAMS = iec2c iec2iec msousa@353: msousa@353: SUBDIRS = absyntax absyntax_utils stage1_2 stage3 stage4 msousa@353: msousa@353: ACLOCAL_AMFLAGS=-I config msousa@353: Matteo@370: HGVERSION= $(shell hg -R $(top_srcdir) parents --template '{node|short}' 2> /dev/null || grep node $(top_srcdir)/.hg_archival.txt 2> /dev/null || true ) Matteo@370: AM_CXXFLAGS += -DHGVERSION="\"${HGVERSION}\"" Matteo@370: Matteo@369: iec2c_LDADD = stage1_2/libstage1_2.a \ msousa@353: stage3/libstage3.a \ Matteo@369: stage4/generate_c/libstage4_c.a \ msousa@353: absyntax/libabsyntax.a \ msousa@353: absyntax_utils/libabsyntax_utils.a msousa@353: Matteo@369: iec2iec_LDADD = stage1_2/libstage1_2.a \ Matteo@369: stage3/libstage3.a \ Matteo@369: stage4/generate_iec/libstage4_iec.a \ Matteo@369: absyntax/libabsyntax.a \ Matteo@369: absyntax_utils/libabsyntax_utils.a msousa@353: Matteo@369: iec2c_SOURCES = main.cc Matteo@369: Matteo@369: iec2iec_SOURCES = main.cc Matteo@369: