Dike out the linux-specific EGL bits unless it's a linux build.

This commit is contained in:
Eric Anholt
2005-08-08 03:27:28 +00:00
parent f1a261377f
commit 81b3c5e85c
2 changed files with 6 additions and 1 deletions

View File

@@ -47,6 +47,7 @@ SRC_DIRS = egl glx/x11 mesa glu glut/glx glw
DRIVER_DIRS = dri
PROGRAM_DIRS = egl
WINDOW_SYSTEM=dri
USING_EGL=1
# gamma are missing because they have not been converted to use the new
# interface.

View File

@@ -7,6 +7,10 @@ LIBNAME = r200_dri.so
MINIGLX_SOURCES = server/radeon_dri.c
ifeq ($(USING_EGL), 1)
EGL_SOURCES = server/radeon_egl.c
endif
DRIVER_SOURCES = r200_context.c \
r200_ioctl.c \
r200_lock.c \
@@ -27,7 +31,7 @@ DRIVER_SOURCES = r200_context.c \
r200_vtxfmt_c.c \
r200_vtxfmt_sse.c \
r200_vtxfmt_x86.c \
server/radeon_egl.c
$(EGL_SOURCES)
C_SOURCES = $(COMMON_SOURCES) $(DRIVER_SOURCES)