Changes in uspace/lib/posix/Makefile [970c4d8:fdf97f6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/Makefile
r970c4d8 rfdf97f6 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 … … 61 61 source/locale.c \ 62 62 source/math.c \ 63 source/pthread/condvar.c \64 source/pthread/keys.c \65 source/pthread/mutex.c \66 source/pthread/threads.c \67 63 source/pwd.c \ 68 64 source/signal.c \ … … 85 81 86 82 $(FIXED_C_LIBRARY): $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) 87 $(OBJCOPY) --redefine-syms=$(REDEFS_HIDE_LIBC) $(LIBC_FILE) $@ 88 $(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) 89 87 90 88 $(FIXED_POSIX_LIBRARY): $(LIBRARY).a $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) 91 $(OBJCOPY) --redefine-syms=$(REDEFS_HIDE_LIBC) $(LIBRARY).a $@ 92 $(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) 93 93 94 94 $(REDEFS_HIDE_LIBC): $(COLLISIONS_LIST) 95 sed 's/.*/& __helenos_libc_&/'<$(COLLISIONS_LIST) >$@96 95 ./tools/create-redefines.sh "" "__helenos_libc_" <$(COLLISIONS_LIST) >$@ 96 97 97 $(REDEFS_SHOW_LIBPOSIX): $(COLLISIONS_LIST) 98 sed 's/.*/posix_& &/'<$(COLLISIONS_LIST) >$@98 ./tools/create-redefines.sh "posix_" "" <$(COLLISIONS_LIST) >$@ 99 99 100 100 $(COLLISIONS_LIST): 101 find ./include/posix -name '*.h' -exec \ 102 sed -n -e '/^#/d' -e 's/__POSIX_DEF__/\n&/gp' {} \; | \ 103 sed -n -e 's/__POSIX_DEF__(\([^)]*\)).*/\1/p' | \ 104 sort -u >$@ 101 ./tools/get-collision-list.sh ./include/posix >$@
Note:
See TracChangeset
for help on using the changeset viewer.