diff options
author | steve <steve@FreeBSD.org> | 1998-09-28 10:56:44 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-09-28 10:56:44 +0800 |
commit | 003f21ef5c9e199a6a78ad15b41791d2e6fd2550 (patch) | |
tree | 5c814930640702fb19bbfa8e0111e3e420e62cac /graphics/mesagl | |
parent | a5a445845549c5adc7ba950603928a293613d4e9 (diff) | |
download | freebsd-ports-gnome-003f21ef5c9e199a6a78ad15b41791d2e6fd2550.tar.gz freebsd-ports-gnome-003f21ef5c9e199a6a78ad15b41791d2e6fd2550.tar.zst freebsd-ports-gnome-003f21ef5c9e199a6a78ad15b41791d2e6fd2550.zip |
Add a 'freebsd-386-elf' target so ELF'ers can build with 386 asm
optimizations too. Note I didn't turn this on by default to be fair
to those in the our upcoming Alpha world. However all you have to
do to build with it is set ALL_TARGET to freebsd-386-elf at the
bottom of the Makefile.
Submitted by: Doug Rabson <dfr@nlsystems.com>
Diffstat (limited to 'graphics/mesagl')
-rw-r--r-- | graphics/mesagl/files/patch-aa | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/graphics/mesagl/files/patch-aa b/graphics/mesagl/files/patch-aa index 51e0e0b1d268..dfa8fb6e8d29 100644 --- a/graphics/mesagl/files/patch-aa +++ b/graphics/mesagl/files/patch-aa @@ -1,5 +1,5 @@ ---- Make-config.orig Wed Jul 1 07:17:10 1998 -+++ Make-config Thu Sep 24 19:23:41 1998 +--- Make-config.orig Wed Jul 1 13:17:10 1998 ++++ Make-config Sun Sep 27 11:46:02 1998 @@ -1,8 +1,12 @@ # Make-config @@ -14,11 +14,10 @@ # Mesa 3-D graphics library # Copyright (C) 1995-1998 Brian Paul -@@ -237,6 +241,16 @@ - "CFLAGS = -O2 -fPIC -pedantic -I/usr/X11R6/include -DSHM -DHZ=100" \ +@@ -238,6 +242,16 @@ "MAKELIB = ../mklib.freebsd" \ "XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11" -+ + +freebsd-elf: + $(MAKE) $(MFLAGS) targets \ + "GL_LIB = libMesaGL.a" \ @@ -28,6 +27,25 @@ + "CFLAGS = -O2 -fPIC -pedantic -I/usr/X11R6/include -DSHM -DHZ=100" \ + "MAKELIB = ../mklib.freebsd" \ + "XLIBS = -Wl,-rpath,${X11BASE}/lib -L${X11BASE}/lib -lXext -lXmu -lXi -lX11" - ++ freebsd-386: $(MAKE) $(MFLAGS) targets \ + "GL_LIB = libMesaGL.a" \ +@@ -247,6 +261,17 @@ + "CFLAGS = -O3 -ffast-math -fPIC -pedantic -I/usr/X11R6/include -DSHM -DHZ=100 -DUSE_X86_ASM -DFREEBSD" \ + "MAKELIB = ../mklib.freebsd" \ + "XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11" \ ++ "ASM_SOURCES = asm-386.S" ++ ++freebsd-386-elf: ++ $(MAKE) $(MFLAGS) targets \ ++ "GL_LIB = libMesaGL.a" \ ++ "GLU_LIB = libMesaGLU.a" \ ++ "GLUT_LIB = libglut.a" \ ++ "CC = gcc" \ ++ "CFLAGS = -O3 -ffast-math -fPIC -pedantic -I/usr/X11R6/include -DSHM -DHZ=100 -DUSE_X86_ASM" \ ++ "MAKELIB = ../mklib.freebsd" \ ++ "XLIBS = -Wl,-rpath,${X11BASE}/lib -L${X11BASE}/lib -lXext -lXmu -lXi -lX11" \ + "ASM_SOURCES = asm-386.S" + + gcc: |