Mercurial > mplayer.hg
comparison vidix/Makefile @ 22900:a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
author | ben |
---|---|
date | Fri, 06 Apr 2007 15:20:49 +0000 |
parents | 9a1e26fef45b |
children | a7605669b114 |
comparison
equal
deleted
inserted
replaced
22899:515545f81186 | 22900:a9e111b88c4a |
---|---|
1 include ../config.mak | 1 include ../config.mak |
2 | 2 |
3 LIBNAME_MPLAYER = libvidix.a | 3 LIBNAME_MPLAYER = libvidix.a |
4 | 4 |
5 SRCS_MPLAYER = vidixlib.c \ | 5 SRCS_MPLAYER = vidixlib.c \ |
6 libdha.c \ | |
7 mtrr.c \ | |
8 pci.c \ | |
9 pci_names.c \ | |
10 pci_dev_ids.c \ | |
6 $(wildcard *.c) | 11 $(wildcard *.c) |
7 | 12 |
8 OBJS_MPLAYER = mga_crtc2_vid.o \ | 13 OBJS_MPLAYER = mga_crtc2_vid.o \ |
9 rage128_vid.o \ | 14 rage128_vid.o \ |
15 | |
16 # If you want libdha to use svgalib_helper for hardware access, | |
17 # uncomment this statement, and change the -I to the correct directory | |
18 # that includes svgalib_helper.o: | |
19 #CFLAGS += -DDEV_SVGA=\"/dev/svga\" -DCONFIG_SVGAHELPER -Isvgalib_helper/ | |
20 | |
21 libs: pci_names.c | |
22 | |
23 dep depend:: pci_names.c | |
10 | 24 |
11 include ../mpcommon.mak | 25 include ../mpcommon.mak |
12 | 26 |
13 mga_crtc2_vid.o: mga_vid.c | 27 mga_crtc2_vid.o: mga_vid.c |
14 $(CC) -c $(CFLAGS) -DCRTC2 -o $@ $< | 28 $(CC) -c $(CFLAGS) -DCRTC2 -o $@ $< |
15 | 29 |
16 rage128_vid.o: radeon_vid.c | 30 rage128_vid.o: radeon_vid.c |
17 $(CC) -c $(CFLAGS) -DRAGE128 -o $@ $< | 31 $(CC) -c $(CFLAGS) -DRAGE128 -o $@ $< |
32 | |
33 pci_names.c pci_dev_ids.c: pci.db | |
34 LC_ALL=C $(AWK) -f pci_db2c.awk $< | |
35 | |
36 clean:: | |
37 rm -f pci_*.c pci_*.h |