stage1_2/Makefile.am
changeset 881 e05d69c1ccb3
parent 871 878e9bf4c6ec
child 1015 9414b0785849
equal deleted inserted replaced
880:599e88d12f9a 881:e05d69c1ccb3
     3 AM_YFLAGS = -d
     3 AM_YFLAGS = -d
     4 AM_LFLAGS = -o$(LEX_OUTPUT_ROOT).c
     4 AM_LFLAGS = -o$(LEX_OUTPUT_ROOT).c
     5 
     5 
     6 # Make sure this header file is generated first (by bison), as it is included
     6 # Make sure this header file is generated first (by bison), as it is included
     7 # by other C++ code that will also be compiled.
     7 # by other C++ code that will also be compiled.
     8 BUILT_SOURCES = iec_bison.h
     8 BUILT_SOURCES = iec_bison.hh
       
     9 
       
    10 %.hh: %.h
       
    11 	cp $< $@
     9 
    12 
    10 CLEANFILES = \
    13 CLEANFILES = \
    11 	iec_flex.cc \
    14 	iec_flex.cc \
    12 	iec_bison.cc \
    15 	iec_bison.cc \
    13 	iec_bison.h
    16 	iec_bison.hh
    14 
    17 
    15 lib_LIBRARIES = libstage1_2.a
    18 lib_LIBRARIES = libstage1_2.a
    16 libstage1_2_a_SOURCES = \
    19 libstage1_2_a_SOURCES = \
    17 	iec_flex.ll \
    20 	iec_flex.ll \
    18 	iec_bison.yy \
    21 	iec_bison.yy \
    19     create_enumtype_conversion_functions.cc \
    22     create_enumtype_conversion_functions.cc \
    20 	stage1_2.cc 
    23 	stage1_2.cc 
    21 
    24 
    22 libstage1_2_a_CPPFLAGS =  -DDEFAULT_LIBDIR='"lib"' -I../../absyntax -DYY_BUF_SIZE=65536
    25 libstage1_2_a_CPPFLAGS =  -DDEFAULT_LIBDIR='"lib"' -I../../absyntax -DYY_BUF_SIZE=65536 -fpermissive
    23 
    26