summaryrefslogtreecommitdiffstats
path: root/configs/linux-x86-64
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2005-07-02 07:38:40 +0000
committerIan Romanick <[email protected]>2005-07-02 07:38:40 +0000
commit9204e87b2ea2e9b441ab6422ae58bfebb5cdffce (patch)
treebe328c011c71c6ae6763b69bc87afb35a13437f9 /configs/linux-x86-64
parent4f178c6e3a95848257edc4623c72fb0a8eebf282 (diff)
Massive refactor of (most of) the Linux config files. This reduces
the length of each config and brings a lot of much needed uniformity to them.
Diffstat (limited to 'configs/linux-x86-64')
-rw-r--r--configs/linux-x86-6423
1 files changed, 4 insertions, 19 deletions
diff --git a/configs/linux-x86-64 b/configs/linux-x86-64
index 027ce217f3b..25f8a2d5e0d 100644
--- a/configs/linux-x86-64
+++ b/configs/linux-x86-64
@@ -1,28 +1,13 @@
# Configuration for Linux for 64-bit X86 (Opteron)
-include $(TOP)/configs/default
+include $(TOP)/configs/linux
CONFIG_NAME = linux-x86-64
-# Compiler and flags
-CC = gcc
-CXX = g++
-
-CFLAGS = -m64 -Wall -O3 -std=c99 -pedantic -fPIC -D_REENTRANT -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DUSE_X86_64_ASM
-
-CXXFLAGS = -m64 -Wall -O3 -fPIC -D_REENTRANT -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE
-
-GLUT_CFLAGS = -fexceptions
-
+ARCH_FLAGS = -m64
ASM_SOURCES = $(X86-64_SOURCES)
-
+ASM_FLAGS = -DUSE_X86_64_ASM
LIB_DIR = $(TOP)/lib64
-
-
-# Library/program dependencies
-GL_LIB_DEPS = -L/usr/X11R6/lib64 -lX11 -lXext -lm -lpthread
-GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib64 -lX11 -lXmu -lXt -lXi -lm
-GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib64 -lXt -lX11
-APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
+EXTRA_LIB_PATH = -L/usr/X11R6/lib64