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