-
Notifications
You must be signed in to change notification settings - Fork 81
/
Makefile
79 lines (65 loc) · 2.5 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
ARCHS := arm64 # arm64e
TARGET := iphone:clang:latest:15.0
INSTALL_TARGET_PROCESSES += audio-player
INSTALL_TARGET_PROCESSES += audio-recorder
INSTALL_TARGET_PROCESSES += audio-mixer
INSTALL_TARGET_PROCESSES += call-recorder
INSTALL_TARGET_PROCESSES += call-monitor
INSTALL_TARGET_PROCESSES += dtmf-decoder
include $(THEOS)/makefiles/common.mk
TOOL_NAME += audio-player
TOOL_NAME += audio-recorder
TOOL_NAME += audio-mixer
TOOL_NAME += call-recorder
TOOL_NAME += call-monitor
TOOL_NAME += dtmf-decoder
audio-player_USE_MODULES := 0
audio-player_FILES += cli/player.mm
audio-player_CFLAGS += -fobjc-arc
audio-player_CFLAGS += -Iinclude
audio-player_CCFLAGS += -std=gnu++17
audio-player_CODESIGN_FLAGS += -Scli/player.plist
audio-player_FRAMEWORKS += AudioToolbox AVFAudio
audio-player_INSTALL_PATH += /usr/local/bin
audio-recorder_USE_MODULES := 0
audio-recorder_FILES += cli/recorder.mm
audio-recorder_CFLAGS += -fobjc-arc
audio-recorder_CFLAGS += -Iinclude
audio-recorder_CCFLAGS += -std=gnu++17
audio-recorder_CODESIGN_FLAGS += -Scli/recorder.plist
audio-recorder_FRAMEWORKS += AudioToolbox AVFAudio
audio-recorder_INSTALL_PATH += /usr/local/bin
audio-mixer_USE_MODULES := 0
audio-mixer_FILES += cli/mixer.mm
audio-mixer_CFLAGS += -fobjc-arc
audio-mixer_CFLAGS += -Iinclude
audio-mixer_CCFLAGS += -std=gnu++17
audio-mixer_CODESIGN_FLAGS += -Scli/mixer.plist
audio-mixer_FRAMEWORKS += AudioToolbox AVFAudio
audio-mixer_INSTALL_PATH += /usr/local/bin
call-recorder_USE_MODULES := 0
call-recorder_FILES += cli/call-recorder.mm
call-recorder_CFLAGS += -fobjc-arc
call-recorder_CFLAGS += -Iinclude
call-recorder_CCFLAGS += -std=gnu++17
call-recorder_CODESIGN_FLAGS += -Scli/call-recorder.plist
call-recorder_FRAMEWORKS += AudioToolbox AVFAudio
call-recorder_INSTALL_PATH += /usr/local/bin
call-monitor_USE_MODULES := 0
call-monitor_FILES += cli/call-monitor.mm
call-monitor_CFLAGS += -fobjc-arc
call-monitor_CFLAGS += -Iinclude
call-monitor_CCFLAGS += -std=gnu++17
call-monitor_CODESIGN_FLAGS += -Scli/call-monitor.plist
call-monitor_FRAMEWORKS += Foundation CallKit CoreTelephony
call-monitor_INSTALL_PATH += /usr/local/bin
dtmf-decoder_USE_MODULES := 0
dtmf-decoder_FILES += cli/dtmf-decoder.mm
dtmf-decoder_CFLAGS += -fobjc-arc
dtmf-decoder_CFLAGS += -Iinclude
dtmf-decoder_CFLAGS += -Wno-unused-variable
dtmf-decoder_CFLAGS += -Wno-unused-but-set-variable
dtmf-decoder_CODESIGN_FLAGS += -Scli/dtmf-decoder.plist
dtmf-decoder_FRAMEWORKS += AudioToolbox AVFAudio
dtmf-decoder_INSTALL_PATH += /usr/local/bin
include $(THEOS_MAKE_PATH)/tool.mk