From cf69d0920226b86f1062bee939f784ec65ef2313 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 3 Apr 2006 07:30:23 +0000 Subject: [PATCH] make miniglx use libdrm and libpciaccess --- src/glx/mini/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/glx/mini/Makefile b/src/glx/mini/Makefile index e87905acba4..3a95849d1a6 100644 --- a/src/glx/mini/Makefile +++ b/src/glx/mini/Makefile @@ -12,9 +12,6 @@ C_SOURCES = \ $(TOP)/src/mesa/glapi/glapi.c \ $(TOP)/src/mesa/glapi/glthread.c \ $(TOP)/src/mesa/drivers/dri/common/glcontextmodes.c \ - $(DRM_SOURCE_PATH)/libdrm/xf86drm.c \ - $(DRM_SOURCE_PATH)/libdrm/xf86drmHash.c \ - $(DRM_SOURCE_PATH)/libdrm/xf86drmRandom.c \ miniglx.c \ miniglx_events.c @@ -57,7 +54,7 @@ default: depend $(LIB_DIR)/$(GL_LIB_NAME) $(LIB_DIR)/$(GL_LIB_NAME): $(OBJECTS) Makefile $(TOP)/bin/mklib -o $(GL_LIB) -linker '$(CC)' \ -major 1 -minor 2 $(MKLIB_OPTIONS) \ - -install $(LIB_DIR) $(GL_LIB_DEPS) $(OBJECTS) + -install $(LIB_DIR) $(GL_LIB_DEPS) $(OBJECTS) `/usr/bin/pkg-config --libs libdrm` `/usr/bin/pkg-config --libs pciaccess` rm -f $(LIB_DIR)/miniglx.conf install example.miniglx.conf $(LIB_DIR)/miniglx.conf -- 2.30.2