Makefiles: remove -v incompatible with BSD commands

The -v 'verbose' switch of the standard commands (rm, cp, mkdir, etc.)
is not implemented in BSD versions of the commands, so we avoid using
it.
This commit is contained in:
Matteo Cypriani 2011-06-23 12:49:41 +02:00
parent 84ea723528
commit f54b0d11e1
14 changed files with 44 additions and 45 deletions

View File

@ -7,7 +7,7 @@ endif
# Autres outils # Autres outils
AR = ar AR = ar
RANLIB = ranlib RANLIB = ranlib
RM = rm -fv RM = rm -f
# Variables générales # Variables générales
LIB_CIBLE=libowlps-client LIB_CIBLE=libowlps-client

View File

@ -10,7 +10,7 @@ CC = $(TOOLCHAIN_BIN)/mips-linux-gcc
# Autres outils # Autres outils
AR = ar AR = ar
RANLIB = ranlib RANLIB = ranlib
RM = rm -fv RM = rm -f
# Variables générales # Variables générales
LIB_CIBLE=libowlps-client LIB_CIBLE=libowlps-client

View File

@ -10,7 +10,7 @@ CC = $(TOOLCHAIN_BIN)/mips-openwrt-linux-gcc
# Autres outils # Autres outils
AR = ar AR = ar
RANLIB = ranlib RANLIB = ranlib
RM = rm -fv RM = rm -f
# Variables générales # Variables générales
LIB_CIBLE=libowlps-client LIB_CIBLE=libowlps-client

View File

@ -15,9 +15,9 @@ AR = ar
RANLIB = ranlib RANLIB = ranlib
# Commandes d'installation et de désinstallation # Commandes d'installation et de désinstallation
RM=rm -fv RM = rm -f
CP=cp -v CP = cp
SYMLINK=ln -svf SYMLINK = ln -sf
# Variables générales # Variables générales
LIB_CIBLE=libowlps LIB_CIBLE=libowlps

View File

@ -18,9 +18,9 @@ AR = ar
RANLIB = ranlib RANLIB = ranlib
# Commandes d'installation et de désinstallation # Commandes d'installation et de désinstallation
RM=rm -fv RM = rm -f
CP=cp -v CP = cp
SYMLINK=ln -svf SYMLINK = ln -sf
# Variables générales # Variables générales
LIB_CIBLE=libowlps LIB_CIBLE=libowlps

View File

@ -18,9 +18,9 @@ AR = ar
RANLIB = ranlib RANLIB = ranlib
# Commandes d'installation et de désinstallation # Commandes d'installation et de désinstallation
RM=rm -fv RM = rm -f
CP=cp -v CP = cp
SYMLINK=ln -svf SYMLINK = ln -sf
# Variables générales # Variables générales
LIB_CIBLE=libowlps LIB_CIBLE=libowlps

View File

@ -17,8 +17,8 @@ ifeq ($(COLORGCC), 0)
endif endif
# Commandes d'installation et de désinstallation # Commandes d'installation et de désinstallation
RM=rm -fv RM = rm -f
CP=cp -v CP = cp
# Cible # Cible
TARGET=owlps-aggregatord TARGET=owlps-aggregatord
@ -63,10 +63,10 @@ uninstall :
## Nettoyage ## ## Nettoyage ##
clean : clean :
@$(RM) -fv *~ *.o *.d @$(RM) *~ *.o *.d
purge : clean purge : clean
@$(RM) -fv $(TARGET) @$(RM) $(TARGET)
## Aide ## ## Aide ##

View File

@ -17,8 +17,8 @@ ifeq ($(COLORGCC), 0)
endif endif
# Commandes d'installation et de désinstallation # Commandes d'installation et de désinstallation
RM=rm -fv RM = rm -f
CP=cp -v CP = cp
# Cible # Cible
TARGET=owlps-client TARGET=owlps-client
@ -74,10 +74,10 @@ uninstall :
## Nettoyage ## ## Nettoyage ##
clean : clean :
@$(RM) -fv *~ *.o *.d @$(RM) *~ *.o *.d
purge : clean purge : clean
@$(RM) -fv $(TARGET) $(TARGET).static @$(RM) $(TARGET) $(TARGET).static
## Aide ## ## Aide ##

View File

@ -20,8 +20,8 @@ INSTALL_MAN= $(PREFIX)/share/man
CC = $(TOOLCHAIN_BIN)/mips-linux-gcc CC = $(TOOLCHAIN_BIN)/mips-linux-gcc
# Commandes d'installation et de désinstallation # Commandes d'installation et de désinstallation
RM=rm -fv RM = rm -f
CP=cp -v CP = cp
# Cible # Cible
TARGET=owlps-client TARGET=owlps-client
@ -87,10 +87,10 @@ uninstall :
## Nettoyage ## ## Nettoyage ##
clean : clean :
@$(RM) -fv *~ *.o *.d @$(RM) *~ *.o *.d
purge : clean purge : clean
@$(RM) -fv $(TARGET) $(TARGET).static $(TARGET).semistatic @$(RM) $(TARGET) $(TARGET).static $(TARGET).semistatic
## Aide ## ## Aide ##

