Eric Anholt | cc18221 | 2004-10-28 00:19:21 +0000 | [diff] [blame^] | 1 | # -*-makefile-*- |
| 2 | # Configuration for freebsd-dri: FreeBSD DRI hardware drivers |
| 3 | |
| 4 | include $(TOP)/configs/freebsd |
| 5 | |
| 6 | CONFIG_NAME = freebsd-dri |
| 7 | |
| 8 | # Compiler and flags |
| 9 | CC = gcc |
| 10 | CXX = g++ |
| 11 | WARN_FLAGS = -Wall |
| 12 | OPT_FLAGS = -O |
| 13 | |
| 14 | CFLAGS = -DDRI_NEW_INTERFACE_ONLY -Wmissing-prototypes -g -std=c99 -Wundef -fPIC -ffast-math -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions |
| 15 | CXXFLAGS = -DDRI_NEW_INTERFACE_ONLY -Wall -g -ansi -pedantic -fPIC |
| 16 | |
| 17 | ASM_SOURCES = |
| 18 | |
| 19 | # Library/program dependencies |
| 20 | DRI_LIB_DEPS = -lm -lpthread -lexpat |
| 21 | GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -pthread |
| 22 | |
| 23 | GLUT_LIB_DEPS = -L$(LIB_DIR) -L/usr/X11R6/lib -lGLU -lGL -lX11 -lXmu -lXt -lXi -lm |
| 24 | GLW_LIB_DEPS = -L$(LIB_DIR) -L/usr/X11R6/lib -lGL -lXt -lXm -lX11 |
| 25 | |
| 26 | |
| 27 | # Directories |
| 28 | SRC_DIRS = mesa glu glut/glx glw glx/x11 |
| 29 | DRIVER_DIRS = dri |
| 30 | PROGRAM_DIRS = |
| 31 | WINDOW_SYSTEM=dri |
| 32 | |
| 33 | DRM_SOURCE_PATH=$(TOP)/../drm |
| 34 | |
| 35 | # ffb and gamma are missing because they have not been converted to use the new |
| 36 | # interface. |
| 37 | DRI_DIRS = dri_client i810 i830 i915 mach64 mga r128 r200 radeon tdfx \ |
| 38 | unichrome savage sis |
| 39 | |