Mercurial > mplayer.hg
view drivers/Makefile @ 19422:718624aec009
r19361: Reintroduce an ugly variant of the -gui/-nogui options.
r19348: Add matroska chapter seeking capability.
r19286: clarification on -mpegopts :vaspect
r19285: New sentences should start on a new line.
r19281: don't use vaspect on mpeg1 video streams
r19274: Move the section describing the per movie config files
up, so it doesn't get seperated from the rest of the
config file doc by the config file example
r19241: missed some escaping
r19240: use DOCS writing standards for default values (asked by diego)
r19233: english manpage for pvr:// input
r19231: updated en/fr manpages for ao_ivtv
r19228: removed default outfile for -ao mpegpes
r19206: Improve ao_mpegpes description.
r19191: description of the arnd scale video filter parameter
r19190: new -ao mpegpes options
r19181: - Add missing "00" in -af pan usage line.
- Change -af pan usage and description to use a capital 'L' to make the
letter easily distinguishable from a '1'.
r19161: cosmetics/punctuation/spelling
r19149: updated english man page with vo_ivtv description
author | kraymer |
---|---|
date | Thu, 17 Aug 2006 21:57:01 +0000 |
parents | b069afd2a0de |
children | 618d1857f4c4 |
line wrap: on
line source
KERNEL_DIR=/lib/modules/`uname -r`/build KERNEL_INCLUDES= $(KERNEL_DIR)/include INCLUDES = -I$(KERNEL_INCLUDES) -I$(KERNEL_INCLUDES)/asm VERSION = $(shell grep UTS_RELEASE $(KERNEL_INCLUDES)/linux/version.h | cut -d '"' -f2) MDIR = /lib/modules/$(VERSION)/misc ifneq (,$(findstring 2.6, $(VERSION))) obj-m += mga_vid.o CFLAGS = -O2 -D__KERNEL__ -DMODULE -include $(KERNEL_INCLUDES)/config/modversions.h -Wall else CFLAGS = -O2 -D__KERNEL__ -DMODULE -include $(KERNEL_INCLUDES)/linux/modversions.h -Wall endif all: ifneq (,$(findstring 2.6, $(VERSION))) $(MAKE) mga_vid.ko mga_vid_test else $(MAKE) mga_vid.o mga_vid_test endif # sis_vid.o mga_vid.o: mga_vid.c mga_vid.h $(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c mga_vid.ko: mga_vid.c mga_vid.h $(MAKE) -C $(KERNEL_DIR) SUBDIRS=$(PWD) modules sis_vid.o: sis_vid.c sis_vid.h $(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c mga_vid_test: mga_vid_test.c $(CC) -O $(INCLUDES) -o $@ $@.c tdfx_vid.o: tdfx_vid.c 3dfx.h $(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c tdfx_vid_tst: tdfx_vid_tst.c $(CC) -O $(INCLUDES) -o $@ $@.c install: mga_vid.o -mkdir -p $(MDIR) ifneq (,$(findstring 2.6, $(VERSION))) install -m 644 mga_vid.ko $(MDIR)/mga_vid.ko else install -m 644 mga_vid.o $(MDIR)/mga_vid.o endif depmod -a dep: clean: rm -f *.o *.a *~ rm -f *.ko .mga* mga_vid.mod.c distclean: clean rm -f mga_vid_test tdfx_vid_tst