diff options
author | Cooper Yuan <cooperyuan@gmail.com> | 2009-10-07 21:05:07 +0800 |
---|---|---|
committer | Cooper Yuan <cooperyuan@gmail.com> | 2009-10-07 21:05:07 +0800 |
commit | 12de73c5636b662bc84011101981ea05b62e6a00 (patch) | |
tree | 3583c2b859c77d0bf9a1b8527c427b0da773d256 | |
parent | 2789d5e2ffaa5bfde5bf0098b0e9f013b8ca078b (diff) |
xvmc: change makefile in order to match new g3dvl's architecture
-rw-r--r-- | src/gallium/winsys/g3dvl/radeon/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/gallium/winsys/g3dvl/radeon/Makefile b/src/gallium/winsys/g3dvl/radeon/Makefile index 94b9b7382..c46af7b50 100644 --- a/src/gallium/winsys/g3dvl/radeon/Makefile +++ b/src/gallium/winsys/g3dvl/radeon/Makefile @@ -1,10 +1,9 @@ TOP = ../../../../.. -DRMDIR ?= /usr include $(TOP)/configs/current - - -DRIVER_NAME = libradeon_vl.so - +DRMDIR ?= /usr +DRIVER_MAJOR = 1 +DRIVER_MINOR = 0 +DRIVER_NAME = libRadeonXvMC.so INCLUDE_DIRS = \ -I$(TOP)/include \ @@ -20,9 +19,7 @@ INCLUDE_DIRS = \ WINSYS_SOURCES = \ radeon_vl.c -WINSYS_OBJECTS = $(WINSYS_SOURCES:.c=.o) - -#UNUSED_LIBS = $(TOP)/src/gallium/drivers/i915simple/libi915simple.a +WINSYS_OBJECTS = $(WINSYS_SOURCES:.c=.o) $(TOP)/src/gallium/state_trackers/xorg/xvmc/*.o LIBS = \ $(GALLIUM_DRIVERS) \ @@ -58,6 +55,7 @@ $(TOP)/$(LIB_DIR)/$(DRIVER_NAME): $(WINSYS_OBJECTS) $(LIBS) $(TOP)/bin/mklib -o $(DRIVER_NAME) \ -linker "$(CC)" \ -noprefix \ + -major $(DRIVER_MAJOR) -minor $(DRIVER_MINOR) \ $(MKLIB_OPTIONS) $(WINSYS_OBJECTS) \ -Wl,--start-group $(LIBS) -Wl,--end-group $(DRI_LIB_DEPS) @@ -84,5 +82,4 @@ tags: clean: -rm -f *.so *.o *~ *.bak - include depend |