forked from moonlight-stream/moonlight-chrome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
common-c.mk
49 lines (42 loc) · 1.54 KB
/
common-c.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
COMMON_C_DIR := moonlight-common-c/src
ENET_DIR := moonlight-common-c/enet
RS_DIR := moonlight-common-c/reedsolomon
RS_SOURCE := \
$(RS_DIR)/rs.c \
RS_INCLUDE := $(RS_DIR)
ENET_SOURCE := \
$(ENET_DIR)/callbacks.c \
$(ENET_DIR)/compress.c \
$(ENET_DIR)/host.c \
$(ENET_DIR)/list.c \
$(ENET_DIR)/packet.c \
$(ENET_DIR)/peer.c \
$(ENET_DIR)/protocol.c \
$(ENET_DIR)/unix.c \
$(ENET_DIR)/win32.c \
ENET_INCLUDE := $(ENET_DIR)/include
COMMON_C_SOURCE := \
$(COMMON_C_DIR)/AudioStream.c \
$(COMMON_C_DIR)/ByteBuffer.c \
$(COMMON_C_DIR)/Connection.c \
$(COMMON_C_DIR)/ConnectionTester.c \
$(COMMON_C_DIR)/ControlStream.c \
$(COMMON_C_DIR)/FakeCallbacks.c \
$(COMMON_C_DIR)/InputStream.c \
$(COMMON_C_DIR)/LinkedBlockingQueue.c \
$(COMMON_C_DIR)/Misc.c \
$(COMMON_C_DIR)/Platform.c \
$(COMMON_C_DIR)/PlatformCrypto.c \
$(COMMON_C_DIR)/PlatformSockets.c \
$(COMMON_C_DIR)/RtpAudioQueue.c \
$(COMMON_C_DIR)/RtpVideoQueue.c \
$(COMMON_C_DIR)/RtspConnection.c \
$(COMMON_C_DIR)/RtspParser.c \
$(COMMON_C_DIR)/SdpGenerator.c \
$(COMMON_C_DIR)/SimpleStun.c \
$(COMMON_C_DIR)/VideoDepacketizer.c \
$(COMMON_C_DIR)/VideoStream.c \
$(ENET_SOURCE) \
$(RS_SOURCE) \
COMMON_C_INCLUDE := $(COMMON_C_DIR) $(ENET_INCLUDE) $(RS_INCLUDE)
COMMON_C_C_FLAGS := -DLC_CHROME -Wno-missing-braces -DHAS_SOCKLEN_T=1 -DHAS_FCNTL=1 -DNO_MSGAPI=1