Changes in uspace/lib/c/Makefile [042fbe0:a99330e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/Makefile
r042fbe0 ra99330e 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 = \ … … 87 76 generic/io/io.c \ 88 77 generic/io/printf.c \ 89 generic/io/log.c \90 78 generic/io/klog.c \ 91 79 generic/io/snprintf.c \ … … 124 112 generic/arg_parse.c \ 125 113 generic/sort.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 114 generic/stats.c 138 115 139 116 SOURCES = \ … … 154 131 ln -sfn ../$< $@ 155 132 156 $(LI BC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in133 $(LINKER_SCRIPT): $(LINKER_SCRIPT).in 157 134 $(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.in160 $(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.in163 $(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.in166 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@167 135 168 136 $(COMMON_HEADER_ARCH): $(COMMON_HEADER)
Note:
See TracChangeset
for help on using the changeset viewer.