stage1_2/Makefile.am
author Mario de Sousa <msousa@fe.up.pt>
Fri, 19 Aug 2011 17:33:57 +0100
changeset 354 0f24db96b519
parent 353 17bffb57a8c5
child 369 569e7d9e2406
permissions -rw-r--r--
Fixing automake configuration to work properly with flex and bison.
353
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
     1
include ../common.mk
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
     2
354
0f24db96b519 Fixing automake configuration to work properly with flex and bison.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
     3
0f24db96b519 Fixing automake configuration to work properly with flex and bison.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
     4
0f24db96b519 Fixing automake configuration to work properly with flex and bison.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
     5
0f24db96b519 Fixing automake configuration to work properly with flex and bison.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
     6
AM_YFLAGS = -d
0f24db96b519 Fixing automake configuration to work properly with flex and bison.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
     7
AM_LFLAGS = -o$(LEX_OUTPUT_ROOT).c
0f24db96b519 Fixing automake configuration to work properly with flex and bison.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
     8
0f24db96b519 Fixing automake configuration to work properly with flex and bison.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
     9
0f24db96b519 Fixing automake configuration to work properly with flex and bison.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    10
# Make sure this header file is generated first (by bison), as it is included
0f24db96b519 Fixing automake configuration to work properly with flex and bison.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    11
# by other C++ code that will also be compiled.
0f24db96b519 Fixing automake configuration to work properly with flex and bison.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    12
BUILT_SOURCES = iec_bison.h
0f24db96b519 Fixing automake configuration to work properly with flex and bison.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    13
353
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    14
lib_LIBRARIES = libstage1_2.a
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    15
libstage1_2_a_SOURCES = \
354
0f24db96b519 Fixing automake configuration to work properly with flex and bison.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    16
	iec_flex.ll \
0f24db96b519 Fixing automake configuration to work properly with flex and bison.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
    17
	iec_bison.yy \
353
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    18
	stage1_2.cc 
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    19
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    20
libstage1_2_a_CPPFLAGS =  -DDEFAULT_LIBDIR='"lib"' -I../../absyntax
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    21