vl: fix some build issues after the merge
authorThomas Balling Sørensen <tball@tball-laptop.(none)>
Tue, 26 Oct 2010 11:58:19 +0000 (13:58 +0200)
committerThomas Balling Sørensen <tball@tball-laptop.(none)>
Tue, 26 Oct 2010 11:58:19 +0000 (13:58 +0200)
src/gallium/targets/Makefile.xvmc

index 08529b38b70caed9a21ad4a4d17e9e7f64284c3e..d5d33bde42e5828d84f87b8520f08ce33f3441c9 100644 (file)
@@ -2,6 +2,7 @@
 
 LIBBASENAME = XvMCg3dvl
 LIBNAME = lib$(LIBBASENAME).so
+LIB_GLOB=lib$(LIBBASENAME).*so*
 XVMC_MAJOR = 1
 XVMC_MINOR = 0
 INCLUDES = -I$(TOP)/src/gallium/include \
@@ -11,7 +12,7 @@ INCLUDES = -I$(TOP)/src/gallium/include \
           -I$(TOP)/src/gallium/winsys/g3dvl \
           $(DRIVER_INCLUDES)
 DEFINES = -DGALLIUM_TRACE $(DRIVER_DEFINES)
-LIBS = $(EXTRA_LIB_PATH) $(DRIVER_LIBS) -lXvMC -lXv -lX11 -lm
+LIBS = $(EXTRA_LIB_PATH) $(DRIVER_LIBS) -lXv -lX11 -lm
 STATE_TRACKER_LIB = $(TOP)/src/gallium/state_trackers/xorg/xvmc/libxvmctracker.a
 
 # XXX: Hack, XvMC public funcs aren't exported if we link to libxvmctracker.a :(
@@ -55,8 +56,8 @@ clean:
        -rm -f *.o *~ *.so $(SYMLINKS)
        -rm -f depend depend.bak
 
-#install: $(LIBNAME)
-#      $(INSTALL) -d $(DESTDIR)$(DRI_DRIVER_INSTALL_DIR)
-#      $(MINSTALL) -m 755 $(LIBNAME) $(DESTDIR)$(DRI_DRIVER_INSTALL_DIR)
+install: default
+       $(INSTALL) -d $(DESTDIR)$(DRI_DRIVER_INSTALL_DIR)
+       $(MINSTALL) -m 755 $(TOP)/$(LIB_DIR)/gallium/$(LIB_GLOB) $(DESTDIR)$(DRI_DRIVER_INSTALL_DIR)
 
 include depend