Mercurial > mplayer.hg
annotate libmpcodecs/Makefile @ 6337:df799e2a5a47
Add small note why we don't use fcntl.h on cygwin. Btw. as far as I can see fcntl funcs were only use in #if 0ed debug code.
author | atmos4 |
---|---|
date | Fri, 07 Jun 2002 23:49:13 +0000 |
parents | a88b82461c17 |
children | d79c52610702 |
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 |
6278 | 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 |
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 |