Comment out the correct #endif directive.
[mplayer/greg.git] / vidix / Makefile
blob61c747bcaec6ad3613f21a4961da409cba28c0a1
1 include ../config.mak
3 LIBNAME_MPLAYER = libvidix.a
5 SRCS_MPLAYER = vidixlib.c \
6 drivers.c \
7 dha.c \
8 mtrr.c \
9 pci.c \
10 pci_names.c \
11 pci_dev_ids.c\
13 SRCS_MPLAYER-$(VIDIX_CYBERBLADE) += cyberblade_vid.c
14 SRCS_MPLAYER-$(VIDIX_IVTV) += ivtv_vid.c
15 SRCS_MPLAYER-$(VIDIX_MACH64) += mach64_vid.c
16 SRCS_MPLAYER-$(VIDIX_MGA) += mga_vid.c
17 SRCS_MPLAYER-$(VIDIX_NVIDIA) += nvidia_vid.c
18 SRCS_MPLAYER-$(VIDIX_PM2) += pm2_vid.c
19 SRCS_MPLAYER-$(VIDIX_PM3) += pm3_vid.c
20 SRCS_MPLAYER-$(VIDIX_RADEON) += radeon_vid.c
21 SRCS_MPLAYER-$(VIDIX_SAVAGE) += savage_vid.c
22 SRCS_MPLAYER-$(VIDIX_SIS) += sis_vid.c sis_bridge.c
23 SRCS_MPLAYER-$(VIDIX_UNICHROME) += unichrome_vid.c
25 ifeq ($(VIDIX_MGA_CRTC2), yes)
26 OBJS_MPLAYER += mga_crtc2_vid.o
27 endif
28 ifeq ($(VIDIX_RAGE128),yes)
29 OBJS_MPLAYER += rage128_vid.o
30 endif
32 # If you want libdha to use svgalib_helper for hardware access,
33 # uncomment this statement, and change the -I to the correct directory
34 # that includes svgalib_helper.o:
35 #CFLAGS += -DDEV_SVGA=\"/dev/svga\" -DCONFIG_SVGAHELPER -Isvgalib_helper/
37 libs: pci_names.c
39 dep depend:: pci_names.c
41 include ../mpcommon.mak
43 mga_crtc2_vid.o: mga_vid.c
44 $(CC) -c $(CFLAGS) -DCRTC2 -o $@ $<
46 rage128_vid.o: radeon_vid.c
47 $(CC) -c $(CFLAGS) -DRAGE128 -o $@ $<
49 pci_dev_ids.c pci_ids.h pci_names.c pci_names.h pci_vendors.h: pci.db
50 LC_ALL=C awk -f pci_db2c.awk $< $(VIDIX_PCIDB)
52 clean::
53 rm -f pci_*.c pci_*.h