1LOCAL_PATH := $(PWD) 2 3all: out/webRTC 4 5include ../build/defaults 6 7TARGET := webRTC 8 9C++FLAGS := \ 10 -I../https/include \ 11 12C++FLAGS += -O0 -g -Wall -Wextra -DTARGET_MAC=1 13 14C++FLAGS += -Wno-gnu-anonymous-struct -Wno-nested-anon-types 15C++FLAGS += -fno-rtti 16 17LDFLAGS += \ 18 -framework CoreFoundation \ 19 -framework Security \ 20 21C++FLAGS += -I/usr/local/opt/openssl/include 22LDFLAGS += -L/usr/local/opt/openssl/lib -lssl -lcrypto 23 24C++FLAGS += -I/usr/local/opt/srtp/include 25LDFLAGS += -L/usr/local/opt/srtp/lib -lsrtp2 26 27STATIC_LIBS := libhttps.a 28 29SRCS := \ 30 DTLS.cpp \ 31 MyWebSocketHandler.cpp \ 32 RTPReceiver.cpp \ 33 RTPSender.cpp \ 34 RTPSession.cpp \ 35 RTPSocketHandler.cpp \ 36 STUNMessage.cpp \ 37 webRTC.cpp \ 38 39include ../build/build_executable 40include ../build/clear 41 42include ../https/local.mak 43