summaryrefslogtreecommitdiff
path: root/src/glx
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2006-04-03 07:30:23 +0000
committerDave Airlie <airliedfreedesktop.org>2006-04-03 07:30:23 +0000
commitcf69d0920226b86f1062bee939f784ec65ef2313 (patch)
tree24128fa046bb11df84f642e985da4c5adc633a01 /src/glx
parentb927a75979f9bbabca6e3b2601f222d29d70df49 (diff)
make miniglx use libdrm and libpciaccess
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/mini/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/glx/mini/Makefile b/src/glx/mini/Makefile
index e87905acba..3a95849d1a 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