stage1_2/Makefile.am
author mjsousa
Tue, 20 May 2014 08:25:59 +0100
changeset 892 54d5d185d6e2
parent 820 62b55ca5b879
child 822 a7d9e0b8636b
permissions -rw-r--r--
Check VAR_EXTERN variables declared in FBs instantiated in a Program (and recursively too - FBs in FBs).
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 \
748
ad4265253528 Start to change code like Mario suggestions.
Manuele Conti <conti.ma@alice.it>
parents: 745
diff changeset
    19
    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
    20
	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
    21
820
62b55ca5b879 Enlarged flex buffer size in order to accept larger C pragmas
Edouard Tisserant
parents: 748
diff changeset
    22
libstage1_2_a_CPPFLAGS =  -DDEFAULT_LIBDIR='"lib"' -I../../absyntax -DYY_BUF_SIZE=65536
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