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 7f561e62d..de7014e86 100644
--- a/protocol.mk
+++ b/protocol.mk
@@ -23,5 +23,25 @@ ifdef PS2_USE_USART
23endif 23endif
24 24
25 25
26ifdef SERIAL_MOUSE_MICROSOFT_ENABLE
27 SRC += $(PROTOCOL_DIR)/serial_mouse_microsoft.c
28 OPT_DEFS += -DSERIAL_MOUSE_ENABLE -DSERIAL_MOUSE_MICROSOFT \
29 -DMOUSE_ENABLE
30endif
31
32ifdef SERIAL_MOUSE_MOUSESYSTEMS_ENABLE
33 SRC += $(PROTOCOL_DIR)/serial_mouse_mousesystems.c
34 OPT_DEFS += -DSERIAL_MOUSE_ENABLE -DSERIAL_MOUSE_MOUSESYSTEMS \
35 -DMOUSE_ENABLE
36endif
37
38ifdef SERIAL_MOUSE_USE_SOFT
39 SRC += $(PROTOCOL_DIR)/serial_soft.c
40endif
41
42ifdef SERIAL_MOUSE_USE_UART
43 SRC += $(PROTOCOL_DIR)/serial_uart.c
44endif
45
26# Search Path 46# Search Path
27VPATH += $(TOP_DIR)/protocol 47VPATH += $(TOP_DIR)/protocol