File:Autoconf-automake-process.svg

Summary

Description
English: GNU autoconf and automake process for generating makefiles
Date
Source Own work, based on https://commons.wikimedia.org/wiki/File:Autoconf.svg
Author Jdthood

Source code

This image was generated using the Graphviz dot utility from the following file named autoconf-automake-process.dot.prem4, which I hereby release under the GNU General Public License version 3:

digraph autotools {
        node [fontname="Liberation Sans"];
	edge [fontname="Liberation Sans"];
        ordering=out;
        "configure.ac" [shape=box];
        autoscan -> "configure.ac" [style=bold,arrowsize=1.5];
        "Makefile.am" [shape=box];
        ed [style=invis];
        ed -> "Makefile.am" [style=invis];
        "configure.ac" -> aclocal [arrowhead=open];
        "configure.ac" -> autoconf [arrowhead=open];
        "configure.ac" -> autoheader [arrowhead=open];
        "configure.ac" -> automake [arrowhead=open];
        "aclocal.m4" [shape=box];
        aclocal -> "aclocal.m4" [style=bold,arrowsize=1.5];
        "config.h.in" [shape=box];
        autoheader -> "config.h.in" [style=bold,arrowsize=1.5];
	"config.h.in" -> automake [arrowhead=open];
        "Makefile.am" -> automake [arrowhead=open];
        "Makefile.in" [shape=box];
        automake -> "Makefile.in" [style=bold,arrowsize=1.5];
        {rank=same; aclocal autoheader}
        {rank=same; "aclocal.m4" "config.h.in"}
        configure [shape=Mcircle,width=2,height=2];
        "aclocal.m4" -> autoconf [arrowhead=open];
        autoconf -> configure [style=bold,arrowsize=1.5];
        "config.h" [shape=box];
        Makefile [shape=box];
        {rank=same; "config.h" Makefile}
        "config.status" [shape=Mcircle];
        "config.h.in" -> "config.status" [arrowhead=open];
        "Makefile.in" -> "config.status" [arrowhead=open];
        dummy0 [style=invis];
        dummy1 [style=invis];
        configure -> "config.status" [style=bold,arrowsize=1.5];
        "config.status" -> dummy0 [style=invis];
        "config.status" -> "config.h" [style=bold,arrowsize=1.5];
        "config.status" -> Makefile [style=bold,arrowsize=1.5];
        "config.status" -> dummy1 [style=invis];
        "config.h" -> make [arrowhead=open];
        Makefile -> make [arrowhead=open];
        dummy1 -> make [style=invis];
        "executable" [label=<<I>LABEL_executable</I>>,shape=box,fontname="URW Palladio L"];
        make -> "executable" [style=bold,arrowsize=1.5];

        subgraph legend {
                "input file" [label=<<I>LABEL_input_file</I>>,fontname="URW Palladio L",shape=box];
                "config.status" -> "input file" [style=invis];
                "input file" -> process [label="  LABEL_influences  ",arrowhead=open];
                process [label=<<I>LABEL_process</I>>,fontname="URW Palladio L"];
                "output file" [label=<<I>LABEL_output_file</I>>,fontname="URW Palladio L",shape=box];
                process -> "output file" [label="  LABEL_creates  ",style=bold,arrowsize=1.5];
        }

}

using this command:

#!/bin/sh
N="autoconf-automake-process"
m4 \
  --define=LABEL_executable="executable" \
  --define=LABEL_input_file="input file" \
  --define=LABEL_output_file="output file" \
  --define=LABEL_process="process" \
  --define=LABEL_influences="influences" \
  --define=LABEL_creates="creates" \
  "${N}.dot.prem4" > "${N}.dot"
dot \
  -Tsvg \
  < "${N}.dot" \
  > "${N}.svg"
m4 \
  --define=LABEL_executable="exécutable" \
  --define=LABEL_input_file="fichier d'entrée" \
  --define=LABEL_output_file="fichier de sortie" \
  --define=LABEL_process="procès" \
  --define=LABEL_influences="influencer" \
  --define=LABEL_creates="créer" \
  "${N}.dot.prem4" > "${N}-fr.dot"
dot \
  -Tsvg \
  < "${N}-fr.dot" \
  > "${N}-fr.svg"

If you modify the image, update the source code on the image's Wikimedia Commons page.

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Category:CC-BY-SA-3.0#Autoconf-automake-process.svg
Category:Self-published work Category:Flow diagrams Category:Programming tools Category:Software installation Category:Images with Graphviz source code Category:GNU Autoconf Category:GNU Automake
Category:CC-BY-SA-3.0 Category:Flow diagrams Category:GNU Autoconf Category:GNU Automake Category:Images with Graphviz source code Category:Programming tools Category:Self-published work Category:Software installation