2008-02-26 13:29:27 +01:00
|
|
|
.PHONY : all librtaputil clean purge help install install-librtaputil install-loc-bts install-loc-mobile uninstall uninstall-librtaputil uninstall-loc-bts uninstall-loc-mobile
|
2008-02-22 16:12:42 +01:00
|
|
|
|
|
|
|
## Compilation ##
|
|
|
|
|
|
|
|
all : librtaputil loc-bts loc-mobile
|
|
|
|
|
|
|
|
librtaputil :
|
2008-02-26 13:29:27 +01:00
|
|
|
@make -C librtaputil
|
2008-02-22 16:12:42 +01:00
|
|
|
|
|
|
|
loc-bts : librtaputil
|
2008-02-26 13:29:27 +01:00
|
|
|
@make -C loc-bts
|
2008-02-22 16:12:42 +01:00
|
|
|
|
|
|
|
loc-mobile : librtaputil
|
2008-02-26 13:29:27 +01:00
|
|
|
@make -C loc-mobile
|
2008-02-22 16:12:42 +01:00
|
|
|
|
|
|
|
## Installation ##
|
|
|
|
|
2008-02-26 13:29:27 +01:00
|
|
|
install : install-librtaputil install-loc-bts install-loc-mobile
|
2008-02-22 16:12:42 +01:00
|
|
|
|
2008-02-26 13:29:27 +01:00
|
|
|
install-librtaputil :
|
|
|
|
@make -C librtaputil install
|
2008-02-22 16:12:42 +01:00
|
|
|
|
2008-02-26 13:29:27 +01:00
|
|
|
install-loc-bts : install-librtaputil
|
|
|
|
@make -C loc-bts install
|
2008-02-22 16:12:42 +01:00
|
|
|
|
2008-02-26 13:29:27 +01:00
|
|
|
install-loc-mobile : install-librtaputil
|
|
|
|
@make -C loc-mobile install
|
2008-02-22 16:12:42 +01:00
|
|
|
|
|
|
|
## Désinstallation ##
|
|
|
|
|
2008-02-26 13:29:27 +01:00
|
|
|
uninstall : uninstall-librtaputil uninstall-loc-bts uninstall-loc-mobile
|
2008-02-22 16:12:42 +01:00
|
|
|
|
2008-02-26 13:29:27 +01:00
|
|
|
uninstall-librtaputil : uninstall-loc-bts uninstall-loc-mobile
|
|
|
|
@make -C librtaputil uninstall
|
2008-02-22 16:12:42 +01:00
|
|
|
|
|
|
|
uninstall-loc-bts :
|
2008-02-26 13:29:27 +01:00
|
|
|
@make -C loc-bts uninstall
|
2008-02-22 16:12:42 +01:00
|
|
|
|
|
|
|
uninstall-loc-mobile :
|
2008-02-26 13:29:27 +01:00
|
|
|
@make -C loc-mobile uninstall
|
2008-02-22 16:12:42 +01:00
|
|
|
|
|
|
|
## Nettoyage ##
|
|
|
|
|
|
|
|
clean :
|
2008-02-26 13:29:27 +01:00
|
|
|
@make -C librtaputil clean
|
|
|
|
@make -C loc-bts clean
|
|
|
|
@make -C loc-mobile clean
|
2008-02-22 16:12:42 +01:00
|
|
|
|
|
|
|
purge :
|
2008-02-26 13:29:27 +01:00
|
|
|
@make -C librtaputil purge
|
|
|
|
@make -C loc-bts purge
|
|
|
|
@make -C loc-mobile purge
|
2008-02-22 16:12:42 +01:00
|
|
|
|
|
|
|
## Aide ##
|
|
|
|
|
|
|
|
help :
|
|
|
|
@echo "Bibliothèques nécessaires à la compilation :\n\
|
2008-02-26 16:51:49 +01:00
|
|
|
libpcap0.8-dev\n\
|
|
|
|
libiw-dev\n\
|
2008-02-22 16:12:42 +01:00
|
|
|
\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."
|