Changeset f89979b in mainline for uspace/srv/kbd/Makefile
- Timestamp:
- 2009-02-17T23:05:15Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 24ff4df
- Parents:
- 96e0748d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/kbd/Makefile
r96e0748d rf89979b 47 47 generic/key_buffer.c 48 48 49 ARCH_SOURCES = \ 50 arch/$(UARCH)/src/kbd.c 51 49 ARCH_SOURCES = 50 GENARCH_SOURCES = 51 52 ifeq ($(KBD_LAYOUT), us_qwerty) 53 GENARCH_SOURCES += layout/us_qwerty.c 54 endif 55 ifeq ($(KBD_LAYOUT), us_dvorak) 56 GENARCH_SOURCES += layout/us_dvorak.c 57 endif 58 59 ifeq ($(UARCH), amd64) 60 GENARCH_SOURCES += \ 61 port/i8042.c \ 62 ctl/pc.c 63 endif 64 ifeq ($(UARCH), arm32) 65 GENARCH_SOURCES += \ 66 port/gxemul.c 67 ifeq ($(CONFIG_FB), y) 68 GENARCH_SOURCES += \ 69 ctl/gxe_fb.c 70 else 71 GENARCH_SOURCES += \ 72 ctl/stty.c 73 endif 74 endif 52 75 ifeq ($(UARCH), ia32) 53 ARCH_SOURCES += \ 54 arch/$(UARCH)/src/mouse.c \ 55 arch/$(UARCH)/src/scanc.c 56 GENARCH_SOURCES = \ 57 genarch/src/kbd.c 58 CFLAGS += -DMOUSE_ENABLED 76 GENARCH_SOURCES += \ 77 port/i8042.c \ 78 ctl/pc.c 59 79 endif 60 80 ifeq ($(UARCH), ia64) 61 ARCH_SOURCES += \ 62 arch/$(UARCH)/src/mouse.c \ 63 arch/$(UARCH)/src/scanc.c \ 64 arch/$(UARCH)/src/lkbd.c 65 GENARCH_SOURCES = \ 66 genarch/src/kbd.c 67 CFLAGS += -DMOUSE_ENABLED 68 endif 69 ifeq ($(UARCH), amd64) 70 ARCH_SOURCES += \ 71 arch/$(UARCH)/src/mouse.c \ 72 arch/$(UARCH)/src/scanc.c 73 GENARCH_SOURCES = \ 74 genarch/src/kbd.c 75 CFLAGS += -DMOUSE_ENABLED 81 GENARCH_SOURCES += \ 82 port/dummy.c \ 83 ctl/stty.c 84 endif 85 ifeq ($(MACHINE), msim) 86 GENARCH_SOURCES += \ 87 port/msim.c \ 88 ctl/stty.c 89 endif 90 ifeq ($(MACHINE), lgxemul) 91 GENARCH_SOURCES += \ 92 port/gxemul.c 93 ifeq ($(CONFIG_FB), y) 94 GENARCH_SOURCES += \ 95 ctl/gxe_fb.c 96 else 97 GENARCH_SOURCES += \ 98 ctl/stty.c 99 endif 100 endif 101 ifeq ($(MACHINE), bgxemul) 102 GENARCH_SOURCES += \ 103 port/gxemul.c \ 104 ctl/stty.c 105 endif 106 ifeq ($(UARCH), ppc32) 107 GENARCH_SOURCES += \ 108 port/dummy.c \ 109 ctl/stty.c 76 110 endif 77 111 ifeq ($(UARCH), sparc64) 78 ARCH_SOURCES += \ 79 arch/$(UARCH)/src/scanc.c \ 80 arch/$(UARCH)/src/sgcn.c 81 GENARCH_SOURCES = \ 82 genarch/src/kbd.c \ 83 genarch/src/nofb.c 84 endif 85 ifeq ($(UARCH), arm32) 86 ARCH_SOURCES += \ 87 arch/$(UARCH)/src/kbd_gxemul.c 88 endif 89 ifeq ($(UARCH), mips32) 90 GENARCH_SOURCES += \ 91 genarch/src/nofb.c 92 endif 93 ifeq ($(UARCH), mips32eb) 94 GENARCH_SOURCES += \ 95 genarch/src/nofb.c 96 endif 112 GENARCH_SOURCES += \ 113 port/dummy.c \ 114 ctl/stty.c 115 endif 116 117 # ifeq ($(UARCH), ia32) 118 # ARCH_SOURCES += \ 119 # arch/$(UARCH)/src/mouse.c \ 120 # arch/$(UARCH)/src/scanc.c 121 # GENARCH_SOURCES = \ 122 # genarch/src/kbd.c 123 # CFLAGS += -DMOUSE_ENABLED 124 # endif 125 # ifeq ($(UARCH), ia64) 126 # ARCH_SOURCES += \ 127 # arch/$(UARCH)/src/mouse.c \ 128 # arch/$(UARCH)/src/scanc.c \ 129 # arch/$(UARCH)/src/lkbd.c 130 # GENARCH_SOURCES = \ 131 # genarch/src/kbd.c 132 # CFLAGS += -DMOUSE_ENABLED 133 # endif 134 # ifeq ($(UARCH), amd64) 135 # ARCH_SOURCES += \ 136 # arch/$(UARCH)/src/mouse.c \ 137 # arch/$(UARCH)/src/scanc.c 138 # GENARCH_SOURCES = \ 139 # genarch/src/kbd.c 140 # CFLAGS += -DMOUSE_ENABLED 141 # endif 142 # ifeq ($(UARCH), sparc64) 143 # ARCH_SOURCES += \ 144 # arch/$(UARCH)/src/scanc.c \ 145 # arch/$(UARCH)/src/sgcn.c 146 # GENARCH_SOURCES = \ 147 # genarch/src/kbd.c \ 148 # genarch/src/nofb.c 149 # endif 150 # ifeq ($(UARCH), arm32) 151 # ARCH_SOURCES += \ 152 # arch/$(UARCH)/src/kbd_gxemul.c 153 # endif 154 # ifeq ($(UARCH), mips32) 155 # GENARCH_SOURCES += \ 156 # genarch/src/nofb.c 157 # endif 158 # ifeq ($(UARCH), mips32eb) 159 # GENARCH_SOURCES += \ 160 # genarch/src/nofb.c 161 # endif 97 162 98 163 GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES)))
Note:
See TracChangeset
for help on using the changeset viewer.