solaris-x86-gcc-dri revision 493
98N/A# -*-makefile-*-
98N/A# Configuration for Solaris on x86 with gcc, dynamic libs
98N/A
98N/Ainclude $(TOP)/configs/default
98N/A
98N/ACONFIG_NAME = solaris-x86-gcc-dri
98N/A
98N/A# Compiler and flags
98N/ACC = gcc
98N/ACXX = g++
98N/A
98N/APIC_FLAGS = -fPIC
98N/A
98N/AX11_INCLUDES = -I /usr/X11/include
98N/A
98N/ADEFINES = -DUSE_XSHM -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \
183N/A -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DGLX_INDIRECT_RENDERING -Dsun
98N/A# -DGLX_USE_TLS
98N/A
98N/ACFLAGS = $(PASSED_CFLAGS) $(X11_INCLUDES) \
98N/A -Wall -Wmissing-prototypes -std=c99 -ffast-math \
98N/A $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS)
98N/A
98N/ACXXFLAGS = $(PASSED_CFLAGS) $(X11_INCLUDES) \
98N/A -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
98N/A
98N/A
98N/AGLUT_CFLAGS = -fexceptions
98N/A
98N/AEXTRA_LIB_PATH = -L/usr/X11/lib -R/usr/X11/lib
98N/A
98N/A# Directories
98N/ASRC_DIRS = glx/x11 mesa glu glut/glx glw
98N/ADRIVER_DIRS = dri
98N/APROGRAM_DIRS =
98N/AWINDOW_SYSTEM = dri
98N/A
98N/ADRM_SOURCE_PATH=$(TOP)/../drm
98N/A
403N/ADRI_DIRS = i915 i965 r200 r300 radeon
98N/A
98N/A#ASM_FLAGS = -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
98N/A#ASM_SOURCES = $(X86_SOURCES)
98N/A#ASM_API = $(X86_API)
98N/A
98N/AEXPAT_LIB= -L/usr/sfw/lib -R/usr/sfw/lib -lexpat
98N/A
98N/AGL_LIB_DEPS += -lXxf86vm $(LIBDRM_LIB) -lc -Wl,-M,mapfile.scope
493N/ADRI_LIB_DEPS = $(LIBDRM_LIB) $(EXPAT_LIB) -l$(GL_LIB) -lm -lc
98N/AAPP_LIB_DEPS = $(LDFLAGS) $(EXTRA_LIB_PATH) -l$(GLU_LIB) -l$(GL_LIB) -lX11 -lm
98N/A
98N/AINSTALL = /usr/ucb/install
98N/ACOPY_LIBS = cp -f
98N/AMAKE = gmake
98N/ASHELL = /bin/bash