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

4.104.114.84.9
Last change on this file since dbe8e519 was dbe8e519, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 12, 2006 at 4:19:28 AM

Cleanups

  • Property mode set to 100644
File size: 3.4 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/chain.h include/console.h include/clockdrv.h \
13    include/iosupp.h include/ringbuf.h include/rtc.h include/spurious.h \
14    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/termiostypes.h include/rtems/cdefs.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
36all-local: $(PREINSTALL_FILES)
37
38ERROR_C_FILES = src/error.c
39
40ASSOCIATION_C_FILES = src/assoc.c src/assocnamebad.c
41
42BASE_FS_C_FILES = src/base_fs.c src/mount.c src/unmount.c src/libio.c \
43    src/libio_sockets.c src/eval.c src/fs_null_handlers.c src/privateenv.c
44
45TERMIOS_C_FILES = src/cfgetispeed.c src/cfgetospeed.c src/cfsetispeed.c \
46    src/cfsetospeed.c src/tcgetattr.c src/tcsetattr.c src/tcdrain.c \
47    src/tcflow.c src/tcflush.c src/tcgetprgrp.c src/tcsendbreak.c \
48    src/tcsetpgrp.c src/termios.c src/termiosinitialize.c \
49    src/termiosreserveresources.c
50
51SYSTEM_CALL_C_FILES = src/open.c src/close.c src/read.c src/write.c \
52    src/lseek.c src/ioctl.c src/mkdir.c src/mknod.c src/mkfifo.c src/rmdir.c \
53    src/chdir.c src/chmod.c src/fchdir.c src/fchmod.c src/chown.c src/link.c \
54    src/unlink.c src/umask.c src/ftruncate.c src/utime.c src/fstat.c \
55    src/fcntl.c src/fpathconf.c src/getdents.c src/fsync.c src/fdatasync.c \
56    src/pipe.c src/dup.c src/dup2.c src/symlink.c src/readlink.c src/creat.c \
57    src/chroot.c src/sync.c
58
59DIRECTORY_SCAN_C_FILES = src/opendir.c src/closedir.c src/readdir.c \
60    src/readdir_r.c src/rewinddir.c src/scandir.c src/seekdir.c \
61    src/telldir.c src/getcwd.c
62
63ID_C_FILES = src/getegid.c src/geteuid.c src/getgid.c src/getgroups.c \
64    src/getlogin.c src/getpgrp.c src/getpid.c src/getppid.c src/getuid.c \
65    src/setpgid.c src/setsid.c
66
67MALLOC_C_FILES = src/malloc.c src/mallocfreespace.c src/__brk.c \
68    src/__sbrk.c
69
70PASSWORD_GROUP_C_FILES = src/getpwent.c
71
72TERMINAL_IDENTIFICATION_C_FILES = src/ctermid.c src/isatty.c src/ttyname.c
73
74LIBC_GLUE_C_FILES = src/__getpid.c src/__gettod.c src/__times.c \
75    src/truncate.c src/access.c src/stat.c src/lstat.c src/pathconf.c \
76    src/newlibc.c src/no_posix.c src/no_libc.c src/utsname.c
77
78BSD_LIBC_C_FILES = src/strlcpy.c src/strlcat.c
79
80libcsupport_a_SOURCES = src/gxx_wrappers.c src/printk.c $(BSD_LIBC_C_FILES) \
81    $(BASE_FS_C_FILES) $(MALLOC_C_FILES) $(ERROR_C_FILES) \
82    $(ASSOCIATION_C_FILES)
83
84if UNIX
85libcsupport_a_SOURCES += src/unixlibc.c src/hosterr.c
86else
87libcsupport_a_SOURCES += $(LIBC_GLUE_C_FILES) $(PASSWORD_GROUP_C_FILES) \
88    $(TERMINAL_IDENTIFICATION_C_FILES) $(SYSTEM_CALL_C_FILES) \
89    $(DIRECTORY_SCAN_C_FILES) $(ID_C_FILES) src/envlock.c \
90    $(TERMIOS_C_FILES)
91endif
92
93EXTRA_DIST = src/TODO src/CASES src/README
94
95all-local: $(PREINSTALL_FILES)
96
97include $(srcdir)/preinstall.am
98include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.