Changeset fcd7053 in mainline for uspace/srv/loader/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/loader/Makefile
r84266669 rfcd7053 28 28 # 29 29 30 -include ../../../Makefile.config31 32 30 ## Setup toolchain 33 31 # … … 35 33 LIBC_PREFIX = ../../lib/libc 36 34 SOFTINT_PREFIX = ../../lib/softint 35 37 36 include $(LIBC_PREFIX)/Makefile.toolchain 38 include arch/$( ARCH)/Makefile.inc37 include arch/$(UARCH)/Makefile.inc 39 38 40 39 CFLAGS += -Iinclude 41 40 42 41 LIBS = $(LIBC_PREFIX)/libc.a $(SOFTINT_PREFIX)/libsoftint.a 43 DEFS += -DRELEASE=\"$(RELEASE)\"44 45 ifdef REVISION46 DEFS += "-DREVISION=\"$(REVISION)\""47 endif48 49 ifdef TIMESTAMP50 DEFS += "-DTIMESTAMP=\"$(TIMESTAMP)\""51 endif52 42 53 43 ## Sources … … 70 60 71 61 clean: 72 -rm -f $(OUTPUT) $(OBJECTS) $(OUTPUT).map $(OUTPUT).disasm arch/$( ARCH)/_link.ld Makefile.depend62 -rm -f $(OUTPUT) $(OBJECTS) $(OUTPUT).map $(OUTPUT).disasm arch/$(UARCH)/_link.ld Makefile.depend 73 63 74 64 depend: 75 65 $(CC) $(DEFS) $(CFLAGS) -M $(SOURCES) > Makefile.depend 76 66 77 $(OUTPUT): $(OBJECTS) $(LIBS) arch/$( ARCH)/_link.ld78 $(LD) -T arch/$( ARCH)/_link.ld $(LFLAGS) $(OBJECTS) $(LIBS) -o $@ -Map $(OUTPUT).map67 $(OUTPUT): $(OBJECTS) $(LIBS) arch/$(UARCH)/_link.ld 68 $(LD) -T arch/$(UARCH)/_link.ld $(LFLAGS) $(OBJECTS) $(LIBS) -o $@ -Map $(OUTPUT).map 79 69 80 70 disasm: 81 71 $(OBJDUMP) -d $(OUTPUT) >$(OUTPUT).disasm 82 72 83 arch/$( ARCH)/_link.ld: arch/$(ARCH)/_link.ld.in73 arch/$(UARCH)/_link.ld: arch/$(UARCH)/_link.ld.in 84 74 $(CC) $(DEFS) $(CFLAGS) -DLIBC_PREFIX=$(LIBC_PREFIX) -E -x c $< | grep -v "^\#" > $@ 85 75
Note:
See TracChangeset
for help on using the changeset viewer.