Mercurial > mplayer.hg
annotate libmpcodecs/Makefile @ 8985:8e28993c9f28
sync
author | nicolas |
---|---|
date | Sat, 18 Jan 2003 13:44:52 +0000 |
parents | 0b7839c27be9 |
children | d7237ee9db7f |
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 |
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 | |
8326 | 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 |
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 | |
13 VIDEO_SRCS_NAT=vd_null.c vd_cinepak.c vd_qtrpza.c vd_raw.c vd_msvidc.c vd_fli.c vd_qtrle.c vd_qtsmc.c vd_roqvideo.c vd_cyuv.c vd_msrle.c vd_huffyuv.c vd_mpegpes.c vd_svq1.c vd_lcl.c vd_mtga.c | |
8295 | 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_xanim.c vd_xvid.c vd_libdv.c vd_qtvideo.c |
8024 | 15 VIDEO_SRCS=dec_video.c vd.c $(VIDEO_SRCS_NAT) $(VIDEO_SRCS_LIB) $(VIDEO_SRCS_OPT) |
16 | |
8112 | 17 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 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 |
8471 | 18 ENCODER_SRCS=ve.c ve_divx4.c ve_lavc.c ve_vfw.c ve_rawrgb.c ve_libdv.c ve_xvid.c ve_qtvideo.c |
8024 | 19 |
6506 | 20 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 native/svq1.c |
5029 | 21 |
5840
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
22 ifeq ($(FAME),yes) |
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
23 VFILTER_SRCS += vf_fame.c |
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
24 endif |
4e3cf9473628
Allow disabling of libfame and allow to enforce (not) building libavcodec.
atmos4
parents:
5774
diff
changeset
|
25 |
5029 | 26 ifeq ($(PNG),yes) |
5344 | 27 VIDEO_SRCS += vd_mpng.c |
5029 | 28 endif |
29 | |
30 ifeq ($(JPEG),yes) | |
5344 | 31 VIDEO_SRCS += vd_ijpg.c |
5029 | 32 endif |
4878 | 33 |
5607 | 34 SRCS=$(AUDIO_SRCS) $(VIDEO_SRCS) $(VFILTER_SRCS) $(NATIVE_SRCS) img_format.c |
4878 | 35 OBJS=$(SRCS:.c=.o) |
36 | |
5550 | 37 SRCS2=$(ENCODER_SRCS) |
38 OBJS2=$(SRCS2:.c=.o) | |
39 | |
8254
772d6d27fd66
warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
michael
parents:
8160
diff
changeset
|
40 CFLAGS = $(OPTFLAGS) -I. -Inative -I.. -I../libmpdemux -I../loader $(EXTRA_INC) -D_GNU_SOURCE |
4878 | 41 |
42 .SUFFIXES: .c .o | |
43 | |
44 # .PHONY: all clean | |
45 | |
46 .c.o: | |
47 $(CC) -c $(CFLAGS) -o $@ $< | |
48 | |
5550 | 49 all: $(LIBNAME) $(LIBNAME2) |
50 | |
4878 | 51 $(LIBNAME): $(OBJS) |
52 $(AR) r $(LIBNAME) $(OBJS) | |
53 | |
5550 | 54 $(LIBNAME2): $(OBJS2) |
55 $(AR) r $(LIBNAME2) $(OBJS2) | |
4878 | 56 |
57 clean: | |
58 rm -f *.o *.a *~ | |
59 | |
60 distclean: | |
5603 | 61 rm -f Makefile.bak $(OBJS) $(OBJS2) $(LIBNAME) $(LIBNAME2) *~ .depend |
4878 | 62 |
63 dep: depend | |
64 | |
65 depend: | |
5550 | 66 $(CC) -MM $(CFLAGS) $(SRCS) $(SRCS2) 1>.depend |
4878 | 67 |
68 # | |
69 # include dependency files if they exist | |
70 # | |
71 ifneq ($(wildcard .depend),) | |
72 include .depend | |
73 endif | |
74 |