source: rtems/cpukit/libcsupport/Makefile.am @ 1c6926c1

5
Last change on this file since 1c6926c1 was 1c6926c1, checked in by Kevin Kirspel <kevin-kirspel@…>, on 03/21/17 at 19:39:48

termios: Synchronize with latest FreeBSD headers

Adding modified FreeBSD headers to synchronize RTEMS termios with
FreeBSD. Modify termios to support dedicated input and output baud for
termios structure. Updated BSPs to use dedicated input and output baud
in termios structure. Updated tools to use dedicated input and output
baud in termios structure. Updated termios testsuites to use dedicated
input and output baud in termios structure.

Close #2897.

  • Property mode set to 100644
File size: 6.1 KB
Line 
1include $(top_srcdir)/automake/multilib.am
2include $(top_srcdir)/automake/compile.am
3
4noinst_LIBRARIES = libcsupport.a libcalloc.a
5libcsupport_a_CPPFLAGS = $(AM_CPPFLAGS)
6libcalloc_a_CPPFLAGS = $(AM_CPPFLAGS)
7
8include_rtemsdir = $(includedir)/rtems
9include_rtems_HEADERS  = include/iosupp.h
10include_rtems_HEADERS += include/ringbuf.h
11include_rtems_HEADERS += include/rtems/tod.h
12include_rtems_HEADERS += include/spurious.h
13include_rtems_HEADERS += include/vmeintr.h
14
15## rtems
16include_rtems_HEADERS += include/rtems/assoc.h
17include_rtems_HEADERS += include/rtems/deviceio.h
18include_rtems_HEADERS += include/rtems/error.h
19include_rtems_HEADERS += include/rtems/libcsupport.h
20include_rtems_HEADERS += include/rtems/libio.h
21include_rtems_HEADERS += include/rtems/libio_.h
22include_rtems_HEADERS += include/rtems/malloc.h
23include_rtems_HEADERS += include/rtems/termiostypes.h
24include_rtems_HEADERS += include/rtems/gxx_wrappers.h
25
26include_machinedir = $(includedir)/machine
27include_machine_HEADERS =
28include_machine_HEADERS += include/machine/_kernel_time.h
29include_machine_HEADERS += include/machine/_kernel_types.h
30
31##  General stuff
32ERROR_C_FILES = src/error.c src/__assert.c
33
34ASSOCIATION_C_FILES = src/assoclocalbyname.c \
35    src/assoclocalbyremotebitfield.c src/assoclocalbyremote.c \
36    src/assocnamebad.c src/assocnamebylocalbitfield.c \
37    src/assocnamebylocal.c src/assocnamebyremotebitfield.c \
38    src/assocnamebyremote.c src/assocptrbylocal.c src/assocptrbyname.c \
39    src/assocptrbyremote.c src/assocremotebylocalbitfield.c \
40    src/assocremotebylocal.c src/assocremotebyname.c
41ASSOCIATION_C_FILES += src/assoc32tostring.c
42ASSOCIATION_C_FILES += src/assocthreadstatestostring.c
43
44BASE_FS_C_FILES = src/base_fs.c src/mount.c src/unmount.c src/libio.c \
45    src/mount-mgr.c src/mount-mktgt.c src/libio_init.c \
46    src/privateenv.c \
47    src/libio_exit.c \
48    src/open_dev_console.c src/__usrenv.c src/rtems_mkdir.c
49BASE_FS_C_FILES += src/uenvgetgroups.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 src/termios_baudtable.c src/cfsetspeed.c \
57    src/cfmakeraw.c src/cfmakesane.c src/termios_setbestbaud.c
58
59SYSTEM_CALL_C_FILES = src/open.c src/close.c src/read.c src/write.c \
60    src/write_r.c \
61    src/lseek.c src/ioctl.c src/mkdir.c src/mknod.c src/mkfifo.c src/rmdir.c \
62    src/chdir.c src/chmod.c src/fchdir.c src/fchmod.c src/fchown.c src/chown.c \
63    src/link.c src/unlink.c src/umask.c src/ftruncate.c src/utime.c src/fstat.c \
64    src/fcntl.c src/fpathconf.c src/getdents.c src/fsync.c src/fdatasync.c \
65    src/pipe.c src/dup.c src/dup2.c src/symlink.c src/readlink.c \
66    src/chroot.c src/sync.c src/_rename_r.c src/statvfs.c src/utimes.c src/lchown.c
67
68## Until sys/uio.h is moved to libcsupport, we have to have networking
69## enabled to compile these.  Hopefully this is a temporary situation.
70if NEWLIB
71SYSTEM_CALL_C_FILES += src/readv.c src/writev.c
72endif
73
74DIRECTORY_SCAN_C_FILES =
75## Newlib SHOULD have provided this one
76DIRECTORY_SCAN_C_FILES += src/readdir_r.c
77## Comment out when using these from newlib's unix directory
78DIRECTORY_SCAN_C_FILES += src/getcwd.c
79
80ID_C_FILES = src/getegid.c src/geteuid.c src/getgid.c src/getgroups.c \
81    src/getlogin.c src/getpgrp.c src/getpid.c src/getppid.c src/getuid.c \
82    src/seteuid.c src/setgid.c src/setuid.c src/setegid.c src/setpgid.c \
83    src/setsid.c src/setgroups.c
84
85MALLOC_C_FILES = src/malloc_initialize.c src/malloc.c \
86    src/realloc.c src/_calloc_r.c src/_malloc_r.c \
87    src/free.c src/_free_r.c \
88    src/_realloc_r.c src/mallocfreespace.c \
89    src/mallocgetheapptr.c src/mallocsetheapptr.c \
90    src/mallocinfo.c src/malloc_walk.c \
91    src/posix_memalign.c \
92    src/rtems_memalign.c src/malloc_deferred.c \
93    src/malloc_dirtier.c src/malloc_p.h \
94    src/rtems_heap_extend_via_sbrk.c \
95    src/rtems_heap_null_extend.c \
96    src/rtems_heap_extend.c \
97    src/rtems_heap_greedy.c
98MALLOC_C_FILES += src/cachealignedalloc.c
99MALLOC_C_FILES += src/cachecoherentalloc.c
100
101PASSWORD_GROUP_C_FILES = src/pwdgrp.c
102PASSWORD_GROUP_C_FILES += src/getgrent.c
103PASSWORD_GROUP_C_FILES += src/getgrnam.c
104PASSWORD_GROUP_C_FILES += src/getpwent.c
105
106TERMINAL_IDENTIFICATION_C_FILES = src/ctermid.c
107## 20 Nov 2008: Now using these from newlib's posix directory
108TERMINAL_IDENTIFICATION_C_FILES += src/isatty.c src/isatty_r.c
109## Comment out when using these from newlib's unix directory
110TERMINAL_IDENTIFICATION_C_FILES += src/ttyname.c
111
112LIBC_GLUE_C_FILES = src/__getpid.c src/__gettod.c src/__times.c \
113    src/truncate.c src/access.c src/stat.c src/lstat.c src/pathconf.c \
114    src/newlibc_reent.c src/newlibc_exit.c \
115    src/kill_noposix.c src/utsname.c src/realpath.c
116
117BSD_LIBC_C_FILES = src/strlcpy.c src/strlcat.c src/issetugid.c
118
119libcsupport_a_SOURCES = src/gxx_wrappers.c src/getchark.c src/printk.c \
120    src/printk_plugin.c src/putk.c src/vprintk.c \
121    src/rtems_putc.c \
122    src/print_fprintf.c \
123    src/print_printf.c \
124    src/printf_plugin.c \
125    src/sup_fs_location.c \
126    src/sup_fs_eval_path.c \
127    src/sup_fs_eval_path_generic.c \
128    src/sup_fs_check_permissions.c \
129    src/sup_fs_next_token.c \
130    src/sup_fs_exist_in_same_instance.c \
131    src/sup_fs_mount_iterate.c \
132    src/sup_fs_deviceio.c \
133    src/clonenode.c \
134    src/freenode.c \
135    src/resource_snapshot.c \
136    $(BSD_LIBC_C_FILES) $(BASE_FS_C_FILES) $(MALLOC_C_FILES) \
137    $(ERROR_C_FILES) $(ASSOCIATION_C_FILES)
138libcsupport_a_SOURCES += src/printertask.c
139
140libcsupport_a_SOURCES += $(LIBC_GLUE_C_FILES) $(PASSWORD_GROUP_C_FILES) \
141    $(TERMINAL_IDENTIFICATION_C_FILES) $(SYSTEM_CALL_C_FILES) \
142    $(DIRECTORY_SCAN_C_FILES) $(ID_C_FILES) \
143    $(TERMIOS_C_FILES) src/getpagesize.c src/getrusage.c src/posix_devctl.c
144
145
146libcsupport_a_SOURCES += src/flockfile.c src/funlockfile.c src/ftrylockfile.c
147
148libcalloc_a_SOURCES = src/calloc.c
149libcalloc_a_CFLAGS = -fno-builtin
150
151EXTRA_DIST = src/TODO src/CASES src/README
152
153include $(srcdir)/preinstall.am
154include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.