Mercurial > mplayer.hg
annotate libmpcodecs/Makefile @ 5880:a04a7dc31ebb
openbsd updates by Bj«Órn Sandell <biorn@dce.chalmers.se>
author | arpi |
---|---|
date | Sun, 28 Apr 2002 01:30:04 +0000 |
parents | 74cbaabeaa33 |
children | ba14193cc935 |
rev | line source |
---|---|
4878 | 1 |
2 include ../config.mak | |
3 | |
4 LIBNAME = libmpcodecs.a | |
5550 | 5 LIBNAME2 = libmpencoders.a |
4878 | 6 |
5519 | 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 | 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 |
5873 | 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 |
5577 | 10 ENCODER_SRCS=ve.c ve_divx4.c ve_lavc.c ve_vfw.c ve_rawrgb.c ve_libdv.c |
5603 | 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 | 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 | |
5603 | 31 CFLAGS = -Wall $(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 |