source: rtems/cpukit/libcsupport/Makefile.am @ 4b9ddca4

4.115
Last change on this file since 4b9ddca4 was 4b9ddca4, checked in by Sebastian Huber <sebastian.huber@…>, on 08/23/10 at 07:59:38

2010-08-23 Sebastian Huber <sebastian.huber@…>

PR 1671/cpukit

  • libcsupport/include/rtems/gxx_wrappers.h: New file.
  • libcsupport/Makefile.am, libcsupport/preinstall.am: Reflect change above.
  • libcsupport/src/gxx_wrappers.c: Include <rtems/gxx_wrappers.h>. Use _Internal_error_Occurred() instead of rtems_panic().
  • score/include/rtems/score/interr.h: Added INTERNAL_ERROR_GXX_KEY_ADD_FAILED and INTERNAL_ERROR_GXX_MUTEX_INIT_FAILED.
  • Property mode set to 100644
File size: 5.5 KB
Line 
1##
2##  $Id$
3##
4
5include $(top_srcdir)/automake/multilib.am
6include $(top_srcdir)/automake/compile.am
7
8noinst_LIBRARIES = libcsupport.a
9libcsupport_a_CPPFLAGS = $(AM_CPPFLAGS)
10
11include_rtemsdir = $(includedir)/rtems
12include_rtems_HEADERS = include/console.h include/clockdrv.h \
13    include/rtems/framebuffer.h include/iosupp.h include/ringbuf.h \
14    include/rtc.h include/spurious.h include/timerdrv.h include/vmeintr.h
15
16## motorola
17
18include_rtems_motoroladir = $(includedir)/rtems/motorola
19
20include_rtems_motorola_HEADERS = include/motorola/mc68230.h \
21    include/motorola/mc68681.h
22
23## rtems
24include_rtems_HEADERS += include/rtems/assoc.h include/rtems/error.h \
25    include/rtems/libcsupport.h include/rtems/libio.h include/rtems/libio_.h \
26    include/rtems/malloc.h include/rtems/termiostypes.h \
27    include/rtems/gxx_wrappers.h
28
29## zilog
30
31include_rtems_zilogdir = $(includedir)/rtems/zilog
32
33include_rtems_zilog_HEADERS = include/zilog/z8036.h include/zilog/z8530.h \
34    include/zilog/z8536.h
35
36##  General stuff
37ERROR_C_FILES = src/error.c src/__assert.c
38
39ASSOCIATION_C_FILES = src/assoclocalbyname.c \
40    src/assoclocalbyremotebitfield.c src/assoclocalbyremote.c \
41    src/assocnamebad.c src/assocnamebylocalbitfield.c \
42    src/assocnamebylocal.c src/assocnamebyremotebitfield.c \
43    src/assocnamebyremote.c src/assocptrbylocal.c src/assocptrbyname.c \
44    src/assocptrbyremote.c src/assocremotebylocalbitfield.c \
45    src/assocremotebylocal.c src/assocremotebyname.c
46
47BASE_FS_C_FILES = src/base_fs.c src/mount.c src/unmount.c src/libio.c \
48    src/mount-mgr.c src/mount-mktgt.c src/libio_init.c \
49    src/eval.c src/privateenv.c \
50    src/open_dev_console.c src/__usrenv.c src/rtems_mkdir.c
51
52if LIBNETWORKING
53BASE_FS_C_FILES += src/libio_sockets.c
54endif
55
56TERMIOS_C_FILES = src/cfgetispeed.c src/cfgetospeed.c src/cfsetispeed.c \
57    src/cfsetospeed.c src/tcgetattr.c src/tcsetattr.c src/tcdrain.c \
58    src/tcflow.c src/tcflush.c src/tcgetpgrp.c src/tcsendbreak.c \
59    src/tcsetpgrp.c src/termios.c src/termiosinitialize.c \
60    src/termios_baud2index.c src/termios_baud2num.c src/termios_num2baud.c \
61    src/termios_setinitialbaud.c src/termios_baudtable.c
62
63SYSTEM_CALL_C_FILES = src/open.c src/close.c src/read.c src/write.c \
64    src/write_r.c \
65    src/lseek.c src/ioctl.c src/mkdir.c src/mknod.c src/mkfifo.c src/rmdir.c \
66    src/chdir.c src/chmod.c src/fchdir.c src/fchmod.c src/fchown.c src/chown.c \
67    src/link.c src/unlink.c src/umask.c src/ftruncate.c src/utime.c src/fstat.c \
68    src/fcntl.c src/fpathconf.c src/getdents.c src/fsync.c src/fdatasync.c \
69    src/pipe.c src/dup.c src/dup2.c src/symlink.c src/readlink.c src/creat.c \
70    src/chroot.c src/sync.c src/_rename_r.c src/statvfs.c src/utimes.c src/lchown.c
71
72## Until sys/uio.h is moved to libcsupport, we have to have networking
73## enabled to compile these.  Hopefully this is a temporary situation.
74if NEWLIB
75SYSTEM_CALL_C_FILES += src/readv.c src/writev.c
76endif
77
78DIRECTORY_SCAN_C_FILES =
79## 20 Nov 2008: Now using these from newlib's posix directory
80DIRECTORY_SCAN_C_FILES += src/opendir.c src/closedir.c src/readdir.c \
81     src/rewinddir.c src/scandir.c src/seekdir.c src/telldir.c
82## Newlib SHOULD have provided this one
83DIRECTORY_SCAN_C_FILES += src/readdir_r.c
84## Comment out when using these from newlib's unix directory
85DIRECTORY_SCAN_C_FILES += src/getcwd.c
86
87ID_C_FILES = src/getegid.c src/geteuid.c src/getgid.c src/getgroups.c \
88    src/getlogin.c src/getpgrp.c src/getpid.c src/getppid.c src/getuid.c \
89    src/seteuid.c src/setgid.c src/setuid.c src/seteuid.c src/setpgid.c \
90    src/setsid.c
91
92MALLOC_C_FILES = src/malloc_initialize.c src/calloc.c src/malloc.c \
93    src/realloc.c src/_calloc_r.c src/_malloc_r.c \
94    src/free.c src/freenode.c src/_free_r.c \
95    src/_realloc_r.c src/mallocfreespace.c \
96   src/mallocgetheapptr.c src/mallocsetheapptr.c \
97    src/mallocinfo.c src/malloc_walk.c src/malloc_get_statistics.c \
98    src/malloc_report_statistics.c src/malloc_report_statistics_plugin.c \
99    src/malloc_statistics_helpers.c src/posix_memalign.c \
100    src/rtems_memalign.c src/malloc_deferred.c src/malloc_sbrk_helpers.c \
101    src/malloc_dirtier.c src/malloc_p.h src/rtems_malloc.c
102
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_init.c src/newlibc_exit.c \
114    src/kill_noposix.c src/sleep_noposix.c src/utsname.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/sup_fs_is_separator.c src/sup_fs_get_start_loc.c \
121    src/sup_fs_get_sym_start_loc.c \
122    $(BSD_LIBC_C_FILES) $(BASE_FS_C_FILES) $(MALLOC_C_FILES) \
123    $(ERROR_C_FILES) $(ASSOCIATION_C_FILES)
124
125libcsupport_a_SOURCES += $(LIBC_GLUE_C_FILES) $(PASSWORD_GROUP_C_FILES) \
126    $(TERMINAL_IDENTIFICATION_C_FILES) $(SYSTEM_CALL_C_FILES) \
127    $(DIRECTORY_SCAN_C_FILES) $(ID_C_FILES) src/envlock.c \
128    $(TERMIOS_C_FILES) src/getpagesize.c src/getrusage.c
129
130libcsupport_a_SOURCES += src/flockfile.c src/funlockfile.c src/ftrylockfile.c
131
132EXTRA_DIST = src/TODO src/CASES src/README
133
134include $(srcdir)/preinstall.am
135include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.