stage1_2/Makefile.am
author laurent
Tue, 07 Feb 2012 20:20:19 +0100
changeset 402 ffa2afab2806
parent 369 569e7d9e2406
child 745 26cb3fa00d29
permissions -rw-r--r--
Merge with Edouard's modifications
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
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
     4
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
     5
0f24db96b519 Fixing automake configuration to work properly with flex and bison.
Mario de Sousa <msousa@fe.up.pt>
parents: 353
diff changeset
     6
# 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
     7
# 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
     8
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
     9
369
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents: 354
diff changeset
    10
CLEANFILES = \
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents: 354
diff changeset
    11
	iec_flex.cc \
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents: 354
diff changeset
    12
	iec_bison.cc \
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents: 354
diff changeset
    13
	iec_bison.h
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents: 354
diff changeset
    14
353
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    15
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
    16
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
    17
	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
    18
	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
    19
	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
    20
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    21
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
    22