Changeset c60e9ee in mainline


Ignore:
Timestamp:
2014-03-10T15:35:32Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8cffdf5
Parents:
ba11ebb
Message:

Fix inclusions of math headers in libposix

Location:
uspace/lib/posix
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/Makefile

    rba11ebb rc60e9ee  
    3636
    3737INCLUDE_LIBC = ./include/libc
     38INCLUDE_LIBMATH = ./include/libmath
    3839
    3940LIBC_FILE = $(LIBC_PREFIX)/libc.a
     
    4647COLLISIONS_LIST = collisions.list
    4748
    48 PRE_DEPEND = $(INCLUDE_LIBC)
     49PRE_DEPEND = $(INCLUDE_LIBC) $(INCLUDE_LIBMATH)
    4950EXTRA_CLEAN = \
    50         $(INCLUDE_LIBC) \
     51        $(INCLUDE_LIBC) $(INCLUDE_LIBMATH) \
    5152        $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) \
    5253        $(COLLISIONS_LIST)
     
    8485        ln -s -f -n ../$^ $@
    8586
     87$(INCLUDE_LIBMATH): ../math/include
     88        ln -s -f -n ../$^ $@
     89
    8690$(FIXED_C_LIBRARY): $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX)
    8791        $(OBJCOPY) --redefine-syms=$(REDEFS_HIDE_LIBC) $(LIBC_FILE) $@
  • uspace/lib/posix/include/posix/math.h

    rba11ebb rc60e9ee  
    3636#define POSIX_MATH_H_
    3737
    38 #include "libc/math.h"
     38#include "libmath/math.h"
    3939
    4040#endif /* POSIX_MATH_H_ */
Note: See TracChangeset for help on using the changeset viewer.