-
Notifications
You must be signed in to change notification settings - Fork 22
/
Makefile
executable file
·61 lines (51 loc) · 2.9 KB
/
Makefile
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
###############################################
#
# app/ipcam/rtsp/livemedia
#
# 2010/02/03 - [Jian Tang] created file
#
# Copyright (C) 2010, Ambarella, Inc.
#
# All rights reserved. No Part of this file may be reproduced, stored
# in a retrieval system, or transmitted, in any form, or by any means,
# electronic, mechanical, photocopying, recording, or otherwise,
# without the prior consent of Ambarella, Inc.
#
###############################################
default: all
PWD := $(shell pwd)
AMBABUILD_TOPDIR ?= $(word 1, $(subst /app/ipcam, ,$(PWD)))
export AMBABUILD_TOPDIR
include $(AMBABUILD_TOPDIR)/build/app/common.mk
.PHONY: all depend clean
all:
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/liveMedia $@
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/groupsock $@
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/UsageEnvironment $@
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/BasicUsageEnvironment $@
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/testProgs $@
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/testG711 $@
$(AMBA_MAKEFILE_V)mkdir -p $(APP_PATH)
$(AMBA_MAKEFILE_V)cp -a $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/testProgs/testAMRAudioStreamer $(APP_PATH)
$(AMBA_MAKEFILE_V)chmod +x $(APP_PATH)/testAMRAudioStreamer
$(AMBA_MAKEFILE_V)cp -a $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/testProgs/testOnDemandRTSPServer $(APP_PATH)
$(AMBA_MAKEFILE_V)chmod +x $(APP_PATH)/testOnDemandRTSPServer
$(AMBA_MAKEFILE_V)cp -a $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/testG711/testG711 $(APP_PATH)
$(AMBA_MAKEFILE_V)chmod +x $(APP_PATH)/testG711
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/mediaServer $@
clean:
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/liveMedia $@
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/groupsock $@
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/UsageEnvironment $@
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/BasicUsageEnvironment $@
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/testProgs $@
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/mediaServer $@
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/testG711 $@
rm -rf obj/
depend:
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/liveMedia $@
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/groupsock $@
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/UsageEnvironment $@
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/BasicUsageEnvironment $@
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/testProgs $@
$(AMBA_MAKEFILE_V)$(MAKE) -C $(AMBABUILD_TOPDIR)/app/ipcam/rtsp_audio/mediaServer $@