annotate libmpcodecs/Makefile @ 5869:412ff784c971

Avoid bogus file not found message if vobsub isn'T forced (autodetect).
author atmos4
date Sat, 27 Apr 2002 20:46:39 +0000
parents 4e3cf9473628
children 74cbaabeaa33
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
5550
7d1dfb59c6c0 encoders
arpi
parents: 5539
diff changeset
5 LIBNAME2 = libmpencoders.a
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
6
5519
868c13f78f08 vf control codes added, autoq support
arpi
parents: 5512
diff changeset
7 AUDIO_SRCS=dec_audio.c ad.c ad_a52.c ad_acm.c ad_alaw.c ad_dk3adpcm.c ad_dk4adpcm.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 ad_libmad.c
5476
ac09ea252466 vd_mpegpes added
arpi
parents: 5427
diff changeset
8 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
5840
4e3cf9473628 Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents: 5774
diff changeset
9 VFILTER_SRCS=vf.c vf_vo.c vf_crop.c vf_expand.c vf_pp.c vf_scale.c vf_format.c vf_yuy2.c vf_flip.c vf_rgb2bgr.c vf_rotate.c vf_mirror.c vf_palette.c
5577
80eedd3ef6d3 RGB24/YUY2 -> DV encoding, using libdv
arpi
parents: 5557
diff changeset
10 ENCODER_SRCS=ve.c ve_divx4.c ve_lavc.c ve_vfw.c ve_rawrgb.c ve_libdv.c
5603
5f4485862a72 native codecs files moved to libmpcodecs/native/
arpi
parents: 5594
diff changeset
11 NATIVE_SRCS=native/RTjpegN.c native/cinepak.c native/cyuv.c native/fli.c native/minilzo.c native/msvidc.c native/nuppelvideo.c native/qtrle.c native/qtrpza.c native/qtsmc.c native/roqav.c native/xa_gsm.c
5029
ef8a43b74075 Add IJPG decoder.
pontscho
parents: 4998
diff changeset
12
5840
4e3cf9473628 Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents: 5774
diff changeset
13 ifeq ($(FAME),yes)
4e3cf9473628 Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents: 5774
diff changeset
14 VFILTER_SRCS += vf_fame.c
4e3cf9473628 Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents: 5774
diff changeset
15 endif
4e3cf9473628 Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents: 5774
diff changeset
16
5029
ef8a43b74075 Add IJPG decoder.
pontscho
parents: 4998
diff changeset
17 ifeq ($(PNG),yes)
5344
7198d3eba09f ok, use ad_* stuff
arpi
parents: 5264
diff changeset
18 VIDEO_SRCS += vd_mpng.c
5029
ef8a43b74075 Add IJPG decoder.
pontscho
parents: 4998
diff changeset
19 endif
ef8a43b74075 Add IJPG decoder.
pontscho
parents: 4998
diff changeset
20
ef8a43b74075 Add IJPG decoder.
pontscho
parents: 4998
diff changeset
21 ifeq ($(JPEG),yes)
5344
7198d3eba09f ok, use ad_* stuff
arpi
parents: 5264
diff changeset
22 VIDEO_SRCS += vd_ijpg.c
5029
ef8a43b74075 Add IJPG decoder.
pontscho
parents: 4998
diff changeset
23 endif
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
24
5607
1972c3475d93 mp_image.h and img_format.h moved to libmpcodecs
arpi
parents: 5603
diff changeset
25 SRCS=$(AUDIO_SRCS) $(VIDEO_SRCS) $(VFILTER_SRCS) $(NATIVE_SRCS) img_format.c
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
26 OBJS=$(SRCS:.c=.o)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
27
5550
7d1dfb59c6c0 encoders
arpi
parents: 5539
diff changeset
28 SRCS2=$(ENCODER_SRCS)
7d1dfb59c6c0 encoders
arpi
parents: 5539
diff changeset
29 OBJS2=$(SRCS2:.c=.o)
7d1dfb59c6c0 encoders
arpi
parents: 5539
diff changeset
30
5603
5f4485862a72 native codecs files moved to libmpcodecs/native/
arpi
parents: 5594
diff changeset
31 CFLAGS = -Wall $(OPTFLAGS) -I. -Inative -I.. -I../libmpdemux -I../loader $(EXTRA_INC)
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
32
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
33 .SUFFIXES: .c .o
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
34
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
35 # .PHONY: all clean
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
36
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
37 .c.o:
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
38 $(CC) -c $(CFLAGS) -o $@ $<
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
39
5550
7d1dfb59c6c0 encoders
arpi
parents: 5539
diff changeset
40 all: $(LIBNAME) $(LIBNAME2)
7d1dfb59c6c0 encoders
arpi
parents: 5539
diff changeset
41
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
42 $(LIBNAME): $(OBJS)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
43 $(AR) r $(LIBNAME) $(OBJS)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
44
5550
7d1dfb59c6c0 encoders
arpi
parents: 5539
diff changeset
45 $(LIBNAME2): $(OBJS2)
7d1dfb59c6c0 encoders
arpi
parents: 5539
diff changeset
46 $(AR) r $(LIBNAME2) $(OBJS2)
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
47
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
48 clean:
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
49 rm -f *.o *.a *~
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
50
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
51 distclean:
5603
5f4485862a72 native codecs files moved to libmpcodecs/native/
arpi
parents: 5594
diff changeset
52 rm -f Makefile.bak $(OBJS) $(OBJS2) $(LIBNAME) $(LIBNAME2) *~ .depend
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
53
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
54 dep: depend
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
55
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
56 depend:
5550
7d1dfb59c6c0 encoders
arpi
parents: 5539
diff changeset
57 $(CC) -MM $(CFLAGS) $(SRCS) $(SRCS2) 1>.depend
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
58
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
59 #
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
60 # include dependency files if they exist
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
61 #
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
62 ifneq ($(wildcard .depend),)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
63 include .depend
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
64 endif
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
65