Changeset 1affcdf3 in mainline for uspace/lib/c/Makefile
- Timestamp:
- 2011-06-10T19:33:41Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1878386
- Parents:
- 13ecdac9 (diff), 79a141a (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
r13ecdac9 r1affcdf3 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 = \ … … 57 68 generic/clipboard.c \ 58 69 generic/devmap.c \ 70 generic/devmap_obsolete.c \ 59 71 generic/devman.c \ 72 generic/devman_obsolete.c \ 60 73 generic/device/hw_res.c \ 61 74 generic/device/char_dev.c \ … … 65 78 generic/str.c \ 66 79 generic/str_error.c \ 80 generic/l18n/langs.c \ 67 81 generic/fibril.c \ 68 82 generic/fibril_synch.c \ … … 84 98 generic/io/console.c \ 85 99 generic/io/screenbuffer.c \ 86 generic/ipc/ns.c \87 100 generic/malloc.c \ 88 101 generic/sysinfo.c \ 89 102 generic/ipc.c \ 103 generic/ns.c \ 104 generic/ns_obsolete.c \ 90 105 generic/async.c \ 91 generic/async_ sess.c \106 generic/async_obsolete.c \ 92 107 generic/loader.c \ 93 108 generic/getopt.c \ … … 97 112 generic/adt/measured_strings.c \ 98 113 generic/adt/char_map.c \ 114 generic/adt/prodcons.c \ 99 115 generic/time.c \ 100 116 generic/stdlib.c \ … … 114 130 generic/sort.c \ 115 131 generic/stats.c \ 116 generic/assert.c \ 132 generic/assert.c 133 134 ifeq ($(CONFIG_RTLD),y) 135 GENERIC_SOURCES += \ 136 generic/dlfcn.c \ 137 generic/rtld/rtld.c \ 138 generic/rtld/elf_load.c \ 139 generic/rtld/dynamic.c \ 140 generic/rtld/module.c \ 141 generic/rtld/symbol.c 142 endif 117 143 118 144 SOURCES = \ … … 133 159 ln -sfn ../$< $@ 134 160 135 $(LI NKER_SCRIPT): $(LINKER_SCRIPT).in161 $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 136 162 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@ 163 164 $(LIBC_PREFIX)/arch/$(UARCH)/_link-loader.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 165 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@ 166 167 $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 168 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@ 169 170 $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 171 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@ 137 172 138 173 $(COMMON_HEADER_ARCH): $(COMMON_HEADER)
Note:
See TracChangeset
for help on using the changeset viewer.