Changeset e035612 in mainline
- Timestamp:
- 2009-10-14T15:00:02Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 68834d85, 7c7a3209, 81342f7
- Parents:
- c088fd4
- Files:
-
- 29 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
rc088fd4 re035612 30 30 # 31 31 32 .PHONY: all config distclean clean cscope32 .PHONY: all config config_default distclean clean cscope 33 33 34 34 all: Makefile.config config.h config.defs … … 37 37 $(MAKE) -C boot 38 38 39 Makefile.config config.h config.defs: HelenOS.config 39 Makefile.config: config_default 40 41 config.h: config_default 42 43 config.defs: config_default 44 45 config_default: HelenOS.config 40 46 tools/config.py HelenOS.config default 41 47 42 config: 48 config: HelenOS.config 43 49 tools/config.py HelenOS.config 44 50 -
uspace/Makefile
rc088fd4 re035612 33 33 34 34 DIRS = \ 35 lib/libc \36 lib/libfs \37 lib/libblock \38 lib/softint \39 lib/softfloat \40 35 srv/bd/ata_bd \ 41 36 srv/bd/file_bd \ … … 76 71 endif 77 72 73 LIBC = lib/libc 74 LIBS = \ 75 lib/libfs \ 76 lib/libblock \ 77 lib/softint \ 78 lib/softfloat 79 80 LIBC_BUILD = $(addsuffix .build,$(LIBC)) 81 LIBS_BUILD = $(addsuffix .build,$(LIBS)) 82 78 83 BUILDS := $(addsuffix .build,$(DIRS)) 79 CLEANS := $(addsuffix .clean,$(DIRS)) 84 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC)) 80 85 81 .PHONY: all $( BUILDS) $(CLEANS) clean86 .PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean 82 87 83 88 all: ../Makefile.config ../config.h ../config.defs $(BUILDS) … … 88 93 -$(MAKE) -C $(basename $@) clean 89 94 90 $(BUILDS): 95 $(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) 91 96 $(MAKE) -C $(basename $@) all 97 98 $(LIBS_BUILD): $(LIBC_BUILD) 99 $(MAKE) -C $(basename $@) all 100 101 $(LIBC_BUILD): 102 $(MAKE) -C $(basename $@) all -
uspace/app/bdsh/Makefile
rc088fd4 re035612 117 117 118 118 # Everything else is a phony target 119 .PHONY: all clean distclean depend disasm119 .PHONY: all clean distclean depend 120 120 121 all: $(PROGRAM) disasm121 all: $(PROGRAM) $(PROGRAM).disasm 122 122 123 123 clean: … … 131 131 @echo '' 132 132 133 disasm: 134 $(OBJDUMP) -d $ (PROGRAM) >$(PROGRAM).disasm133 $(PROGRAM).disasm: $(PROGRAM) 134 $(OBJDUMP) -d $< > $@ 135 135 136 136 distclean: clean -
uspace/app/edit/Makefile
rc088fd4 re035612 48 48 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 49 49 50 .PHONY: all clean depend disasm50 .PHONY: all clean depend 51 51 52 52 all: $(OUTPUT) $(OUTPUT).disasm … … 63 63 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 64 64 65 disasm: $(OUTPUT).disasm66 67 65 $(OUTPUT).disasm: $(OUTPUT) 68 66 $(OBJDUMP) -d $< > $@ -
uspace/app/getvc/Makefile
rc088fd4 re035612 50 50 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 51 51 52 .PHONY: all clean depend disasm52 .PHONY: all clean depend 53 53 54 54 all: $(OUTPUT) $(OUTPUT).disasm … … 65 65 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 66 66 67 disasm: $(OUTPUT).disasm68 69 67 $(OUTPUT).disasm: $(OUTPUT) 70 68 $(OBJDUMP) -d $< > $@ -
uspace/app/init/Makefile
rc088fd4 re035612 47 47 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 48 48 49 .PHONY: all clean depend disasm49 .PHONY: all clean depend 50 50 51 51 all: $(OUTPUT) $(OUTPUT).disasm … … 62 62 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 63 63 64 disasm: $(OUTPUT).disasm65 66 64 $(OUTPUT).disasm: $(OUTPUT) 67 65 $(OBJDUMP) -d $< > $@ -
uspace/app/klog/Makefile
rc088fd4 re035612 47 47 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 48 48 49 .PHONY: all clean depend disasm49 .PHONY: all clean depend 50 50 51 51 all: $(OUTPUT) $(OUTPUT).disasm … … 62 62 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 63 63 64 disasm: $(OUTPUT).disasm65 66 64 $(OUTPUT).disasm: $(OUTPUT) 67 65 $(OBJDUMP) -d $< > $@ -
uspace/app/tester/Makefile
rc088fd4 re035612 78 78 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 79 79 80 disasm: $(OUTPUT).disasm81 82 80 $(OUTPUT).disasm: $(OUTPUT) 83 81 $(OBJDUMP) -d $< > $@ -
uspace/app/tetris/Makefile
rc088fd4 re035612 10 10 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 11 11 12 .PHONY: all clean depend disasm12 .PHONY: all clean depend 13 13 14 14 all: $(OUTPUT) $(OUTPUT).disasm … … 25 25 -rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend *.o 26 26 27 disasm: $(OUTPUT).disasm28 29 27 $(OUTPUT).disasm: $(OUTPUT) 30 28 $(OBJDUMP) -d $< > $@ -
uspace/app/trace/Makefile
rc088fd4 re035612 52 52 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 53 53 54 .PHONY: all clean depend disasm54 .PHONY: all clean depend 55 55 56 all: $(OUTPUT) disasm56 all: $(OUTPUT) $(OUTPUT).disasm 57 57 58 58 -include Makefile.depend … … 67 67 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 68 68 69 disasm: 70 $(OBJDUMP) -d $ (OUTPUT) >$(OUTPUT).disasm69 $(OUTPUT).disasm: $(OUTPUT) 70 $(OBJDUMP) -d $< > $@ 71 71 72 72 %.o: %.S -
uspace/lib/libc/Makefile
rc088fd4 re035612 96 96 .PHONY: all clean depend kerninc 97 97 98 all: kerninc libc.a arch/$(UARCH)/_link.ld 99 100 kerninc: 101 ln -sfn ../../../../kernel/generic/include include/kernel 102 ln -sfn kernel/arch include/arch 103 ln -sfn ../arch/$(UARCH)/include include/libarch 98 all: libc.a 104 99 105 100 -include Makefile.depend … … 109 104 find generic/ arch/$(UARCH)/ -name '*.o' -follow -exec rm \{\} \; 110 105 111 depend: kerninc 106 depend: kerninc arch/$(UARCH)/_link.ld 112 107 -makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) -- $(ARCH_SOURCES) $(GENERIC_SOURCES) > Makefile.depend 2> /dev/null 113 108 114 109 libc.a: depend $(ARCH_OBJECTS) $(GENERIC_OBJECTS) 115 110 $(AR) rc libc.a $(LIBS) $(ARCH_OBJECTS) $(GENERIC_OBJECTS) 111 112 kerninc: 113 ln -sfn ../../../../kernel/generic/include include/kernel 114 ln -sfn kernel/arch include/arch 115 ln -sfn ../arch/$(UARCH)/include include/libarch 116 116 117 117 arch/$(UARCH)/_link.ld: arch/$(UARCH)/_link.ld.in -
uspace/srv/bd/ata_bd/Makefile
rc088fd4 re035612 47 47 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 48 48 49 .PHONY: all clean depend disasm49 .PHONY: all clean depend 50 50 51 51 all: $(OUTPUT) $(OUTPUT).disasm … … 62 62 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 63 63 64 disasm: $(OUTPUT).disasm65 66 64 $(OUTPUT).disasm: $(OUTPUT) 67 65 $(OBJDUMP) -d $< > $@ -
uspace/srv/bd/file_bd/Makefile
rc088fd4 re035612 47 47 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 48 48 49 .PHONY: all clean depend disasm49 .PHONY: all clean depend 50 50 51 51 all: $(OUTPUT) $(OUTPUT).disasm … … 62 62 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 63 63 64 disasm: $(OUTPUT).disasm65 66 64 $(OUTPUT).disasm: $(OUTPUT) 67 65 $(OBJDUMP) -d $< > $@ -
uspace/srv/bd/gxe_bd/Makefile
rc088fd4 re035612 47 47 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 48 48 49 .PHONY: all clean depend disasm49 .PHONY: all clean depend 50 50 51 51 all: $(OUTPUT) $(OUTPUT).disasm … … 62 62 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 63 63 64 disasm: $(OUTPUT).disasm65 66 64 $(OUTPUT).disasm: $(OUTPUT) 67 65 $(OBJDUMP) -d $< > $@ -
uspace/srv/bd/rd/Makefile
rc088fd4 re035612 47 47 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 48 48 49 .PHONY: all clean depend disasm49 .PHONY: all clean depend 50 50 51 51 all: $(OUTPUT) $(OUTPUT).disasm … … 62 62 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 63 63 64 disasm: $(OUTPUT).disasm65 66 64 $(OUTPUT).disasm: $(OUTPUT) 67 65 $(OBJDUMP) -d $< > $@ -
uspace/srv/cir/fhc/Makefile
rc088fd4 re035612 47 47 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 48 48 49 .PHONY: all clean depend disasm49 .PHONY: all clean depend 50 50 51 51 all: $(OUTPUT) $(OUTPUT).disasm … … 62 62 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 63 63 64 disasm: $(OUTPUT).disasm65 66 64 $(OUTPUT).disasm: $(OUTPUT) 67 65 $(OBJDUMP) -d $< > $@ -
uspace/srv/cir/obio/Makefile
rc088fd4 re035612 47 47 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 48 48 49 .PHONY: all clean depend disasm49 .PHONY: all clean depend 50 50 51 51 all: $(OUTPUT) $(OUTPUT).disasm … … 62 62 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 63 63 64 disasm: $(OUTPUT).disasm65 66 64 $(OUTPUT).disasm: $(OUTPUT) 67 65 $(OBJDUMP) -d $< > $@ -
uspace/srv/console/Makefile
rc088fd4 re035612 67 67 OBJECTS := $(GENERIC_OBJECTS) 68 68 69 .PHONY: all clean depend disasm69 .PHONY: all clean depend 70 70 71 71 all: $(OUTPUT) $(OUTPUT).disasm … … 81 81 $(OUTPUT): $(OBJECTS) $(LIBS) 82 82 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 83 84 disasm: $(OUTPUT).disasm85 83 86 84 $(OUTPUT).disasm: $(OUTPUT) -
uspace/srv/devmap/Makefile
rc088fd4 re035612 48 48 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 49 49 50 .PHONY: all clean depend disasm50 .PHONY: all clean depend 51 51 52 52 all: $(OUTPUT) $(OUTPUT).disasm … … 63 63 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 64 64 65 disasm: $(OUTPUT).disasm66 67 65 $(OUTPUT).disasm: $(OUTPUT) 68 66 $(OBJDUMP) -d $< > $@ -
uspace/srv/fb/Makefile
rc088fd4 re035612 86 86 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 87 87 88 .PHONY: all clean depend disasm88 .PHONY: all clean depend 89 89 90 90 all: $(OUTPUT) $(OUTPUT).disasm … … 101 101 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 102 102 103 disasm: $(OUTPUT).disasm104 105 103 $(OUTPUT).disasm: $(OUTPUT) 106 104 $(OBJDUMP) -d $< > $@ -
uspace/srv/fs/devfs/Makefile
rc088fd4 re035612 36 36 include $(LIBC_PREFIX)/Makefile.toolchain 37 37 38 CFLAGS += -I $(LIBFS_PREFIX) 38 CFLAGS += -I $(LIBFS_PREFIX) 39 39 40 40 LIBS = \ … … 53 53 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 54 54 55 .PHONY: all clean depend disasm55 .PHONY: all clean depend 56 56 57 57 all: $(OUTPUT) $(OUTPUT).disasm … … 68 68 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 69 69 70 disasm: $(OUTPUT).disasm71 72 70 $(OUTPUT).disasm: $(OUTPUT) 73 71 $(OBJDUMP) -d $< > $@ -
uspace/srv/fs/fat/Makefile
rc088fd4 re035612 57 57 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 58 58 59 .PHONY: all clean depend disasm59 .PHONY: all clean depend 60 60 61 61 all: $(OUTPUT) $(OUTPUT).disasm … … 72 72 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 73 73 74 disasm: $(OUTPUT).disasm75 76 74 $(OUTPUT).disasm: $(OUTPUT) 77 75 $(OBJDUMP) -d $< > $@ -
uspace/srv/fs/tmpfs/Makefile
rc088fd4 re035612 55 55 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 56 56 57 .PHONY: all clean depend disasm57 .PHONY: all clean depend 58 58 59 59 all: $(OUTPUT) $(OUTPUT).disasm … … 70 70 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 71 71 72 disasm: $(OUTPUT).disasm73 74 72 $(OUTPUT).disasm: $(OUTPUT) 75 73 $(OBJDUMP) -d $< > $@ -
uspace/srv/kbd/Makefile
rc088fd4 re035612 156 156 OBJECTS := $(ARCH_OBJECTS) $(GENERIC_OBJECTS) $(GENARCH_OBJECTS) 157 157 158 .PHONY: all clean depend disasm links158 .PHONY: all clean depend 159 159 160 160 all: $(OUTPUT) $(OUTPUT).disasm … … 171 171 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 172 172 173 disasm: $(OUTPUT).disasm174 175 173 $(OUTPUT).disasm: $(OUTPUT) 176 174 $(OBJDUMP) -d $< > $@ -
uspace/srv/loader/Makefile
rc088fd4 re035612 53 53 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 54 54 55 .PHONY: all clean depend disasm55 .PHONY: all clean depend 56 56 57 all: $(OUTPUT) disasm57 all: $(OUTPUT) $(OUTPUT).disasm 58 58 59 59 -include Makefile.depend … … 68 68 $(LD) -T arch/$(UARCH)/_link.ld $(LFLAGS) $(OBJECTS) $(LIBS) -o $@ -Map $(OUTPUT).map 69 69 70 disasm: 71 $(OBJDUMP) -d $ (OUTPUT) >$(OUTPUT).disasm70 $(OUTPUT).disasm: $(OUTPUT) 71 $(OBJDUMP) -d $< > $@ 72 72 73 73 arch/$(UARCH)/_link.ld: arch/$(UARCH)/_link.ld.in -
uspace/srv/ns/Makefile
rc088fd4 re035612 49 49 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 50 50 51 .PHONY: all clean depend disasm51 .PHONY: all clean depend 52 52 53 53 all: $(OUTPUT) $(OUTPUT).disasm … … 64 64 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 65 65 66 disasm: $(OUTPUT).disasm67 68 66 $(OUTPUT).disasm: $(OUTPUT) 69 67 $(OBJDUMP) -d $< > $@ -
uspace/srv/part/mbr_part/Makefile
rc088fd4 re035612 49 49 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 50 50 51 .PHONY: all clean depend disasm51 .PHONY: all clean depend 52 52 53 53 all: $(OUTPUT) $(OUTPUT).disasm … … 64 64 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 65 65 66 disasm: $(OUTPUT).disasm67 68 66 $(OUTPUT).disasm: $(OUTPUT) 69 67 $(OBJDUMP) -d $< > $@ -
uspace/srv/pci/Makefile
rc088fd4 re035612 47 47 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 48 48 49 .PHONY: all clean depend disasm49 .PHONY: all clean depend 50 50 51 all: $(OUTPUT) disasm51 all: $(OUTPUT) $(OUTPUT).disasm 52 52 53 53 -include Makefile.depend … … 64 64 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 65 65 66 disasm: 67 $(OBJDUMP) -d $ (OUTPUT) >$(OUTPUT).disasm66 $(OUTPUT).disasm: $(OUTPUT) 67 $(OBJDUMP) -d $< > $@ 68 68 69 69 %.o: %.S -
uspace/srv/vfs/Makefile
rc088fd4 re035612 52 52 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 53 53 54 .PHONY: all clean depend disasm54 .PHONY: all clean depend 55 55 56 56 all: $(OUTPUT) $(OUTPUT).disasm … … 67 67 $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map 68 68 69 disasm: $(OUTPUT).disasm70 71 69 $(OUTPUT).disasm: $(OUTPUT) 72 70 $(OBJDUMP) -d $< > $@
Note:
See TracChangeset
for help on using the changeset viewer.