Outils pour utilisateurs

Outils du site


autotools:makefile.am

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
autotools:makefile.am [2017/09/01 05:16] – Ajout de "Création d'une librairie" rootautotools:makefile.am [2020/04/26 23:01] (Version actuelle) – Conversion de <note> vers <WRAP> root
Ligne 6: Ligne 6:
   protoc --cpp_out=cpp $^   protoc --cpp_out=cpp $^
 </code> </code>
-<note>''$@'' désigne ici ''cpp/XXX.pb.cc'' et ''$^'' désigne ici ''XXX.proto''.</note>+ 
 +<WRAP center round info 60%> 
 +''$@'' désigne ici ''cpp/XXX.pb.cc'' et ''$^'' désigne ici ''XXX.proto''. 
 +</WRAP>
  
 ====Ajouter une dépendance à all==== ====Ajouter une dépendance à all====
Ligne 14: Ligne 17:
   commands   commands
 </code> </code>
-[[https://www.gnu.org/software/automake/manual/html_node/Extending.html|Source]], {{ :autotools:makefile.am:automake_extending.html.maff |Archive}}+[[https://www.gnu.org/software/automake/manual/automake.pdf|GNU Automake]], {{ :autotools:makefile.am:automake-1.15.1.pdf |Archive}}
  
 ====Substituer une partie d'un texte d'une variable==== ====Substituer une partie d'un texte d'une variable====
   $(@:.pb.cc=.pb.h)   $(@:.pb.cc=.pb.h)
 Remplace dans la variable ''@'' ''.pb.cc'' par ''.pb.h''. Remplace dans la variable ''@'' ''.pb.cc'' par ''.pb.h''.
-[[https://www.gnu.org/software/make/manual/make.html#Substitution-Refs|Source]] {{ :autotools:makefile.am:gnu_make_0.74.html.maff |Archive}}+[[https://www.gnu.org/software/make/manual/make.pdf|GNU Make]] {{ :autotools:makefile.am:make-4.2.pdf |Archive}}
  
 ====Création d'une librairie==== ====Création d'une librairie====
Ligne 33: Ligne 36:
 lib2_la_CXXFLAGS … lib2_la_CXXFLAGS …
  
 +</code>
 +
 +====Génération du code Doxygen====
 +<code make>
 +all-local: doxygen.stamp
 +
 +doxygen.stamp: $(libXXXXXX_la_SOURCES) $(libXXXXXX_la_HEADERS)
 +  mkdir -p ../../../doc
 +  echo Timestamp > doxygen.stamp
 +  $(DOXYGEN) ./Doxyfile
 +
 +CLEANFILES  = doxygen.stamp
 +
 +EXTRA_DIST  = Doxyfile
 +
 +clean-local:
 +  rm -Rf ../../../doc
 </code> </code>
autotools/makefile.am.1504235793.txt.gz · Dernière modification : 2017/09/01 05:16 de root