diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-10-13 14:59:35 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-10-13 14:59:35 +0000 |
commit | fbd532080c251f16731429f99169df6bfaf45ef3 (patch) | |
tree | 08ff71fd0c91da7c977489d88d95e8be40a518b9 /c/src/lib/libc/Makefile.in | |
parent | New file (diff) | |
download | rtems-fbd532080c251f16731429f99169df6bfaf45ef3.tar.bz2 |
Modified to avoid building certain files under UNIX.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libc/Makefile.in | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/c/src/lib/libc/Makefile.in b/c/src/lib/libc/Makefile.in index c7b82c73ae..67466de316 100644 --- a/c/src/lib/libc/Makefile.in +++ b/c/src/lib/libc/Makefile.in @@ -11,10 +11,12 @@ PROJECT_ROOT = @PROJECT_ROOT@ LIBNAME=libcsupport.a LIB=${ARCH}/${LIBNAME} +# define TARGET_PIECES later based on RTEMS_CPU definition + # C and C++ source names, if any, go here -- minus the .c or .cc -C_PIECES=__gettod __brk __times _execve getdents malloc syscalls \ - no_libc newlibc newlibif newlibifr support unixlibc \ - libio hosterr tcattr tcdrain cfiospeed termios readdir opendir +C_PIECES=__times _execve getdents malloc syscalls \ + no_libc support libio hosterr tcattr tcdrain \ + cfiospeed termios $(TARGET_PIECES) C_FILES=$(C_PIECES:%=%.c) C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) @@ -30,6 +32,12 @@ OBJS=$(C_O_FILES) include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg include $(RTEMS_ROOT)/make/lib.cfg +ifeq ($(RTEMS_CPU),unix) +TARGET_PIECES=unixlibc +else +TARGET_PIECES=__brk __gettod newlibc newlibif newlibifr readdir opendir +endif + # # Add local stuff here using += # |