diff options
author | Brian Paul <[email protected]> | 2005-01-03 15:35:00 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-01-03 15:35:00 +0000 |
commit | 81ca616e7e84768cf91234e4132df9d737b98d94 (patch) | |
tree | 7804a3d7c4de1a162bc7cd478a68e9fe88431159 /configs | |
parent | 6563c16e381c2302ef8f76d78f8283e68aa3eb07 (diff) |
DirectFB driver (Claudio Ciccani)
Diffstat (limited to 'configs')
-rw-r--r-- | configs/linux-directfb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/configs/linux-directfb b/configs/linux-directfb new file mode 100644 index 00000000000..f09c69ddabd --- /dev/null +++ b/configs/linux-directfb @@ -0,0 +1,29 @@ +# Configuration for DirectFB + +include $(TOP)/configs/default + +CONFIG_NAME = linux-directfb + +# Compiler and flags +CC = gcc +CXX = g++ + +CFLAGS = -Wall -O3 -ffast-math -fPIC -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -D_SVID_SOURCE \ + -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -DPTHREADS + +CXXFLAGS = -Wall -O3 -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE + +HAVE_X86 = $(shell uname -m | grep 'i[3-6]86' >/dev/null && echo yes) +ifeq ($(HAVE_X86), yes) + CFLAGS += -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM + CXXFLAGS += -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM + ASM_SOURCES = $(X86_SOURCES) $(X86_API) +endif + +# Directories +SRC_DIRS = mesa glu +DRIVER_DIRS = directfb +PROGRAM_DIRS = # disabled + +# Library/program dependencies +GL_LIB_DEPS = -lm -lpthread |