Makefile.am
author Manuele Conti <conti.ma@alice.it>
Tue, 15 May 2012 18:59:32 +0200
changeset 559 a3b8925e640c
parent 370 f3cec8694f65
permissions -rw-r--r--
Start sematinc range check class.
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
369
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents: 353
diff changeset
     3
bin_PROGRAMS = iec2c iec2iec
353
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
     4
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
     5
SUBDIRS = absyntax absyntax_utils stage1_2 stage3 stage4 
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
     6
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
     7
ACLOCAL_AMFLAGS=-I config
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
     8
370
f3cec8694f65 Add automatic HG changeset id information in "-v" param
Matteo Facchinetti
parents: 369
diff changeset
     9
HGVERSION= $(shell hg -R $(top_srcdir) parents --template '{node|short}' 2> /dev/null || grep node $(top_srcdir)/.hg_archival.txt 2> /dev/null || true )
f3cec8694f65 Add automatic HG changeset id information in "-v" param
Matteo Facchinetti
parents: 369
diff changeset
    10
AM_CXXFLAGS += -DHGVERSION="\"${HGVERSION}\""
f3cec8694f65 Add automatic HG changeset id information in "-v" param
Matteo Facchinetti
parents: 369
diff changeset
    11
369
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents: 353
diff changeset
    12
iec2c_LDADD = stage1_2/libstage1_2.a \
353
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    13
	stage3/libstage3.a \
369
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents: 353
diff changeset
    14
	stage4/generate_c/libstage4_c.a \
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
	absyntax/libabsyntax.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
	absyntax_utils/libabsyntax_utils.a 
17bffb57a8c5 Building compiler with autoconf. Thanks go to Matteo of sirius-es.it
Mario de Sousa <msousa@fe.up.pt>
parents:
diff changeset
    17
369
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents: 353
diff changeset
    18
iec2iec_LDADD = stage1_2/libstage1_2.a \
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents: 353
diff changeset
    19
	stage3/libstage3.a \
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents: 353
diff changeset
    20
	stage4/generate_iec/libstage4_iec.a \
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents: 353
diff changeset
    21
	absyntax/libabsyntax.a \
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents: 353
diff changeset
    22
	absyntax_utils/libabsyntax_utils.a 
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
369
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents: 353
diff changeset
    24
iec2c_SOURCES = main.cc
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents: 353
diff changeset
    25
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents: 353
diff changeset
    26
iec2iec_SOURCES = main.cc
569e7d9e2406 Add iec2iec building in the project Makefiles.
Matteo Facchinetti
parents: 353
diff changeset
    27