Makefiles: translate comments
Translate all the comments from French.
This commit is contained in:
parent
fc0ab05620
commit
a70fc783e2
|
@ -1,23 +1,23 @@
|
|||
# Compilateur
|
||||
# Compiler
|
||||
COLORGCC := $(shell which colorgcc >/dev/null 2>&1 ; echo $$?)
|
||||
ifeq ($(COLORGCC), 0)
|
||||
CC = colorgcc
|
||||
endif
|
||||
|
||||
# Autres outils
|
||||
# Other tools
|
||||
AR = ar
|
||||
RANLIB = ranlib
|
||||
RM = rm -f
|
||||
|
||||
# Variables générales
|
||||
# General variables
|
||||
LIB_CIBLE=libowlps-client
|
||||
VERSION=1.0
|
||||
|
||||
# Cibles à construire
|
||||
# Targets to build
|
||||
STATIC=$(LIB_CIBLE).a
|
||||
HEADER=owlps-client.h
|
||||
|
||||
# Composition de la bibliothèque
|
||||
# Library components
|
||||
OBJS=$(LIB_CIBLE).o
|
||||
|
||||
# Flags
|
||||
|
@ -32,7 +32,7 @@ PICFLAG=-fPIC
|
|||
#LDFLAGS=
|
||||
|
||||
|
||||
## Cibles de compilation standard ##
|
||||
## Standard targets ##
|
||||
|
||||
.PHONY : all static clean purge help
|
||||
|
||||
|
@ -42,14 +42,14 @@ static : $(STATIC)
|
|||
%.o : %.c $(HEADER)
|
||||
$(CC) $(XCFLAGS) -c $<
|
||||
|
||||
# Compilation de la bibliothèque statique
|
||||
# Static library compilation
|
||||
$(STATIC) : $(OBJS)
|
||||
$(RM) $@
|
||||
$(AR) cru $@ $^
|
||||
$(RANLIB) $@
|
||||
|
||||
|
||||
## Nettoyage ##
|
||||
## Cleaning ##
|
||||
|
||||
clean :
|
||||
@$(RM) *~ *.o *.d
|
||||
|
@ -58,7 +58,7 @@ purge : clean
|
|||
@$(RM) $(STATIC)
|
||||
|
||||
|
||||
## Aide ##
|
||||
## Help ##
|
||||
|
||||
help :
|
||||
@echo "Bibliothèques nécessaires à la compilation :"
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
# Emplacement de la suite de cross-compilation
|
||||
# Cross-compilation toolchain directories
|
||||
TOOLCHAIN_PREFIX = $$HOME/openwrt/atheros/10.03/staging_dir
|
||||
TOOLCHAIN1 = $(TOOLCHAIN_PREFIX)/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1
|
||||
TOOLCHAIN2 = $(TOOLCHAIN_PREFIX)/target-mips_uClibc-0.9.30.1
|
||||
TOOLCHAIN_BIN = $(TOOLCHAIN1)/usr/bin
|
||||
|
||||
# Compilateur
|
||||
# Compiler
|
||||
CC = $(TOOLCHAIN_BIN)/mips-openwrt-linux-gcc
|
||||
|
||||
# Autres outils
|
||||
# Other tools
|
||||
AR = ar
|
||||
RANLIB = ranlib
|
||||
RM = rm -f
|
||||
|
||||
# Variables générales
|
||||
# General variables
|
||||
LIB_CIBLE=libowlps-client
|
||||
VERSION=1.0
|
||||
|
||||
# Cibles à construire
|
||||
# Targets to build
|
||||
STATIC=$(LIB_CIBLE).a
|
||||
HEADER=owlps-client.h
|
||||
|
||||
# Composition de la bibliothèque
|
||||
# Library components
|
||||
OBJS=$(LIB_CIBLE).o
|
||||
|
||||
# Flags
|
||||
|
@ -37,7 +37,7 @@ LATHEROS = -L$(TOOLCHAIN1)/lib -L$(TOOLCHAIN1)/usr/lib -L$(TOOLCHAIN2)/usr/lib
|
|||
IATHEROS = -I$(TOOLCHAIN1)/usr/include -I$(TOOLCHAIN2)/usr/include
|
||||
|
||||
|
||||
## Cibles de compilation standard ##
|
||||
## Standard targets ##
|
||||
|
||||
.PHONY : all static clean purge help
|
||||
|
||||
|
@ -47,14 +47,14 @@ static : $(STATIC)
|
|||
%.o : %.c $(HEADER)
|
||||
$(CC) $(XCFLAGS) $(IATHEROS) -c $<
|
||||
|
||||
# Compilation de la bibliothèque statique
|
||||
# Static library compilation
|
||||
$(STATIC) : $(OBJS)
|
||||
$(RM) $@
|
||||
$(AR) cru $@ $^
|
||||
$(RANLIB) $@
|
||||
|
||||
|
||||
## Nettoyage ##
|
||||
## Cleaning ##
|
||||
|
||||
clean :
|
||||
@$(RM) *~ *.o *.d
|
||||
|
@ -63,7 +63,7 @@ purge : clean
|
|||
@$(RM) $(STATIC)
|
||||
|
||||
|
||||
## Aide ##
|
||||
## Help ##
|
||||
|
||||
help :
|
||||
@make help
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
# Emplacement de la suite de cross-compilation
|
||||
# Cross-compilation toolchain directories
|
||||
TOOLCHAIN_PREFIX = $$HOME/openwrt/atheros/8.09
|
||||
TOOLCHAIN_BIN = $(TOOLCHAIN_PREFIX)/staging_dir/toolchain-mips_gcc4.1.2/bin
|
||||
TOOLCHAIN_USR = $(TOOLCHAIN_PREFIX)/staging_dir/mips/usr
|
||||
TOOLCHAIN_USR_2 = $(TOOLCHAIN_PREFIX)/build_dir/mips/OpenWrt-SDK-atheros-for-Linux-i686/staging_dir/toolchain-mips_gcc4.1.2
|
||||
|
||||
# Compilateur
|
||||
# Compiler
|
||||
CC = $(TOOLCHAIN_BIN)/mips-linux-gcc
|
||||
|
||||
# Autres outils
|
||||
# Other tools
|
||||
AR = ar
|
||||
RANLIB = ranlib
|
||||
RM = rm -f
|
||||
|
||||
# Variables générales
|
||||
# General variables
|
||||
LIB_CIBLE=libowlps-client
|
||||
VERSION=1.0
|
||||
|
||||
# Cibles à construire
|
||||
# Targets to build
|
||||
STATIC=$(LIB_CIBLE).a
|
||||
HEADER=owlps-client.h
|
||||
|
||||
# Composition de la bibliothèque
|
||||
# Library components
|
||||
OBJS=$(LIB_CIBLE).o
|
||||
|
||||
# Flags
|
||||
|
@ -38,7 +38,7 @@ LATHEROS = -L$(TOOLCHAIN_USR)/lib -L$(TOOLCHAIN_USR_2)/lib
|
|||
IATHEROS = -I$(TOOLCHAIN_USR)/include -I$(TOOLCHAIN_USR_2)/include
|
||||
|
||||
|
||||
## Cibles de compilation standard ##
|
||||
## Standard targets ##
|
||||
|
||||
.PHONY : all static clean purge help
|
||||
|
||||
|
@ -48,14 +48,14 @@ static : $(STATIC)
|
|||
%.o : %.c $(HEADER)
|
||||
$(CC) $(XCFLAGS) $(IATHEROS) -c $<
|
||||
|
||||
# Compilation de la bibliothèque statique
|
||||
# Static library compilation
|
||||
$(STATIC) : $(OBJS)
|
||||
$(RM) $@
|
||||
$(AR) cru $@ $^
|
||||
$(RANLIB) $@
|
||||
|
||||
|
||||
## Nettoyage ##
|
||||
## Cleaning ##
|
||||
|
||||
clean :
|
||||
@$(RM) *~ *.o *.d
|
||||
|
@ -64,7 +64,7 @@ purge : clean
|
|||
@$(RM) $(STATIC)
|
||||
|
||||
|
||||
## Aide ##
|
||||
## Help ##
|
||||
|
||||
help :
|
||||
@make help
|
||||
|
|
|
@ -1,24 +1,24 @@
|
|||
# Compilateur
|
||||
# Compiler
|
||||
COLORGCC := $(shell which colorgcc >/dev/null 2>&1 ; echo $$?)
|
||||
ifeq ($(COLORGCC), 0)
|
||||
CC = colorgcc
|
||||
endif
|
||||
|
||||
# Autres outils
|
||||
# Other tools
|
||||
AR = ar
|
||||
RANLIB = ranlib
|
||||
RM = rm -f
|
||||
|
||||
# Variables générales
|
||||
# General variables
|
||||
LIB_CIBLE = libowlps-resultreader
|
||||
VERSION = 1.0
|
||||
|
||||
# Cibles à construire
|
||||
# Targets to build
|
||||
STATIC = $(LIB_CIBLE).a
|
||||
HEADER = owlps-resultreader.h
|
||||
EXAMPLE = owlps-resultreader-udp
|
||||
|
||||
# Composition de la bibliothèque
|
||||
# Library components
|
||||
OBJS = $(LIB_CIBLE).o
|
||||
|
||||
# Flags
|
||||
|
@ -39,7 +39,7 @@ ifeq ("$(OS)", "Linux")
|
|||
endif
|
||||
|
||||
|
||||
## Cibles de compilation standard ##
|
||||
## Standard targets ##
|
||||
|
||||
.PHONY : all static clean purge help
|
||||
|
||||
|
@ -57,14 +57,14 @@ example : $(EXAMPLE)
|
|||
$(CC) $(STRIPFLAGS) $(XCFLAGS) -o $@ $< \
|
||||
$(STATIC) $(LIBS)
|
||||
|
||||
# Compilation de la bibliothèque statique
|
||||
# Static library compilation
|
||||
$(STATIC) : $(OBJS)
|
||||
$(RM) $@
|
||||
$(AR) cru $@ $^
|
||||
$(RANLIB) $@
|
||||
|
||||
|
||||
## Nettoyage ##
|
||||
## Cleaning ##
|
||||
|
||||
clean :
|
||||
@$(RM) *~ *.o *.d
|
||||
|
@ -73,7 +73,7 @@ purge : clean
|
|||
@$(RM) $(STATIC) $(EXAMPLE)
|
||||
|
||||
|
||||
## Aide ##
|
||||
## Help ##
|
||||
|
||||
help :
|
||||
@echo "Bibliothèques nécessaires à la compilation :"
|
||||
|
|
|
@ -1,36 +1,36 @@
|
|||
# Répertoire d'installation
|
||||
# Installation directory
|
||||
PREFIX=/usr/local
|
||||
INSTALL_LIB= $(PREFIX)/lib
|
||||
INSTALL_INC= $(PREFIX)/include
|
||||
INSTALL_MAN= $(PREFIX)/share/man
|
||||
|
||||
# Compilateur
|
||||
# Compiler
|
||||
COLORGCC := $(shell which colorgcc >/dev/null 2>&1 ; echo $$?)
|
||||
ifeq ($(COLORGCC), 0)
|
||||
CC = colorgcc
|
||||
endif
|
||||
|
||||
# Autres outils
|
||||
# Other tools
|
||||
AR = ar
|
||||
RANLIB = ranlib
|
||||
|
||||
# Commandes d'installation et de désinstallation
|
||||
# Install/uninstall commands
|
||||
RM = rm -f
|
||||
CP = cp
|
||||
SYMLINK = ln -sf
|
||||
|
||||
# Variables générales
|
||||
# General variables
|
||||
LIB_CIBLE=libowlps
|
||||
VERSION=1.0
|
||||
|
||||
# Cibles à construire
|
||||
# Targets to build
|
||||
STATIC=$(LIB_CIBLE).a
|
||||
DYNAMIC=$(LIB_CIBLE).so.$(VERSION)
|
||||
#PROGS=
|
||||
HEADER=owlps.h
|
||||
#HEADERS=
|
||||
|
||||
# Composition de la bibliothèque
|
||||
# Library components
|
||||
OBJS=$(LIB_CIBLE).o
|
||||
|
||||
# Flags
|
||||
|
@ -45,7 +45,7 @@ LIBS =
|
|||
#LDFLAGS=
|
||||
|
||||
|
||||
## Cibles de compilation standard ##
|
||||
## Standard targets ##
|
||||
|
||||
.PHONY : all dynamic static install install-dynamic install-static install-header uninstall uninstall-dynamic uninstall-static uninstall-header clean purge help
|
||||
|
||||
|
@ -56,13 +56,13 @@ static : $(STATIC)
|
|||
%.o: %.c $(HEADER)
|
||||
$(CC) $(XCFLAGS) $(PICFLAG) -c -o $@ $<
|
||||
|
||||
# Compilation de la bibliothèque dynamique
|
||||
# Dynamic library compilation
|
||||
$(DYNAMIC): $(OBJS)
|
||||
$(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(LIBS) -lc $^
|
||||
$(SYMLINK) $@ $(LIB_CIBLE).so
|
||||
chmod a-x $@
|
||||
|
||||
# Compilation de la bibliothèque statique
|
||||
# Static library compilation
|
||||
$(STATIC): $(OBJS)
|
||||
$(RM) $@
|
||||
$(AR) cru $@ $^
|
||||
|
@ -91,7 +91,7 @@ install-header : $(HEADER)
|
|||
chown root:root $(INSTALL_INC)/$(HEADER)
|
||||
|
||||
|
||||
## Désinstallation ##
|
||||
## Uninstallation ##
|
||||
|
||||
uninstall : uninstall-dynamic uninstall-static
|
||||
|
||||
|
@ -106,7 +106,7 @@ uninstall-header :
|
|||
@$(RM) $(INSTALL_INC)/$(HEADER)
|
||||
|
||||
|
||||
## Nettoyage ##
|
||||
## Cleaning ##
|
||||
|
||||
clean :
|
||||
@$(RM) *~ *.o *.d
|
||||
|
@ -115,7 +115,7 @@ purge : clean
|
|||
@$(RM) $(DYNAMIC) *.so $(STATIC) $(PROGS)
|
||||
|
||||
|
||||
## Aide ##
|
||||
## Help ##
|
||||
|
||||
help :
|
||||
@echo "Bibliothèques nécessaires à la compilation :"
|
||||
|
|
|
@ -1,39 +1,39 @@
|
|||
# Emplacement de la suite de cross-compilation
|
||||
# Cross-compilation toolchain directories
|
||||
TOOLCHAIN_PREFIX = $$HOME/openwrt/atheros/10.03/staging_dir
|
||||
TOOLCHAIN1 = $(TOOLCHAIN_PREFIX)/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1
|
||||
TOOLCHAIN2 = $(TOOLCHAIN_PREFIX)/target-mips_uClibc-0.9.30.1
|
||||
TOOLCHAIN_BIN = $(TOOLCHAIN1)/usr/bin
|
||||
|
||||
# Répertoire d'installation
|
||||
# Installation directory
|
||||
PREFIX=/usr/local
|
||||
INSTALL_LIB= $(PREFIX)/lib
|
||||
INSTALL_INC= $(PREFIX)/include
|
||||
INSTALL_MAN= $(PREFIX)/share/man
|
||||
|
||||
# Compilateur
|
||||
# Compiler
|
||||
CC = $(TOOLCHAIN_BIN)/mips-openwrt-linux-gcc
|
||||
|
||||
# Autres outils
|
||||
# Other tools
|
||||
AR = ar
|
||||
RANLIB = ranlib
|
||||
|
||||
# Commandes d'installation et de désinstallation
|
||||
# Install/uninstall commands
|
||||
RM = rm -f
|
||||
CP = cp
|
||||
SYMLINK = ln -sf
|
||||
|
||||
# Variables générales
|
||||
# General variables
|
||||
LIB_CIBLE=libowlps
|
||||
VERSION=1.0
|
||||
|
||||
# Cibles à construire
|
||||
# Targets to build
|
||||
STATIC=$(LIB_CIBLE).a
|
||||
DYNAMIC=$(LIB_CIBLE).so.$(VERSION)
|
||||
#PROGS=
|
||||
HEADER=owlps.h
|
||||
#HEADERS=
|
||||
|
||||
# Composition de la bibliothèque
|
||||
# Library components
|
||||
OBJS=$(LIB_CIBLE).o
|
||||
|
||||
# Flags
|
||||
|
@ -48,7 +48,7 @@ PICFLAG=-fPIC
|
|||
LATHEROS = -L$(TOOLCHAIN1)/lib -L$(TOOLCHAIN1)/usr/lib -L$(TOOLCHAIN2)/usr/lib
|
||||
IATHEROS = -I$(TOOLCHAIN1)/usr/include -I$(TOOLCHAIN2)/usr/include
|
||||
|
||||
## Cibles de compilation standard ##
|
||||
## Standard targets ##
|
||||
|
||||
.PHONY : all dynamic static install install-dynamic install-static install-header uninstall uninstall-dynamic uninstall-static uninstall-header clean purge help
|
||||
|
||||
|
@ -59,13 +59,13 @@ static : $(STATIC)
|
|||
%.o: %.c $(HEADER)
|
||||
$(CC) $(XCFLAGS) $(IATHEROS) $(PICFLAG) -c -o $@ $<
|
||||
|
||||
# Compilation de la bibliothèque dynamique
|
||||
# Dynamic library compilation
|
||||
$(DYNAMIC): $(OBJS)
|
||||
$(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(IATHEROS) $(LATHEROS) $^
|
||||
$(SYMLINK) $@ $(LIB_CIBLE).so
|
||||
chmod a-x $@
|
||||
|
||||
# Compilation de la bibliothèque statique
|
||||
# Static library compilation
|
||||
$(STATIC): $(OBJS)
|
||||
$(RM) $@
|
||||
$(AR) cru $@ $^
|
||||
|
@ -94,7 +94,7 @@ install-header : $(HEADER)
|
|||
chown root:root $(INSTALL_INC)/$(HEADER)
|
||||
|
||||
|
||||
## Désinstallation ##
|
||||
## Uninstallation ##
|
||||
|
||||
uninstall : uninstall-dynamic uninstall-static
|
||||
|
||||
|
@ -109,7 +109,7 @@ uninstall-header :
|
|||
@$(RM) $(INSTALL_INC)/$(HEADER)
|
||||
|
||||
|
||||
## Nettoyage ##
|
||||
## Cleaning ##
|
||||
|
||||
clean :
|
||||
@$(RM) *~ *.o *.d
|
||||
|
@ -118,7 +118,7 @@ purge : clean
|
|||
@$(RM) $(DYNAMIC) *.so $(STATIC) $(PROGS)
|
||||
|
||||
|
||||
## Aide ##
|
||||
## Help ##
|
||||
|
||||
help :
|
||||
@make help
|
||||
|
|
|
@ -1,39 +1,39 @@
|
|||
# Emplacement de la suite de cross-compilation
|
||||
# Cross-compilation toolchain directories
|
||||
TOOLCHAIN_PREFIX = $$HOME/openwrt/atheros/8.09
|
||||
TOOLCHAIN_BIN = $(TOOLCHAIN_PREFIX)/staging_dir/toolchain-mips_gcc4.1.2/bin
|
||||
TOOLCHAIN_USR = $(TOOLCHAIN_PREFIX)/staging_dir/mips/usr
|
||||
TOOLCHAIN_USR_2 = $(TOOLCHAIN_PREFIX)/build_dir/mips/OpenWrt-SDK-atheros-for-Linux-i686/staging_dir/toolchain-mips_gcc4.1.2
|
||||
|
||||
# Répertoire d'installation
|
||||
# Installation directory
|
||||
PREFIX=/usr/local
|
||||
INSTALL_LIB= $(PREFIX)/lib
|
||||
INSTALL_INC= $(PREFIX)/include
|
||||
INSTALL_MAN= $(PREFIX)/share/man
|
||||
|
||||
# Compilateur
|
||||
# Compiler
|
||||
CC = $(TOOLCHAIN_BIN)/mips-linux-gcc
|
||||
|
||||
# Autres outils
|
||||
# Other tools
|
||||
AR = ar
|
||||
RANLIB = ranlib
|
||||
|
||||
# Commandes d'installation et de désinstallation
|
||||
# Install/uninstall commands
|
||||
RM = rm -f
|
||||
CP = cp
|
||||
SYMLINK = ln -sf
|
||||
|
||||
# Variables générales
|
||||
# General variables
|
||||
LIB_CIBLE=libowlps
|
||||
VERSION=1.0
|
||||
|
||||
# Cibles à construire
|
||||
# Targets to build
|
||||
STATIC=$(LIB_CIBLE).a
|
||||
DYNAMIC=$(LIB_CIBLE).so.$(VERSION)
|
||||
#PROGS=
|
||||
HEADER=owlps.h
|
||||
#HEADERS=
|
||||
|
||||
# Composition de la bibliothèque
|
||||
# Library components
|
||||
OBJS=$(LIB_CIBLE).o
|
||||
|
||||
# Flags
|
||||
|
@ -50,7 +50,7 @@ LATHEROS = -L$(TOOLCHAIN_USR)/lib -L$(TOOLCHAIN_USR_2)/lib
|
|||
IATHEROS = -I$(TOOLCHAIN_USR)/include -I$(TOOLCHAIN_USR_2)/include
|
||||
|
||||
|
||||
## Cibles de compilation standard ##
|
||||
## Standard targets ##
|
||||
|
||||
.PHONY : all dynamic static install install-dynamic install-static install-header uninstall uninstall-dynamic uninstall-static uninstall-header clean purge help
|
||||
|
||||
|
@ -61,13 +61,13 @@ static : $(STATIC)
|
|||
%.o: %.c $(HEADER)
|
||||
$(CC) $(XCFLAGS) $(IATHEROS) $(PICFLAG) -c -o $@ $<
|
||||
|
||||
# Compilation de la bibliothèque dynamique
|
||||
# Dynamic library compilation
|
||||
$(DYNAMIC): $(OBJS)
|
||||
$(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(LIBS) $(IATHEROS) $(LATHEROS) -lc $^
|
||||
$(SYMLINK) $@ $(LIB_CIBLE).so
|
||||
chmod a-x $@
|
||||
|
||||
# Compilation de la bibliothèque statique
|
||||
# Static library compilation
|
||||
$(STATIC): $(OBJS)
|
||||
$(RM) $@
|
||||
$(AR) cru $@ $^
|
||||
|
@ -96,7 +96,7 @@ install-header : $(HEADER)
|
|||
chown root:root $(INSTALL_INC)/$(HEADER)
|
||||
|
||||
|
||||
## Désinstallation ##
|
||||
## Uninstallation ##
|
||||
|
||||
uninstall : uninstall-dynamic uninstall-static
|
||||
|
||||
|
@ -111,7 +111,7 @@ uninstall-header :
|
|||
@$(RM) $(INSTALL_INC)/$(HEADER)
|
||||
|
||||
|
||||
## Nettoyage ##
|
||||
## Cleaning ##
|
||||
|
||||
clean :
|
||||
@$(RM) *~ *.o *.d
|
||||
|
@ -120,7 +120,7 @@ purge : clean
|
|||
@$(RM) $(DYNAMIC) *.so $(STATIC) $(PROGS)
|
||||
|
||||
|
||||
## Aide ##
|
||||
## Help ##
|
||||
|
||||
help :
|
||||
@make help
|
||||
|
|
|
@ -3,24 +3,24 @@ ifndef OWLPS_VERSION
|
|||
OWLPS_VERSION := $(shell git describe 2>/dev/null || echo 'UNKNOWN_VERSION')
|
||||
endif
|
||||
|
||||
# Répertoire d'installation
|
||||
# Installation directory
|
||||
PREFIX=/usr/local
|
||||
INSTALL_DIR= $(PREFIX)/bin
|
||||
INSTALL_LIB= $(PREFIX)/lib
|
||||
INSTALL_INC= $(PREFIX)/include
|
||||
INSTALL_MAN= $(PREFIX)/share/man
|
||||
|
||||
# Compilateur
|
||||
# Compiler
|
||||
COLORGCC := $(shell which colorgcc >/dev/null 2>&1 ; echo $$?)
|
||||
ifeq ($(COLORGCC), 0)
|
||||
CC = colorgcc
|
||||
endif
|
||||
|
||||
# Commandes d'installation et de désinstallation
|
||||
# Install/uninstall commands
|
||||
RM = rm -f
|
||||
CP = cp
|
||||
|
||||
# Cible
|
||||
# Target
|
||||
TARGET=owlps-aggregatord
|
||||
HEADER=owlps-aggregator.h
|
||||
|
||||
|
@ -43,7 +43,7 @@ endif
|
|||
LDFLAGS = $(LIBS) $(OWLPSFLAGS)
|
||||
|
||||
|
||||
## Cibles de compilation standard ##
|
||||
## Standard targets ##
|
||||
|
||||
.PHONY : all install uninstall clean purge help
|
||||
|
||||
|
@ -54,11 +54,11 @@ all : $(TARGET)
|
|||
%.o : %.c $(HEADER)
|
||||
$(CC) $(XCFLAGS) $(OWLPSFLAGS) -c $<
|
||||
|
||||
# Compilation du programme
|
||||
# Program compilation
|
||||
$(TARGET) : $(TARGET).o $(HEADER)
|
||||
|
||||
|
||||
## Installation / désinstallation ##
|
||||
## Installation / uninstallation ##
|
||||
|
||||
install : $(TARGET)
|
||||
@$(CP) $(TARGET) $(INSTALL_DIR)
|
||||
|
@ -68,7 +68,7 @@ uninstall :
|
|||
@$(RM) $(INSTALL_DIR)/$(TARGET)
|
||||
|
||||
|
||||
## Nettoyage ##
|
||||
## Cleaning ##
|
||||
|
||||
clean :
|
||||
@$(RM) *~ *.o *.d
|
||||
|
@ -77,7 +77,7 @@ purge : clean
|
|||
@$(RM) $(TARGET)
|
||||
|
||||
|
||||
## Aide ##
|
||||
## Help ##
|
||||
|
||||
help :
|
||||
@echo "Bibliothèques nécessaires à la compilation :"
|
||||
|
|
|
@ -3,24 +3,24 @@ ifndef OWLPS_VERSION
|
|||
OWLPS_VERSION := $(shell git describe 2>/dev/null || echo 'UNKNOWN_VERSION')
|
||||
endif
|
||||
|
||||
# Répertoire d'installation
|
||||
# Installation directory
|
||||
PREFIX=/usr/local
|
||||
INSTALL_DIR= $(PREFIX)/bin
|
||||
INSTALL_LIB= $(PREFIX)/lib
|
||||
INSTALL_INC= $(PREFIX)/include
|
||||
INSTALL_MAN= $(PREFIX)/share/man
|
||||
|
||||
# Compilateur
|
||||
# Compiler
|
||||
COLORGCC := $(shell which colorgcc >/dev/null 2>&1 ; echo $$?)
|
||||
ifeq ($(COLORGCC), 0)
|
||||
CC = colorgcc
|
||||
endif
|
||||
|
||||
# Commandes d'installation et de désinstallation
|
||||
# Install/uninstall commands
|
||||
RM = rm -f
|
||||
CP = cp
|
||||
|
||||
# Cible
|
||||
# Target
|
||||
TARGET=owlps-client
|
||||
HEADER=
|
||||
|
||||
|
@ -49,7 +49,7 @@ endif
|
|||
STATIC_LIBS =
|
||||
|
||||
|
||||
## Cibles de compilation standard ##
|
||||
## Standard targets ##
|
||||
|
||||
.PHONY : all dynamic static install uninstall clean purge help
|
||||
|
||||
|
@ -69,7 +69,7 @@ all : dynamic static
|
|||
$(CC) $(XCFLAGS) $(OWLPSFLAGS) -c $<
|
||||
|
||||
|
||||
## Installation / désinstallation ##
|
||||
## Installation / uninstallation ##
|
||||
|
||||
install : $(TARGET)
|
||||
@$(CP) $(TARGET) $(INSTALL_DIR)
|
||||
|
@ -83,7 +83,7 @@ uninstall :
|
|||
@$(RM) $(INSTALL_DIR)/{$(TARGET),$(TARGET).static}
|
||||
|
||||
|
||||
## Nettoyage ##
|
||||
## Cleaning ##
|
||||
|
||||
clean :
|
||||
@$(RM) *~ *.o *.d
|
||||
|
@ -92,7 +92,7 @@ purge : clean
|
|||
@$(RM) $(TARGET) $(TARGET).static
|
||||
|
||||
|
||||
## Aide ##
|
||||
## Help ##
|
||||
|
||||
help :
|
||||
@echo "Bibliothèques nécessaires à la compilation :"
|
||||
|
|
|
@ -3,27 +3,27 @@ ifndef OWLPS_VERSION
|
|||
OWLPS_VERSION := $(shell git describe 2>/dev/null || echo 'UNKNOWN_VERSION')
|
||||
endif
|
||||
|
||||
# Emplacement de la suite de cross-compilation
|
||||
# Cross-compilation toolchain directories
|
||||
TOOLCHAIN_PREFIX = $$HOME/openwrt/atheros/10.03/staging_dir
|
||||
TOOLCHAIN1 = $(TOOLCHAIN_PREFIX)/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1
|
||||
TOOLCHAIN2 = $(TOOLCHAIN_PREFIX)/target-mips_uClibc-0.9.30.1
|
||||
TOOLCHAIN_BIN = $(TOOLCHAIN1)/usr/bin
|
||||
|
||||
# Répertoire d'installation
|
||||
# Installation directory
|
||||
PREFIX=/usr/local
|
||||
INSTALL_DIR= $(PREFIX)/bin
|
||||
INSTALL_LIB= $(PREFIX)/lib
|
||||
INSTALL_INC= $(PREFIX)/include
|
||||
INSTALL_MAN= $(PREFIX)/share/man
|
||||
|
||||
# Compilateur
|
||||
# Compiler
|
||||
CC = $(TOOLCHAIN_BIN)/mips-openwrt-linux-gcc
|
||||
|
||||
# Commandes d'installation et de désinstallation
|
||||
# Install/uninstall commands
|
||||
RM = rm -f
|
||||
CP = cp
|
||||
|
||||
# Cible
|
||||
# Target
|
||||
TARGET=owlps-client
|
||||
HEADER=
|
||||
|
||||
|
@ -51,7 +51,7 @@ OWLPSFLAGS = -D OWLPS_VERSION=\"$(OWLPS_VERSION)\"
|
|||
OWLPSFLAGS += -D DEBUG
|
||||
|
||||
|
||||
## Cibles de compilation standard ##
|
||||
## Standard targets ##
|
||||
|
||||
.PHONY: all dynamic semistatic static install uninstall clean purge help
|
||||
|
||||
|
@ -77,7 +77,7 @@ all: dynamic semistatic static
|
|||
$(CC) $(XCFLAGS) $(IATHEROS) $(OWLPSFLAGS) -c $<
|
||||
|
||||
|
||||
## Installation / désinstallation ##
|
||||
## Installation / uninstallation ##
|
||||
|
||||
install : $(TARGET)
|
||||
@$(CP) $(TARGET) $(INSTALL_DIR)
|
||||
|
@ -87,7 +87,7 @@ uninstall :
|
|||
@$(RM) $(INSTALL_DIR)/$(TARGET)
|
||||
|
||||
|
||||
## Nettoyage ##
|
||||
## Cleaning ##
|
||||
|
||||
clean :
|
||||
@$(RM) *~ *.o *.d
|
||||
|
@ -96,7 +96,7 @@ purge : clean
|
|||
@$(RM) $(TARGET) $(TARGET).static $(TARGET).semistatic
|
||||
|
||||
|
||||
## Aide ##
|
||||
## Help ##
|
||||
|
||||
help :
|
||||
@make -f Makefile_atheros help
|
||||
|
|
|
@ -3,27 +3,27 @@ ifndef OWLPS_VERSION
|
|||
OWLPS_VERSION := $(shell git describe 2>/dev/null || echo 'UNKNOWN_VERSION')
|
||||
endif
|
||||
|
||||
# Emplacement de la suite de cross-compilation
|
||||
# Cross-compilation toolchain directories
|
||||
TOOLCHAIN_PREFIX = $$HOME/openwrt/atheros/8.09
|
||||
TOOLCHAIN_BIN = $(TOOLCHAIN_PREFIX)/staging_dir/toolchain-mips_gcc4.1.2/bin
|
||||
TOOLCHAIN_USR = $(TOOLCHAIN_PREFIX)/staging_dir/mips/usr
|
||||
TOOLCHAIN_USR_2 = $(TOOLCHAIN_PREFIX)/build_dir/mips/OpenWrt-SDK-atheros-for-Linux-i686/staging_dir/toolchain-mips_gcc4.1.2
|
||||
|
||||
# Répertoire d'installation
|
||||
# Installation directory
|
||||
PREFIX=/usr/local
|
||||
INSTALL_DIR= $(PREFIX)/bin
|
||||
INSTALL_LIB= $(PREFIX)/lib
|
||||
INSTALL_INC= $(PREFIX)/include
|
||||
INSTALL_MAN= $(PREFIX)/share/man
|
||||
|
||||
# Compilateur
|
||||
# Compiler
|
||||
CC = $(TOOLCHAIN_BIN)/mips-linux-gcc
|
||||
|
||||
# Commandes d'installation et de désinstallation
|
||||
# Install/uninstall commands
|
||||
RM = rm -f
|
||||
CP = cp
|
||||
|
||||
# Cible
|
||||
# Target
|
||||
TARGET=owlps-client
|
||||
HEADER=
|
||||
|
||||
|
@ -50,7 +50,7 @@ OWLPSFLAGS = -D OWLPS_VERSION=\"$(OWLPS_VERSION)\"
|
|||
OWLPSFLAGS += -D DEBUG
|
||||
|
||||
|
||||
## Cibles de compilation standard ##
|
||||
## Standard targets ##
|
||||
|
||||
.PHONY: all dynamic semistatic static install uninstall clean purge help
|
||||
|
||||
|
@ -76,7 +76,7 @@ all: dynamic semistatic static
|
|||
$(CC) $(XCFLAGS) $(IATHEROS) $(OWLPSFLAGS) -c $<
|
||||
|
||||
|
||||
## Installation / désinstallation ##
|
||||
## Installation / uninstallation ##
|
||||
|
||||
install : $(TARGET)
|
||||
@$(CP) $(TARGET) $(INSTALL_DIR)
|
||||
|
@ -86,7 +86,7 @@ uninstall :
|
|||
@$(RM) $(INSTALL_DIR)/$(TARGET)
|
||||
|
||||
|
||||
## Nettoyage ##
|
||||
## Cleaning ##
|
||||
|
||||
clean :
|
||||
@$(RM) *~ *.o *.d
|
||||
|
@ -95,7 +95,7 @@ purge : clean
|
|||
@$(RM) $(TARGET) $(TARGET).static $(TARGET).semistatic
|
||||
|
||||
|
||||
## Aide ##
|
||||
## Help ##
|
||||
|
||||
help :
|
||||
@echo "Bibliothèques nécessaires à la compilation :"
|
||||
|
|
|
@ -3,24 +3,24 @@ ifndef OWLPS_VERSION
|
|||
OWLPS_VERSION := $(shell git describe 2>/dev/null || echo 'UNKNOWN_VERSION')
|
||||
endif
|
||||
|
||||
# Répertoire d'installation
|
||||
# Installation directory
|
||||
PREFIX=/usr/local
|
||||
INSTALL_DIR= $(PREFIX)/sbin
|
||||
INSTALL_LIB= $(PREFIX)/lib
|
||||
INSTALL_INC= $(PREFIX)/include
|
||||
INSTALL_MAN= $(PREFIX)/share/man
|
||||
|
||||
# Compilateur
|
||||
# Compiler
|
||||
COLORGCC := $(shell which colorgcc >/dev/null 2>&1 ; echo $$?)
|
||||
ifeq ($(COLORGCC), 0)
|
||||
CC = colorgcc
|
||||
endif
|
||||
|
||||
# Commandes d'installation et de désinstallation
|
||||
# Install/uninstall commands
|
||||
RM = rm -f
|
||||
CP = cp
|
||||
|
||||
# Cible
|
||||
# Target
|
||||
TARGET=owlps-listenerd
|
||||
HEADER=owlps-listener.h
|
||||
|
||||
|
@ -49,7 +49,7 @@ endif
|
|||
LDFLAGS = $(LIBS) $(OWLPSFLAGS)
|
||||
|
||||
|
||||
## Cibles de compilation standard ##
|
||||
## Standard targets ##
|
||||
|
||||
.PHONY : all install uninstall clean purge help
|
||||
|
||||
|
@ -65,7 +65,7 @@ all : $(TARGET)
|
|||
$(CC) $(XCFLAGS) $(OWLPSFLAGS) -c $<
|
||||
|
||||
|
||||
## Installation / désinstallation ##
|
||||
## Installation / uninstallation ##
|
||||
|
||||
install : $(TARGET)
|
||||
@$(CP) $(TARGET) $(INSTALL_DIR)
|
||||
|
@ -75,7 +75,7 @@ uninstall :
|
|||
@$(RM) $(INSTALL_DIR)/$(TARGET)
|
||||
|
||||
|
||||
## Nettoyage ##
|
||||
## Cleaning ##
|
||||
|
||||
clean :
|
||||
@$(RM) *~ *.o *.d
|
||||
|
@ -84,7 +84,7 @@ purge : clean
|
|||
@$(RM) $(TARGET)
|
||||
|
||||
|
||||
## Aide ##
|
||||
## Help ##
|
||||
|
||||
help :
|
||||
@echo "Bibliothèques nécessaires à la compilation :"
|
||||
|
|
|
@ -3,27 +3,27 @@ ifndef OWLPS_VERSION
|
|||
OWLPS_VERSION := $(shell git describe 2>/dev/null || echo 'UNKNOWN_VERSION')
|
||||
endif
|
||||
|
||||
# Emplacement de la suite de cross-compilation
|
||||
# Cross-compilation toolchain directories
|
||||
TOOLCHAIN_PREFIX = $$HOME/openwrt/atheros/10.03/staging_dir
|
||||
TOOLCHAIN1 = $(TOOLCHAIN_PREFIX)/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1
|
||||
TOOLCHAIN2 = $(TOOLCHAIN_PREFIX)/target-mips_uClibc-0.9.30.1
|
||||
TOOLCHAIN_BIN = $(TOOLCHAIN1)/usr/bin
|
||||
|
||||
# Répertoire d'installation
|
||||
# Installation directory
|
||||
PREFIX=/usr/local
|
||||
INSTALL_DIR= $(PREFIX)/sbin
|
||||
INSTALL_LIB= $(PREFIX)/lib
|
||||
INSTALL_INC= $(PREFIX)/include
|
||||
INSTALL_MAN= $(PREFIX)/share/man
|
||||
|
||||
# Compilateur
|
||||
# Compiler
|
||||
CC = $(TOOLCHAIN_BIN)/mips-openwrt-linux-gcc
|
||||
|
||||
# Commandes d'installation et de désinstallation
|
||||
# Install/uninstall commands
|
||||
RM = rm -f
|
||||
CP = cp
|
||||
|
||||
# Cible
|
||||
# Target
|
||||
TARGET=owlps-listenerd
|
||||
HEADER=owlps-listener.h
|
||||
|
||||
|
@ -54,7 +54,7 @@ OWLPSFLAGS += -D USE_CONFIG_FILE -lconfuse
|
|||
LDFLAGS = $(OWLPSFLAGS) $(LIBS)
|
||||
|
||||
|
||||
## Cibles de compilation standard ##
|
||||
## Standard targets ##
|
||||
|
||||
.PHONY: all dynamic semistatic static install uninstall clean purge help
|
||||
|
||||
|
@ -79,7 +79,7 @@ all: dynamic semistatic static
|
|||
$(CC) $(XCFLAGS) $(IATHEROS) $(OWLPSFLAGS) -c $<
|
||||
|
||||
|
||||
## Installation / désinstallation ##
|
||||
## Installation / uninstallation ##
|
||||
|
||||
install : $(TARGET)
|
||||
@$(CP) $(TARGET) $(INSTALL_DIR)
|
||||
|
@ -89,7 +89,7 @@ uninstall :
|
|||
@$(RM) $(INSTALL_DIR)/$(TARGET)
|
||||
|
||||
|
||||
## Nettoyage ##
|
||||
## Cleaning ##
|
||||
|
||||
clean :
|
||||
@$(RM) *~ *.o *.d
|
||||
|
@ -98,7 +98,7 @@ purge : clean
|
|||
@$(RM) $(TARGET) $(TARGET).static $(TARGET).semistatic
|
||||
|
||||
|
||||
## Aide ##
|
||||
## Help ##
|
||||
|
||||
help :
|
||||
@make help
|
||||
|
|
|
@ -3,27 +3,27 @@ ifndef OWLPS_VERSION
|
|||
OWLPS_VERSION := $(shell git describe 2>/dev/null || echo 'UNKNOWN_VERSION')
|
||||
endif
|
||||
|
||||
# Emplacement de la suite de cross-compilation
|
||||
# Cross-compilation toolchain directories
|
||||
TOOLCHAIN_PREFIX = $$HOME/openwrt/atheros/8.09
|
||||
TOOLCHAIN_BIN = $(TOOLCHAIN_PREFIX)/staging_dir/toolchain-mips_gcc4.1.2/bin
|
||||
TOOLCHAIN_USR = $(TOOLCHAIN_PREFIX)/staging_dir/mips/usr
|
||||
TOOLCHAIN_USR_2 = $(TOOLCHAIN_PREFIX)/build_dir/mips/OpenWrt-SDK-atheros-for-Linux-i686/staging_dir/toolchain-mips_gcc4.1.2
|
||||
|
||||
# Répertoire d'installation
|
||||
# Installation directory
|
||||
PREFIX=/usr/local
|
||||
INSTALL_DIR= $(PREFIX)/sbin
|
||||
INSTALL_LIB= $(PREFIX)/lib
|
||||
INSTALL_INC= $(PREFIX)/include
|
||||
INSTALL_MAN= $(PREFIX)/share/man
|
||||
|
||||
# Compilateur
|
||||
# Compiler
|
||||
CC = $(TOOLCHAIN_BIN)/mips-linux-gcc
|
||||
|
||||
# Commandes d'installation et de désinstallation
|
||||
# Install/uninstall commands
|
||||
RM = rm -f
|
||||
CP = cp
|
||||
|
||||
# Cible
|
||||
# Target
|
||||
TARGET=owlps-listenerd
|
||||
HEADER=owlps-listener.h
|
||||
|
||||
|
@ -50,7 +50,7 @@ OWLPSFLAGS += -D USE_PTHREAD -pthread
|
|||
LDFLAGS = $(OWLPSFLAGS) $(LIBS)
|
||||
|
||||
|
||||
## Cibles de compilation standard ##
|
||||
## Standard targets ##
|
||||
|
||||
.PHONY: all dynamic semistatic static install uninstall clean purge help
|
||||
|
||||
|
@ -75,7 +75,7 @@ all: dynamic semistatic static
|
|||
$(CC) $(XCFLAGS) $(IATHEROS) $(OWLPSFLAGS) -c $<
|
||||
|
||||
|
||||
## Installation / désinstallation ##
|
||||
## Installation / uninstallation ##
|
||||
|
||||
install : $(TARGET)
|
||||
@$(CP) $(TARGET) $(INSTALL_DIR)
|
||||
|
@ -85,7 +85,7 @@ uninstall :
|
|||
@$(RM) $(INSTALL_DIR)/$(TARGET)
|
||||
|
||||
|
||||
## Nettoyage ##
|
||||
## Cleaning ##
|
||||
|
||||
clean :
|
||||
@$(RM) *~ *.o *.d
|
||||
|
@ -94,7 +94,7 @@ purge : clean
|
|||
@$(RM) $(TARGET) $(TARGET).static $(TARGET).semistatic
|
||||
|
||||
|
||||
## Aide ##
|
||||
## Help ##
|
||||
|
||||
help :
|
||||
@make help
|
||||
|
|
|
@ -3,24 +3,24 @@ ifndef OWLPS_VERSION
|
|||
OWLPS_VERSION := $(shell git describe 2>/dev/null || echo 'UNKNOWN_VERSION')
|
||||
endif
|
||||
|
||||
# Répertoire d'installation
|
||||
# Installation directory
|
||||
PREFIX=/usr/local
|
||||
INSTALL_DIR= $(PREFIX)/bin
|
||||
INSTALL_LIB= $(PREFIX)/lib
|
||||
INSTALL_INC= $(PREFIX)/include
|
||||
INSTALL_MAN= $(PREFIX)/share/man
|
||||
|
||||
# Compilateur
|
||||
# Compiler
|
||||
COLORGCC := $(shell which colorgcc >/dev/null 2>&1 ; echo $$?)
|
||||
ifeq ($(COLORGCC), 0)
|
||||
CC = colorgcc
|
||||
endif
|
||||
|
||||
# Commandes d'installation et de désinstallation
|
||||
# Install/uninstall commands
|
||||
RM = rm -f
|
||||
CP = cp
|
||||
|
||||
# Cible
|
||||
# Target
|
||||
TARGET = owlps-udp-to-http
|
||||
HEADER =
|
||||
|
||||
|
@ -46,7 +46,7 @@ endif
|
|||
STATIC_LIBS =
|
||||
|
||||
|
||||
## Cibles de compilation standard ##
|
||||
## Standard targets ##
|
||||
|
||||
.PHONY : all dynamic static install uninstall clean purge help
|
||||
|
||||
|
@ -66,7 +66,7 @@ all : dynamic static
|
|||
$(CC) $(XCFLAGS) $(OWLPSFLAGS) -c $<
|
||||
|
||||
|
||||
## Installation / désinstallation ##
|
||||
## Installation / uninstallation ##
|
||||
|
||||
install : $(TARGET)
|
||||
@$(CP) $(TARGET) $(INSTALL_DIR)
|
||||
|
@ -80,7 +80,7 @@ uninstall :
|
|||
@$(RM) $(INSTALL_DIR)/{$(TARGET),$(TARGET).static}
|
||||
|
||||
|
||||
## Nettoyage ##
|
||||
## Cleaning ##
|
||||
|
||||
clean :
|
||||
@$(RM) *~ *.o *.d
|
||||
|
@ -89,7 +89,7 @@ purge : clean
|
|||
@$(RM) $(TARGET) $(TARGET).static
|
||||
|
||||
|
||||
## Aide ##
|
||||
## Help ##
|
||||
|
||||
help :
|
||||
@echo "Bibliothèques nécessaires à la compilation :"
|
||||
|
|
Loading…
Reference in New Issue