annotate libmpdemux/Makefile @ 6080:2cac91e697f1

disable bgr8
author alex
date Mon, 13 May 2002 20:56:08 +0000
parents 348c7d83e710
children 839bc172ea4a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
1
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
2 LIBNAME = libmpdemux.a
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
3
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
4 include ../config.mak
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
5
5471
348c7d83e710 dvdnav_stream functions - dvdnav patch by Kees Cook <mplayer@outflux.net>
arpi
parents: 5301
diff changeset
6 SRCS = mp3_hdr.c video.c mpeg_hdr.c cache2.c asfheader.c aviheader.c aviprint.c aviwrite.c demux_asf.c demux_avi.c demux_mov.c parse_mp4.c demux_mpg.c demux_viv.c demuxer.c dvdauth.c dvdnav_stream.c open.c parse_es.c stream.c tv.c tvi_dummy.c tvi_v4l.c tvi_bsdbt848.c frequencies.c demux_fli.c demux_real.c demux_y4m.c yuv4mpeg.c yuv4mpeg_ratio.c demux_nuv.c demux_film.c demux_roq.c mf.c demux_mf.c demux_audio.c demux_demuxers.c opt-reg.c mpdemux.c demux_ogg.c demux_bmp.c
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
7 ifeq ($(STREAMING),yes)
3686
bed6226ffb46 RTP support patch by Brian Kuschak <bkuschak@yahoo.com>
arpi
parents: 3101
diff changeset
8 SRCS += asf_streaming.c url.c http.c network.c rtp.c
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
9 endif
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
10
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
11 OBJS = $(SRCS:.c=.o)
2466
451426046a14 CSS_INC include flags are now needed in libmpdemux, to compile dvdauth.c
jkeil
parents: 2322
diff changeset
12 INCLUDE = -I../loader $(CSS_INC) $(EXTRA_INC)
3870
29d567e49464 -Wall removed
arpi
parents: 3801
diff changeset
13 CFLAGS = $(OPTFLAGS) $(INCLUDE)
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
14
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
15 .SUFFIXES: .c .o
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
16
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
17 # .PHONY: all clean
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
18
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
19 all: $(LIBNAME)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
20
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
21 .c.o:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
22 $(CC) -c $(CFLAGS) -o $@ $<
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
23
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
24 $(LIBNAME): $(OBJS)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
25 $(AR) r $(LIBNAME) $(OBJS)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
26
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
27 test: $(LIBNAME) test.c
2322
e22ec6fce385 cache2 support
arpi
parents: 2312
diff changeset
28 $(CC) $(CFLAGS) test.c ../mp_msg.c ../linux/shmem.c -o test -L. -lmpdemux -ldvdread -lz -lpthread
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
29
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
30 clean:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
31 rm -f *.o *.a *~
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
32
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
33 distclean:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
34 rm -f test Makefile.bak *.o *.a *~ .depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
35
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
36 dep: depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
37
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
38 depend:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
39 $(CC) -MM $(CFLAGS) test.c $(SRCS) 1>.depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
40
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
41 #
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
42 # include dependency files if they exist
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
43 #
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
44 ifneq ($(wildcard .depend),)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
45 include .depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
46 endif