Mercurial > mplayer.hg
annotate libmpcodecs/Makefile @ 7197:c36333ff54b0
some fixes
author | gabucino |
---|---|
date | Sat, 31 Aug 2002 14:19:11 +0000 |
parents | f8b147aab1a5 |
children | 81f720e51821 |
rev | line source |
---|---|
4878 | 1 |
2 include ../config.mak | |
3 | |
4 LIBNAME = libmpcodecs.a | |
5550 | 5 LIBNAME2 = libmpencoders.a |
4878 | 6 |
7173 | 7 AUDIO_SRCS=dec_audio.c ad.c ad_liba52.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_mp3lib.c ad_msadpcm.c ad_pcm.c ad_roqaudio.c ad_msgsm.c ad_faad.c ad_libvorbis.c ad_libmad.c ad_realaud.c ad_libdv.c |
7175
f8b147aab1a5
vfwex separated from vfw, to work with new vfm system and dlopen
arpi
parents:
7173
diff
changeset
|
8 VIDEO_SRCS=dec_video.c vd.c vd_null.c vd_realvid.c vd_cinepak.c vd_qtrpza.c vd_ffmpeg.c vd_dshow.c vd_vfw.c vd_vfwex.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 vd_svq1.c vd_xvid.c vd_libdv.c |
7155
66019eb62edc
"halfpack" (yuv planar 4:2:0 -> packed 4:2:2, half height) video filter
rfelker
parents:
7073
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 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_halfpack.c |
5577 | 10 ENCODER_SRCS=ve.c ve_divx4.c ve_lavc.c ve_vfw.c ve_rawrgb.c ve_libdv.c |
6506 | 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 native/svq1.c |
5029 | 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 | 17 ifeq ($(PNG),yes) |
5344 | 18 VIDEO_SRCS += vd_mpng.c |
5029 | 19 endif |
20 | |
21 ifeq ($(JPEG),yes) | |
5344 | 22 VIDEO_SRCS += vd_ijpg.c |
5029 | 23 endif |
4878 | 24 |
5607 | 25 SRCS=$(AUDIO_SRCS) $(VIDEO_SRCS) $(VFILTER_SRCS) $(NATIVE_SRCS) img_format.c |
4878 | 26 OBJS=$(SRCS:.c=.o) |
27 | |
5550 | 28 SRCS2=$(ENCODER_SRCS) |
29 OBJS2=$(SRCS2:.c=.o) | |
30 | |
7073
b69ddd4d3bb9
removed -W -Wall -g and other gcc-specific warning/debug options
arpi
parents:
7062
diff
changeset
|
31 CFLAGS = $(OPTFLAGS) -I. -Inative -I.. -I../libmpdemux -I../loader $(EXTRA_INC) |
4878 | 32 |
33 .SUFFIXES: .c .o | |
34 | |
35 # .PHONY: all clean | |
36 | |
37 .c.o: | |
38 $(CC) -c $(CFLAGS) -o $@ $< | |
39 | |
5550 | 40 all: $(LIBNAME) $(LIBNAME2) |
41 | |
4878 | 42 $(LIBNAME): $(OBJS) |
43 $(AR) r $(LIBNAME) $(OBJS) | |
44 | |
5550 | 45 $(LIBNAME2): $(OBJS2) |
46 $(AR) r $(LIBNAME2) $(OBJS2) | |
4878 | 47 |
48 clean: | |
49 rm -f *.o *.a *~ | |
50 | |
51 distclean: | |
5603 | 52 rm -f Makefile.bak $(OBJS) $(OBJS2) $(LIBNAME) $(LIBNAME2) *~ .depend |
4878 | 53 |
54 dep: depend | |
55 | |
56 depend: | |
5550 | 57 $(CC) -MM $(CFLAGS) $(SRCS) $(SRCS2) 1>.depend |
4878 | 58 |
59 # | |
60 # include dependency files if they exist | |
61 # | |
62 ifneq ($(wildcard .depend),) | |
63 include .depend | |
64 endif | |
65 |