2004-03-26 15:16:35 +00:00
|
|
|
# Configuration for linux-solo: Linux DRI hardware drivers for fbdev
|
|
|
|
|
|
|
|
include $(TOP)/configs/default
|
|
|
|
|
|
|
|
CONFIG_NAME = linux-solo
|
|
|
|
|
|
|
|
# Compiler and flags
|
|
|
|
CC = gcc
|
|
|
|
CXX = g++
|
|
|
|
|
2004-07-09 19:46:51 +01:00
|
|
|
CCOMMON = -DDRI_NEW_INTERFACE_ONLY -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L -D_GNU_SOURCE
|
2004-03-26 15:16:35 +00:00
|
|
|
|
2004-06-26 18:16:42 +01:00
|
|
|
CFLAGS = $(CCOMMON) -Wmissing-prototypes -g -std=c99 -Wundef -fPIC -ffast-math
|
|
|
|
|
|
|
|
CXXFLAGS = $(CCOMMON) -Wall -O3 -ansi -pedantic -fPIC
|
2004-03-26 15:16:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
ASM_SOURCES = $(X86_SOURCES)
|
|
|
|
|
|
|
|
# Library/program dependencies
|
2004-04-14 02:40:18 +01:00
|
|
|
GL_LIB_DEPS = -lm -lpthread -lexpat -ldl
|
2004-09-13 22:04:48 +01:00
|
|
|
GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
|
|
|
|
GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -lm
|
|
|
|
APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm -lpthread
|
2004-03-26 15:16:35 +00:00
|
|
|
|
|
|
|
# Directories
|
2004-04-19 23:23:10 +01:00
|
|
|
SRC_DIRS = mesa glx glu glut/mini
|
2004-03-26 15:16:35 +00:00
|
|
|
DRIVER_DIRS = dri
|
|
|
|
PROGRAM_DIRS = miniglx
|
2004-04-14 13:44:07 +01:00
|
|
|
|
2004-07-06 00:42:02 +01:00
|
|
|
#DRI_DIRS = fb ffb gamma sis savage
|
|
|
|
DRI_DIRS = i810 i830 i915 mach64 mga r128 r200 radeon tdfx unichrome
|