Mercurial > mplayer.hg
annotate vidix/Makefile @ 23317:f5ecd91bcea1
Remove awk test. awk is a basic Unix tool, any implementation is sufficient.
author | diego |
---|---|
date | Thu, 17 May 2007 21:48:56 +0000 |
parents | 17fcd644f32e |
children | 4ba5a1593296 |
rev | line source |
---|---|
22546 | 1 include ../config.mak |
3991 | 2 |
22547
9193e4b4834f
cosmetics: Rename variables for consistency with other Makefiles.
diego
parents:
22546
diff
changeset
|
3 LIBNAME_MPLAYER = libvidix.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 |
0057530b1ffc
cosmetics: Rename Makefile variables CONFIG_VIDIX_* --> VIDIX_*.
diego
parents:
22989
diff
changeset
|
17 SRCS_MPLAYER-$(VIDIX_NVIDIA) += nvidia_vid.c |
0057530b1ffc
cosmetics: Rename Makefile variables CONFIG_VIDIX_* --> VIDIX_*.
diego
parents:
22989
diff
changeset
|
18 SRCS_MPLAYER-$(VIDIX_PM2) += pm2_vid.c |
0057530b1ffc
cosmetics: Rename Makefile variables CONFIG_VIDIX_* --> VIDIX_*.
diego
parents:
22989
diff
changeset
|
19 SRCS_MPLAYER-$(VIDIX_PM3) += pm3_vid.c |
0057530b1ffc
cosmetics: Rename Makefile variables CONFIG_VIDIX_* --> VIDIX_*.
diego
parents:
22989
diff
changeset
|
20 SRCS_MPLAYER-$(VIDIX_RADEON) += radeon_vid.c |
0057530b1ffc
cosmetics: Rename Makefile variables CONFIG_VIDIX_* --> VIDIX_*.
diego
parents:
22989
diff
changeset
|
21 SRCS_MPLAYER-$(VIDIX_SAVAGE) += savage_vid.c |
0057530b1ffc
cosmetics: Rename Makefile variables CONFIG_VIDIX_* --> VIDIX_*.
diego
parents:
22989
diff
changeset
|
22 SRCS_MPLAYER-$(VIDIX_SIS) += sis_vid.c sis_bridge.c |
0057530b1ffc
cosmetics: Rename Makefile variables CONFIG_VIDIX_* --> VIDIX_*.
diego
parents:
22989
diff
changeset
|
23 SRCS_MPLAYER-$(VIDIX_UNICHROME) += unichrome_vid.c |
22973 | 24 |
23094
0057530b1ffc
cosmetics: Rename Makefile variables CONFIG_VIDIX_* --> VIDIX_*.
diego
parents:
22989
diff
changeset
|
25 ifeq ($(VIDIX_MGA_CRTC2), yes) |
22973 | 26 OBJS_MPLAYER += mga_crtc2_vid.o |
27 endif | |
23094
0057530b1ffc
cosmetics: Rename Makefile variables CONFIG_VIDIX_* --> VIDIX_*.
diego
parents:
22989
diff
changeset
|
28 ifeq ($(VIDIX_RAGE128),yes) |
22973 | 29 OBJS_MPLAYER += rage128_vid.o |
30 endif | |
3991 | 31 |
22900
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
32 # 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
|
33 # 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
|
34 # that includes svgalib_helper.o: |
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
35 #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
|
36 |
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
37 libs: pci_names.c |
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
38 |
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
39 dep depend:: pci_names.c |
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
40 |
22549
77f632d4ca36
Reuse common parts of all Makefiles through mpcommon.mak.
diego
parents:
22548
diff
changeset
|
41 include ../mpcommon.mak |
22849 | 42 |
22850
9a1e26fef45b
Move driver files directly into the vidix directory.
diego
parents:
22849
diff
changeset
|
43 mga_crtc2_vid.o: mga_vid.c |
22849 | 44 $(CC) -c $(CFLAGS) -DCRTC2 -o $@ $< |
45 | |
22850
9a1e26fef45b
Move driver files directly into the vidix directory.
diego
parents:
22849
diff
changeset
|
46 rage128_vid.o: radeon_vid.c |
22849 | 47 $(CC) -c $(CFLAGS) -DRAGE128 -o $@ $< |
22900
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
48 |
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
49 pci_names.c pci_dev_ids.c: pci.db |
23317
f5ecd91bcea1
Remove awk test. awk is a basic Unix tool, any implementation is sufficient.
diego
parents:
23275
diff
changeset
|
50 LC_ALL=C awk -f pci_db2c.awk $< |
22900
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
51 |
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
52 clean:: |
a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents:
22850
diff
changeset
|
53 rm -f pci_*.c pci_*.h |