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
AR = ar
RANLIB = ranlib
RM = rm -fv
RM = rm -f
# Variables générales
LIB_CIBLE=libowlps-client

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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