summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc/Makefile.in
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>1998-12-03 22:16:55 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>1998-12-03 22:16:55 +0000
commitaf73d86f644f3c600296fb1db7268d8b3dbec468 (patch)
tree3269c7a28214dbc2baf2741df98bc310ddc3d953 /c/src/lib/libc/Makefile.in
parentModified to support test names longer than two characters plus the (diff)
downloadrtems-af73d86f644f3c600296fb1db7268d8b3dbec468.tar.bz2
Added a imfs fdatasync routine that gets called for fdatasync and datasync.
Modifications for RTEMS_UNIX.
Diffstat (limited to 'c/src/lib/libc/Makefile.in')
-rw-r--r--c/src/lib/libc/Makefile.in37
1 files changed, 24 insertions, 13 deletions
diff --git a/c/src/lib/libc/Makefile.in b/c/src/lib/libc/Makefile.in
index d3bc2afbc1..c99a0a91a1 100644
--- a/c/src/lib/libc/Makefile.in
+++ b/c/src/lib/libc/Makefile.in
@@ -18,7 +18,7 @@ IMFS_PIECES= imfs_chown imfs_creat imfs_directory imfs_eval imfs_free \
imfs_gtkn imfs_init imfs_link imfs_mknod imfs_mount imfs_fchmod \
imfs_rmnod imfs_unlink imfs_unmount imfs_utime imfs_ntype imfs_stat \
imfs_getchild memfile deviceio imfs_handlers imfs_debug imfs_symlink \
- imfs_readlink
+ imfs_readlink imfs_fdatasync
TERMIOS_PIECES= cfgetispeed cfgetospeed cfsetispeed cfsetospeed \
tcgetattr tcsetattr tcdrain termios
@@ -35,20 +35,15 @@ SYSTEM_CALL_PIECES=\
DIRECTORY_SCAN_PIECES=\
opendir closedir readdir rewinddir scandir seekdir telldir
-LIBC_GLUE_PIECES=\
+MALLOC_PIECES=\
malloc __brk __sbrk \
+
+LIBC_GLUE_PIECES=\
__gettod __times \
truncate access stat pathconf \
- newlibc no_libc unixlibc hosterr
+ newlibc no_libc
-# C and C++ source names, if any, go here -- minus the .c or .cc
-C_PIECES=\
- $(LIBC_GLUE_PIECES) \
- $(TERMIOS_PIECES) \
- $(SYSTEM_CALL_PIECES) \
- $(DIRECTORY_SCAN_PIECES) \
- $(BASE_FS_PIECES) \
- $(IMFS_PIECES)
+UNIX_LIBC_PIECES=unixlibc hosterr
C_FILES=$(C_PIECES:%=%.c)
C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
@@ -64,6 +59,24 @@ OBJS=$(C_O_FILES)
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/lib.cfg
+# C and C++ source names, if any, go here -- minus the .c or .cc
+ifeq ($(RTEMS_CPU),unix)
+C_PIECES=\
+ $(UNIX_LIBC_PIECES) \
+ $(BASE_FS_PIECES) \
+ $(MALLOC_PIECES) \
+ $(TERMIOS_PIECES)
+else
+C_PIECES=\
+ $(LIBC_GLUE_PIECES) \
+ $(BASE_FS_PIECES) \
+ $(MALLOC_PIECES) \
+ $(TERMIOS_PIECES) \
+ $(SYSTEM_CALL_PIECES) \
+ $(DIRECTORY_SCAN_PIECES) \
+ $(IMFS_PIECES)
+endif
+
#
# Add local stuff here using +=
#
@@ -94,5 +107,3 @@ preinstall:
$(INSTALL) -m 444 ${RTEMS_H_FILES} $(PROJECT_INCLUDE)/rtems
$(INSTALL) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
$(INSTALL) -m 444 $(SYS_H_FILES) $(PROJECT_INCLUDE)/sys
-
-