Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 1 | # Configuration for Linux with x86 optimizations, static libs |
| 2 | |
Ian Romanick | 9204e87 | 2005-07-02 07:38:40 +0000 | [diff] [blame] | 3 | include $(TOP)/configs/linux-x86 |
Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 4 | |
| 5 | CONFIG_NAME = linux-x86-static |
| 6 | |
Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 7 | MKLIB_OPTIONS = -static |
Dan Nicholson | c3b5ada | 2007-10-31 10:33:20 -0700 | [diff] [blame] | 8 | PIC_FLAGS = |
Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 9 | |
Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 10 | # Library names (actual file names) |
| 11 | GL_LIB_NAME = libGL.a |
| 12 | GLU_LIB_NAME = libGLU.a |
| 13 | GLUT_LIB_NAME = libglut.a |
| 14 | GLW_LIB_NAME = libGLw.a |
| 15 | OSMESA_LIB_NAME = libOSMesa.a |
| 16 | |
Brian Paul | 6cf3f57 | 2004-06-24 15:35:42 +0000 | [diff] [blame] | 17 | # Library/program dependencies (static libs don't have dependencies) |
| 18 | GL_LIB_DEPS = |
| 19 | OSMESA_LIB_DEPS = |
| 20 | GLU_LIB_DEPS = |
| 21 | GLUT_LIB_DEPS = |
| 22 | GLW_LIB_DEPS = |
José Fonseca | 59424e2 | 2007-09-28 17:17:11 +0000 | [diff] [blame] | 23 | |
| 24 | # Need to specify all libraries we may need |
Brian Paul | aef475c | 2009-04-30 17:04:01 -0600 | [diff] [blame] | 25 | APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) \ |
| 26 | -l$(GL_LIB) $(EXTRA_LIB_PATH) -lX11 -lXext -lXmu -lXt -lXi -lpthread -lstdc++ -lm |