blob: 16c8731c1d10d70ddadc24275e48d3aaefd536e7 [file] [log] [blame]
Brian Paula70ad912004-03-26 15:16:35 +00001# Configuration for Linux with x86 optimizations, static libs
2
Ian Romanick9204e872005-07-02 07:38:40 +00003include $(TOP)/configs/linux-x86
Brian Paula70ad912004-03-26 15:16:35 +00004
5CONFIG_NAME = linux-x86-static
6
Brian Paula70ad912004-03-26 15:16:35 +00007MKLIB_OPTIONS = -static
Dan Nicholsonc3b5ada2007-10-31 10:33:20 -07008PIC_FLAGS =
Brian Paula70ad912004-03-26 15:16:35 +00009
Brian Paula70ad912004-03-26 15:16:35 +000010# Library names (actual file names)
11GL_LIB_NAME = libGL.a
12GLU_LIB_NAME = libGLU.a
13GLUT_LIB_NAME = libglut.a
14GLW_LIB_NAME = libGLw.a
15OSMESA_LIB_NAME = libOSMesa.a
16
Brian Paul6cf3f572004-06-24 15:35:42 +000017# Library/program dependencies (static libs don't have dependencies)
18GL_LIB_DEPS =
19OSMESA_LIB_DEPS =
20GLU_LIB_DEPS =
21GLUT_LIB_DEPS =
22GLW_LIB_DEPS =
José Fonseca59424e22007-09-28 17:17:11 +000023
24# Need to specify all libraries we may need
Brian Paulaef475c2009-04-30 17:04:01 -060025APP_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