Changeset b5e68c8 in mainline for uspace/lib/c/Makefile
- Timestamp:
- 2011-05-12T16:49:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f36787d7
- Parents:
- e80329d6 (diff), 750636a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/Makefile
re80329d6 rb5e68c8 41 41 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config 42 42 43 LINKER_SCRIPTS = \ 44 $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld \ 45 $(LIBC_PREFIX)/arch/$(UARCH)/_link-loader.ld \ 46 $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld \ 47 $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld 48 43 49 PRE_DEPEND = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) 44 EXTRA_OUTPUT = $(LINKER_SCRIPT )45 EXTRA_CLEAN = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPT )50 EXTRA_OUTPUT = $(LINKER_SCRIPTS) 51 EXTRA_CLEAN = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPTS) 46 52 LIBRARY = libc 53 SLIBRARY = libc.so.0.0 54 LSONAME = libc.so0 55 47 56 48 57 -include $(COMMON_MAKEFILE) 49 58 -include $(CONFIG_MAKEFILE) 50 59 -include arch/$(UARCH)/Makefile.inc 60 61 EXTRA_CFLAGS += -I../../srv/loader/include 51 62 52 63 GENERIC_SOURCES = \ … … 59 70 generic/devman.c \ 60 71 generic/device/hw_res.c \ 61 generic/device/char .c \72 generic/device/char_dev.c \ 62 73 generic/event.c \ 63 74 generic/errno.c \ … … 76 87 generic/io/io.c \ 77 88 generic/io/printf.c \ 89 generic/io/log.c \ 78 90 generic/io/klog.c \ 79 91 generic/io/snprintf.c \ … … 83 95 generic/io/console.c \ 84 96 generic/io/screenbuffer.c \ 97 generic/ipc/ns.c \ 85 98 generic/malloc.c \ 86 99 generic/sysinfo.c \ 87 100 generic/ipc.c \ 88 101 generic/async.c \ 89 generic/async_ rel.c \102 generic/async_sess.c \ 90 103 generic/loader.c \ 91 104 generic/getopt.c \ 92 generic/adt/list. o\93 generic/adt/hash_table. o\105 generic/adt/list.c \ 106 generic/adt/hash_table.c \ 94 107 generic/adt/dynamic_fifo.c \ 95 108 generic/adt/measured_strings.c \ 96 109 generic/adt/char_map.c \ 97 110 generic/time.c \ 98 generic/err.c \99 111 generic/stdlib.c \ 100 112 generic/mman.c \ … … 112 124 generic/arg_parse.c \ 113 125 generic/sort.c \ 114 generic/stats.c 126 generic/stats.c \ 127 generic/assert.c 128 129 ifeq ($(CONFIG_RTLD), y) 130 GENERIC_SOURCES += \ 131 generic/dlfcn.c \ 132 generic/rtld/rtld.c \ 133 generic/rtld/elf_load.c \ 134 generic/rtld/dynamic.c \ 135 generic/rtld/module.c \ 136 generic/rtld/symbol.c 137 endif 115 138 116 139 SOURCES = \ … … 131 154 ln -sfn ../$< $@ 132 155 133 $(LI NKER_SCRIPT): $(LINKER_SCRIPT).in156 $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 134 157 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@ 158 159 $(LIBC_PREFIX)/arch/$(UARCH)/_link-loader.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 160 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@ 161 162 $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 163 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@ 164 165 $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 166 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@ 135 167 136 168 $(COMMON_HEADER_ARCH): $(COMMON_HEADER)
Note:
See TracChangeset
for help on using the changeset viewer.