Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

linux-x86-64-static 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Configuration for Linux for 64-bit X86 (Opteron), static libs
  2. include $(TOP)/configs/default
  3. CONFIG_NAME = linux-x86-64-static
  4. # Compiler and flags
  5. CC = gcc
  6. CXX = g++
  7. CFLAGS = -m64 -Wall -O3 -ansi -pedantic -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -D__AMD64__ -I/usr/X11R6/include
  8. CXXFLAGS = -m64 -Wall -O3 -ansi -pedantic -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D__AMD64__
  9. GLUT_CFLAGS = -fexceptions
  10. MKLIB_OPTIONS = -static
  11. # Library names (actual file names)
  12. GL_LIB_NAME = libGL.a
  13. GLU_LIB_NAME = libGLU.a
  14. GLUT_LIB_NAME = libglut.a
  15. GLW_LIB_NAME = libGLw.a
  16. OSMESA_LIB_NAME = libOSMesa.a
  17. #ASM_SOURCES = $(X86_SOURCES)
  18. LIB_DIR = $(TOP)/lib64
  19. # Library/program dependencies (static libs don't have dependencies)
  20. GL_LIB_DEPS =
  21. OSMESA_LIB_DEPS =
  22. GLU_LIB_DEPS =
  23. GLUT_LIB_DEPS =
  24. GLW_LIB_DEPS =
  25. APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib64 -lX11 -lXext -lXmu -lXt -lXi -lpthread -lm -lstdc++