Makefile.am
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Tue, 28 Jun 2016 13:34:29 +0000
branchfix_compilation_warnings
changeset 1009 d7d3a0db7cc2
parent 370 f3cec8694f65
permissions -rw-r--r--
Created new branch fix_compilation_warnings
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