-
Notifications
You must be signed in to change notification settings - Fork 104
/
Makefile.am
162 lines (140 loc) · 4.63 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
EXTRA_DIST= \
mediastreamer-config.h.in \
pkg.list \
autogen.sh \
mediastreamer.pc.in \
mediastreamer2.spec.in \
mediastreamer2.spec \
CMakeLists.txt \
cmake/FindALSA.cmake \
cmake/FindArts.cmake \
cmake/FindBV16.cmake \
cmake/FindCamApi.cmake \
cmake/FindFFMpeg.cmake \
cmake/FindGLX.cmake \
cmake/FindGSM.cmake \
cmake/FindOpus.cmake \
cmake/FindPCAP.cmake \
cmake/FindPortAudio.cmake \
cmake/FindPulseAudio.cmake \
cmake/FindQnxAudioManager.cmake \
cmake/FindQSA.cmake \
cmake/FindScreen.cmake \
cmake/FindSpeex.cmake \
cmake/FindSRTP.cmake \
cmake/FindV4L.cmake \
cmake/FindVPX.cmake \
cmake/FindX11.cmake \
cmake/FindXv.cmake \
cmake/Mediastreamer2Config.cmake.in \
help/CMakeLists.txt \
include/CMakeLists.txt \
mediastreamer-config.h.cmake \
src/CMakeLists.txt \
src/generate_descs_header.cmake \
src/generate_yuv2rgb_header.cmake \
src/gitversion.cmake \
tester/CMakeLists.txt \
tools/CMakeLists.txt \
README.md
ACLOCAL_AMFLAGS = -I m4 $(ACLOCAL_MACOS_FLAGS)
SUBDIRS=po src m4 include tools tester help
ACLOCAL_FLAGS=-I$(top_srcdir)/m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = mediastreamer.pc
unit-test:
cd tester && $(MAKE) test
## oRTP packaging methods:
# `make rpm'
.phony: rpm
rpm:
$(MAKE) dist
# <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=206841>
TAR_OPTIONS=--wildcards rpmbuild -ta --clean --rmsource --rmspec $(PACKAGE)-$(VERSION).tar.gz
rpm-novideo:
$(MAKE) dist
# <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=206841>
TAR_OPTIONS=--wildcards rpmbuild -ta --clean --rmsource --rmspec --without video $(PACKAGE)-$(VERSION).tar.gz
# `make package'
if WITH_EPM
.PHONY: package
PKG_NAME = $(PACKAGE)-$(VERSION)-$(RELEASE)
BUILDROOT=`pwd`/epm-install
package: $(srcdir)/pkg.list $(srcdir)/configure
[ -n "$(BUILDROOT)" ] && rm -rf $(BUILDROOT)/*
[ -n "$(PKG_NAME).*" ] && rm -f $(PKG_NAME).*
$(MAKE) install DESTDIR=$(BUILDROOT)
$(MKEPMLIST) -u $(SYS_USER) -g $(SYS_GROUP) --prefix $(prefix) \
$(BUILDROOT)/$(prefix) > files.list
$(EPM) -v -f native -g -n -a $(ARCH) --keep-files --output-dir pkg \
srcdir=$(srcdir) \
top_srcdir=$(top_srcdir) \
top_builddir=$(top_builddir) \
PACKAGE=$(PACKAGE) \
SUMMARY="$(SUMMARY)" \
VERSION=$(ORTP_PKGCONFIG_VERSION) \
RELEASE=$(RELEASE) \
LICENSE="$(LICENSE)" \
VENDOR="$(VENDOR)" \
PACKAGER="$(PACKAGER)" \
$(PACKAGE) $(srcdir)/pkg.list
rm -rf $(BUILDROOT)
mv -f pkg/$(PACKAGE)-$(ORTP_PKGCONFIG_VERSION)-$(RELEASE).$(EPM_PKG_EXT) $(PKG_NAME).$(ARCH).$(EPM_PKG_EXT)
clean-local:
rm -rf pkg $(BUILDROOT)
rm -f files.list
endif WITH_EPM
deb:
$(MAKE) dist
mv $(distdir).tar.gz ../mediastreamer2_$(VERSION).orig.tar.gz
dpkg-buildpackage -us -uc -sa
EXTRA_DIST += README-ANDROID \
build/android/Android.mk \
build/android/basedescs.h \
build/android/libmediastreamer2_AndroidConfig.h \
build/android/voipdescs.h \
build/git-pre-commit-hook \
build/iphone/basedescs.h \
build/iphone/voipdescs.h \
build/wp8 \
java/.classpath \
java/.project \
java/AndroidManifest.xml \
java/proguard.cfg \
java/src/org/linphone/mediastream/Log.java \
java/src/org/linphone/mediastream/Version.java \
java/src/org/linphone/mediastream/video/AndroidVideoWindowImpl.java \
java/src/org/linphone/mediastream/video/capture/AndroidVideoApi5JniWrapper.java \
java/src/org/linphone/mediastream/video/capture/AndroidVideoApi8JniWrapper.java \
java/src/org/linphone/mediastream/video/capture/AndroidVideoApi9JniWrapper.java \
java/src/org/linphone/mediastream/video/capture/hwconf/AndroidCameraConfiguration.java \
java/src/org/linphone/mediastream/video/capture/hwconf/AndroidCameraConfigurationReader5.java \
java/src/org/linphone/mediastream/video/capture/hwconf/AndroidCameraConfigurationReader9.java \
java/src/org/linphone/mediastream/video/capture/hwconf/Hacks.java \
java/src/org/linphone/mediastream/video/display/GL2JNIView.java \
java/src/org/linphone/mediastream/video/display/OpenGLESDisplay.java \
src/filter-template.c \
src/ortp-deps/README \
src/ortp-deps/ortp-config-win32.h \
src/ortp-deps/ortp-config.h \
src/ortp-deps/ortp/b64.h \
src/ortp-deps/ortp/logging.h \
src/ortp-deps/ortp/payloadtype.h \
src/ortp-deps/ortp/port.h \
src/ortp-deps/ortp/str_utils.h \
src/ortp-deps/update_ortp.sh \
src/ortp-deps/utils.h \
src/voip/scaler.h \
src/voip/scaler_arm.S \
tools/Android.mk \
tools/filters_graph.py \
tools/ios/en.lproj/InfoPlist.strings \
tools/ios/en.lproj/MainWindow.xib \
tools/ios/en.lproj/mediastreamViewController.xib \
tools/ios/mediastream-Info.plist \
tools/ios/mediastream-Prefix.pch \
tools/ios/mediastreamAppDelegate.h \
tools/ios/mediastreamAppDelegate.m \
tools/ios/mediastreamViewController.h \
tools/ios/mediastreamViewController.m \
tools/ring_jni.c