source: rtems/cpukit/libcsupport/Makefile.am @ e525f66

4.115
Last change on this file since e525f66 was e525f66, checked in by Jennifer Averett <Jennifer.Averett@…>, on 06/22/10 at 20:03:41

2010-06-22 Jennifer Averett <Jennifer.Averett@…>

  • libcsupport/Makefile.am, libcsupport/include/rtems/libio_.h: Moved method to free a node from a define to an external method.
  • libcsupport/src/freenode.c: New file.
  • Property mode set to 100644
File size: 5.3 KB
Line 
1##
2##  $Id$
3##
4
5include $(top_srcdir)/automake/multilib.am
6include $(top_srcdir)/automake/compile.am
7
8noinst_LIBRARIES = libcsupport.a
9libcsupport_a_CPPFLAGS = $(AM_CPPFLAGS)
10
11include_rtemsdir = $(includedir)/rtems
12include_rtems_HEADERS = include/console.h include/clockdrv.h \
13    include/rtems/framebuffer.h include/iosupp.h include/ringbuf.h \
14    include/rtc.h include/spurious.h include/timerdrv.h include/vmeintr.h
15
16## motorola
17
18include_rtems_motoroladir = $(includedir)/rtems/motorola
19
20include_rtems_motorola_HEADERS = include/motorola/mc68230.h \
21    include/motorola/mc68681.h
22
23## rtems
24include_rtems_HEADERS += include/rtems/assoc.h include/rtems/error.h \
25    include/rtems/libcsupport.h include/rtems/libio.h include/rtems/libio_.h \
26    include/rtems/malloc.h include/rtems/termiostypes.h
27
28## zilog
29
30include_rtems_zilogdir = $(includedir)/rtems/zilog
31
32include_rtems_zilog_HEADERS = include/zilog/z8036.h include/zilog/z8530.h \
33    include/zilog/z8536.h
34
35##  General stuff
36ERROR_C_FILES = src/error.c src/__assert.c
37
38ASSOCIATION_C_FILES = src/assoclocalbyname.c \
39    src/assoclocalbyremotebitfield.c src/assoclocalbyremote.c \
40    src/assocnamebad.c src/assocnamebylocalbitfield.c \
41    src/assocnamebylocal.c src/assocnamebyremotebitfield.c \
42    src/assocnamebyremote.c src/assocptrbylocal.c src/assocptrbyname.c \
43    src/assocptrbyremote.c src/assocremotebylocalbitfield.c \
44    src/assocremotebylocal.c src/assocremotebyname.c
45
46BASE_FS_C_FILES = src/base_fs.c src/mount.c src/unmount.c src/libio.c \
47    src/mount-mgr.c src/mount-mktgt.c src/libio_init.c \
48    src/libio_sockets.c src/eval.c src/fs_null_handlers.c src/privateenv.c \
49    src/open_dev_console.c src/__usrenv.c src/rtems_mkdir.c
50
51TERMIOS_C_FILES = src/cfgetispeed.c src/cfgetospeed.c src/cfsetispeed.c \
52    src/cfsetospeed.c src/tcgetattr.c src/tcsetattr.c src/tcdrain.c \
53    src/tcflow.c src/tcflush.c src/tcgetpgrp.c src/tcsendbreak.c \
54    src/tcsetpgrp.c src/termios.c src/termiosinitialize.c \
55    src/termios_baud2index.c src/termios_baud2num.c src/termios_num2baud.c \
56    src/termios_setinitialbaud.c
57
58SYSTEM_CALL_C_FILES = src/open.c src/close.c src/read.c src/write.c \
59    src/write_r.c \
60    src/lseek.c src/ioctl.c src/mkdir.c src/mknod.c src/mkfifo.c src/rmdir.c \
61    src/chdir.c src/chmod.c src/fchdir.c src/fchmod.c src/fchown.c src/chown.c \
62    src/link.c src/unlink.c src/umask.c src/ftruncate.c src/utime.c src/fstat.c \
63    src/fcntl.c src/fpathconf.c src/getdents.c src/fsync.c src/fdatasync.c \
64    src/pipe.c src/dup.c src/dup2.c src/symlink.c src/readlink.c src/creat.c \
65    src/chroot.c src/sync.c src/_rename_r.c src/statvfs.c
66
67## Until sys/uio.h is moved to libcsupport, we have to have networking
68## enabled to compile these.  Hopefully this is a temporary situation.
69if NEWLIB
70SYSTEM_CALL_C_FILES += src/readv.c src/writev.c
71endif
72
73DIRECTORY_SCAN_C_FILES =
74## 20 Nov 2008: Now using these from newlib's posix directory
75DIRECTORY_SCAN_C_FILES += src/opendir.c src/closedir.c src/readdir.c \
76     src/rewinddir.c src/scandir.c src/seekdir.c src/telldir.c
77## Newlib SHOULD have provided this one
78DIRECTORY_SCAN_C_FILES += src/readdir_r.c
79## Comment out when using these from newlib's unix directory
80DIRECTORY_SCAN_C_FILES += src/getcwd.c
81
82ID_C_FILES = src/getegid.c src/geteuid.c src/getgid.c src/getgroups.c \
83    src/getlogin.c src/getpgrp.c src/getpid.c src/getppid.c src/getuid.c \
84    src/setpgid.c src/setsid.c
85
86MALLOC_C_FILES = src/malloc_initialize.c src/calloc.c src/malloc.c \
87    src/realloc.c src/_calloc_r.c src/_malloc_r.c \
88    src/free.c src/freenode.c src/_free_r.c \
89    src/_realloc_r.c src/__brk.c src/__sbrk.c src/mallocfreespace.c \
90    src/mallocinfo.c src/malloc_walk.c src/malloc_get_statistics.c \
91    src/malloc_report_statistics.c src/malloc_report_statistics_plugin.c \
92    src/malloc_statistics_helpers.c src/malloc_boundary.c \
93    src/posix_memalign.c src/rtems_memalign.c src/malloc_deferred.c \
94    src/malloc_sbrk_helpers.c src/malloc_dirtier.c src/malloc_p.h \
95    src/rtems_malloc.c
96
97PASSWORD_GROUP_C_FILES = src/getpwent.c
98
99TERMINAL_IDENTIFICATION_C_FILES = src/ctermid.c
100## 20 Nov 2008: Now using these from newlib's posix directory
101TERMINAL_IDENTIFICATION_C_FILES += src/isatty.c src/isatty_r.c
102## Comment out when using these from newlib's unix directory
103TERMINAL_IDENTIFICATION_C_FILES += src/ttyname.c
104
105LIBC_GLUE_C_FILES = src/__getpid.c src/__gettod.c src/__times.c \
106    src/truncate.c src/access.c src/stat.c src/lstat.c src/pathconf.c \
107    src/newlibc_reent.c src/newlibc_init.c src/newlibc_exit.c \
108    src/kill_noposix.c src/sleep_noposix.c src/utsname.c
109
110BSD_LIBC_C_FILES = src/strlcpy.c src/strlcat.c src/issetugid.c
111
112libcsupport_a_SOURCES = src/gxx_wrappers.c src/getchark.c src/printk.c \
113    src/printk_plugin.c src/putk.c src/vprintk.c \
114    src/sup_fs_is_separator.c src/sup_fs_get_start_loc.c \
115    src/sup_fs_get_sym_start_loc.c \
116    $(BSD_LIBC_C_FILES) $(BASE_FS_C_FILES) $(MALLOC_C_FILES) \
117    $(ERROR_C_FILES) $(ASSOCIATION_C_FILES)
118
119libcsupport_a_SOURCES += $(LIBC_GLUE_C_FILES) $(PASSWORD_GROUP_C_FILES) \
120    $(TERMINAL_IDENTIFICATION_C_FILES) $(SYSTEM_CALL_C_FILES) \
121    $(DIRECTORY_SCAN_C_FILES) $(ID_C_FILES) src/envlock.c \
122    $(TERMIOS_C_FILES) src/getpagesize.c src/getrusage.c
123
124libcsupport_a_SOURCES += src/flockfile.c src/funlockfile.c src/ftrylockfile.c
125
126EXTRA_DIST = src/TODO src/CASES src/README
127
128include $(srcdir)/preinstall.am
129include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.