Changes in uspace/srv/hid/kbd/Makefile [b3d513f:1b1164e8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/kbd/Makefile
rb3d513f r1b1164e8 28 28 # 29 29 30 include Makefile.common 30 USPACE_PREFIX = ../../.. 31 ROOT_PATH = $(USPACE_PREFIX)/.. 31 32 32 .PHONY: all clean 33 COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common 34 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config 33 35 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK) 36 EXTRA_CFLAGS = -Iinclude 37 BINARY = kbd 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 find . -name '*.o' -follow -exec rm \{\} \; 39 -include $(COMMON_MAKEFILE) 40 -include $(CONFIG_MAKEFILE) 41 42 ## Sources 43 # 44 45 SOURCES = \ 46 generic/kbd.c \ 47 genarch/gsp.c \ 48 genarch/stroke.c \ 49 layout/cz.c \ 50 layout/us_qwerty.c \ 51 layout/us_dvorak.c 52 53 ifeq ($(UARCH),amd64) 54 SOURCES += \ 55 port/chardev.c \ 56 ctl/pc.c 57 endif 58 59 ifeq ($(UARCH),arm32) 60 ifeq ($(MACHINE),testarm) 61 SOURCES += \ 62 port/gxemul.c 63 64 ifeq ($(CONFIG_FB),y) 65 SOURCES += \ 66 ctl/gxe_fb.c 67 else 68 SOURCES += \ 69 ctl/stty.c 70 endif 71 endif 72 ifeq ($(MACHINE),integratorcp) 73 SOURCES += \ 74 port/pl050.c \ 75 ctl/pl050.c 76 endif 77 endif 78 79 ifeq ($(UARCH),ia32) 80 SOURCES += \ 81 port/chardev.c \ 82 ctl/pc.c 83 endif 84 85 ifeq ($(MACHINE),i460GX) 86 SOURCES += \ 87 port/chardev.c \ 88 ctl/pc.c 89 endif 90 91 ifeq ($(MACHINE),ski) 92 SOURCES += \ 93 port/ski.c \ 94 ctl/stty.c 95 endif 96 97 ifeq ($(MACHINE),msim) 98 SOURCES += \ 99 port/msim.c \ 100 ctl/stty.c 101 endif 102 103 ifeq ($(MACHINE),lgxemul) 104 SOURCES += \ 105 port/gxemul.c 106 107 ifeq ($(CONFIG_FB),y) 108 SOURCES += \ 109 ctl/gxe_fb.c 110 else 111 SOURCES += \ 112 ctl/stty.c 113 endif 114 endif 115 116 ifeq ($(MACHINE),bgxemul) 117 SOURCES += \ 118 port/gxemul.c 119 120 ifeq ($(CONFIG_FB),y) 121 SOURCES += \ 122 ctl/gxe_fb.c 123 else 124 SOURCES += \ 125 ctl/stty.c 126 endif 127 endif 128 129 ifeq ($(UARCH),ppc32) 130 SOURCES += \ 131 port/adb.c \ 132 ctl/apple.c 133 endif 134 135 ifeq ($(UARCH),sparc64) 136 ifeq ($(PROCESSOR),sun4v) 137 SOURCES += \ 138 port/niagara.c \ 139 ctl/stty.c 140 else 141 ifeq ($(MACHINE),serengeti) 142 SOURCES += \ 143 port/sgcn.c \ 144 ctl/stty.c 145 endif 146 ifeq ($(MACHINE),generic) 147 SOURCES += \ 148 port/sun.c \ 149 port/z8530.c \ 150 port/ns16550.c \ 151 ctl/sun.c 152 endif 153 endif 154 endif 155 156 ifeq ($(UARCH),abs32le) 157 SOURCES += \ 158 port/dummy.c \ 159 ctl/pc.c 160 endif 161 162 include $(USPACE_PREFIX)/Makefile.common
Note:
See TracChangeset
for help on using the changeset viewer.