Mercurial > mplayer.hg
annotate libmpdemux/Makefile @ 5210:ba800cb05b94
comments on compiling
author | arpi |
---|---|
date | Wed, 20 Mar 2002 01:39:09 +0000 |
parents | 9841a86d66f9 |
children | dd79075bbd98 |
rev | line source |
---|---|
2311 | 1 |
2 LIBNAME = libmpdemux.a | |
3 | |
4 include ../config.mak | |
5 | |
5133
9841a86d66f9
Initial ogg demuxer. No seeking, a/v sync is broken. Support avi
albeu
parents:
5082
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 demux_mpg.c demux_viv.c demuxer.c dvdauth.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 |
2311 | 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 | 9 endif |
10 | |
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 | 13 CFLAGS = $(OPTFLAGS) $(INCLUDE) |
2311 | 14 |
15 .SUFFIXES: .c .o | |
16 | |
17 # .PHONY: all clean | |
18 | |
19 all: $(LIBNAME) | |
20 | |
21 .c.o: | |
22 $(CC) -c $(CFLAGS) -o $@ $< | |
23 | |
24 $(LIBNAME): $(OBJS) | |
25 $(AR) r $(LIBNAME) $(OBJS) | |
26 | |
27 test: $(LIBNAME) test.c | |
2322 | 28 $(CC) $(CFLAGS) test.c ../mp_msg.c ../linux/shmem.c -o test -L. -lmpdemux -ldvdread -lz -lpthread |
2311 | 29 |
30 clean: | |
31 rm -f *.o *.a *~ | |
32 | |
33 distclean: | |
34 rm -f test Makefile.bak *.o *.a *~ .depend | |
35 | |
36 dep: depend | |
37 | |
38 depend: | |
39 $(CC) -MM $(CFLAGS) test.c $(SRCS) 1>.depend | |
40 | |
41 # | |
42 # include dependency files if they exist | |
43 # | |
44 ifneq ($(wildcard .depend),) | |
45 include .depend | |
46 endif |