annotate libmpdemux/Makefile @ 9148:946b14a9e743

type autodetection (from filemask/filelist extension)
author arpi
date Tue, 28 Jan 2003 22:00:57 +0000
parents 6ecc0b5c08cb
children bb490ffeebf5
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
9129
6ecc0b5c08cb libgif/libungif based demuxer support for libmpdemux.
arpi
parents: 9065
diff changeset
6 SRCS = mp3_hdr.c video.c mpeg_hdr.c cache2.c asfheader.c aviheader.c aviprint.c muxer.c muxer_avi.c muxer_mpeg.c demux_asf.c demux_avi.c demux_mov.c parse_mp4.c demux_mpg.c demux_pva.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 demux_ogg.c demux_bmp.c cdda.c demux_rawaudio.c demux_rawvideo.c cddb.c cdinfo.c demux_rawdv.c ai_alsa.c ai_oss.c audio_in.c demux_smjpeg.c cue_read.c extension.c demux_gif.c
8528
9d143176d95f XMMS Input plugin support
arpi
parents: 7874
diff changeset
7 ifeq ($(XMMS_PLUGINS),yes)
9d143176d95f XMMS Input plugin support
arpi
parents: 7874
diff changeset
8 SRCS += demux_xmms.c
9d143176d95f XMMS Input plugin support
arpi
parents: 7874
diff changeset
9 endif
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
10 ifeq ($(STREAMING),yes)
8570
16af93c01dbf pnm:// support (ported from xine)
arpi
parents: 8528
diff changeset
11 SRCS += asf_streaming.c url.c http.c network.c asf_mmst_streaming.c pnm.c
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
12 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
13 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
14 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
15 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
16 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
17 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
18 else
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
19 SRCS += rtp.c
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
20 endif
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
21 endif
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
22
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
23 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
24 OBJS += $(CPLUSPLUSSRCS:.cpp=.o)
2466
451426046a14 CSS_INC include flags are now needed in libmpdemux, to compile dvdauth.c
jkeil
parents: 2322
diff changeset
25 INCLUDE = -I../loader $(CSS_INC) $(EXTRA_INC)
8608
677d4443af55 just quells warnings in the ".depends" generation phase.
arpi
parents: 8585
diff changeset
26 CFLAGS = $(OPTFLAGS) $(INCLUDE) $(XMMS_CFLAGS) $(CDPARANOIA_INC)
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
27 CPLUSPLUSFLAGS = $(CFLAGS) $(CPLUSPLUSINCLUDE)
7168
cb1428dd4d79 assume $(CC) can compile c++ - fixes compile with non-default compiler
arpi
parents: 7148
diff changeset
28 CPLUSPLUS = $(CC)
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
29
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
30 .SUFFIXES: .c .cpp .o
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
31
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
32 # .PHONY: all clean
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
33
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
34 all: $(LIBNAME)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
35
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
36 .c.o:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
37 $(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
38 .cpp.o:
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
39 $(CPLUSPLUS) -c $(CPLUSPLUSFLAGS) -o $@ $<
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
40
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
41 $(LIBNAME): $(OBJS)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
42 $(AR) r $(LIBNAME) $(OBJS)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
43
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
44 test: $(LIBNAME) test.c
7874
4c832590e18e yeah, test.c works now!
arpi
parents: 7868
diff changeset
45 $(CC) $(CFLAGS) test.c ../mp_msg.c ../linux/shmem.c -o test ./libmpdemux.a ../libmpdvdkit2/libmpdvdkit.a ../libvo/aclib.o ../libmpcodecs/img_format.o ../libao2/afmt.o ../sub_cc.o $(ALSA_LIB) $(VORBIS_LIB) $(CDPARANOIA_LIB) -lz -lpthread
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
46
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
47 clean:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
48 rm -f *.o *.a *~
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
49
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
50 distclean:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
51 rm -f test Makefile.bak *.o *.a *~ .depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
52
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
53 dep: depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
54
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
55 depend:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
56 $(CC) -MM $(CFLAGS) test.c $(SRCS) 1>.depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
57
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
58 #
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
59 # include dependency files if they exist
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
60 #
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
61 ifneq ($(wildcard .depend),)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
62 include .depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
63 endif