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

4.104.11
Last change on this file since ead79688 was ead79688, checked in by Ralf Corsepius <ralf.corsepius@…>, on Sep 15, 2009 at 5:32:49 AM

2009-09-15 Ralf Corsépius <ralf.corsepius@…>

PR 1441/cpukit

  • libcsupport/src/tcgetprgrp.c: Remove.
  • libcsupport/src/tcgetpgrp.c: New (Renamed from libcsupport/src/tcgetprgrp.c).
  • libcsupport/Makefile.am: Add libcsupport/src/tcgetpgrp.c. Remove libcsupport/src/tcgetprgrp.c.
  • Property mode set to 100644
File size: 5.1 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
28## zilog
29
30include_rtems_zilogdir = $(includedir)/rtems/zilog
31
32include_rtems_zilog_HEADERS = include/zilog/z8036.h include/zilog/z8530.h \
33    include/zilog/z8536.h
34
35##  General stuff
36ERROR_C_FILES = src/error.c src/__assert.c
37
38ASSOCIATION_C_FILES = src/assoclocalbyname.c \
39    src/assoclocalbyremotebitfield.c src/assoclocalbyremote.c \
40    src/assocnamebad.c src/assocnamebylocalbitfield.c \
41    src/assocnamebylocal.c src/assocnamebyremotebitfield.c \
42    src/assocnamebyremote.c src/assocptrbylocal.c src/assocptrbyname.c \
43    src/assocptrbyremote.c src/assocremotebylocalbitfield.c \
44    src/assocremotebylocal.c src/assocremotebyname.c
45
46BASE_FS_C_FILES = src/base_fs.c src/mount.c src/unmount.c src/libio.c \
47    src/libio_init.c \
48    src/libio_sockets.c src/eval.c src/fs_null_handlers.c src/privateenv.c \
49    src/open_dev_console.c src/__usrenv.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
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 src/creat.c \
65    src/chroot.c src/sync.c src/_rename_r.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## 20 Nov 2008: Now using these from newlib's posix directory
75DIRECTORY_SCAN_C_FILES += src/opendir.c src/closedir.c src/readdir.c \
76     src/rewinddir.c src/scandir.c src/seekdir.c src/telldir.c
77## Newlib SHOULD have provided this one
78DIRECTORY_SCAN_C_FILES += src/readdir_r.c
79## Comment out when using these from newlib's unix directory
80DIRECTORY_SCAN_C_FILES += src/getcwd.c
81
82ID_C_FILES = src/getegid.c src/geteuid.c src/getgid.c src/getgroups.c \
83    src/getlogin.c src/getpgrp.c src/getpid.c src/getppid.c src/getuid.c \
84    src/setpgid.c src/setsid.c
85
86MALLOC_C_FILES = src/malloc_initialize.c src/calloc.c src/malloc.c \
87    src/realloc.c src/_calloc_r.c src/free.c src/_free_r.c src/_malloc_r.c \
88    src/_realloc_r.c src/__brk.c src/__sbrk.c src/mallocfreespace.c \
89    src/mallocinfo.c src/malloc_walk.c src/malloc_get_statistics.c \
90    src/malloc_report_statistics.c src/malloc_report_statistics_plugin.c \
91    src/malloc_statistics_helpers.c src/malloc_boundary.c \
92    src/posix_memalign.c src/rtems_memalign.c src/malloc_deferred.c \
93    src/malloc_sbrk_helpers.c src/malloc_dirtier.c src/malloc_p.h
94
95PASSWORD_GROUP_C_FILES = src/getpwent.c
96
97TERMINAL_IDENTIFICATION_C_FILES = src/ctermid.c
98## 20 Nov 2008: Now using these from newlib's posix directory
99TERMINAL_IDENTIFICATION_C_FILES += src/isatty.c src/isatty_r.c
100## Comment out when using these from newlib's unix directory
101TERMINAL_IDENTIFICATION_C_FILES += src/ttyname.c
102
103LIBC_GLUE_C_FILES = src/__getpid.c src/__gettod.c src/__times.c \
104    src/truncate.c src/access.c src/stat.c src/lstat.c src/pathconf.c \
105    src/newlibc_reent.c src/newlibc_init.c src/newlibc_exit.c src/no_posix.c \
106    src/no_libc.c src/utsname.c
107
108BSD_LIBC_C_FILES = src/strlcpy.c src/strlcat.c src/issetugid.c
109
110libcsupport_a_SOURCES = src/gxx_wrappers.c src/getchark.c src/printk.c \
111    src/printk_plugin.c src/putk.c src/vprintk.c \
112    $(BSD_LIBC_C_FILES) $(BASE_FS_C_FILES) $(MALLOC_C_FILES) \
113    $(ERROR_C_FILES) $(ASSOCIATION_C_FILES)
114
115if UNIX
116libcsupport_a_SOURCES += src/unixlibc.c src/unixlibc_io.c src/hosterr.c
117else
118libcsupport_a_SOURCES += $(LIBC_GLUE_C_FILES) $(PASSWORD_GROUP_C_FILES) \
119    $(TERMINAL_IDENTIFICATION_C_FILES) $(SYSTEM_CALL_C_FILES) \
120    $(DIRECTORY_SCAN_C_FILES) $(ID_C_FILES) src/envlock.c \
121    $(TERMIOS_C_FILES) src/getpagesize.c src/getrusage.c
122endif
123
124EXTRA_DIST = src/TODO src/CASES src/README
125
126include $(srcdir)/preinstall.am
127include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.