Brian Paul | a70ad91 | 2004-03-26 15:16:35 +0000 | [diff] [blame] | 1 | # Configuration for generic Linux, making static libs |
| 2 | |
| 3 | include $(TOP)/configs/default |
| 4 | |
| 5 | CONFIG_NAME = linux-static |
| 6 | |
| 7 | # Compiler and flags |
| 8 | CC = gcc |
| 9 | CXX = g++ |
| 10 | |
| 11 | CFLAGS = -O3 -ansi -pedantic -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include |
| 12 | CXXFLAGS = -O3 -ansi -pedantic -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE |
| 13 | GLUT_CFLAGS = -fexceptions |
| 14 | |
| 15 | MKLIB_OPTIONS = -static |
| 16 | |
| 17 | # Library names (actual file names) |
| 18 | GL_LIB_NAME = libGL.a |
| 19 | GLU_LIB_NAME = libGLU.a |
| 20 | GLUT_LIB_NAME = libglut.a |
| 21 | GLW_LIB_NAME = libGLw.a |
| 22 | OSMESA_LIB_NAME = libOSMesa.a |
| 23 | |
| 24 | # Library/program dependencies (static libs don't have dependencies) |
| 25 | GL_LIB_DEPS = |
| 26 | OSMESA_LIB_DEPS = |
| 27 | GLU_LIB_DEPS = |
| 28 | GLUT_LIB_DEPS = |
| 29 | GLW_LIB_DEPS = |
Brian Paul | d84f093 | 2004-09-13 21:04:48 +0000 | [diff] [blame] | 30 | APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lpthread -lm -lstdc++ |