aboutsummaryrefslogtreecommitdiff
path: root/protocol.mk
diff options
context:
space:
mode:
Diffstat (limited to 'protocol.mk')
-rw-r--r--protocol.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/protocol.mk b/protocol.mk
index ca435ba43..e057d1d60 100644
--- a/protocol.mk
+++ b/protocol.mk
@@ -24,5 +24,25 @@ ifdef PS2_USE_USART
24endif 24endif
25 25
26 26
27ifdef SERIAL_MOUSE_MICROSOFT_ENABLE
28 SRC += $(PROTOCOL_DIR)/serial_mouse_microsoft.c
29 OPT_DEFS += -DSERIAL_MOUSE_ENABLE -DSERIAL_MOUSE_MICROSOFT \
30 -DMOUSE_ENABLE
31endif
32
33ifdef SERIAL_MOUSE_MOUSESYSTEMS_ENABLE
34 SRC += $(PROTOCOL_DIR)/serial_mouse_mousesystems.c
35 OPT_DEFS += -DSERIAL_MOUSE_ENABLE -DSERIAL_MOUSE_MOUSESYSTEMS \
36 -DMOUSE_ENABLE
37endif
38
39ifdef SERIAL_MOUSE_USE_SOFT
40 SRC += $(PROTOCOL_DIR)/serial_soft.c
41endif
42
43ifdef SERIAL_MOUSE_USE_UART
44 SRC += $(PROTOCOL_DIR)/serial_uart.c
45endif
46
27# Search Path 47# Search Path
28VPATH += $(TOP_DIR)/protocol 48VPATH += $(TOP_DIR)/protocol