Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/Makefile

    rfdf97f6 ra3da2b2  
    3737INCLUDE_LIBC = ./include/libc
    3838
    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
    47 
    4839PRE_DEPEND = $(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)
     40EXTRA_CLEAN = $(INCLUDE_LIBC)
    5441
    5542SOURCES = \
     
    7966$(INCLUDE_LIBC): ../c/include
    8067        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.