Changeset fcd7053 in mainline for uspace/srv/kbd/Makefile
- Timestamp:
- 2009-02-12T20:11:25Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fa024ce
- Parents:
- 84266669
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/kbd/Makefile
r84266669 rfcd7053 30 30 # 31 31 32 -include ../../../Makefile.config33 34 32 LIBC_PREFIX = ../../lib/libc 35 33 SOFTINT_PREFIX = ../../lib/softint 34 36 35 include $(LIBC_PREFIX)/Makefile.toolchain 37 36 … … 49 48 50 49 ARCH_SOURCES = \ 51 arch/$( ARCH)/src/kbd.c50 arch/$(UARCH)/src/kbd.c 52 51 53 ifeq ($( ARCH), ia32)52 ifeq ($(UARCH), ia32) 54 53 ARCH_SOURCES += \ 55 arch/$( ARCH)/src/mouse.c \56 arch/$( ARCH)/src/scanc.c54 arch/$(UARCH)/src/mouse.c \ 55 arch/$(UARCH)/src/scanc.c 57 56 GENARCH_SOURCES = \ 58 57 genarch/src/kbd.c 59 58 CFLAGS += -DMOUSE_ENABLED 60 59 endif 61 ifeq ($( ARCH), ia64)60 ifeq ($(UARCH), ia64) 62 61 ARCH_SOURCES += \ 63 arch/$( ARCH)/src/mouse.c \64 arch/$( ARCH)/src/scanc.c \65 arch/$( ARCH)/src/lkbd.c62 arch/$(UARCH)/src/mouse.c \ 63 arch/$(UARCH)/src/scanc.c \ 64 arch/$(UARCH)/src/lkbd.c 66 65 GENARCH_SOURCES = \ 67 66 genarch/src/kbd.c 68 67 CFLAGS += -DMOUSE_ENABLED 69 68 endif 70 ifeq ($( ARCH), amd64)69 ifeq ($(UARCH), amd64) 71 70 ARCH_SOURCES += \ 72 arch/$( ARCH)/src/mouse.c \73 arch/$( ARCH)/src/scanc.c71 arch/$(UARCH)/src/mouse.c \ 72 arch/$(UARCH)/src/scanc.c 74 73 GENARCH_SOURCES = \ 75 74 genarch/src/kbd.c 76 75 CFLAGS += -DMOUSE_ENABLED 77 76 endif 78 ifeq ($( ARCH), sparc64)77 ifeq ($(UARCH), sparc64) 79 78 ARCH_SOURCES += \ 80 arch/$( ARCH)/src/scanc.c \81 arch/$( ARCH)/src/sgcn.c79 arch/$(UARCH)/src/scanc.c \ 80 arch/$(UARCH)/src/sgcn.c 82 81 GENARCH_SOURCES = \ 83 82 genarch/src/kbd.c \ 84 83 genarch/src/nofb.c 85 84 endif 86 ifeq ($( ARCH), arm32)85 ifeq ($(UARCH), arm32) 87 86 ARCH_SOURCES += \ 88 arch/$( ARCH)/src/kbd_gxemul.c87 arch/$(UARCH)/src/kbd_gxemul.c 89 88 endif 90 ifeq ($( ARCH), mips32)89 ifeq ($(UARCH), mips32) 91 90 GENARCH_SOURCES += \ 92 91 genarch/src/nofb.c 93 92 endif 94 ifeq ($( ARCH), mips32eb)93 ifeq ($(UARCH), mips32eb) 95 94 GENARCH_SOURCES += \ 96 95 genarch/src/nofb.c … … 110 109 111 110 links: 112 ln -sfn ../arch/$( ARCH)/include include/arch111 ln -sfn ../arch/$(UARCH)/include include/arch 113 112 ln -sfn ../genarch/include include/genarch 114 113 … … 120 119 121 120 $(OUTPUT): $(OBJECTS) $(LIBS) 122 $(LD) -T $(LIBC_PREFIX)/arch/$( ARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map121 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 123 122 124 123 disasm: $(OUTPUT).disasm
Note:
See TracChangeset
for help on using the changeset viewer.