Changes in uspace/lib/posix/Makefile [e2e9a8a:fdf97f6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/Makefile
re2e9a8a rfdf97f6 31 31 LIBRARY = libposix 32 32 SLIBRARY = libposix.so.0.0 33 LSONAME = libposix.so .033 LSONAME = libposix.so0 34 34 35 35 EXTRA_CFLAGS = -Iinclude/ … … 42 42 FIXED_C_LIBRARY = libc4posix.a 43 43 44 REDEFS_HIDE_LIBC = redefs-hide-libc -symbols.list45 REDEFS_SHOW_LIBPOSIX = redefs-show-posix -symbols.list44 REDEFS_HIDE_LIBC = redefs-hide-libc.xargs 45 REDEFS_SHOW_LIBPOSIX = redefs-show-posix.xargs 46 46 COLLISIONS_LIST = collisions.list 47 47 … … 60 60 source/getopt.c \ 61 61 source/locale.c \ 62 source/pthread/condvar.c \ 63 source/pthread/keys.c \ 64 source/pthread/mutex.c \ 65 source/pthread/threads.c \ 62 source/math.c \ 66 63 source/pwd.c \ 67 64 source/signal.c \ … … 73 70 source/string.c \ 74 71 source/strings.c \ 75 source/sys/mman.c \76 72 source/sys/stat.c \ 77 73 source/sys/wait.c \ 78 74 source/time.c \ 79 75 source/unistd.c 80 81 TEST_SOURCES = \82 test/main.c \83 test/scanf.c84 76 85 77 include $(USPACE_PREFIX)/Makefile.common … … 89 81 90 82 $(FIXED_C_LIBRARY): $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) 91 $(OBJCOPY) --redefine-syms=$(REDEFS_HIDE_LIBC) $(LIBC_FILE) $@ 92 $(OBJCOPY) --redefine-syms=$(REDEFS_SHOW_LIBPOSIX) $@ $@ 83 ./tools/transform-symbols.sh \ 84 $(OBJCOPY) $(AR) echo \ 85 $(LIBC_FILE) $@ \ 86 $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) 93 87 94 88 $(FIXED_POSIX_LIBRARY): $(LIBRARY).a $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) 95 $(OBJCOPY) --redefine-syms=$(REDEFS_HIDE_LIBC) $(LIBRARY).a $@ 96 $(OBJCOPY) --redefine-syms=$(REDEFS_SHOW_LIBPOSIX) $@ $@ 89 ./tools/transform-symbols.sh \ 90 $(OBJCOPY) $(AR) echo \ 91 $(LIBRARY).a $@ \ 92 $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) 97 93 98 94 $(REDEFS_HIDE_LIBC): $(COLLISIONS_LIST) 99 sed 's/.*/& __helenos_libc_&/'<$(COLLISIONS_LIST) >$@100 95 ./tools/create-redefines.sh "" "__helenos_libc_" <$(COLLISIONS_LIST) >$@ 96 101 97 $(REDEFS_SHOW_LIBPOSIX): $(COLLISIONS_LIST) 102 sed 's/.*/posix_& &/'<$(COLLISIONS_LIST) >$@98 ./tools/create-redefines.sh "posix_" "" <$(COLLISIONS_LIST) >$@ 103 99 104 100 $(COLLISIONS_LIST): 105 find ./include/posix -name '*.h' -exec \ 106 sed -n -e '/^#/d' -e 's/__POSIX_DEF__/\n&/gp' {} \; | \ 107 sed -n -e 's/__POSIX_DEF__(\([^)]*\)).*/\1/p' | \ 108 sort -u >$@ 101 ./tools/get-collision-list.sh ./include/posix >$@
Note:
See TracChangeset
for help on using the changeset viewer.