author | Andrey Skvortsov <andrej.skvortzov@gmail.com> |
Fri, 06 May 2016 10:48:37 +0300 | |
changeset 1005 | e27c2af708ad |
parent 871 | 878e9bf4c6ec |
child 1015 | 9414b0785849 |
permissions | -rw-r--r-- |
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. |
822 | 8 |
BUILT_SOURCES = iec_bison.hh |
354
0f24db96b519
Fixing automake configuration to work properly with flex and bison.
Mario de Sousa <msousa@fe.up.pt>
parents:
353
diff
changeset
|
9 |
|
871
878e9bf4c6ec
Added stage1_2/Makefile.am weird rule to keep compatible with previous version of automake
Edouard Tisserant
parents:
822
diff
changeset
|
10 |
%.hh: %.h |
878e9bf4c6ec
Added stage1_2/Makefile.am weird rule to keep compatible with previous version of automake
Edouard Tisserant
parents:
822
diff
changeset
|
11 |
cp $< $@ |
878e9bf4c6ec
Added stage1_2/Makefile.am weird rule to keep compatible with previous version of automake
Edouard Tisserant
parents:
822
diff
changeset
|
12 |
|
369
569e7d9e2406
Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents:
354
diff
changeset
|
13 |
CLEANFILES = \ |
569e7d9e2406
Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents:
354
diff
changeset
|
14 |
iec_flex.cc \ |
569e7d9e2406
Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents:
354
diff
changeset
|
15 |
iec_bison.cc \ |
822 | 16 |
iec_bison.hh |
369
569e7d9e2406
Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents:
354
diff
changeset
|
17 |
|
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 |
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
|
19 |
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
|
20 |
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
|
21 |
iec_bison.yy \ |
748
ad4265253528
Start to change code like Mario suggestions.
Manuele Conti <conti.ma@alice.it>
parents:
745
diff
changeset
|
22 |
create_enumtype_conversion_functions.cc \ |
353
17bffb57a8c5
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
23 |
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
|
24 |
|
822 | 25 |
libstage1_2_a_CPPFLAGS = -DDEFAULT_LIBDIR='"lib"' -I../../absyntax -DYY_BUF_SIZE=65536 -fpermissive |
353
17bffb57a8c5
Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
26 |