Changes in uspace/lib/posix/Makefile [4cf8ca6:fdf97f6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/Makefile
r4cf8ca6 rfdf97f6 33 33 LSONAME = libposix.so0 34 34 35 INCLUDE_LIBC = ./libc 35 EXTRA_CFLAGS = -Iinclude/ 36 37 INCLUDE_LIBC = ./include/libc 38 39 LIBC_FILE = $(LIBC_PREFIX)/libc.a 40 41 FIXED_POSIX_LIBRARY = libposixaslibc.a 42 FIXED_C_LIBRARY = libc4posix.a 43 44 REDEFS_HIDE_LIBC = redefs-hide-libc.xargs 45 REDEFS_SHOW_LIBPOSIX = redefs-show-posix.xargs 46 COLLISIONS_LIST = collisions.list 36 47 37 48 PRE_DEPEND = $(INCLUDE_LIBC) 38 EXTRA_CLEAN = $(INCLUDE_LIBC) 49 EXTRA_CLEAN = \ 50 $(INCLUDE_LIBC) \ 51 $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) \ 52 $(COLLISIONS_LIST) 53 EXTRA_OUTPUT = $(FIXED_C_LIBRARY) $(FIXED_POSIX_LIBRARY) 39 54 40 55 SOURCES = \ 41 ctype.c \ 42 errno.c \ 43 fcntl.c \ 44 fnmatch.c \ 45 locale.c \ 46 math.c \ 47 pwd.c \ 48 signal.c \ 49 stdio.c \ 50 stdio/scanf.c \ 51 stdlib.c \ 52 stdlib/strtol.c \ 53 stdlib/strtold.c \ 54 string.c \ 55 strings.c \ 56 sys/stat.c \ 57 sys/wait.c \ 58 time.c \ 59 unistd.c 56 source/ctype.c \ 57 source/errno.c \ 58 source/fcntl.c \ 59 source/fnmatch.c \ 60 source/getopt.c \ 61 source/locale.c \ 62 source/math.c \ 63 source/pwd.c \ 64 source/signal.c \ 65 source/stdio.c \ 66 source/stdio/scanf.c \ 67 source/stdlib.c \ 68 source/stdlib/strtol.c \ 69 source/stdlib/strtold.c \ 70 source/string.c \ 71 source/strings.c \ 72 source/sys/stat.c \ 73 source/sys/wait.c \ 74 source/time.c \ 75 source/unistd.c 60 76 61 77 include $(USPACE_PREFIX)/Makefile.common 62 78 63 79 $(INCLUDE_LIBC): ../c/include 64 ln -s -f -n $^ $@ 80 ln -s -f -n ../$^ $@ 81 82 $(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) 87 88 $(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) 93 94 $(REDEFS_HIDE_LIBC): $(COLLISIONS_LIST) 95 ./tools/create-redefines.sh "" "__helenos_libc_" <$(COLLISIONS_LIST) >$@ 96 97 $(REDEFS_SHOW_LIBPOSIX): $(COLLISIONS_LIST) 98 ./tools/create-redefines.sh "posix_" "" <$(COLLISIONS_LIST) >$@ 99 100 $(COLLISIONS_LIST): 101 ./tools/get-collision-list.sh ./include/posix >$@
Note:
See TracChangeset
for help on using the changeset viewer.