mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
26 lines
1 KiB
Makefile
26 lines
1 KiB
Makefile
srtp_dir?=externals/srtp
|
|
|
|
$(BUILDER_SRC_DIR)/$(srtp_dir)/configure: $(BUILDER_SRC_DIR)/$(srtp_dir)/configure.in
|
|
cd $(BUILDER_SRC_DIR)/$(srtp_dir) \
|
|
&& autoconf
|
|
$(BUILDER_BUILD_DIR)/$(srtp_dir)/Makefile: $(BUILDER_SRC_DIR)/$(srtp_dir)/configure $(BUILDER_SRC_DIR)/$(srtp_dir)/Makefile.in
|
|
mkdir -p $(BUILDER_BUILD_DIR)/$(srtp_dir)
|
|
cd $(BUILDER_BUILD_DIR)/$(srtp_dir)/\
|
|
&& CONFIG_SITE=$(BUILDER_SRC_DIR)/build/$(config_site) \
|
|
$(BUILDER_SRC_DIR)/$(srtp_dir)/configure -prefix=$(prefix) --host=$(host) ${library_mode}
|
|
|
|
build-srtp: $(BUILDER_BUILD_DIR)/$(srtp_dir)/Makefile
|
|
host_alias=$(host) && . /$(BUILDER_SRC_DIR)/build/$(config_site) && \
|
|
cd $(BUILDER_BUILD_DIR)/$(srtp_dir) && make libsrtp.a AR="$$AR" && make install
|
|
|
|
clean-srtp:
|
|
-cd $(BUILDER_BUILD_DIR)/$(srtp_dir) && make clean
|
|
|
|
veryclean-srtp:
|
|
-cd $(BUILDER_BUILD_DIR)/$(srtp_dir) && make distclean
|
|
-rm -rf $(BUILDER_BUILD_DIR)/$(srtp_dir)
|
|
-rm -f $(BUILDER_SRC_DIR)/$(srtp_dir)/configure
|
|
|
|
clean-makefile-srtp:
|
|
-cd $(BUILDER_BUILD_DIR)/$(srtp_dir) && rm -f Makefile
|
|
|