Changes in uspace/lib/c/Makefile [4e1a2f5:9b415c9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/Makefile
r4e1a2f5 r9b415c9 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.ld48 49 43 PRE_DEPEND = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) 50 EXTRA_OUTPUT = $(LINKER_SCRIPT S)51 EXTRA_CLEAN = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPT S)44 EXTRA_OUTPUT = $(LINKER_SCRIPT) 45 EXTRA_CLEAN = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPT) 52 46 LIBRARY = libc 53 SLIBRARY = libc.so.0.054 LSONAME = libc.so055 56 47 57 48 -include $(COMMON_MAKEFILE) 58 49 -include $(CONFIG_MAKEFILE) 59 50 -include arch/$(UARCH)/Makefile.inc 60 61 EXTRA_CFLAGS += -I../../srv/loader/include62 51 63 52 GENERIC_SOURCES = \ … … 108 97 generic/adt/measured_strings.c \ 109 98 generic/adt/char_map.c \ 110 generic/adt/prodcons.c \111 99 generic/time.c \ 112 100 generic/stdlib.c \ … … 125 113 generic/arg_parse.c \ 126 114 generic/sort.c \ 127 generic/stats.c \ 128 generic/assert.c 129 130 ifeq ($(CONFIG_RTLD), y) 131 GENERIC_SOURCES += \ 132 generic/dlfcn.c \ 133 generic/rtld/rtld.c \ 134 generic/rtld/elf_load.c \ 135 generic/rtld/dynamic.c \ 136 generic/rtld/module.c \ 137 generic/rtld/symbol.c 138 endif 115 generic/stats.c 139 116 140 117 SOURCES = \ … … 155 132 ln -sfn ../$< $@ 156 133 157 $(LI BC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in134 $(LINKER_SCRIPT): $(LINKER_SCRIPT).in 158 135 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@ 159 160 $(LIBC_PREFIX)/arch/$(UARCH)/_link-loader.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in161 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@162 163 $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in164 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@165 166 $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in167 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@168 136 169 137 $(COMMON_HEADER_ARCH): $(COMMON_HEADER)
Note:
See TracChangeset
for help on using the changeset viewer.