annotate vidix/Makefile @ 22973:46597c69d843

added conditional vidix drivers compilation
author ben
date Sat, 14 Apr 2007 10:39:17 +0000
parents a7605669b114
children 30341a2c2179
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22546
322fed4ddef2 consistency cosmetics
diego
parents: 22545
diff changeset
1 include ../config.mak
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
2
22547
9193e4b4834f cosmetics: Rename variables for consistency with other Makefiles.
diego
parents: 22546
diff changeset
3 LIBNAME_MPLAYER = libvidix.a
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
4
22849
bddb09395c3e Merge all VIDIX drivers into libvidix.a.
diego
parents: 22789
diff changeset
5 SRCS_MPLAYER = vidixlib.c \
22973
46597c69d843 added conditional vidix drivers compilation
ben
parents: 22901
diff changeset
6 drivers.c \
22901
a7605669b114 renamed libdha.[hc] to dha.[hc]
ben
parents: 22900
diff changeset
7 dha.c \
22900
a9e111b88c4a merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents: 22850
diff changeset
8 mtrr.c \
a9e111b88c4a merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents: 22850
diff changeset
9 pci.c \
a9e111b88c4a merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents: 22850
diff changeset
10 pci_names.c \
22973
46597c69d843 added conditional vidix drivers compilation
ben
parents: 22901
diff changeset
11 pci_dev_ids.c
22849
bddb09395c3e Merge all VIDIX drivers into libvidix.a.
diego
parents: 22789
diff changeset
12
22973
46597c69d843 added conditional vidix drivers compilation
ben
parents: 22901
diff changeset
13 SRCS_MPLAYER-$(CONFIG_VIDIX_CYBERBLADE) += cyberblade_vid.c
46597c69d843 added conditional vidix drivers compilation
ben
parents: 22901
diff changeset
14 SRCS_MPLAYER-$(CONFIG_VIDIX_MACH64) += mach64_vid.c
46597c69d843 added conditional vidix drivers compilation
ben
parents: 22901
diff changeset
15 SRCS_MPLAYER-$(CONFIG_VIDIX_MGA) += mga_vid.c
46597c69d843 added conditional vidix drivers compilation
ben
parents: 22901
diff changeset
16 SRCS_MPLAYER-$(CONFIG_VIDIX_NVIDIA) += nvidia_vid.c
46597c69d843 added conditional vidix drivers compilation
ben
parents: 22901
diff changeset
17 SRCS_MPLAYER-$(CONFIG_VIDIX_PM3) += pm3_vid.c
46597c69d843 added conditional vidix drivers compilation
ben
parents: 22901
diff changeset
18 SRCS_MPLAYER-$(CONFIG_VIDIX_RADEON) += radeon_vid.c
46597c69d843 added conditional vidix drivers compilation
ben
parents: 22901
diff changeset
19 SRCS_MPLAYER-$(CONFIG_VIDIX_SAVAGE) += savage_vid.c
46597c69d843 added conditional vidix drivers compilation
ben
parents: 22901
diff changeset
20 SRCS_MPLAYER-$(CONFIG_VIDIX_SIS) += sis_vid.c sis_bridge.c
46597c69d843 added conditional vidix drivers compilation
ben
parents: 22901
diff changeset
21 SRCS_MPLAYER-$(CONFIG_VIDIX_UNICHROME) += unichrome_vid.c
46597c69d843 added conditional vidix drivers compilation
ben
parents: 22901
diff changeset
22
46597c69d843 added conditional vidix drivers compilation
ben
parents: 22901
diff changeset
23 ifeq ($(CONFIG_VIDIX_MGA_CRTC2), yes)
46597c69d843 added conditional vidix drivers compilation
ben
parents: 22901
diff changeset
24 OBJS_MPLAYER += mga_crtc2_vid.o
46597c69d843 added conditional vidix drivers compilation
ben
parents: 22901
diff changeset
25 endif
46597c69d843 added conditional vidix drivers compilation
ben
parents: 22901
diff changeset
26 ifeq ($(CONFIG_VIDIX_RAGE128),yes)
46597c69d843 added conditional vidix drivers compilation
ben
parents: 22901
diff changeset
27 OBJS_MPLAYER += rage128_vid.o
46597c69d843 added conditional vidix drivers compilation
ben
parents: 22901
diff changeset
28 endif
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
29
22900
a9e111b88c4a merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents: 22850
diff changeset
30 # 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
31 # 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
32 # that includes svgalib_helper.o:
a9e111b88c4a merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents: 22850
diff changeset
33 #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
34
a9e111b88c4a merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents: 22850
diff changeset
35 libs: pci_names.c
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 dep depend:: pci_names.c
a9e111b88c4a merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents: 22850
diff changeset
38
22549
77f632d4ca36 Reuse common parts of all Makefiles through mpcommon.mak.
diego
parents: 22548
diff changeset
39 include ../mpcommon.mak
22849
bddb09395c3e Merge all VIDIX drivers into libvidix.a.
diego
parents: 22789
diff changeset
40
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents: 22849
diff changeset
41 mga_crtc2_vid.o: mga_vid.c
22849
bddb09395c3e Merge all VIDIX drivers into libvidix.a.
diego
parents: 22789
diff changeset
42 $(CC) -c $(CFLAGS) -DCRTC2 -o $@ $<
bddb09395c3e Merge all VIDIX drivers into libvidix.a.
diego
parents: 22789
diff changeset
43
22850
9a1e26fef45b Move driver files directly into the vidix directory.
diego
parents: 22849
diff changeset
44 rage128_vid.o: radeon_vid.c
22849
bddb09395c3e Merge all VIDIX drivers into libvidix.a.
diego
parents: 22789
diff changeset
45 $(CC) -c $(CFLAGS) -DRAGE128 -o $@ $<
22900
a9e111b88c4a merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents: 22850
diff changeset
46
a9e111b88c4a merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents: 22850
diff changeset
47 pci_names.c pci_dev_ids.c: pci.db
a9e111b88c4a merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents: 22850
diff changeset
48 LC_ALL=C $(AWK) -f pci_db2c.awk $<
a9e111b88c4a merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents: 22850
diff changeset
49
a9e111b88c4a merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents: 22850
diff changeset
50 clean::
a9e111b88c4a merged libdha and libvidix, moved all files from libdha to vidix directory
ben
parents: 22850
diff changeset
51 rm -f pci_*.c pci_*.h