[i-c] Update Makefile

Add libowlps-client building and update old code.
This commit is contained in:
Matteo Cypriani 2010-10-14 11:48:18 +02:00
parent eff2455897
commit fe0ea4bcdc
1 changed files with 27 additions and 13 deletions

View File

@ -1,53 +1,67 @@
.PHONY : all owlps-aggregator owlps-listener owlps-client clean purge help install install-owlps-aggregator install-owlps-listener install-owlps-client uninstall uninstall-owlps-aggregator uninstall-owlps-listener uninstall-owlps-client .PHONY : \
all clean purge help \
owlps-aggregator libowlps-client owlps-listener owlps-client \
install install-owlps-aggregator \
install-owlps-listener install-owlps-client \
uninstall uninstall-owlps-aggregator \
uninstall-owlps-listener uninstall-owlps-client
## Compilation ## ## Compilation ##
all : owlps-aggregator owlps-listener owlps-client all : owlps-aggregator libowlps-client owlps-listener owlps-client
owlps-aggregator : owlps-aggregator :
@make -C owlps-aggregator @make -C $@
libowlps-client :
@make -C $@
owlps-listener : owlps-listener :
@make -C owlps-listener @make -C $@
owlps-client : owlps-client :
@make -C owlps-client @make -C $@
## Installation ## ## Installation ##
install : install-owlps-aggregator install-owlps-listener install-owlps-client install : \
install-owlps-aggregator \
install-owlps-listener install-owlps-client
install-owlps-aggregator : install-owlps-aggregator :
@make -C owlps-aggregator install @make -C $(subst install-,,$@) install
install-owlps-listener : install-owlps-listener :
@make -C owlps-listener install @make -C $(subst install-,,$@) install
install-owlps-client : install-owlps-client :
@make -C owlps-client install @make -C $(subst install-,,$@) install
## Désinstallation ## ## Désinstallation ##
uninstall : uninstall-owlps-aggregator uninstall-owlps-listener uninstall-owlps-client uninstall : \
uninstall-owlps-aggregator \
uninstall-owlps-listener uninstall-owlps-client
uninstall-owlps-aggregator : uninstall-owlps-aggregator :
@make -C owlps-aggregator uninstall @make -C $(subst uninstall-,,$@) uninstall
uninstall-owlps-listener : uninstall-owlps-listener :
@make -C owlps-listener uninstall @make -C $(subst uninstall-,,$@) uninstall
uninstall-owlps-client : uninstall-owlps-client :
@make -C owlps-client uninstall @make -C $(subst uninstall-,,$@) uninstall
## Nettoyage ## ## Nettoyage ##
clean : clean :
@make -C owlps-aggregator clean @make -C owlps-aggregator clean
@make -C libowlps-client clean
@make -C owlps-listener clean @make -C owlps-listener clean
@make -C owlps-client clean @make -C owlps-client clean
purge : purge :
@make -C owlps-aggregator purge @make -C owlps-aggregator purge
@make -C libowlps-client purge
@make -C owlps-listener purge @make -C owlps-listener purge
@make -C owlps-client purge @make -C owlps-client purge