annotate libmpdemux/Makefile @ 7107:ebc1cd8014a5

align -> balign patch by (Bj«Órn Sandell <biorn at dce dot chalmers dot se>)
author michael
date Wed, 28 Aug 2002 00:24:27 +0000
parents 2e5c07262861
children d48db6256efb
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
7058
2e5c07262861 new v4l capture patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>:
arpi
parents: 6925
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 cdda.c demux_rawaudio.c cddb.c demux_rawdv.c ai_alsa.c ai_oss.c audio_in.c
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
7 ifeq ($(STREAMING),yes)
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
8 SRCS += asf_streaming.c url.c http.c network.c asf_mmst_streaming.c
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
9 ifeq ($(STREAMING_LIVE_DOT_COM),yes)
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
10 CPLUSPLUSSRCS = demux_rtp.cpp
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
11 CPLUSPLUSINCLUDE = -I$(LIVE_LIB_DIR)/liveMedia/include
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
12 CPLUSPLUSINCLUDE += -I$(LIVE_LIB_DIR)/UsageEnvironment/include
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
13 CPLUSPLUSINCLUDE += -I$(LIVE_LIB_DIR)/BasicUsageEnvironment/include
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
14 CPLUSPLUSINCLUDE += -I$(LIVE_LIB_DIR)/groupsock/include
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
15 else
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
16 SRCS += rtp.c
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
17 endif
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
18 endif
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
19
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
20 OBJS = $(SRCS:.c=.o)
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
21 OBJS += $(CPLUSPLUSSRCS:.cpp=.o)
2466
451426046a14 CSS_INC include flags are now needed in libmpdemux, to compile dvdauth.c
jkeil
parents: 2322
diff changeset
22 INCLUDE = -I../loader $(CSS_INC) $(EXTRA_INC)
3870
29d567e49464 -Wall removed
arpi
parents: 3801
diff changeset
23 CFLAGS = $(OPTFLAGS) $(INCLUDE)
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
24 CPLUSPLUSFLAGS = $(CFLAGS) $(CPLUSPLUSINCLUDE)
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
25 CPLUSPLUS = c++
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
26
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
27 .SUFFIXES: .c .cpp .o
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
28
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
29 # .PHONY: all clean
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
30
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
31 all: $(LIBNAME)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
32
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
33 .c.o:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
34 $(CC) -c $(CFLAGS) -o $@ $<
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
35 .cpp.o:
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
36 $(CPLUSPLUS) -c $(CPLUSPLUSFLAGS) -o $@ $<
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
37
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
38 $(LIBNAME): $(OBJS)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
39 $(AR) r $(LIBNAME) $(OBJS)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
40
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
41 test: $(LIBNAME) test.c
2322
e22ec6fce385 cache2 support
arpi
parents: 2312
diff changeset
42 $(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
43
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
44 clean:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
45 rm -f *.o *.a *~
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
46
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
47 distclean:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
48 rm -f test Makefile.bak *.o *.a *~ .depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
49
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
50 dep: depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
51
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
52 depend:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
53 $(CC) -MM $(CFLAGS) test.c $(SRCS) 1>.depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
54
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
55 #
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
56 # include dependency files if they exist
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
57 #
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
58 ifneq ($(wildcard .depend),)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
59 include .depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
60 endif