From: Daniel Borca Date: Wed, 15 Dec 2004 08:00:43 +0000 (+0000) Subject: updated makefiles for gcc 3.4.3 and bnu 2.15 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f1205819abc893151c8572b72be51ae5f5bc150;p=mesa.git updated makefiles for gcc 3.4.3 and bnu 2.15 --- diff --git a/Makefile.DJ b/Makefile.DJ index 8ad34be32e2..d269fcdbb0e 100644 --- a/Makefile.DJ +++ b/Makefile.DJ @@ -20,9 +20,9 @@ # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# DOS/DJGPP makefile v1.5 for Mesa +# DOS/DJGPP makefile v1.6 for Mesa # -# Copyright (C) 2002 - Borca Daniel +# Copyright (C) 2002 - Daniel Borca # Email : dborca@users.sourceforge.net # Web : http://www.geocities.com/dborca @@ -64,7 +64,7 @@ CPU ?= pentium GLU ?= mesa CFLAGS = -Wall -W -pedantic -CFLAGS += -O2 -ffast-math -mcpu=$(CPU) +CFLAGS += -O2 -ffast-math -mtune=$(CPU) export CFLAGS diff --git a/Makefile.mgw b/Makefile.mgw index 0940fda686d..d544b09398c 100644 --- a/Makefile.mgw +++ b/Makefile.mgw @@ -20,9 +20,9 @@ # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# MinGW makefile v1.1 for Mesa +# MinGW makefile v1.2 for Mesa # -# Copyright (C) 2002 - Borca Daniel +# Copyright (C) 2002 - Daniel Borca # Email : dborca@users.sourceforge.net # Web : http://www.geocities.com/dborca @@ -66,7 +66,7 @@ else # I love c89 CFLAGS = -Wall -W -pedantic endif -CFLAGS += -O2 -ffast-math -mcpu=$(CPU) +CFLAGS += -O2 -ffast-math -mtune=$(CPU) export CFLAGS diff --git a/progs/samples/Makefile.DJ b/progs/samples/Makefile.DJ index 9b1055ce733..3d589ed73f3 100644 --- a/progs/samples/Makefile.DJ +++ b/progs/samples/Makefile.DJ @@ -20,9 +20,9 @@ # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# DOS/DJGPP samples makefile v1.5 for Mesa +# DOS/DJGPP samples makefile v1.6 for Mesa # -# Copyright (C) 2002 - Borca Daniel +# Copyright (C) 2002 - Daniel Borca # Email : dborca@users.sourceforge.net # Web : http://www.geocities.com/dborca @@ -58,7 +58,7 @@ GLIDE ?= $(TOP)/glide3 CC = gcc CFLAGS = -Wall -W -pedantic -CFLAGS += -O2 -ffast-math -mcpu=$(CPU) +CFLAGS += -O2 -ffast-math -mtune=$(CPU) CFLAGS += -I$(TOP)/include -I../util CFLAGS += -DGLUT_IMPORT_LIB ifeq ($(FX),1) diff --git a/progs/samples/Makefile.mgw b/progs/samples/Makefile.mgw index 94ffbe639ad..40d4aaf58d3 100644 --- a/progs/samples/Makefile.mgw +++ b/progs/samples/Makefile.mgw @@ -20,9 +20,9 @@ # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# MinGW samples makefile v1.1 for Mesa +# MinGW samples makefile v1.2 for Mesa # -# Copyright (C) 2002 - Borca Daniel +# Copyright (C) 2002 - Daniel Borca # Email : dborca@users.sourceforge.net # Web : http://www.geocities.com/dborca @@ -48,7 +48,7 @@ CPU ?= pentium CC = mingw32-gcc CFLAGS = -Wall -W -pedantic -CFLAGS += -O2 -ffast-math -mcpu=$(CPU) +CFLAGS += -O2 -ffast-math -mtune=$(CPU) CFLAGS += -I$(TOP)/include -I../util ifeq ($(FX),1) CFLAGS += -DFX diff --git a/src/glu/mesa/Makefile.DJ b/src/glu/mesa/Makefile.DJ index 4d383cda315..92bcdaae945 100644 --- a/src/glu/mesa/Makefile.DJ +++ b/src/glu/mesa/Makefile.DJ @@ -20,9 +20,9 @@ # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# DOS/DJGPP glu makefile v1.4 for Mesa +# DOS/DJGPP glu makefile v1.5 for Mesa # -# Copyright (C) 2002 - Borca Daniel +# Copyright (C) 2002 - Daniel Borca # Email : dborca@users.sourceforge.net # Web : http://www.geocities.com/dborca @@ -54,7 +54,7 @@ CC = gcc CFLAGS += -I$(TOP)/include AR = ar -ARFLAGS = rus +ARFLAGS = crus HAVEDXE3 = $(wildcard $(DJDIR)/bin/dxe3gen.exe) diff --git a/src/glu/sgi/Makefile.DJ b/src/glu/sgi/Makefile.DJ index b3bad70181c..b5df3e846ae 100644 --- a/src/glu/sgi/Makefile.DJ +++ b/src/glu/sgi/Makefile.DJ @@ -20,9 +20,9 @@ # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# DOS/DJGPP glu makefile v1.4 for Mesa +# DOS/DJGPP glu makefile v1.5 for Mesa # -# Copyright (C) 2002 - Borca Daniel +# Copyright (C) 2002 - Daniel Borca # Email : dborca@users.sourceforge.net # Web : http://www.geocities.com/dborca @@ -56,7 +56,7 @@ CXX = gpp CXXFLAGS = $(CFLAGS) -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess AR = ar -ARFLAGS = rus +ARFLAGS = crus HAVEDXE3 = $(wildcard $(DJDIR)/bin/dxe3gen.exe) diff --git a/src/glut/dos/Makefile.DJ b/src/glut/dos/Makefile.DJ index b7c770715de..45658c77d5a 100644 --- a/src/glut/dos/Makefile.DJ +++ b/src/glut/dos/Makefile.DJ @@ -20,9 +20,9 @@ # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# DOS/DJGPP glut makefile v1.5 for Mesa +# DOS/DJGPP glut makefile v1.6 for Mesa # -# Copyright (C) 2002 - Borca Daniel +# Copyright (C) 2002 - Daniel Borca # Email : dborca@users.sourceforge.net # Web : http://www.geocities.com/dborca @@ -62,7 +62,7 @@ CFLAGS += -I- -I$(TOP)/include -I. -I$(MKGLUT) -IPC_HW CFLAGS += -DGLUT_IMPORT_LIB AR = ar -ARFLAGS = rus +ARFLAGS = crus HAVEDXE3 = $(wildcard $(DJDIR)/bin/dxe3gen.exe) diff --git a/src/mesa/Makefile.DJ b/src/mesa/Makefile.DJ index b1614268c6d..53c4370703e 100644 --- a/src/mesa/Makefile.DJ +++ b/src/mesa/Makefile.DJ @@ -20,9 +20,9 @@ # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# DOS/DJGPP core makefile v1.6 for Mesa +# DOS/DJGPP core makefile v1.7 for Mesa # -# Copyright (C) 2002 - Borca Daniel +# Copyright (C) 2002 - Daniel Borca # Email : dborca@users.sourceforge.net # Web : http://www.geocities.com/dborca @@ -74,7 +74,7 @@ LIBNAME = "Mesa DJGPP" endif AR = ar -ARFLAGS = rus +ARFLAGS = crus HAVEDXE3 = $(wildcard $(DJDIR)/bin/dxe3gen.exe) diff --git a/src/mesa/Makefile.mgw b/src/mesa/Makefile.mgw index 2341eeecee5..30b32660cba 100644 --- a/src/mesa/Makefile.mgw +++ b/src/mesa/Makefile.mgw @@ -20,7 +20,7 @@ # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# MinGW core makefile v1.3 for Mesa +# MinGW core makefile v1.4 for Mesa # # Copyright (C) 2002 - Daniel Borca # Email : dborca@users.sourceforge.net @@ -89,7 +89,7 @@ else endif AR = ar -ARFLAGS = rus +ARFLAGS = crus ifeq ($(wildcard $(addsuffix /rm.exe,$(subst ;, ,$(PATH)))),) UNLINK = del $(subst /,\,$(1))