-
Notifications
You must be signed in to change notification settings - Fork 16
/
atom.mk
63 lines (53 loc) · 1.44 KB
/
atom.mk
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
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := librtsp
LOCAL_CATEGORY_PATH := libs
LOCAL_DESCRIPTION := Real Time Streaming Protocol library
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_CFLAGS := -DRTSP_API_EXPORTS -fvisibility=hidden -std=gnu99 -D_GNU_SOURCE
LOCAL_SRC_FILES := \
src/rtsp.c \
src/rtsp_client.c \
src/rtsp_client_session.c \
src/rtsp_server.c \
src/rtsp_server_request.c \
src/rtsp_server_session.c
LOCAL_LIBRARIES := \
libfutils \
libpomp \
libulog
ifeq ("$(TARGET_OS)","windows")
LOCAL_CFLAGS += -D_WIN32_WINNT=0x0600
LOCAL_LDLIBS += -lws2_32
endif
include $(BUILD_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := librtsp-internal
LOCAL_DESCRIPTION := Real Time Streaming Protocol library internal headers
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/src/internal/
include $(BUILD_CUSTOM)
include $(CLEAR_VARS)
LOCAL_MODULE := rtsp-server-test
LOCAL_CATEGORY_PATH := multimedia
LOCAL_DESCRIPTION := Real Time Streaming Protocol library server test program
LOCAL_SRC_FILES := \
tests/rtsp_server_test.c
LOCAL_LIBRARIES := \
libfutils \
libpomp \
librtsp \
libsdp \
libulog
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_MODULE := rtsp-client-test
LOCAL_CATEGORY_PATH := multimedia
LOCAL_DESCRIPTION := Real Time Streaming Protocol library client test program
LOCAL_SRC_FILES := \
tests/rtsp_client_test.c
LOCAL_LIBRARIES := \
libpomp \
librtsp \
libsdp \
libulog
include $(BUILD_EXECUTABLE)