Mercurial > mplayer.hg
annotate libmpcodecs/Makefile @ 5476:ac09ea252466
vd_mpegpes added
author | arpi |
---|---|
date | Wed, 03 Apr 2002 18:22:31 +0000 |
parents | 0b5462a620fc |
children | 22b289d7f87f |
rev | line source |
---|---|
4878 | 1 |
2 include ../config.mak | |
3 | |
4 LIBNAME = libmpcodecs.a | |
5 | |
5427
0b5462a620fc
vorbis driver ported, and also fixed a bug, as nominal_bitrate can be -1
arpi
parents:
5408
diff
changeset
|
6 AUDIO_SRCS=dec_audio.c ad.c ad_a52.c ad_acm.c ad_alaw.c ad_dk3adpcm.c ad_dshow.c ad_dvdpcm.c ad_ffmpeg.c ad_hwac3.c ad_imaadpcm.c ad_mp3.c ad_msadpcm.c ad_pcm.c ad_roqaudio.c ad_msgsm.c ad_faad.c ad_vorbis.c |
5476 | 7 VIDEO_SRCS=dec_video.c vd.c vd_null.c vd_cinepak.c vd_qtrpza.c vd_ffmpeg.c vd_dshow.c vd_vfw.c vd_odivx.c vd_divx4.c vd_raw.c vd_xanim.c vd_msvidc.c vd_fli.c vd_qtrle.c vd_qtsmc.c vd_roqvideo.c vd_cyuv.c vd_nuv.c vd_libmpeg2.c vd_msrle.c vd_huffyuv.c vd_zlib.c vd_mpegpes.c |
5029 | 8 |
9 ifeq ($(PNG),yes) | |
5344 | 10 VIDEO_SRCS += vd_mpng.c |
5029 | 11 endif |
12 | |
13 ifeq ($(JPEG),yes) | |
5344 | 14 VIDEO_SRCS += vd_ijpg.c |
5029 | 15 endif |
4878 | 16 |
5344 | 17 SRCS=$(AUDIO_SRCS) $(VIDEO_SRCS) |
4878 | 18 OBJS=$(SRCS:.c=.o) |
19 | |
20 CFLAGS = -Wall $(OPTFLAGS) -I. -I.. -I../libmpdemux -I../loader $(EXTRA_INC) | |
21 | |
22 .SUFFIXES: .c .o | |
23 | |
24 # .PHONY: all clean | |
25 | |
26 .c.o: | |
27 $(CC) -c $(CFLAGS) -o $@ $< | |
28 | |
29 $(LIBNAME): $(OBJS) | |
30 $(AR) r $(LIBNAME) $(OBJS) | |
31 | |
32 all: $(LIBNAME) | |
33 | |
34 clean: | |
35 rm -f *.o *.a *~ | |
36 | |
37 distclean: | |
38 rm -f Makefile.bak *.o *.a *~ .depend | |
39 | |
40 dep: depend | |
41 | |
42 depend: | |
43 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
44 | |
45 # | |
46 # include dependency files if they exist | |
47 # | |
48 ifneq ($(wildcard .depend),) | |
49 include .depend | |
50 endif | |
51 |