Changes in uspace/lib/posix/Makefile [fdf97f6:8620b2f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/Makefile
rfdf97f6 r8620b2f 42 42 FIXED_C_LIBRARY = libc4posix.a 43 43 44 REDEFS_HIDE_LIBC = redefs-hide-libc .xargs45 REDEFS_SHOW_LIBPOSIX = redefs-show-posix .xargs44 REDEFS_HIDE_LIBC = redefs-hide-libc-symbols.list 45 REDEFS_SHOW_LIBPOSIX = redefs-show-posix-symbols.list 46 46 COLLISIONS_LIST = collisions.list 47 47 … … 60 60 source/getopt.c \ 61 61 source/locale.c \ 62 source/math.c \ 62 source/pthread/condvar.c \ 63 source/pthread/keys.c \ 64 source/pthread/mutex.c \ 65 source/pthread/threads.c \ 63 66 source/pwd.c \ 64 67 source/signal.c \ … … 81 84 82 85 $(FIXED_C_LIBRARY): $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) 83 ./tools/transform-symbols.sh \ 84 $(OBJCOPY) $(AR) echo \ 85 $(LIBC_FILE) $@ \ 86 $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) 86 $(OBJCOPY) --redefine-syms=$(REDEFS_HIDE_LIBC) $(LIBC_FILE) $@ 87 $(OBJCOPY) --redefine-syms=$(REDEFS_SHOW_LIBPOSIX) $@ $@ 87 88 88 89 $(FIXED_POSIX_LIBRARY): $(LIBRARY).a $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) 89 ./tools/transform-symbols.sh \ 90 $(OBJCOPY) $(AR) echo \ 91 $(LIBRARY).a $@ \ 92 $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) 90 $(OBJCOPY) --redefine-syms=$(REDEFS_HIDE_LIBC) $(LIBRARY).a $@ 91 $(OBJCOPY) --redefine-syms=$(REDEFS_SHOW_LIBPOSIX) $@ $@ 93 92 94 93 $(REDEFS_HIDE_LIBC): $(COLLISIONS_LIST) 95 ./tools/create-redefines.sh "" "__helenos_libc_"<$(COLLISIONS_LIST) >$@96 94 sed 's/.*/& __helenos_libc_&/' <$(COLLISIONS_LIST) >$@ 95 97 96 $(REDEFS_SHOW_LIBPOSIX): $(COLLISIONS_LIST) 98 ./tools/create-redefines.sh "posix_" ""<$(COLLISIONS_LIST) >$@97 sed 's/.*/posix_& &/' <$(COLLISIONS_LIST) >$@ 99 98 100 99 $(COLLISIONS_LIST): 101 ./tools/get-collision-list.sh ./include/posix >$@ 100 find ./include/posix -name '*.h' -exec \ 101 sed -n -e '/^#/d' -e 's/__POSIX_DEF__/\n&/gp' {} \; | \ 102 sed -n -e 's/__POSIX_DEF__(\([^)]*\)).*/\1/p' | \ 103 sort -u >$@
Note:
See TracChangeset
for help on using the changeset viewer.