summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/Makefile.vdpau
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/Makefile.vdpau')
-rw-r--r--src/gallium/targets/Makefile.vdpau71
1 files changed, 0 insertions, 71 deletions
diff --git a/src/gallium/targets/Makefile.vdpau b/src/gallium/targets/Makefile.vdpau
deleted file mode 100644
index dec64ca26f8..00000000000
--- a/src/gallium/targets/Makefile.vdpau
+++ /dev/null
@@ -1,71 +0,0 @@
-# This makefile template is used to build libvdpau_g3dvl.so
-
-LIBNAME = lib$(LIBBASENAME).so
-VDPAU_LIB_GLOB=lib$(LIBBASENAME).*so*
-VDPAU_MAJOR = 1
-VDPAU_MINOR = 0
-INCLUDES = -I$(TOP)/src/gallium/include \
- -I$(TOP)/src/gallium/drivers \
- -I$(TOP)/src/gallium/auxiliary \
- -I$(TOP)/src/gallium/winsys \
- $(DRIVER_INCLUDES)
-DEFINES = -DGALLIUM_TRACE -DVER_MAJOR=$(VDPAU_MAJOR) -DVER_MINOR=$(VDPAU_MINOR) $(DRIVER_DEFINES)
-LIBS = $(DRIVER_LIBS) -lvdpau -lX11-xcb -lxcb-dri2 -lm -lrt
-STATE_TRACKER_LIB = $(TOP)/src/gallium/state_trackers/vdpau/libvdpautracker.a
-
-ifeq ($(MESA_LLVM),1)
-LDFLAGS += $(LLVM_LDFLAGS)
-DRIVER_EXTRAS = $(LLVM_LIBS)
-LD=$(CXX)
-else
- ifeq ($(LINK_WITH_CXX),1)
- LD=$(CXX)
- else
- LD=$(CC)
- endif
-endif
-
-OBJECTS = $(C_SOURCES:.c=.o) \
- $(ASM_SOURCES:.S=.o)
-
-##### RULES #####
-
-.c.o:
- $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
-
-.S.o:
- $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
-
-##### TARGETS #####
-
-default: depend symlinks $(TOP)/$(LIB_DIR)/gallium/$(LIBNAME)
-
-$(TOP)/$(LIB_DIR)/gallium/$(LIBNAME): $(OBJECTS) $(PIPE_DRIVERS) $(STATE_TRACKER_LIB) Makefile
- $(MKLIB) -o $(LIBBASENAME) -linker '$(LD)' -ldflags '$(LDFLAGS)' \
- -major $(VDPAU_MAJOR) -minor $(VDPAU_MINOR) $(MKLIB_OPTIONS) \
- -install $(TOP)/$(LIB_DIR)/gallium \
- $(OBJECTS) $(STATE_TRACKER_LIB) $(PIPE_DRIVERS) $(LIBS) $(DRIVER_EXTRAS)
-
-$(TOP)/$(LIB_DIR)/gallium:
- mkdir -p $@
-
-depend: $(C_SOURCES) $(ASM_SOURCES) $(SYMLINKS)
- rm -f depend
- touch depend
- $(MKDEP) $(MKDEP_OPTIONS) $(DEFINES) $(INCLUDES) $(C_SOURCES) \
- $(ASM_SOURCES) 2> /dev/null
-
-# Emacs tags
-tags:
- etags `find . -name \*.[ch]` `find ../include`
-
-# Remove .o and backup files
-clean:
- -rm -f $(OBJECTS) *~ *.so $(SYMLINKS)
- -rm -f depend depend.bak
-
-install: default
- $(INSTALL) -d $(DESTDIR)$(VDPAU_LIB_INSTALL_DIR)
- $(MINSTALL) -m 755 $(TOP)/$(LIB_DIR)/gallium/$(VDPAU_LIB_GLOB) $(DESTDIR)$(VDPAU_LIB_INSTALL_DIR)
-
-include depend