View File

@ -20,8 +20,8 @@ INSTALL_MAN= $(PREFIX)/share/man
CC = $(TOOLCHAIN_BIN)/mips-openwrt-linux-gcc CC = $(TOOLCHAIN_BIN)/mips-openwrt-linux-gcc
# Commandes d'installation et de désinstallation # Commandes d'installation et de désinstallation
RM=rm -fv RM = rm -f
CP=cp -v CP = cp
# Cible # Cible
TARGET=owlps-client TARGET=owlps-client
@ -87,10 +87,10 @@ uninstall :
## Nettoyage ## ## Nettoyage ##
clean : clean :
@$(RM) -fv *~ *.o *.d @$(RM) *~ *.o *.d
purge : clean purge : clean
@$(RM) -fv $(TARGET) $(TARGET).static $(TARGET).semistatic @$(RM) $(TARGET) $(TARGET).static $(TARGET).semistatic
## Aide ## ## Aide ##

View File

@ -17,8 +17,8 @@ ifeq ($(COLORGCC), 0)
endif endif
# Commandes d'installation et de désinstallation # Commandes d'installation et de désinstallation
RM=rm -fv RM = rm -f
CP=cp -v CP = cp
# Cible # Cible
TARGET=owlps-listenerd TARGET=owlps-listenerd
@ -69,10 +69,10 @@ uninstall :
## Nettoyage ## ## Nettoyage ##
clean : clean :
@$(RM) -fv *~ *.o *.d @$(RM) *~ *.o *.d
purge : clean purge : clean
@$(RM) -fv $(TARGET) @$(RM) $(TARGET)
## Aide ## ## Aide ##

View File

@ -20,8 +20,8 @@ INSTALL_MAN= $(PREFIX)/share/man
CC = $(TOOLCHAIN_BIN)/mips-linux-gcc CC = $(TOOLCHAIN_BIN)/mips-linux-gcc
# Commandes d'installation et de désinstallation # Commandes d'installation et de désinstallation
RM=rm -fv RM = rm -f
CP=cp -v CP = cp
# Cible # Cible
TARGET=owlps-listenerd TARGET=owlps-listenerd
@ -85,10 +85,10 @@ uninstall :
## Nettoyage ## ## Nettoyage ##
clean : clean :
@$(RM) -fv *~ *.o *.d @$(RM) *~ *.o *.d
purge : clean purge : clean
@$(RM) -fv $(TARGET) $(TARGET).static $(TARGET).semistatic @$(RM) $(TARGET) $(TARGET).static $(TARGET).semistatic
## Aide ## ## Aide ##

View File

@ -20,8 +20,8 @@ INSTALL_MAN= $(PREFIX)/share/man
CC = $(TOOLCHAIN_BIN)/mips-openwrt-linux-gcc CC = $(TOOLCHAIN_BIN)/mips-openwrt-linux-gcc
# Commandes d'installation et de désinstallation # Commandes d'installation et de désinstallation
RM=rm -fv RM = rm -f
CP=cp -v CP = cp
# Cible # Cible
TARGET=owlps-listenerd TARGET=owlps-listenerd
@ -85,10 +85,10 @@ uninstall :
## Nettoyage ## ## Nettoyage ##
clean : clean :
@$(RM) -fv *~ *.o *.d @$(RM) *~ *.o *.d
purge : clean purge : clean
@$(RM) -fv $(TARGET) $(TARGET).static $(TARGET).semistatic @$(RM) $(TARGET) $(TARGET).static $(TARGET).semistatic
## Aide ## ## Aide ##

View File

@ -15,11 +15,10 @@ PREFIX = /usr/local
INSTALL_DIR = $(PREFIX)/bin INSTALL_DIR = $(PREFIX)/bin
# System tools # System tools
RM = rm -fv RM = rm -f
RM_RECURSIVE = \rm -fr RM_RECURSIVE = \rm -fr
RM_RECURSIVE_VERBOSE = rm -frv CP = cp
CP = cp -v MKDIR = mkdir -p
MKDIR = mkdir -pv
# Other tools # Other tools
STYLE = astyle --style=gnu --formatted STYLE = astyle --style=gnu --formatted
@ -309,7 +308,7 @@ doc:
clean: clean:
@$(RM) *~ */*~ *.orig */*.orig @$(RM) *~ */*~ *.orig */*.orig
@$(RM_RECURSIVE_VERBOSE) $(OBJ_DIR) @$(RM_RECURSIVE) $(OBJ_DIR)
@$(RM) $(TESTS_XX) $(TESTS_DIR)/*.o @$(RM) $(TESTS_XX) $(TESTS_DIR)/*.o
purge: clean purge: clean