[i-c] Update Makefile
Add libowlps-client building and update old code.
This commit is contained in:
parent
eff2455897
commit
fe0ea4bcdc
|
@ -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 ##
|
||||
|
||||
all : owlps-aggregator owlps-listener owlps-client
|
||||
all : owlps-aggregator libowlps-client owlps-listener owlps-client
|
||||
|
||||
owlps-aggregator :
|
||||
@make -C owlps-aggregator
|
||||
@make -C $@
|
||||
|
||||
libowlps-client :
|
||||
@make -C $@
|
||||
owlps-listener :
|
||||
@make -C owlps-listener
|
||||
@make -C $@
|
||||
|
||||
owlps-client :
|
||||
@make -C owlps-client
|
||||
@make -C $@
|
||||
|
||||
## Installation ##
|
||||
|
||||
install : install-owlps-aggregator install-owlps-listener install-owlps-client
|
||||
install : \
|
||||
install-owlps-aggregator \
|
||||
install-owlps-listener install-owlps-client
|
||||
|
||||
install-owlps-aggregator :
|
||||
@make -C owlps-aggregator install
|
||||
@make -C $(subst install-,,$@) install
|
||||
|
||||
install-owlps-listener :
|
||||
@make -C owlps-listener install
|
||||
@make -C $(subst install-,,$@) install
|
||||
|
||||
install-owlps-client :
|
||||
@make -C owlps-client install
|
||||
@make -C $(subst install-,,$@) install
|
||||
|
||||
## 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 :
|
||||
@make -C owlps-aggregator uninstall
|
||||
@make -C $(subst uninstall-,,$@) uninstall
|
||||
|
||||
uninstall-owlps-listener :
|
||||
@make -C owlps-listener uninstall
|
||||
@make -C $(subst uninstall-,,$@) uninstall
|
||||
|
||||
uninstall-owlps-client :
|
||||
@make -C owlps-client uninstall
|
||||
@make -C $(subst uninstall-,,$@) uninstall
|
||||
|
||||
## Nettoyage ##
|
||||
|
||||
clean :
|
||||
@make -C owlps-aggregator clean
|
||||
@make -C libowlps-client clean
|
||||
@make -C owlps-listener clean
|
||||
@make -C owlps-client clean
|
||||
|
||||
purge :
|
||||
@make -C owlps-aggregator purge
|
||||
@make -C libowlps-client purge
|
||||
@make -C owlps-listener purge
|
||||
@make -C owlps-client purge
|
||||
|
||||
|
|
Loading…
Reference in New Issue