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

4.11
Last change on this file since fed66f99 was fed66f99, checked in by Sebastian Huber <sebastian.huber@…>, on May 14, 2012 at 1:19:20 PM

Filesystem: Add shared device IO support

The device IO file system support in IMFS, devFS, and RFS uses now a
shared implementation.

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