Changes in uspace/lib/posix/Makefile [3a37751:65c28f7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/Makefile
r3a37751 r65c28f7 30 30 USPACE_PREFIX = ../.. 31 31 LIBRARY = libposix 32 SLIBRARY = libposix.so.0.0 33 LSONAME = libposix.so.0 32 34 33 35 EXTRA_CFLAGS = -Iinclude/ … … 39 41 FIXED_POSIX_LIBRARY = libposixaslibc.a 40 42 FIXED_C_LIBRARY = libc4posix.a 41 MERGED_C_LIBRARY = libc.a42 MERGE_LIBRARIES = \43 $(FIXED_C_LIBRARY) \44 $(FIXED_POSIX_LIBRARY) \45 $(LIBSOFTFLOAT_PREFIX)/libsoftfloat.a \46 $(LIBSOFTINT_PREFIX)/libsoftint.a47 43 48 44 REDEFS_HIDE_LIBC = redefs-hide-libc-symbols.list … … 53 49 EXTRA_CLEAN = \ 54 50 $(INCLUDE_LIBC) \ 55 $(REDEFS_HIDE_LIBC) \ 56 $(REDEFS_SHOW_LIBPOSIX) \ 57 $(COLLISIONS_LIST) \ 58 libc.o 59 60 EXTRA_OUTPUT = $(FIXED_C_LIBRARY) $(FIXED_POSIX_LIBRARY) $(MERGED_C_LIBRARY) 51 $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) \ 52 $(COLLISIONS_LIST) 53 EXTRA_OUTPUT = $(FIXED_C_LIBRARY) $(FIXED_POSIX_LIBRARY) 61 54 62 55 SOURCES = \ … … 96 89 ln -s -f -n ../$^ $@ 97 90 98 $(FIXED_C_LIBRARY): $( LIBC_FILE) $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX)91 $(FIXED_C_LIBRARY): $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) 99 92 $(OBJCOPY) --redefine-syms=$(REDEFS_HIDE_LIBC) $(LIBC_FILE) $@ 100 93 $(OBJCOPY) --redefine-syms=$(REDEFS_SHOW_LIBPOSIX) $@ $@ … … 103 96 $(OBJCOPY) --redefine-syms=$(REDEFS_HIDE_LIBC) $(LIBRARY).a $@ 104 97 $(OBJCOPY) --redefine-syms=$(REDEFS_SHOW_LIBPOSIX) $@ $@ 105 106 $(MERGED_C_LIBRARY): $(MERGE_LIBRARIES)107 $(LD) --fatal-warnings -r -o libc.o --whole-archive $(MERGE_LIBRARIES) --no-whole-archive108 $(AR) rc $@ libc.o109 98 110 99 $(REDEFS_HIDE_LIBC): $(COLLISIONS_LIST)
Note:
See TracChangeset
for help on using the changeset viewer.