annotate libmpcodecs/Makefile @ 5476:ac09ea252466

vd_mpegpes added
author arpi
date Wed, 03 Apr 2002 18:22:31 +0000
parents 0b5462a620fc
children 22b289d7f87f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
1
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
2 include ../config.mak
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
3
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
4 LIBNAME = libmpcodecs.a
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
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
ac09ea252466 vd_mpegpes added
arpi
parents: 5427
diff changeset
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
ef8a43b74075 Add IJPG decoder.
pontscho
parents: 4998
diff changeset
8
ef8a43b74075 Add IJPG decoder.
pontscho
parents: 4998
diff changeset
9 ifeq ($(PNG),yes)
5344
7198d3eba09f ok, use ad_* stuff
arpi
parents: 5264
diff changeset
10 VIDEO_SRCS += vd_mpng.c
5029
ef8a43b74075 Add IJPG decoder.
pontscho
parents: 4998
diff changeset
11 endif
ef8a43b74075 Add IJPG decoder.
pontscho
parents: 4998
diff changeset
12
ef8a43b74075 Add IJPG decoder.
pontscho
parents: 4998
diff changeset
13 ifeq ($(JPEG),yes)
5344
7198d3eba09f ok, use ad_* stuff
arpi
parents: 5264
diff changeset
14 VIDEO_SRCS += vd_ijpg.c
5029
ef8a43b74075 Add IJPG decoder.
pontscho
parents: 4998
diff changeset
15 endif
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
16
5344
7198d3eba09f ok, use ad_* stuff
arpi
parents: 5264
diff changeset
17 SRCS=$(AUDIO_SRCS) $(VIDEO_SRCS)
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
18 OBJS=$(SRCS:.c=.o)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
19
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
20 CFLAGS = -Wall $(OPTFLAGS) -I. -I.. -I../libmpdemux -I../loader $(EXTRA_INC)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
21
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
22 .SUFFIXES: .c .o
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
23
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
24 # .PHONY: all clean
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
25
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
26 .c.o:
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
27 $(CC) -c $(CFLAGS) -o $@ $<
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
28
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
29 $(LIBNAME): $(OBJS)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
30 $(AR) r $(LIBNAME) $(OBJS)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
31
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
32 all: $(LIBNAME)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
33
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
34 clean:
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
35 rm -f *.o *.a *~
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
36
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
37 distclean:
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
38 rm -f Makefile.bak *.o *.a *~ .depend
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
39
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
40 dep: depend
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
41
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
42 depend:
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
43 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
44
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
45 #
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
46 # include dependency files if they exist
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
47 #
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
48 ifneq ($(wildcard .depend),)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
49 include .depend
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
50 endif
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
51