1# Process with automake to produce Makefile.in 2 3# NOTE: utils and mpeg2enc MUST be built first so that libmjpegutils AND 4# libmpeg2encpp exist. Then in the following Makefile.am files if 5# HAVE_ALTIVEC is defined libmpeg2encpp will be added to the list of 6# libraries dependencies. All this because utils/altivec/libaltivec.la 7# contains routines which which should have gone into the encoder 8# library libmpeg2encpp. Sigh. Feel free to do it differently if you 9# can come up with a better method. 10 11SUBDIRS = \ 12 utils \ 13 mpeg2enc \ 14 lavtools \ 15 aenc \ 16 mplex \ 17 scripts \ 18 docs \ 19 yuvcorrect \ 20 yuvscaler \ 21 yuvdenoise \ 22 yuvfilters \ 23 yuvdeinterlace \ 24 y4mdenoise \ 25 y4mscaler \ 26 y4munsharp \ 27 y4mutils \ 28 debian 29 30# 31# Add any non autoconf'd files here, extra readmes and other misc 32# info to be copied into the dist 33# 34EXTRA_DIST = \ 35 BUGS \ 36 CHANGES \ 37 HINTS \ 38 PLANS \ 39 README.AltiVec \ 40 README.DV \ 41 README.avilib \ 42 README.glav \ 43 README.lavpipe \ 44 README.transist \ 45 INSTALL \ 46 INSTALL.real \ 47 TODO \ 48 cpuinfo.sh \ 49 mjpeg_howto.txt \ 50 mjpegtools.spec \ 51 mjpegtools.spec.in \ 52 mjpegtools.pc \ 53 mjpegtools.pc.in \ 54 autogen.sh 55 56pkgconfigdir = $(libdir)/pkgconfig 57pkgconfig_DATA = mjpegtools.pc 58 59DISTCLEANFILES = \ 60 mjpegtools-config.h \ 61 mjpegtools.pc \ 62 confdefs.h \ 63 config.cache \ 64 config.status \ 65 config.log 66 67MAINTAINERCLEANFILES = \ 68 compile \ 69 depcomp \ 70 install-sh \ 71 missing \ 72 mkinstalldirs \ 73 Makefile.in \ 74 aclocal.m4 \ 75 config.guess \ 76 config.h.in \ 77 config.sub \ 78 configure \ 79 ltmain.sh \ 80 stamp-h.in 81 82## make rpms 83rpm: Makefile 84 $(MAKE) dist 85 rpmbuild -ta --clean $(PACKAGE)-$(VERSION).tar.gz 86 87## make debs 88deb: Makefile dist 89 -chmod -R +w $(PACKAGE)-$(VERSION) 90 rm -rf $(PACKAGE)-$(VERSION) 91 tar xzf $(PACKAGE)-$(VERSION).tar.gz 92 cd $(PACKAGE)-$(VERSION); dpkg-buildpackage -rfakeroot 93