|
|
@ -444,7 +444,7 @@ mv ${SRS_WORKDIR}/${SRS_MAKEFILE} ${SRS_WORKDIR}/${SRS_MAKEFILE}.bk
|
|
|
|
# generate phony header
|
|
|
|
# generate phony header
|
|
|
|
cat << END > ${SRS_WORKDIR}/${SRS_MAKEFILE}
|
|
|
|
cat << END > ${SRS_WORKDIR}/${SRS_MAKEFILE}
|
|
|
|
.PHONY: default _default install install-api help clean destroy server srs_ingest_hls librtmp utest _prepare_dir $__mphonys
|
|
|
|
.PHONY: default _default install install-api help clean destroy server srs_ingest_hls librtmp utest _prepare_dir $__mphonys
|
|
|
|
.PHONY: clean_srs clean_modules clean_openssl clean_nginx clean_cherrypy clean_srtp2 clean_opus
|
|
|
|
.PHONY: clean_srs clean_modules clean_openssl clean_nginx clean_cherrypy clean_srtp2 clean_opus clean_ffmpeg clean_st
|
|
|
|
.PHONY: st ffmpeg
|
|
|
|
.PHONY: st ffmpeg
|
|
|
|
|
|
|
|
|
|
|
|
# install prefix.
|
|
|
|
# install prefix.
|
|
|
@ -481,6 +481,8 @@ help:
|
|
|
|
@echo " clean_openssl Remove the openssl cache."
|
|
|
|
@echo " clean_openssl Remove the openssl cache."
|
|
|
|
@echo " clean_srtp2 Remove the libsrtp2 cache."
|
|
|
|
@echo " clean_srtp2 Remove the libsrtp2 cache."
|
|
|
|
@echo " clean_opus Remove the opus cache."
|
|
|
|
@echo " clean_opus Remove the opus cache."
|
|
|
|
|
|
|
|
@echo " clean_ffmpeg Remove the FFmpeg cache."
|
|
|
|
|
|
|
|
@echo " clean_st Remove the ST cache."
|
|
|
|
@echo "For example:"
|
|
|
|
@echo "For example:"
|
|
|
|
@echo " make"
|
|
|
|
@echo " make"
|
|
|
|
@echo " make help"
|
|
|
|
@echo " make help"
|
|
|
@ -519,6 +521,14 @@ clean_opus:
|
|
|
|
(cd ${SRS_OBJS_DIR}/${SRS_PLATFORM} && rm -rf opus-1.3.1)
|
|
|
|
(cd ${SRS_OBJS_DIR}/${SRS_PLATFORM} && rm -rf opus-1.3.1)
|
|
|
|
@echo "Please rebuild opus by: ./configure"
|
|
|
|
@echo "Please rebuild opus by: ./configure"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
clean_ffmpeg:
|
|
|
|
|
|
|
|
(cd ${SRS_OBJS_DIR}/${SRS_PLATFORM} && rm -rf ffmpeg-4.2-fit)
|
|
|
|
|
|
|
|
@echo "Please rebuild FFmpeg by: ./configure"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
clean_st:
|
|
|
|
|
|
|
|
(cd ${SRS_OBJS_DIR}/${SRS_PLATFORM} && rm -rf st-srs)
|
|
|
|
|
|
|
|
@echo "Please rebuild ST by: ./configure"
|
|
|
|
|
|
|
|
|
|
|
|
clean_nginx:
|
|
|
|
clean_nginx:
|
|
|
|
(cd ${SRS_OBJS_DIR} && rm -rf nginx)
|
|
|
|
(cd ${SRS_OBJS_DIR} && rm -rf nginx)
|
|
|
|
|
|
|
|
|
|
|
|