source: rtems/cpukit/libcsupport/Makefile.am @ 0c43130

5
Last change on this file since 0c43130 was 0c43130, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 11, 2017 at 10:03:24 AM

Add rtems_assoc_32_to_string()

  • 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
42
43BASE_FS_C_FILES = src/base_fs.c src/mount.c src/unmount.c src/libio.c \
44    src/mount-mgr.c src/mount-mktgt.c src/libio_init.c \
45    src/privateenv.c \
46    src/libio_exit.c \
47    src/open_dev_console.c src/__usrenv.c src/rtems_mkdir.c
48BASE_FS_C_FILES += src/uenvgetgroups.c
49
50TERMIOS_C_FILES = src/cfgetispeed.c src/cfgetospeed.c src/cfsetispeed.c \
51    src/cfsetospeed.c src/tcgetattr.c src/tcsetattr.c src/tcdrain.c \
52    src/tcflow.c src/tcflush.c src/tcgetpgrp.c src/tcsendbreak.c \
53    src/tcsetpgrp.c src/termios.c src/termiosinitialize.c \
54    src/termios_baud2index.c src/termios_baud2num.c src/termios_num2baud.c \
55    src/termios_setinitialbaud.c src/termios_baudtable.c src/cfsetspeed.c \
56    src/cfmakeraw.c src/termios_setbestbaud.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 \
65    src/chroot.c src/sync.c src/_rename_r.c src/statvfs.c src/utimes.c src/lchown.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## Newlib SHOULD have provided this one
75DIRECTORY_SCAN_C_FILES += src/readdir_r.c
76## Comment out when using these from newlib's unix directory
77DIRECTORY_SCAN_C_FILES += src/getcwd.c
78
79ID_C_FILES = src/getegid.c src/geteuid.c src/getgid.c src/getgroups.c \
80    src/getlogin.c src/getpgrp.c src/getpid.c src/getppid.c src/getuid.c \
81    src/seteuid.c src/setgid.c src/setuid.c src/setegid.c src/setpgid.c \
82    src/setsid.c src/setgroups.c
83
84MALLOC_C_FILES = src/malloc_initialize.c src/malloc.c \
85    src/realloc.c src/_calloc_r.c src/_malloc_r.c \
86    src/free.c src/_free_r.c \
87    src/_realloc_r.c src/mallocfreespace.c \
88    src/mallocgetheapptr.c src/mallocsetheapptr.c \
89    src/mallocinfo.c src/malloc_walk.c \
90    src/posix_memalign.c \
91    src/rtems_memalign.c src/malloc_deferred.c \
92    src/malloc_dirtier.c src/malloc_p.h \
93    src/rtems_heap_extend_via_sbrk.c \
94    src/rtems_heap_null_extend.c \
95    src/rtems_heap_extend.c \
96    src/rtems_heap_greedy.c
97MALLOC_C_FILES += src/cachealignedalloc.c
98MALLOC_C_FILES += src/cachecoherentalloc.c
99
100PASSWORD_GROUP_C_FILES = src/pwdgrp.c
101PASSWORD_GROUP_C_FILES += src/getgrent.c
102PASSWORD_GROUP_C_FILES += src/getgrnam.c
103PASSWORD_GROUP_C_FILES += src/getpwent.c
104
105TERMINAL_IDENTIFICATION_C_FILES = src/ctermid.c
106## 20 Nov 2008: Now using these from newlib's posix directory
107TERMINAL_IDENTIFICATION_C_FILES += src/isatty.c src/isatty_r.c
108## Comment out when using these from newlib's unix directory
109TERMINAL_IDENTIFICATION_C_FILES += src/ttyname.c
110
111LIBC_GLUE_C_FILES = src/__getpid.c src/__gettod.c src/__times.c \
112    src/truncate.c src/access.c src/stat.c src/lstat.c src/pathconf.c \
113    src/newlibc_reent.c src/newlibc_exit.c \
114    src/kill_noposix.c src/utsname.c src/realpath.c
115
116BSD_LIBC_C_FILES = src/strlcpy.c src/strlcat.c src/issetugid.c
117
118libcsupport_a_SOURCES = src/gxx_wrappers.c src/getchark.c src/printk.c \
119    src/printk_plugin.c src/putk.c src/vprintk.c \
120    src/rtems_putc.c \
121    src/print_fprintf.c \
122    src/print_printf.c \
123    src/printf_plugin.c \
124    src/sup_fs_location.c \
125    src/sup_fs_eval_path.c \
126    src/sup_fs_eval_path_generic.c \
127    src/sup_fs_check_permissions.c \
128    src/sup_fs_next_token.c \
129    src/sup_fs_exist_in_same_instance.c \
130    src/sup_fs_mount_iterate.c \
131    src/sup_fs_deviceio.c \
132    src/clonenode.c \
133    src/freenode.c \
134    src/resource_snapshot.c \
135    $(BSD_LIBC_C_FILES) $(BASE_FS_C_FILES) $(MALLOC_C_FILES) \
136    $(ERROR_C_FILES) $(ASSOCIATION_C_FILES)
137libcsupport_a_SOURCES += src/printertask.c
138
139libcsupport_a_SOURCES += $(LIBC_GLUE_C_FILES) $(PASSWORD_GROUP_C_FILES) \
140    $(TERMINAL_IDENTIFICATION_C_FILES) $(SYSTEM_CALL_C_FILES) \
141    $(DIRECTORY_SCAN_C_FILES) $(ID_C_FILES) src/envlock.c \
142    $(TERMIOS_C_FILES) src/getpagesize.c src/getrusage.c src/posix_devctl.c
143
144
145libcsupport_a_SOURCES += src/flockfile.c src/funlockfile.c src/ftrylockfile.c
146
147libcalloc_a_SOURCES = src/calloc.c
148libcalloc_a_CFLAGS = -fno-builtin
149
150EXTRA_DIST = src/TODO src/CASES src/README
151
152include $(srcdir)/preinstall.am
153include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.