Mercurial > mplayer.hg
annotate libmpcodecs/Makefile @ 11562:269f1032fdab
updates
author | diego |
---|---|
date | Sun, 07 Dec 2003 00:52:36 +0000 |
parents | 017a7e90fcf1 |
children | 6ea42c885d60 |
rev | line source |
---|---|
4878 | 1 |
2 include ../config.mak | |
3 | |
4 LIBNAME = libmpcodecs.a | |
5550 | 5 LIBNAME2 = libmpencoders.a |
4878 | 6 |
8024 | 7 AUDIO_SRCS_LIB=ad_liba52.c ad_hwac3.c ad_mp3lib.c |
10261
05a50c0ce239
RealAudio 1.0 (14_4) and 2.0 (28_8) native decoders.
rtognimp
parents:
10150
diff
changeset
|
8 AUDIO_SRCS_NAT=ad_alaw.c ad_dk3adpcm.c ad_pcm.c ad_dvdpcm.c ad_imaadpcm.c ad_msadpcm.c ad_msgsm.c ad_roqaudio.c ad_ra1428.c |
11004 | 9 AUDIO_SRCS_OPT=ad_acm.c ad_dshow.c ad_dmo.c ad_qtaudio.c ad_ffmpeg.c ad_faad.c ad_libvorbis.c ad_libmad.c ad_realaud.c ad_libdv.c ad_flac.c |
8024 | 10 AUDIO_SRCS=dec_audio.c ad.c $(AUDIO_SRCS_LIB) $(AUDIO_SRCS_NAT) $(AUDIO_SRCS_OPT) |
11 | |
12 VIDEO_SRCS_LIB=vd_libmpeg2.c vd_nuv.c vd_lzo.c | |
10712 | 13 VIDEO_SRCS_NAT=vd_null.c vd_cinepak.c vd_qtrpza.c vd_raw.c vd_hmblck.c vd_msvidc.c vd_fli.c vd_qtrle.c vd_qtsmc.c vd_roqvideo.c vd_cyuv.c vd_msrle.c vd_mpegpes.c vd_lcl.c vd_mtga.c vd_sgi.c vd_qt8bps.c |
11436 | 14 VIDEO_SRCS_OPT=vd_realvid.c vd_ffmpeg.c vd_dshow.c vd_dmo.c vd_vfw.c vd_vfwex.c vd_odivx.c vd_divx4.c vd_zrmjpeg.c vd_xanim.c vd_xvid.c vd_xvid4.c vd_libdv.c vd_qtvideo.c vd_theora.c |
8024 | 15 VIDEO_SRCS=dec_video.c vd.c $(VIDEO_SRCS_NAT) $(VIDEO_SRCS_LIB) $(VIDEO_SRCS_OPT) |
16 | |
11536 | 17 VFILTER_SRCS=vf.c vf_vo.c vf_crop.c vf_expand.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 vf_lavc.c vf_dvbscale.c vf_cropdetect.c vf_test.c vf_noise.c vf_yvu9.c vf_rectangle.c vf_lavcdeint.c vf_eq.c vf_eq2.c vf_halfpack.c vf_dint.c vf_1bpp.c vf_bmovl.c vf_2xsai.c vf_unsharp.c vf_swapuv.c vf_il.c vf_boxblur.c vf_sab.c vf_smartblur.c vf_perspective.c vf_down3dright.c vf_field.c vf_denoise3d.c vf_hqdn3d.c vf_detc.c vf_telecine.c vf_tfields.c vf_ivtc.c vf_ilpack.c vf_dsize.c vf_decimate.c vf_softpulldown.c vf_tinterlace.c vf_pullup.c pullup.c vf_framestep.c vf_tile.c vf_delogo.c vf_fil.c vf_hue.c vf_spp.c vf_yuvcsp.c |
11141 | 18 ifeq ($(HAVE_FFPOSTPROCESS),yes) |
19 VFILTER_SRCS += vf_pp.c | |
20 endif | |
21 | |
11436 | 22 ENCODER_SRCS=ve.c ve_divx4.c ve_lavc.c ve_vfw.c ve_rawrgb.c ve_libdv.c ve_xvid.c ve_xvid4.c ve_qtvideo.c ve_nuv.c |
8024 | 23 |
10420 | 24 NATIVE_SRCS=native/RTjpegN.c native/cinepak.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 native/decode144.c native/decode288.c |
5029 | 25 |
5840
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
26 ifeq ($(FAME),yes) |
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
27 VFILTER_SRCS += vf_fame.c |
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
28 endif |
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
29 |
5029 | 30 ifeq ($(PNG),yes) |
5344 | 31 VIDEO_SRCS += vd_mpng.c |
5029 | 32 endif |
33 | |
34 ifeq ($(JPEG),yes) | |
5344 | 35 VIDEO_SRCS += vd_ijpg.c |
5029 | 36 endif |
4878 | 37 |
5607 | 38 SRCS=$(AUDIO_SRCS) $(VIDEO_SRCS) $(VFILTER_SRCS) $(NATIVE_SRCS) img_format.c |
4878 | 39 OBJS=$(SRCS:.c=.o) |
40 | |
5550 | 41 SRCS2=$(ENCODER_SRCS) |
42 OBJS2=$(SRCS2:.c=.o) | |
43 | |
8254
772d6d27fd66
warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
michael
parents:
8160
diff
changeset
|
44 CFLAGS = $(OPTFLAGS) -I. -Inative -I.. -I../libmpdemux -I../loader $(EXTRA_INC) -D_GNU_SOURCE |
11004 | 45 ifneq ($(MPFLAC),none) |
46 CFLAGS += -I../libmpflac | |
47 endif | |
4878 | 48 |
49 .SUFFIXES: .c .o | |
50 | |
51 # .PHONY: all clean | |
52 | |
53 .c.o: | |
54 $(CC) -c $(CFLAGS) -o $@ $< | |
55 | |
5550 | 56 all: $(LIBNAME) $(LIBNAME2) |
57 | |
4878 | 58 $(LIBNAME): $(OBJS) |
59 $(AR) r $(LIBNAME) $(OBJS) | |
60 | |
5550 | 61 $(LIBNAME2): $(OBJS2) |
62 $(AR) r $(LIBNAME2) $(OBJS2) | |
4878 | 63 |
64 clean: | |
65 rm -f *.o *.a *~ | |
66 | |
67 distclean: | |
5603 | 68 rm -f Makefile.bak $(OBJS) $(OBJS2) $(LIBNAME) $(LIBNAME2) *~ .depend |
4878 | 69 |
70 dep: depend | |
71 | |
72 depend: | |
5550 | 73 $(CC) -MM $(CFLAGS) $(SRCS) $(SRCS2) 1>.depend |
4878 | 74 |
75 # | |
76 # include dependency files if they exist | |
77 # | |
78 ifneq ($(wildcard .depend),) | |
79 include .depend | |
80 endif | |
81 |