diff options
Diffstat (limited to 'protocol.mk')
| -rw-r--r-- | protocol.mk | 20 |
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 | |||
| 24 | endif | 24 | endif |
| 25 | 25 | ||
| 26 | 26 | ||
| 27 | ifdef SERIAL_MOUSE_MICROSOFT_ENABLE | ||
| 28 | SRC += $(PROTOCOL_DIR)/serial_mouse_microsoft.c | ||
| 29 | OPT_DEFS += -DSERIAL_MOUSE_ENABLE -DSERIAL_MOUSE_MICROSOFT \ | ||
| 30 | -DMOUSE_ENABLE | ||
| 31 | endif | ||
| 32 | |||
| 33 | ifdef SERIAL_MOUSE_MOUSESYSTEMS_ENABLE | ||
| 34 | SRC += $(PROTOCOL_DIR)/serial_mouse_mousesystems.c | ||
| 35 | OPT_DEFS += -DSERIAL_MOUSE_ENABLE -DSERIAL_MOUSE_MOUSESYSTEMS \ | ||
| 36 | -DMOUSE_ENABLE | ||
| 37 | endif | ||
| 38 | |||
| 39 | ifdef SERIAL_MOUSE_USE_SOFT | ||
| 40 | SRC += $(PROTOCOL_DIR)/serial_soft.c | ||
| 41 | endif | ||
| 42 | |||
| 43 | ifdef SERIAL_MOUSE_USE_UART | ||
| 44 | SRC += $(PROTOCOL_DIR)/serial_uart.c | ||
| 45 | endif | ||
| 46 | |||
| 27 | # Search Path | 47 | # Search Path |
| 28 | VPATH += $(TOP_DIR)/protocol | 48 | VPATH += $(TOP_DIR)/protocol |
