Changes in uspace/lib/c/Makefile [1570759b:0aae87a6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/Makefile
r1570759b r0aae87a6 31 31 ROOT_PATH = $(USPACE_PREFIX)/.. 32 32 33 INCLUDE_ABI = include/abi 34 INCLUDE_LIBARCH = include/libarch 35 33 36 COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common 34 37 COMMON_HEADER = $(ROOT_PATH)/common.h 35 COMMON_HEADER_ARCH = arch/$(UARCH)/include/ libarch/common.h38 COMMON_HEADER_ARCH = arch/$(UARCH)/include/common.h 36 39 37 40 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config … … 43 46 $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld 44 47 45 PRE_DEPEND = $( COMMON_HEADER_ARCH)48 PRE_DEPEND = $(INCLUDE_ABI) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) 46 49 EXTRA_OUTPUT = $(LINKER_SCRIPTS) 47 EXTRA_CLEAN = $( COMMON_HEADER_ARCH) $(LINKER_SCRIPTS)50 EXTRA_CLEAN = $(INCLUDE_ABI) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPTS) 48 51 LIBRARY = libc 49 52 SLIBRARY = libc.so.0.0 … … 142 145 generic/sort.c \ 143 146 generic/stats.c \ 144 generic/assert.c \ 145 generic/pio_trace.c 147 generic/assert.c 146 148 147 149 ifeq ($(CONFIG_RTLD),y) … … 159 161 include $(USPACE_PREFIX)/Makefile.common 160 162 163 $(INCLUDE_LIBARCH): arch/$(UARCH)/include 164 ln -sfn ../$< $@ 165 166 $(INCLUDE_ABI): ../../../abi/include/ 167 ln -sfn ../$< $@ 161 168 162 169 $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 163 $( CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@170 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@ 164 171 165 172 $(LIBC_PREFIX)/arch/$(UARCH)/_link-loader.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 166 $( CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@173 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@ 167 174 168 175 $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 169 $( CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@176 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@ 170 177 171 178 $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 172 $( CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@179 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@ 173 180 174 181 $(COMMON_HEADER_ARCH): $(COMMON_HEADER) 175 ln -sfn ../../../ ../$< $@182 ln -sfn ../../../$< $@
Note:
See TracChangeset
for help on using the changeset viewer.