Changeset 970c4d8 in mainline for uspace/lib/posix/Makefile
- Timestamp:
- 2013-08-15T09:41:43Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 820104d
- Parents:
- 7fbe5ec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/Makefile
r7fbe5ec r970c4d8 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 … … 85 85 86 86 $(FIXED_C_LIBRARY): $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) 87 ./tools/transform-symbols.sh \ 88 $(OBJCOPY) $(AR) echo \ 89 $(LIBC_FILE) $@ \ 90 $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) 87 $(OBJCOPY) --redefine-syms=$(REDEFS_HIDE_LIBC) $(LIBC_FILE) $@ 88 $(OBJCOPY) --redefine-syms=$(REDEFS_SHOW_LIBPOSIX) $@ $@ 91 89 92 90 $(FIXED_POSIX_LIBRARY): $(LIBRARY).a $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) 93 ./tools/transform-symbols.sh \ 94 $(OBJCOPY) $(AR) echo \ 95 $(LIBRARY).a $@ \ 96 $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) 91 $(OBJCOPY) --redefine-syms=$(REDEFS_HIDE_LIBC) $(LIBRARY).a $@ 92 $(OBJCOPY) --redefine-syms=$(REDEFS_SHOW_LIBPOSIX) $@ $@ 97 93 98 94 $(REDEFS_HIDE_LIBC): $(COLLISIONS_LIST) 99 ./tools/create-redefines.sh "" "__helenos_libc_"<$(COLLISIONS_LIST) >$@100 95 sed 's/.*/& __helenos_libc_&/' <$(COLLISIONS_LIST) >$@ 96 101 97 $(REDEFS_SHOW_LIBPOSIX): $(COLLISIONS_LIST) 102 ./tools/create-redefines.sh "posix_" ""<$(COLLISIONS_LIST) >$@98 sed 's/.*/posix_& &/' <$(COLLISIONS_LIST) >$@ 103 99 104 100 $(COLLISIONS_LIST): 105 ./tools/get-collision-list.sh ./include/posix >$@ 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 >$@
Note:
See TracChangeset
for help on using the changeset viewer.