Changeset 3375bd4 in mainline for uspace/lib/c/Makefile
- Timestamp:
- 2011-05-17T07:44:17Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 04c418d, 2586860, 5e6e50b
- Parents:
- 72cd53d (diff), 0d8a304 (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
r72cd53d r3375bd4 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 = \ … … 98 109 generic/adt/measured_strings.c \ 99 110 generic/adt/char_map.c \ 111 generic/adt/prodcons.c \ 100 112 generic/time.c \ 101 113 generic/stdlib.c \ … … 114 126 generic/arg_parse.c \ 115 127 generic/sort.c \ 116 generic/stats.c 128 generic/stats.c \ 129 generic/assert.c 130 131 ifeq ($(CONFIG_RTLD), y) 132 GENERIC_SOURCES += \ 133 generic/dlfcn.c \ 134 generic/rtld/rtld.c \ 135 generic/rtld/elf_load.c \ 136 generic/rtld/dynamic.c \ 137 generic/rtld/module.c \ 138 generic/rtld/symbol.c 139 endif 117 140 118 141 SOURCES = \ … … 133 156 ln -sfn ../$< $@ 134 157 135 $(LI NKER_SCRIPT): $(LINKER_SCRIPT).in158 $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 136 159 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@ 160 161 $(LIBC_PREFIX)/arch/$(UARCH)/_link-loader.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 162 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@ 163 164 $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 165 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@ 166 167 $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 168 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@ 137 169 138 170 $(COMMON_HEADER_ARCH): $(COMMON_HEADER)
Note:
See TracChangeset
for help on using the changeset viewer.