Mercurial > mplayer.hg
annotate vidix/Makefile @ 26505:8a0d5353e179
Only compile decode_i586.c on x86_32.
author | diego |
---|---|
date | Fri, 25 Apr 2008 16:51:58 +0000 |
parents | d4f4ce3534c3 |
children |
rev | line source |
---|---|
22546 | 1 include ../config.mak |
3991 | 2 |
26466 | 3 LIBNAME_MPLAYER = vidix.a |
3991 | 4 |
22849 | 5 SRCS_MPLAYER = vidixlib.c \ |
22989 | 6 drivers.c \ |
7 dha.c \ | |
8 mtrr.c \ | |
9 pci.c \ | |
10 pci_names.c \ | |
11 pci_dev_ids.c\ | |
22849 | 12 |
23094
0057530b1ffc
cosmetics: Rename Makefile variables CONFIG_VIDIX_* --> VIDIX_*.
diego
parents:
22989
diff
changeset
|
13 SRCS_MPLAYER-$(VIDIX_CYBERBLADE) += cyberblade_vid.c |
23275
17fcd644f32e
new VIDIX driver for IVTV cards, original patch by Lutz Koschorreck
ben
parents:
23094
diff
changeset
|
14 SRCS_MPLAYER-$(VIDIX_IVTV) += ivtv_vid.c |
23094
0057530b1ffc
cosmetics: Rename Makefile variables CONFIG_VIDIX_* --> VIDIX_*.
diego
parents:
22989
diff
changeset
|
15 SRCS_MPLAYER-$(VIDIX_MACH64) += mach64_vid.c |
0057530b1ffc
cosmetics: Rename Makefile variables CONFIG_VIDIX_* --> VIDIX_*.
diego
parents:
22989
diff
changeset
|
16 SRCS_MPLAYER-$(VIDIX_MGA) += mga_vid.c |
25561
1e215be6a749
Get rid of build system hackery to generate mga_crtc2_vid.o and rage128_vid.o.
diego
parents:
25560
diff
changeset
|
17 SRCS_MPLAYER-$(VIDIX_MGA_CRTC2) += mga_crtc2_vid.c |
23094
0057530b1ffc
cosmetics: Rename Makefile variables CONFIG_VIDIX_* --> VIDIX_*.
diego
parents:
22989
diff
changeset
|
18 SRCS_MPLAYER-$(VIDIX_NVIDIA) += nvidia_vid.c |
0057530b1ffc
cosmetics: Rename Makefile variables CONFIG_VIDIX_* --> VIDIX_*.
diego
parents:
22989
diff
changeset
|
19 SRCS_MPLAYER-$(VIDIX_PM2) += pm2_vid.c |
0057530b1ffc
cosmetics: Rename Makefile variables CONFIG_VIDIX_* --> VIDIX_*.
diego
parents:
22989
diff
changeset
|
20 SRCS_MPLAYER-$(VIDIX_PM3) += pm3_vid.c |
0057530b1ffc
cosmetics: Rename Makefile variables CONFIG_VIDIX_* --> VIDIX_*.
diego
parents:
22989
diff
changeset
|
21 SRCS_MPLAYER-$(VIDIX_RADEON) += radeon_vid.c |
25561
1e215be6a749
Get rid of build system hackery to generate mga_crtc2_vid.o and rage128_vid.o.
diego
parents:
25560
diff
changeset
|
22 SRCS_MPLAYER-$(VIDIX_RAGE128) += rage128_vid.c |
26096 | 23 SRCS_MPLAYER-$(VIDIX_S3) += s3_vid.c |
23094
0057530b1ffc
cosmetics: Rename Makefile variables CONFIG_VIDIX_* --> VIDIX_*.
diego
parents:
22989
diff
changeset
|
24 SRCS_MPLAYER-$(VIDIX_SIS) += sis_vid.c sis_bridge.c |
0057530b1ffc
cosmetics: Rename Makefile variables CONFIG_VIDIX_* --> VIDIX_*.
diego
parents:
22989
diff
changeset
|
25 SRCS_MPLAYER-$(VIDIX_UNICHROME) += unichrome_vid.c |
22973 | 26 |
22900
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
27 # If you want libdha to use svgalib_helper for hardware access, |
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
28 # uncomment this statement, and change the -I to the correct directory |
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
29 # that includes svgalib_helper.o: |
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
30 #CFLAGS += -DDEV_SVGA=\"/dev/svga\" -DCONFIG_SVGAHELPER -Isvgalib_helper/ |
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
31 |
25560
4627866e3697
Properly express dependencies for generated .c and .h files.
diego
parents:
25492
diff
changeset
|
32 PCI_FILES = pci_dev_ids.c pci_ids.h pci_names.c pci_names.h pci_vendors.h |
22900
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
33 |
25560
4627866e3697
Properly express dependencies for generated .c and .h files.
diego
parents:
25492
diff
changeset
|
34 libs: $(PCI_FILES) |
4627866e3697
Properly express dependencies for generated .c and .h files.
diego
parents:
25492
diff
changeset
|
35 |
26431
4213401c16a9
Adjust dependency generation prerequisites to new structure.
diego
parents:
26096
diff
changeset
|
36 .depend: $(PCI_FILES) |
22900
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
37 |
22549
77f632d4ca36
Reuse common parts of all Makefiles through mpcommon.mak.
diego
parents:
22548
diff
changeset
|
38 include ../mpcommon.mak |
22849 | 39 |
25560
4627866e3697
Properly express dependencies for generated .c and .h files.
diego
parents:
25492
diff
changeset
|
40 $(OBJS_MPLAYER): $(PCI_FILES) |
4627866e3697
Properly express dependencies for generated .c and .h files.
diego
parents:
25492
diff
changeset
|
41 |
4627866e3697
Properly express dependencies for generated .c and .h files.
diego
parents:
25492
diff
changeset
|
42 $(PCI_FILES): pci.db |
25271
4ba5a1593296
add new configure option to disable VIDIX PCI device name database (saves a 300 kB on mplayer binary)
ben
parents:
23317
diff
changeset
|
43 LC_ALL=C awk -f pci_db2c.awk $< $(VIDIX_PCIDB) |
22900
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
44 |
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
45 clean:: |
25560
4627866e3697
Properly express dependencies for generated .c and .h files.
diego
parents:
25492
diff
changeset
|
46 rm -f $(PCI_FILES) |