Changeset 9141377 in mainline for uspace/kbd/Makefile
- Timestamp:
- 2006-09-07T19:45:46Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 801579fe
- Parents:
- 9dae51d7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/kbd/Makefile
r9dae51d7 r9141377 50 50 51 51 ifeq ($(ARCH), ia32) 52 ARCH_SOURCES += arch/$(ARCH)/src/mouse.c 52 ARCH_SOURCES += \ 53 arch/$(ARCH)/src/mouse.c \ 54 arch/$(ARCH)/src/scanc.c 55 GENARCH_SOURCES = \ 56 genarch/src/kbd.c 53 57 CFLAGS += -DMOUSE_ENABLED 54 58 endif 55 59 ifeq ($(ARCH), amd64) 56 ARCH_SOURCES += arch/$(ARCH)/src/mouse.c 60 ARCH_SOURCES += \ 61 arch/$(ARCH)/src/mouse.c \ 62 arch/$(ARCH)/src/scanc.c 63 GENARCH_SOURCES = \ 64 genarch/src/kbd.c 57 65 CFLAGS += -DMOUSE_ENABLED 58 66 endif 59 67 ifeq ($(ARCH), sparc64) 68 ARCH_SOURCES += \ 69 arch/$(ARCH)/src/scanc.c 70 GENARCH_SOURCES = \ 71 genarch/src/kbd.c 72 endif 60 73 61 74 62 75 GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES))) 63 76 ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES))) 77 GENARCH_OBJECTS := $(addsuffix .o,$(basename $(GENARCH_SOURCES))) 64 78 65 79 .PHONY: all clean depend disasm links … … 71 85 links: 72 86 ln -sfn ../arch/$(ARCH)/include include/arch 87 ln -sfn ../genarch/include include/genarch 73 88 74 89 clean: 75 -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend include/arch 90 -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend include/arch include/genarch 76 91 77 92 depend: 78 93 $(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend 79 94 80 $(OUTPUT): $(ARCH_OBJECTS) $(GENERIC_OBJECTS) $( LIBS)81 $(LD) -T $(LIBC_PREFIX)/arch/$(ARCH)/_link.ld -e __entry_driver $(GENERIC_OBJECTS) $(ARCH_OBJECTS) $( LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map95 $(OUTPUT): $(ARCH_OBJECTS) $(GENERIC_OBJECTS) $(GENARCH_OBJECTS) $(LIBS) 96 $(LD) -T $(LIBC_PREFIX)/arch/$(ARCH)/_link.ld -e __entry_driver $(GENERIC_OBJECTS) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 82 97 83 98 disasm:
Note:
See TracChangeset
for help on using the changeset viewer.