Commit 5a9b4c40 authored by Daniela GENIUS's avatar Daniela GENIUS

restructuring and update of installation and users guide

parent f67ff800
#!/usr/bin/make -f
#
# Cross compiler generation script
#
# This file is part of MutekH.
#
# MutekH is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; version 2.1 of the
# License.
#
# MutekH is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with MutekH; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA.
#
# Copyright Alexandre Becoulet <alexandre.becoulet@lip6.fr> (c) 2009-2011
#
#### LINE 25 IS HERE ####
# Target architecture
TARGET=powerpc
#TARGET=mipsel
#TARGET=nios2
#TARGET=microblaze
# Install PATH
PREFIX=/opt/mutekh
# Temp directory
WORKDIR=/tmp/crossgen
# Build make invocation options
BLDMAKE_OPTS= -j8
# GNU Binutils
binutils_VER_mipsel = 2.20.1
binutils_VER_powerpc = 2.20.1
binutils_VER_arm = 2.23.2
binutils_VER_i686 = 2.20.1
binutils_VER_x86_64 = 2.20.1
binutils_VER_nios2 = 2.20.1
binutils_VER_sparc = 2.20.1
binutils_VER_avr = 2.20.1
binutils_VER_lm32 = 2.20.1
binutils_VER_microblaze = 2.20.1
binutils_VER_avr32 = 2.22
binutils_VER=$(binutils_VER_$(TARGET))
binutils_CONF=
# GNU Compiler
gcc_VER_mipsel = 4.5.2
SUFFIX_mipsel = unknown-elf
gcc_VER_powerpc = 4.5.2
SUFFIX_powerpc = unknown-elf
gcc_VER_arm = 4.8.2
gcc_CONF_arm = --with-arch=armv4t --with-fpu=vfp --with-float=soft
SUFFIX_arm = mutekh-eabi
gcc_VER_i686 = 4.5.2
SUFFIX_i868 = unknown-elf
gcc_VER_x86_64 = 4.5.2
SUFFIX_x86_64 = unknown-elf
gcc_VER_nios2 = 4.4.4
SUFFIX_nios2 = unknown-elf
gcc_VER_sparc = 4.5.2
SUFFIX_nios2 = unknown-elf
gcc_VER_avr = 4.5.2
SUFFIX_avr = unknown-elf
gcc_VER_lm32 = 4.5.2
SUFFIX_lm32 = unknown-elf
gcc_VER_microblaze = 4.5.2
SUFFIX_microblaze = unknown-elf
gcc_VER_avr32 = 4.4.3
SUFFIX_avr32 = unknown-elf
gcc_VER=$(gcc_VER_$(TARGET))
gcc_CONF=--enable-languages=c --disable-libssp --enable-multilib
# GCC requirements
mpfr_VER=2.4.2
gmp_VER=4.3.2
mpc_VER=0.9
# GNU Debugger
gdb_VER_mipsel = 7.4
gdb_VER_powerpc = 7.4
gdb_VER_arm = 7.6.1
gdb_VER_i686 = 7.4
gdb_VER_x86_64 = 7.4
gdb_VER_nios2 = 7.0
gdb_VER_sparc = 7.4
gdb_VER_avr = 7.4
gdb_VER_lm32 = 7.4
gdb_VER_microblaze = 7.4
gdb_VER_avr32 = 6.7.1
gdb_VER=$(gdb_VER_$(TARGET))
gdb_CONF=--with-python=no
# Device Tree Compiler
dtc_VER=1.2.0
# Bocsh x86 emulator
bochs_VER=2.4.6
bochs_CONF= --enable-x86-64 --enable-smp --enable-acpi --enable-pci --enable-disasm --enable-fpu --enable-alignment-check --enable-cdrom --enable-iodebug --with-nogui --with-term
# --enable-debugger --enable-gdb-stub
# Qemu emulator
qemu_VER=0.14.0
qemu_CONF=--disable-docs --disable-kvm
# Testsuite simulation wrapper
testwrap_VER=1.0
HELP_END=91 #### LINE 86 IS HERE ####
unexport MAKEFLAGS
unexport MFLAGS
unexport MAKELEVEL
SUFFIX=$(SUFFIX_$(TARGET))
# packages configurations
binutils_ARCHIVE=binutils-$(binutils_VER).tar.bz2
binutils_URL=ftp://ftp.gnu.org/gnu/binutils/$(binutils_ARCHIVE)
binutils_TESTBIN=bin/$(TARGET)-$(SUFFIX)-as
gcc_ARCHIVE=gcc-$(gcc_VER).tar.bz2
gcc_URL=ftp://ftp.gnu.org/gnu/gcc/gcc-$(gcc_VER)/$(gcc_ARCHIVE)
gcc_TESTBIN=bin/$(TARGET)-$(SUFFIX)-gcc
gcc_DEPS=binutils mpfr gmp mpc
gcc_CONF+=--with-mpfr=$(PREFIX) --with-gmp=$(PREFIX) --with-mpc=$(PREFIX)
gdb_ARCHIVE=gdb-$(gdb_VER).tar.bz2
gdb_URL=ftp://ftp.gnu.org/gnu/gdb/gdb-$(gdb_VER).tar.bz2
gdb_TESTBIN=bin/$(TARGET)-$(SUFFIX)-gdb
mpfr_ARCHIVE=mpfr-$(mpfr_VER).tar.bz2
mpfr_URL=ftp://ftp.gnu.org/gnu/mpfr/$(mpfr_ARCHIVE)
mpfr_TESTBIN=lib/libmpfr.a
mpfr_DEPS=gmp
mpfr_CONF+=--with-gmp=$(PREFIX)
gmp_ARCHIVE=gmp-$(gmp_VER).tar.bz2
gmp_URL=ftp://ftp.gnu.org/gnu/gmp/$(gmp_ARCHIVE)
gmp_TESTBIN=lib/libgmp.a
mpc_ARCHIVE=mpc-$(mpc_VER).tar.gz
mpc_URL=http://www.multiprecision.org/mpc/download/$(mpc_ARCHIVE)
mpc_TESTBIN=lib/libmpc.a
mpc_DEPS=mpfr gmp
mpc_CONF+=--with-mpfr=$(PREFIX) --with-gmp=$(PREFIX)
dtc_ARCHIVE=dtc-$(dtc_VER).tar.gz
dtc_URL=https://www.mutekh.org/www/tools/$(dtc_ARCHIVE)
dtc_TESTBIN=bin/dtc
testwrap_ARCHIVE=testwrap-$(testwrap_VER).tar.gz
testwrap_URL=https://www.mutekh.org/www/tools/$(testwrap_ARCHIVE)
testwrap_TESTBIN=bin/testwrap
bochs_ARCHIVE=bochs-$(bochs_VER).tar.gz
bochs_URL=http://freefr.dl.sourceforge.net/project/bochs/bochs/$(bochs_VER)/$(bochs_ARCHIVE)
bochs_TESTBIN=bin/bochs
qemu_ARCHIVE=qemu-$(qemu_VER).tar.gz
qemu_URL=http://download.savannah.gnu.org/releases/qemu/$(qemu_ARCHIVE)
qemu_TESTBIN=bin/qemu
qemu_INTREE_BUILD=1
PATCH_URL=https://www.mutekh.org/www/tools/patchs/
WGET_OPTS=-c -t 5 -w 5 --no-check-certificate
$(shell mkdir -p $(WORKDIR))
# main rules
help:
@echo "usage ./crossgen.mk [CONFIG_VAR=..., ...] target"
@echo ""
@echo "Main targets:"
@echo " config - display configuration"
@echo " toolchain - download, configure, build and install gcc, binutils, gdb, dtc"
@echo " testtools - download, configure, build and install testwrap, bochs, qemu"
@echo " all - download, configure, build and install all packages"
@echo " cleanup - remove all build files, keep downloaded archives"
@echo ""
@echo "Package targets:"
@echo " gcc, binutils, gdb, dtc, testwrap, bochs, qemu"
config:
@head -n $$(($(HELP_END)-1)) $(MAKEFILE_LIST) | tail -n $$(($(HELP_END)-26))
toolchain: gcc binutils gdb dtc
testtools: testwrap bochs qemu
all: gcc binutils gdb dtc bochs qemu
% : %.tar.bz2
( mkdir -p $@ ; cd $@/.. ; tar xjf $< )
touch $@
% : %.tar.gz
( mkdir -p $@ ; cd $@/.. ; tar xzf $< )
touch $@
# template rules for tools which depend on target processor
define TGTTOOL_template
.PHONY: $(1)
.PRECIOUS: $$($(1)_TGZ)
.DELETE_ON_ERROR: $$($(1)_STAMP)-wget $$($(1)_STAMP)-$$(TARGET)-conf $$($(1)_STAMP)-$$(TARGET)-build $$($(1)_STAMP)-$$(TARGET)-patch
$(1)_DIR=$$(WORKDIR)/$(1)-$$($(1)_VER)
$(1)_BDIR=$$(WORKDIR)/$(1)-bld-$$(TARGET)-$$($(1)_VER)
$(1)_STAMP=$$(WORKDIR)/$(1)-$$($(1)_VER)-stamp
$(1)_PATCH=$$(WORKDIR)/$(1)-$$($(1)_VER)-$$(TARGET)-latest.diff
$(1)_TGZ=$$(WORKDIR)/$$($(1)_ARCHIVE)
CLEANUP_FILES+=$$($(1)_BDIR) $$($(1)_STAMP)-$$(TARGET)-conf $$($(1)_STAMP)-$$(TARGET)-build $$($(1)_STAMP)-$$(TARGET)-patch $$($(1)_PATCH)*
$$($(1)_STAMP)-wget:
wget $$(WGET_OPTS) $$($(1)_URL) -O $$($(1)_TGZ)
touch $$@
$$($(1)_TGZ): $$($(1)_STAMP)-wget
touch $$@
$$($(1)_STAMP)-$$(TARGET)-patch: $$($(1)_DIR)
# try to fetch a patch
test -f $$($(1)_PATCH).gz || wget $$(WGET_OPTS) $$(PATCH_URL)/$(1)-$$($(1)_VER)-$$(TARGET)-latest.diff.gz -O $$($(1)_PATCH).gz || rm -f $$($(1)_PATCH).gz
# test if a patch is available and apply
test ! -f $$($(1)_PATCH).gz || ( cd $$($(1)_DIR) ; cat $$($(1)_PATCH).gz | gunzip | patch -p 0 )
touch $$@
$$($(1)_STAMP)-$$(TARGET)-conf: $$($(1)_DIR) $$($(1)_STAMP)-$$(TARGET)-patch $$($(1)_DEPS)
mkdir -p $$($(1)_BDIR)
( cd $$($(1)_BDIR) ; LD_LIBRARY_PATH=$$(PREFIX)/lib $$($(1)_DIR)/configure MAKEINFO="makeinfo --version" --disable-nls --prefix=$$(PREFIX) --target=$$(TARGET)-$$(SUFFIX) --disable-checking --disable-werror $$($(1)_CONF) $$($(1)_CONF_$$(TARGET)) ) && touch $$@
$$($(1)_STAMP)-$$(TARGET)-build: $$($(1)_STAMP)-$$(TARGET)-conf
LD_LIBRARY_PATH=$$(PREFIX)/lib make $$(BLDMAKE_OPTS) -C $$($(1)_BDIR) && touch $$@
$$(PREFIX)/$$($(1)_TESTBIN): $$($(1)_STAMP)-$$(TARGET)-build
LD_LIBRARY_PATH=$$(PREFIX)/lib make -C $$($(1)_BDIR) install && touch $$@
$(1): $$(shell test -f $$(PREFIX)/$$($(1)_TESTBIN) || echo $$(PREFIX)/$$($(1)_TESTBIN))
endef
# template rules for other non target dependent tools
define TOOL_template
.PHONY: $(1)
.PRECIOUS: $$($(1)_TGZ)
.DELETE_ON_ERROR: $$($(1)_STAMP)-wget $$($(1)_STAMP)-conf $$($(1)_STAMP)-build
$(1)_DIR=$$(WORKDIR)/$(1)-$$($(1)_VER)
$(1)_BDIR=$$(if $$($(1)_INTREE_BUILD), $$(WORKDIR)/$(1)-$$($(1)_VER), $$(WORKDIR)/$(1)-bld-$$($(1)_VER))
$(1)_STAMP=$$(WORKDIR)/$(1)-$$($(1)_VER)-stamp
$(1)_PATCH=$$(WORKDIR)/$(1)-$$($(1)_VER)-latest.diff
$(1)_TGZ=$$(WORKDIR)/$$($(1)_ARCHIVE)
CLEANUP_FILES+=$$($(1)_BDIR) $$($(1)_STAMP)-$$(TARGET)-conf $$($(1)_STAMP)-$$(TARGET)-build
$$($(1)_STAMP)-wget:
wget $$(WGET_OPTS) $$($(1)_URL) -O $$($(1)_TGZ)
touch $$@
$$($(1)_STAMP)-patch: $$($(1)_DIR)
# try to fetch a patch
test -f $$($(1)_PATCH).gz || wget $$(WGET_OPTS) $$(PATCH_URL)/$(1)-$$($(1)_VER)-latest.diff.gz -O $$($(1)_PATCH).gz || rm -f $$($(1)_PATCH).gz
# test is a patch is available and apply
test ! -f $$($(1)_PATCH).gz || ( cd $$($(1)_DIR) ; cat $$($(1)_PATCH).gz | gunzip | patch -p 0 )
touch $$@
$$($(1)_TGZ): $$($(1)_STAMP)-wget
touch $$@
$$($(1)_STAMP)-conf: $$($(1)_DIR) $$($(1)_STAMP)-patch $$($(1)_DEPS)
mkdir -p $$($(1)_BDIR)
( cd $$($(1)_BDIR) ; LD_LIBRARY_PATH=$$(PREFIX)/lib $$($(1)_DIR)/configure --prefix=$$(PREFIX) $$($(1)_CONF) ) && touch $$@
$$($(1)_STAMP)-build: $$($(1)_STAMP)-conf
LD_LIBRARY_PATH=$$(PREFIX)/lib make $$(BLDMAKE_OPTS) -C $$($(1)_BDIR) && touch $$@
$$(PREFIX)/$$($(1)_TESTBIN): $$($(1)_STAMP)-build
LD_LIBRARY_PATH=$$(PREFIX)/lib make -C $$($(1)_BDIR) install && touch $$@
$(1): $$(shell test -f $$(PREFIX)/$$($(1)_TESTBIN) || echo $$(PREFIX)/$$($(1)_TESTBIN))
endef
# template rules instantiation
$(eval $(call TOOL_template,mpfr))
$(eval $(call TOOL_template,gmp))
$(eval $(call TOOL_template,mpc))
$(eval $(call TGTTOOL_template,gdb))
$(eval $(call TGTTOOL_template,binutils))
$(eval $(call TGTTOOL_template,gcc))
$(eval $(call TOOL_template,dtc))
$(eval $(call TOOL_template,bochs))
$(eval $(call TOOL_template,qemu))
$(eval $(call TOOL_template,testwrap))
cleanup:
rm -rf $(CLEANUP_FILES)
This diff is collapsed.
\begin{thebibliography}{}
\end{thebibliography}
This is BibTeX, Version 0.99d (TeX Live 2015/dev/Debian)
The top-level auxiliary file: doc_ttool_soclib.aux
The style file: ieee.bst
I couldn't open database file ertss2016.bib.bib
---line 150 of file doc_ttool_soclib.aux
: \bibdata{ertss2016.bib
: }
I'm skipping whatever remains of this command
I found no database files---while reading file doc_ttool_soclib.aux
Warning--I didn't find a database entry for "SYSTEMCASS"
Warning--I didn't find a database entry for "LA:ERTSS-12"
Warning--I didn't find a database entry for "GP-NOTERE-11"
Warning--I didn't find a database entry for "DGLA:ERTSS-16"
(There were 2 error messages)
This is BibTeX, Version 0.99d (TeX Live 2015/dev/Debian)
Capacity: max_strings=35307, hash_size=35307, hash_prime=30011
The top-level auxiliary file: doc_ttool_soclib.aux
The style file: ieee.bst
I couldn't open database file ertss2016.bib.bib
---line 150 of file doc_ttool_soclib.aux
: \bibdata{ertss2016.bib
: }
I'm skipping whatever remains of this command
I found no database files---while reading file doc_ttool_soclib.aux
Warning--I didn't find a database entry for "SYSTEMCASS"
Warning--I didn't find a database entry for "LA:ERTSS-12"
Warning--I didn't find a database entry for "GP-NOTERE-11"
Warning--I didn't find a database entry for "DGLA:ERTSS-16"
You've used 0 entries,
2118 wiz_defined-function locations,
505 strings with 3825 characters,
and the built_in function-call counts, 18 in all, are:
= -- 0
> -- 0
< -- 0
+ -- 0
- -- 0
* -- 2
:= -- 7
add.period$ -- 0
call.type$ -- 0
change.case$ -- 0
chr.to.int$ -- 0
cite$ -- 0
duplicate$ -- 0
empty$ -- 1
format.name$ -- 0
if$ -- 1
int.to.chr$ -- 0
int.to.str$ -- 0
missing$ -- 0
newline$ -- 3
num.names$ -- 0
pop$ -- 0
preamble$ -- 1
purify$ -- 0
quote$ -- 0
skip$ -- 1
stack$ -- 0
substring$ -- 0
swap$ -- 0
text.length$ -- 0
text.prefix$ -- 0
top$ -- 0
type$ -- 0
warning$ -- 0
while$ -- 0
width$ -- 0
write$ -- 2
(There were 2 error messages)
This diff is collapsed.
\beamer@endinputifotherversion {3.33pt}
\headcommand {\slideentry {0}{0}{1}{1/1}{}{0}}
\headcommand {\beamer@framepages {1}{1}}
\headcommand {\sectionentry {1}{Installation}{2}{Installation}{0}}
\headcommand {\beamer@sectionpages {1}{1}}
\headcommand {\beamer@subsectionpages {1}{1}}
\headcommand {\beamer@subsectionentry {0}{1}{1}{2}{Requirements}}\headcommand {\beamer@subsectionpages {2}{1}}
\headcommand {\slideentry {1}{1}{1}{2/2}{Requirements}{0}}
\headcommand {\beamer@framepages {2}{2}}
\headcommand {\slideentry {1}{1}{2}{3/3}{Requirements}{0}}
\headcommand {\beamer@framepages {3}{3}}
\headcommand {\beamer@subsectionentry {0}{1}{2}{4}{Alternatives}}\headcommand {\beamer@subsectionpages {2}{3}}
\headcommand {\slideentry {1}{2}{1}{4/4}{Alternatives}{0}}
\headcommand {\beamer@framepages {4}{4}}
\headcommand {\beamer@subsectionentry {0}{1}{3}{5}{Crosscompilers}}\headcommand {\beamer@subsectionpages {4}{4}}
\headcommand {\slideentry {1}{3}{1}{5/5}{Crosscompilers}{0}}
\headcommand {\beamer@framepages {5}{5}}
\headcommand {\beamer@subsectionentry {0}{1}{4}{6}{Processor Cores}}\headcommand {\beamer@subsectionpages {5}{5}}
\headcommand {\slideentry {1}{4}{1}{6/6}{Processor Cores}{0}}
\headcommand {\beamer@framepages {6}{6}}
\headcommand {\beamer@subsectionentry {0}{1}{5}{7}{Additions}}\headcommand {\beamer@subsectionpages {6}{6}}
\headcommand {\slideentry {1}{5}{1}{7/7}{Additions}{0}}
\headcommand {\beamer@framepages {7}{7}}
\headcommand {\slideentry {1}{5}{2}{8/8}{Additions}{0}}
\headcommand {\beamer@framepages {8}{8}}
\headcommand {\slideentry {1}{5}{3}{9/9}{Additions}{0}}
\headcommand {\beamer@framepages {9}{9}}
\headcommand {\sectionentry {2}{Compilation Tool Chain}{10}{Compilation Tool Chain}{0}}
\headcommand {\beamer@sectionpages {2}{9}}
\headcommand {\beamer@subsectionpages {7}{9}}
\headcommand {\beamer@subsectionentry {0}{2}{1}{10}{Context}}\headcommand {\beamer@subsectionpages {10}{9}}
\headcommand {\slideentry {2}{1}{1}{10/10}{Context}{0}}
\headcommand {\beamer@framepages {10}{10}}
\headcommand {\beamer@subsectionentry {0}{2}{2}{11}{Compilation Tool Chain}}\headcommand {\beamer@subsectionpages {10}{10}}
\headcommand {\slideentry {2}{2}{1}{11/11}{Compilation Tool Chain}{0}}
\headcommand {\beamer@framepages {11}{11}}
\headcommand {\beamer@subsectionentry {0}{2}{3}{12}{Deployment Diagrams}}\headcommand {\beamer@subsectionpages {11}{11}}
\headcommand {\slideentry {2}{3}{1}{12/12}{Deployment Diagrams}{0}}
\headcommand {\beamer@framepages {12}{12}}
\headcommand {\beamer@subsectionentry {0}{2}{4}{13}{Deployment Diagrams Screen}}\headcommand {\beamer@subsectionpages {12}{12}}
\headcommand {\slideentry {2}{4}{1}{13/13}{Deployment Diagrams Screen}{0}}
\headcommand {\beamer@framepages {13}{13}}
\headcommand {\beamer@subsectionentry {0}{2}{5}{14}{Deployment Diagrams Toolbar}}\headcommand {\beamer@subsectionpages {13}{13}}
\headcommand {\slideentry {2}{5}{1}{14/14}{Deployment Diagrams Toolbar}{0}}
\headcommand {\beamer@framepages {14}{14}}
\headcommand {\slideentry {2}{5}{2}{15/15}{Deployment Diagrams Toolbar}{0}}
\headcommand {\beamer@framepages {15}{15}}
\headcommand {\beamer@subsectionentry {0}{2}{6}{16}{Deployment Diagrams: Example}}\headcommand {\beamer@subsectionpages {14}{15}}
\headcommand {\slideentry {2}{6}{1}{16/16}{Deployment Diagrams: Example}{0}}
\headcommand {\beamer@framepages {16}{16}}
\headcommand {\beamer@subsectionentry {0}{2}{7}{17}{The \unhbox \voidb@x \hbox {AVATAR} Runtime}}\headcommand {\beamer@subsectionpages {16}{16}}
\headcommand {\slideentry {2}{7}{1}{17/17}{The \unhbox \voidb@x \hbox {AVATAR} Runtime}{0}}
\headcommand {\beamer@framepages {17}{17}}
\headcommand {\slideentry {2}{7}{2}{18/18}{The \unhbox \voidb@x \hbox {AVATAR} Runtime}{0}}
\headcommand {\beamer@framepages {18}{18}}
\headcommand {\slideentry {2}{7}{3}{19/19}{The \unhbox \voidb@x \hbox {AVATAR} Runtime}{0}}
\headcommand {\beamer@framepages {19}{19}}
\headcommand {\beamer@subsectionentry {0}{2}{8}{20}{Code Generation}}\headcommand {\beamer@subsectionpages {17}{19}}
\headcommand {\slideentry {2}{8}{1}{20/20}{Code Generation}{0}}
\headcommand {\beamer@framepages {20}{20}}
\headcommand {\slideentry {2}{8}{2}{21/21}{Code Generation}{0}}
\headcommand {\beamer@framepages {21}{21}}
\headcommand {\beamer@subsectionentry {0}{2}{9}{22}{Top Cell Generation}}\headcommand {\beamer@subsectionpages {20}{21}}
\headcommand {\slideentry {2}{9}{1}{22/22}{Top Cell Generation}{0}}
\headcommand {\beamer@framepages {22}{22}}
\headcommand {\beamer@subsectionentry {0}{2}{10}{23}{Linker Script Generator}}\headcommand {\beamer@subsectionpages {22}{22}}
\headcommand {\slideentry {2}{10}{1}{23/23}{Linker Script Generator}{0}}
\headcommand {\beamer@framepages {23}{23}}
\headcommand {\sectionentry {3}{Simulation}{24}{Simulation}{0}}
\headcommand {\beamer@sectionpages {10}{23}}
\headcommand {\beamer@subsectionpages {23}{23}}
\headcommand {\beamer@subsectionentry {0}{3}{1}{24}{Syntax Checking}}\headcommand {\beamer@subsectionpages {24}{23}}
\headcommand {\slideentry {3}{1}{1}{24/24}{Syntax Checking}{0}}
\headcommand {\beamer@framepages {24}{24}}
\headcommand {\beamer@subsectionentry {0}{3}{2}{25}{Code Generation Dialogue}}\headcommand {\beamer@subsectionpages {24}{24}}
\headcommand {\slideentry {3}{2}{1}{25/25}{Code Generation Dialogue}{0}}
\headcommand {\beamer@framepages {25}{25}}
\headcommand {\beamer@subsectionentry {0}{3}{3}{26}{Compilation}}\headcommand {\beamer@subsectionpages {25}{25}}
\headcommand {\slideentry {3}{3}{1}{26/26}{Compilation}{0}}
\headcommand {\beamer@framepages {26}{26}}
\headcommand {\slideentry {3}{3}{2}{27/27}{Compilation}{0}}
\headcommand {\beamer@framepages {27}{27}}
\headcommand {\beamer@subsectionentry {0}{3}{4}{28}{Invoking SoCLib from TTool}}\headcommand {\beamer@subsectionpages {26}{27}}
\headcommand {\slideentry {3}{4}{1}{28/28}{Invoking SoCLib from TTool}{0}}
\headcommand {\beamer@framepages {28}{28}}
\headcommand {\slideentry {3}{4}{2}{29/29}{Invoking SoCLib from TTool}{0}}
\headcommand {\beamer@framepages {29}{29}}
\headcommand {\beamer@subsectionentry {0}{3}{5}{30}{Simulation}}\headcommand {\beamer@subsectionpages {28}{29}}
\headcommand {\slideentry {3}{5}{1}{30/30}{Simulation}{0}}
\headcommand {\beamer@framepages {30}{30}}
\headcommand {\sectionentry {4}{Upcoming Extensions}{31}{Upcoming Extensions}{0}}
\headcommand {\beamer@sectionpages {24}{30}}
\headcommand {\beamer@subsectionpages {30}{30}}
\headcommand {\beamer@subsectionentry {0}{4}{1}{31}{Upcoming Extensions}}\headcommand {\beamer@subsectionpages {31}{30}}
\headcommand {\slideentry {4}{1}{1}{31/31}{Upcoming Extensions}{0}}
\headcommand {\beamer@framepages {31}{31}}
\headcommand {\beamer@subsectionentry {0}{4}{2}{32}{References}}\headcommand {\beamer@subsectionpages {31}{31}}
\headcommand {\slideentry {4}{2}{1}{32/32}{References}{0}}
\headcommand {\beamer@framepages {32}{32}}
\headcommand {\beamer@partpages {1}{32}}
\headcommand {\beamer@subsectionpages {32}{32}}
\headcommand {\beamer@sectionpages {31}{32}}
\headcommand {\beamer@documentpages {32}}
\headcommand {\def \inserttotalframenumber {32}}
\BOOKMARK [2][]{Outline0.1}{Installation}{}% 1
\BOOKMARK [3][]{Outline0.1.1.2}{Requirements}{Outline0.1}% 2
\BOOKMARK [3][]{Outline0.1.2.4}{Alternatives}{Outline0.1}% 3
\BOOKMARK [3][]{Outline0.1.3.5}{Crosscompilers}{Outline0.1}% 4
\BOOKMARK [3][]{Outline0.1.4.6}{Processor Cores}{Outline0.1}% 5
\BOOKMARK [3][]{Outline0.1.5.7}{Additions}{Outline0.1}% 6
\BOOKMARK [2][]{Outline0.2}{Compilation Tool Chain}{}% 7
\BOOKMARK [3][]{Outline0.2.1.10}{Context}{Outline0.2}% 8
\BOOKMARK [3][]{Outline0.2.2.11}{Compilation Tool Chain}{Outline0.2}% 9
\BOOKMARK [3][]{Outline0.2.3.12}{Deployment Diagrams}{Outline0.2}% 10
\BOOKMARK [3][]{Outline0.2.4.13}{Deployment Diagrams Screen}{Outline0.2}% 11
\BOOKMARK [3][]{Outline0.2.5.14}{Deployment Diagrams Toolbar}{Outline0.2}% 12
\BOOKMARK [3][]{Outline0.2.6.16}{Deployment Diagrams: Example}{Outline0.2}% 13
\BOOKMARK [3][]{Outline0.2.7.17}{The AVATAR Runtime}{Outline0.2}% 14
\BOOKMARK [3][]{Outline0.2.8.20}{Code Generation}{Outline0.2}% 15
\BOOKMARK [3][]{Outline0.2.9.22}{Top Cell Generation}{Outline0.2}% 16
\BOOKMARK [3][]{Outline0.2.10.23}{Linker Script Generator}{Outline0.2}% 17
\BOOKMARK [2][]{Outline0.3}{Simulation}{}% 18
\BOOKMARK [3][]{Outline0.3.1.24}{Syntax Checking}{Outline0.3}% 19
\BOOKMARK [3][]{Outline0.3.2.25}{Code Generation Dialogue}{Outline0.3}% 20
\BOOKMARK [3][]{Outline0.3.3.26}{Compilation}{Outline0.3}% 21
\BOOKMARK [3][]{Outline0.3.4.28}{Invoking SoCLib from TTool}{Outline0.3}% 22
\BOOKMARK [3][]{Outline0.3.5.30}{Simulation}{Outline0.3}% 23
\BOOKMARK [2][]{Outline0.4}{Upcoming Extensions}{}% 24
\BOOKMARK [3][]{Outline0.4.1.31}{Upcoming Extensions}{Outline0.4}% 25
\BOOKMARK [3][]{Outline0.4.2.32}{References}{Outline0.4}% 26
\beamer@endinputifotherversion {3.33pt}
\beamer@sectionintoc {1}{Installation}{2}{0}{1}
\beamer@subsectionintoc {1}{1}{Requirements}{2}{0}{1}
\beamer@subsectionintoc {1}{2}{Alternatives}{4}{0}{1}
\beamer@subsectionintoc {1}{3}{Crosscompilers}{5}{0}{1}
\beamer@subsectionintoc {1}{4}{Processor Cores}{6}{0}{1}
\beamer@subsectionintoc {1}{5}{Additions}{7}{0}{1}
\beamer@sectionintoc {2}{Compilation Tool Chain}{10}{0}{2}
\beamer@subsectionintoc {2}{1}{Context}{10}{0}{2}
\beamer@subsectionintoc {2}{2}{Compilation Tool Chain}{11}{0}{2}
\beamer@subsectionintoc {2}{3}{Deployment Diagrams}{12}{0}{2}
\beamer@subsectionintoc {2}{4}{Deployment Diagrams Screen}{13}{0}{2}
\beamer@subsectionintoc {2}{5}{Deployment Diagrams Toolbar}{14}{0}{2}
\beamer@subsectionintoc {2}{6}{Deployment Diagrams: Example}{16}{0}{2}
\beamer@subsectionintoc {2}{7}{The \unhbox \voidb@x \hbox {AVATAR} Runtime}{17}{0}{2}
\beamer@subsectionintoc {2}{8}{Code Generation}{20}{0}{2}
\beamer@subsectionintoc {2}{9}{Top Cell Generation}{22}{0}{2}
\beamer@subsectionintoc {2}{10}{Linker Script Generator}{23}{0}{2}
\beamer@sectionintoc {3}{Simulation}{24}{0}{3}
\beamer@subsectionintoc {3}{1}{Syntax Checking}{24}{0}{3}
\beamer@subsectionintoc {3}{2}{Code Generation Dialogue}{25}{0}{3}
\beamer@subsectionintoc {3}{3}{Compilation}{26}{0}{3}
\beamer@subsectionintoc {3}{4}{Invoking SoCLib from TTool}{28}{0}{3}
\beamer@subsectionintoc {3}{5}{Simulation}{30}{0}{3}
\beamer@sectionintoc {4}{Upcoming Extensions}{31}{0}{4}
\beamer@subsectionintoc {4}{1}{Upcoming Extensions}{31}{0}{4}
\beamer@subsectionintoc {4}{2}{References}{32}{0}{4}
# Top LaTeX document (without .tex extension)
TOP = ertss2016 slides_ertss2016
# Bibliography (if any)
BIBLIO = ertss2016.bib
# Figures directory
FIGDIR = fig
# Maximum number of pdflatex compilations
MAXPASSES ?= 5
# Main, common, Makefile
include mli.mk
#include Makefile.inc
# Main PDF depends on other PDFs generated from fig, dot, dia, gnuplot or
# inkscape formats. The GENERATED make variable is computed automatically by
# Makefile.inc, based on what is found in the FIGDIR directory.
$(TOP).pdf: $(GENERATED) $(BIBLIO) $(wildcard $(FIGDIR)/*.JPG) $(wildcard $(FIGDIR)/*.jpg) $(wildcard $(FIGDIR)/*.png)
# Specific dependencies
$(TOP).pdf: $(wildcard *.tex)
This diff is collapsed.
This diff is collapsed.
###########################################################
# COPYRIGHT #
# --------- #
# #
# See Copyright Notice in COPYING and license in LICENSE. #
###########################################################
#######################
# Adapt to your needs #
#######################
# mli needs bash
SHELL := /bin/bash
# Default max number of compilations
MAXPASSES ?= 30
# Default figures' sub-directory
FIGDIR ?= $(wildcard figures)
# Default bibliography
BIBLIO ?= $(wildcard biblio.bib)
# Log file for $(GENERATED) productions
GENERATEDLOG ?= generated.log
#########################################################
# Normally you shouldn't have to change anything below. #
# Unless you know what you are doing, of course. #
#########################################################
# SHELL = /bin/bash
TEXTOPS = $(shell grep -l '[^%]*\\begin{document}' *.tex)
PDFTARGETS = $(patsubst %.tex,%.pdf,$(TEXTOPS))
TARGETS = $(patsubst %.tex,%,$(TEXTOPS))
# Tools
PDFLATEX = pdflatex
PDFLATEXFLAGS = -halt-on-error -interaction=batchmode
BIBTEX = bibtex
BIBTEXFLAGS =
FIG2DEV ?= $(shell which fig2dev 2> /dev/null)
FIG2DEVFLAGS =
DOT ?= $(shell which dot 2> /dev/null)
DOTFLAGS = -Tpdf
DIA ?= $(shell which dia 2> /dev/null)
DIAFLAGS = -t eps-pango
EPSTOPDF ?= $(shell which epstopdf 2> /dev/null)
EPSTOPDFFLAGS =
GNUPLOT ?= $(shell which gnuplot 2> /dev/null)
GNUPLOTFLAGS =
INKSCAPE ?= $(shell which inkscape 2> /dev/null)
INKSCAPEFLAGS =
# Files, path...
XFIGSRCS = $(wildcard $(FIGDIR)/*.fig)
XFIGPDFS = $(patsubst %.fig,%.pdf,$(XFIGSRCS))
XFIGPDFTS = $(patsubst %.fig,%.pdf_t,$(XFIGSRCS))
DOTSRCS = $(wildcard $(FIGDIR)/*.dot)
DOTPDFS = $(patsubst %.dot,%.pdf,$(DOTSRCS))
DIASRCS = $(wildcard $(FIGDIR)/*.dia)
DIAEPSS = $(patsubst %.dia,%.eps,$(DIASRCS))
DIAPDFS = $(patsubst %.dia,%.pdf,$(DIASRCS))
INKSCAPESRCS = $(wildcard $(FIGDIR)/*.svg)
INKSCAPEPDFS = $(patsubst %.svg,%.pdf,$(INKSCAPESRCS))
GNUPLOTSRCS = $(wildcard $(FIGDIR)/*.gnuplot)
GNUPLOTPDFS = $(patsubst %.gnuplot,%.pdf,$(GNUPLOTSRCS))
EPSSRCS = $(filter-out $(DIAEPSS),$(wildcard $(FIGDIR)/*.eps))
EPSPDFS = $(patsubst %.eps,%.pdf,$(EPSSRCS))
# Tex files
TEXFILES = $(wildcard *.tex)
# Aux files
define AUXFILE_names
$(addsuffix .$(1),$(patsubst %.tex,%,$(TEXFILES)))
endef
SUFFIXES = aux log lof out bbl blg toc nav snm vrb bibtex.log
AUXFILES = $(foreach suffix,$(SUFFIXES),$(call AUXFILE_names,$(suffix)))
# Generated files
GENERATED = $(XFIGPDFS) $(XFIGPDFTS) $(DOTPDFS) $(DIAEPSS) $(DIAPDFS) $(GNUPLOTPDFS) $(INKSCAPEPDFS)
.PRECIOUS: $(GENERATED)
define HELP_message
make (help) print this help
make foo (foo.pdf) build the foo.pdf document
make all build all documents
make clean delete non-essential generated files and logs
make ultraclean delete all generated files, logs, etc.
Buildable documents:
$(sort $(TARGETS))
Please report bugs or suggestions of improvements to:
Renaud Pacalet <renaud.pacalet@telecom-paristech.fr>
endef
export HELP_message
define MAXPASSES_message
Sorry, $(MAXPASSES) passes were not sufficient to build the document. Please
check the log files or increase the number of passes:
make MAXPASSES=5 foo
endef
export MAXPASSES_message
# Targets
help:
@echo "$$HELP_message"
debug:
echo $(PDFTARGETS)