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

4.11
Last change on this file since c625a641 was c625a641, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 21, 2014 at 7:12:28 PM

Filesystem: Delete node type operation

Use the fstat handler instead.

  • Property mode set to 100644
File size: 6.3 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/rtems/tod.h
15include_rtems_HEADERS += include/spurious.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/libio_helper_null.c \
59    src/libio_exit.c \
60    src/open_dev_console.c src/__usrenv.c src/rtems_mkdir.c
61BASE_FS_C_FILES += src/uenvgetgroups.c
62
63TERMIOS_C_FILES = src/cfgetispeed.c src/cfgetospeed.c src/cfsetispeed.c \
64    src/cfsetospeed.c src/tcgetattr.c src/tcsetattr.c src/tcdrain.c \
65    src/tcflow.c src/tcflush.c src/tcgetpgrp.c src/tcsendbreak.c \
66    src/tcsetpgrp.c src/termios.c src/termiosinitialize.c \
67    src/termios_baud2index.c src/termios_baud2num.c src/termios_num2baud.c \
68    src/termios_setinitialbaud.c src/termios_baudtable.c src/cfsetspeed.c \
69    src/cfmakeraw.c src/termios_setbestbaud.c
70
71SYSTEM_CALL_C_FILES = src/open.c src/close.c src/read.c src/write.c \
72    src/write_r.c \
73    src/lseek.c src/ioctl.c src/mkdir.c src/mknod.c src/mkfifo.c src/rmdir.c \
74    src/chdir.c src/chmod.c src/fchdir.c src/fchmod.c src/fchown.c src/chown.c \
75    src/link.c src/unlink.c src/umask.c src/ftruncate.c src/utime.c src/fstat.c \
76    src/fcntl.c src/fpathconf.c src/getdents.c src/fsync.c src/fdatasync.c \
77    src/pipe.c src/dup.c src/dup2.c src/symlink.c src/readlink.c \
78    src/chroot.c src/sync.c src/_rename_r.c src/statvfs.c src/utimes.c src/lchown.c
79
80## Until sys/uio.h is moved to libcsupport, we have to have networking
81## enabled to compile these.  Hopefully this is a temporary situation.
82if NEWLIB
83SYSTEM_CALL_C_FILES += src/readv.c src/writev.c
84endif
85
86DIRECTORY_SCAN_C_FILES =
87## Newlib SHOULD have provided this one
88DIRECTORY_SCAN_C_FILES += src/readdir_r.c
89## Comment out when using these from newlib's unix directory
90DIRECTORY_SCAN_C_FILES += src/getcwd.c
91
92ID_C_FILES = src/getegid.c src/geteuid.c src/getgid.c src/getgroups.c \
93    src/getlogin.c src/getpgrp.c src/getpid.c src/getppid.c src/getuid.c \
94    src/seteuid.c src/setgid.c src/setuid.c src/setegid.c src/setpgid.c \
95    src/setsid.c
96
97MALLOC_C_FILES = src/malloc_initialize.c src/calloc.c src/malloc.c \
98    src/realloc.c src/_calloc_r.c src/_malloc_r.c \
99    src/free.c src/_free_r.c \
100    src/_realloc_r.c src/mallocfreespace.c \
101    src/mallocgetheapptr.c src/mallocsetheapptr.c \
102    src/mallocinfo.c src/malloc_walk.c \
103    src/posix_memalign.c \
104    src/rtems_memalign.c src/malloc_deferred.c \
105    src/malloc_dirtier.c src/malloc_p.h src/rtems_malloc.c \
106    src/rtems_heap_extend_via_sbrk.c \
107    src/rtems_heap_null_extend.c \
108    src/rtems_heap_extend.c \
109    src/rtems_heap_greedy.c
110MALLOC_C_FILES += src/cachealignedalloc.c
111MALLOC_C_FILES += src/cachecoherentalloc.c
112
113PASSWORD_GROUP_C_FILES = src/pwdgrp.c
114PASSWORD_GROUP_C_FILES += src/getgrent.c
115PASSWORD_GROUP_C_FILES += src/getgrnam.c
116PASSWORD_GROUP_C_FILES += src/getpwent.c
117
118TERMINAL_IDENTIFICATION_C_FILES = src/ctermid.c
119## 20 Nov 2008: Now using these from newlib's posix directory
120TERMINAL_IDENTIFICATION_C_FILES += src/isatty.c src/isatty_r.c
121## Comment out when using these from newlib's unix directory
122TERMINAL_IDENTIFICATION_C_FILES += src/ttyname.c
123
124LIBC_GLUE_C_FILES = src/__getpid.c src/__gettod.c src/__times.c \
125    src/truncate.c src/access.c src/stat.c src/lstat.c src/pathconf.c \
126    src/newlibc_reent.c src/newlibc_init.c src/newlibc_exit.c \
127    src/kill_noposix.c src/utsname.c src/realpath.c
128
129BSD_LIBC_C_FILES = src/strlcpy.c src/strlcat.c src/issetugid.c
130
131libcsupport_a_SOURCES = src/gxx_wrappers.c src/getchark.c src/printk.c \
132    src/printk_plugin.c src/putk.c src/vprintk.c \
133    src/rtems_putc.c \
134    src/printf_plugin.c \
135    src/sup_fs_location.c \
136    src/sup_fs_eval_path.c \
137    src/sup_fs_eval_path_generic.c \
138    src/sup_fs_check_permissions.c \
139    src/sup_fs_next_token.c \
140    src/sup_fs_exist_in_same_instance.c \
141    src/sup_fs_mount_iterate.c \
142    src/sup_fs_deviceio.c \
143    src/clonenode.c \
144    src/freenode.c \
145    src/resource_snapshot.c \
146    $(BSD_LIBC_C_FILES) $(BASE_FS_C_FILES) $(MALLOC_C_FILES) \
147    $(ERROR_C_FILES) $(ASSOCIATION_C_FILES)
148
149libcsupport_a_SOURCES += $(LIBC_GLUE_C_FILES) $(PASSWORD_GROUP_C_FILES) \
150    $(TERMINAL_IDENTIFICATION_C_FILES) $(SYSTEM_CALL_C_FILES) \
151    $(DIRECTORY_SCAN_C_FILES) $(ID_C_FILES) src/envlock.c \
152    $(TERMIOS_C_FILES) src/getpagesize.c src/getrusage.c
153
154libcsupport_a_SOURCES += src/flockfile.c src/funlockfile.c src/ftrylockfile.c
155
156EXTRA_DIST = src/TODO src/CASES src/README
157
158include $(srcdir)/preinstall.am
159include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.