source: rtems/cpukit/libcsupport/Makefile.am @ 443c61ec

Last change on this file since 443c61ec was 443c61ec, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 25, 2015 at 8:01:57 AM

Delete empty libc_init()

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