2008-02-26 13:29:27 +01:00
|
|
|
.PHONY : all librtapscanmob mobile clean purge help install install-librtapscanmob install-mobile uninstall uninstall-librtapscanmob uninstall-mobile
|
2008-02-22 16:12:42 +01:00
|
|
|
|
|
|
|
## Compilation ##
|
|
|
|
|
2008-02-26 13:29:27 +01:00
|
|
|
all : librtapscanmob mobile
|
2008-02-22 16:12:42 +01:00
|
|
|
|
|
|
|
librtapscanmob :
|
2008-02-26 13:29:27 +01:00
|
|
|
@make -C librtapscanmob
|
|
|
|
|
|
|
|
mobile :
|
|
|
|
@make -C mobile
|
2008-02-22 16:12:42 +01:00
|
|
|
|
|
|
|
## Installation ##
|
|
|
|
|
2008-02-26 13:29:27 +01:00
|
|
|
install : install-librtapscanmob install-mobile
|
|
|
|
|
|
|
|
install-librtapscanmob :
|
|
|
|
@make -C librtapscanmob install
|
2008-02-22 16:12:42 +01:00
|
|
|
|
2008-02-26 13:29:27 +01:00
|
|
|
install-mobile : install-librtapscanmob
|
|
|
|
@make -C mobile install
|
2008-02-22 16:12:42 +01:00
|
|
|
|
|
|
|
## Désinstallation ##
|
|
|
|
|
2008-02-26 13:29:27 +01:00
|
|
|
uninstall : uninstall-librtapscanmob uninstall-mobile
|
|
|
|
|
|
|
|
uninstall-librtapscanmob : uninstall-mobile
|
|
|
|
@make -C librtapscanmob uninstall
|
2008-02-22 16:12:42 +01:00
|
|
|
|
2008-02-26 13:29:27 +01:00
|
|
|
uninstall-mobile :
|
|
|
|
@make -C mobile uninstall
|
2008-02-22 16:12:42 +01:00
|
|
|
|
|
|
|
## Nettoyage ##
|
|
|
|
|
|
|
|
clean :
|
2008-02-26 13:29:27 +01:00
|
|
|
@make -C librtapscanmob clean
|
|
|
|
@make -C mobile clean
|
2008-02-22 16:12:42 +01:00
|
|
|
|
2008-10-10 15:00:34 +02:00
|
|
|
purge :
|
2008-02-26 13:29:27 +01:00
|
|
|
@make -C librtapscanmob purge
|
|
|
|
@make -C mobile purge
|
2008-02-22 16:12:42 +01:00
|
|
|
|
|
|
|
## Aide ##
|
|
|
|
|
|
|
|
help :
|
|
|
|
@echo "Bibliothèques nécessaires à la compilation :\n\
|
|
|
|
libpcap0.8-dev\n\
|
|
|
|
librtaputil1.0 (fournie)\n\
|
|
|
|
\n\
|
|
|
|
Cibles possibles :\n\
|
|
|
|
all (cible par défaut) : Compile tous les modules.\n\
|
|
|
|
<module> : Compile uniquement le module <module> (et ses dépendances).\n\
|
|
|
|
\n\
|
|
|
|
install : Installe tous les modules.\n\
|
|
|
|
install-<module> : Installe uniquement le module <module> (et ses dépendances).\n\
|
|
|
|
\n\
|
|
|
|
uninstall : Désinstalle tous les modules.\n\
|
|
|
|
uninstall-<module> : Désinstalle uniquement le module <module> (et ses dépendances).\n\
|
|
|
|
\n\
|
|
|
|
clean : Supprime les fichiers temporaires.\n\
|
|
|
|
purge : Supprime le résultat de la compilation.\n\
|
|
|
|
\n\
|
|
|
|
Note : l'installation se fait dans l'arborescence /usr/local. Modifiez la variable PREFIX de chaque Makefile pour changer ce comportement."
|