added library dependencies (bug #978758)
[mesa.git] / configs / linux-x86-static
1 # Configuration for Linux with x86 optimizations, static libs
2
3 include $(TOP)/configs/default
4
5 CONFIG_NAME = linux-x86-static
6
7 # Compiler and flags
8 CC = gcc
9 CXX = g++
10
11 CFLAGS = -Wall -O3 -ansi -pedantic -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include
12
13 CXXFLAGS = -Wall -O3 -ansi -pedantic -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
14
15 GLUT_CFLAGS = -fexceptions
16
17 MKLIB_OPTIONS = -static
18
19
20 # Library names (actual file names)
21 GL_LIB_NAME = libGL.a
22 GLU_LIB_NAME = libGLU.a
23 GLUT_LIB_NAME = libglut.a
24 GLW_LIB_NAME = libGLw.a
25 OSMESA_LIB_NAME = libOSMesa.a
26
27
28 ASM_SOURCES = $(X86_SOURCES) $(X86_API)
29
30
31 # Library/program dependencies (static libs don't have dependencies)
32 GL_LIB_DEPS =
33 OSMESA_LIB_DEPS =
34 GLU_LIB_DEPS =
35 GLUT_LIB_DEPS =
36 GLW_LIB_DEPS =
37 APP_LIB_DEPS = -L$(LIB_DIR) -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lpthread -lm -lstdc++