mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 00:02:13 +00:00
preliminary version
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3997 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ce7dd4588d
commit
4d28c4ee51
55
vidix/drivers/Makefile
Normal file
55
vidix/drivers/Makefile
Normal file
@ -0,0 +1,55 @@
|
||||
# makefile
|
||||
|
||||
include ../../config.mak
|
||||
|
||||
|
||||
RADEON_VID=radeon_vid.so
|
||||
RADEON_SRCS=radeon_vid.c
|
||||
RADEON_OBJS=radeon_vid.o
|
||||
RADEON_LIBS=-L../../libdha -ldha -lm
|
||||
RADEON_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W
|
||||
|
||||
RAGE128_VID=rage128_vid.so
|
||||
RAGE128_SRCS=radeon_vid.c
|
||||
RAGE128_OBJS=rage128_vid.o
|
||||
RAGE128_LIBS=-L../../libdha -ldha
|
||||
RAGE128_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W -DRAGE128
|
||||
|
||||
all: $(RADEON_VID) $(RAGE128_VID)
|
||||
|
||||
|
||||
.SUFFIXES: .c .o
|
||||
|
||||
# .PHONY: all clean
|
||||
|
||||
$(RADEON_OBJS): $(RADEON_SRCS)
|
||||
$(CC) -c $(RADEON_CFLAGS) -o $@ $<
|
||||
|
||||
$(RADEON_VID): $(RADEON_OBJS)
|
||||
$(CC) $(RADEON_LIBS) -shared -o $(RADEON_VID) $(RADEON_OBJS)
|
||||
|
||||
$(RAGE128_OBJS): $(RAGE128_SRCS)
|
||||
$(CC) -c $(RAGE128_CFLAGS) -o $@ $<
|
||||
|
||||
$(RAGE128_VID): $(RAGE128_OBJS)
|
||||
$(CC) $(RAGE128_LIBS) -shared -o $(RAGE128_VID) $(RAGE128_OBJS)
|
||||
|
||||
clean:
|
||||
rm -f *.o *.so *~
|
||||
|
||||
distclean:
|
||||
rm -f Makefile.bak *.o *.so test *~ .depend
|
||||
|
||||
dep: depend
|
||||
|
||||
depend:
|
||||
$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
|
||||
|
||||
install:
|
||||
|
||||
#
|
||||
# include dependency files if they exist
|
||||
#
|
||||
ifneq ($(wildcard .depend),)
|
||||
include .depend
|
||||
endif
|
2046
vidix/drivers/radeon.h
Normal file
2046
vidix/drivers/radeon.h
Normal file
File diff suppressed because it is too large
Load Diff
1043
vidix/drivers/radeon_vid.c
Normal file
1043
vidix/drivers/radeon_vid.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user