source: rtems/cpukit/libcsupport/Makefile.am @ 6265b83

4.104.114.84.95
Last change on this file since 6265b83 was 6265b83, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 8, 2005 at 3:02:25 PM

Split preinstallation rules in to separate files (preinstall.am).

  • 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
8CLEANFILES =
9DISTCLEANFILES =
10
11noinst_LIBRARIES = libcsupport.a
12libcsupport_a_CPPFLAGS = $(AM_CPPFLAGS)
13
14include_rtemsdir = $(includedir)/rtems
15include_rtems_HEADERS = include/chain.h include/console.h include/clockdrv.h \
16    include/iosupp.h include/ringbuf.h include/rtc.h include/spurious.h \
17    include/timerdrv.h include/vmeintr.h
18
19## motorola
20
21include_rtems_motoroladir = $(includedir)/rtems/motorola
22
23include_rtems_motorola_HEADERS = include/motorola/mc68230.h \
24    include/motorola/mc68681.h
25
26## rtems
27include_rtems_HEADERS += include/rtems/assoc.h include/rtems/error.h \
28    include/rtems/libcsupport.h include/rtems/libio.h include/rtems/libio_.h \
29    include/rtems/termiostypes.h include/rtems/cdefs.h
30
31## zilog
32
33include_rtems_zilogdir = $(includedir)/rtems/zilog
34
35include_rtems_zilog_HEADERS = include/zilog/z8036.h include/zilog/z8530.h \
36    include/zilog/z8536.h
37
38##  General stuff
39all-local: $(PREINSTALL_FILES)
40
41ERROR_C_FILES = src/error.c
42
43ASSOCIATION_C_FILES = src/assoc.c src/assocnamebad.c
44
45BASE_FS_C_FILES = src/base_fs.c src/mount.c src/unmount.c src/libio.c \
46    src/libio_sockets.c src/eval.c src/fs_null_handlers.c src/privateenv.c
47
48TERMIOS_C_FILES = src/cfgetispeed.c src/cfgetospeed.c src/cfsetispeed.c \
49    src/cfsetospeed.c src/tcgetattr.c src/tcsetattr.c src/tcdrain.c \
50    src/tcflow.c src/tcflush.c src/tcgetprgrp.c src/tcsendbreak.c \
51    src/tcsetpgrp.c src/termios.c src/termiosinitialize.c \
52    src/termiosreserveresources.c
53
54SYSTEM_CALL_C_FILES = src/open.c src/close.c src/read.c src/write.c \
55    src/lseek.c src/ioctl.c src/mkdir.c src/mknod.c src/mkfifo.c src/rmdir.c \
56    src/chdir.c src/chmod.c src/fchdir.c src/fchmod.c src/chown.c src/link.c \
57    src/unlink.c src/umask.c src/ftruncate.c src/utime.c src/fstat.c \
58    src/fcntl.c src/fpathconf.c src/getdents.c src/fsync.c src/fdatasync.c \
59    src/pipe.c src/dup.c src/dup2.c src/symlink.c src/readlink.c src/creat.c \
60    src/chroot.c src/sync.c
61
62DIRECTORY_SCAN_C_FILES = src/opendir.c src/closedir.c src/readdir.c \
63    src/readdir_r.c src/rewinddir.c src/scandir.c src/seekdir.c \
64    src/telldir.c src/getcwd.c
65
66ID_C_FILES = src/getegid.c src/geteuid.c src/getgid.c src/getgroups.c \
67    src/getlogin.c src/getpgrp.c src/getpid.c src/getppid.c src/getuid.c \
68    src/setpgid.c src/setsid.c
69
70MALLOC_C_FILES = src/malloc.c src/mallocfreespace.c src/__brk.c \
71    src/__sbrk.c
72
73PASSWORD_GROUP_C_FILES = src/getpwent.c
74
75TERMINAL_IDENTIFICATION_C_FILES = src/ctermid.c src/isatty.c src/ttyname.c \
76    src/ttyname_r.c
77
78LIBC_GLUE_C_FILES = src/__getpid.c src/__gettod.c src/__times.c \
79    src/truncate.c src/access.c src/stat.c src/lstat.c src/pathconf.c \
80    src/newlibc.c src/no_posix.c src/no_libc.c src/utsname.c
81
82BSD_LIBC_C_FILES = src/strlcpy.c src/strlcat.c
83
84libcsupport_a_SOURCES = src/gxx_wrappers.c src/printk.c $(BSD_LIBC_C_FILES) \
85    $(BASE_FS_C_FILES) $(MALLOC_C_FILES) $(ERROR_C_FILES) \
86    $(ASSOCIATION_C_FILES)
87
88if UNIX
89libcsupport_a_SOURCES += src/unixlibc.c src/hosterr.c
90else
91libcsupport_a_SOURCES += $(LIBC_GLUE_C_FILES) $(PASSWORD_GROUP_C_FILES) \
92    $(TERMINAL_IDENTIFICATION_C_FILES) $(SYSTEM_CALL_C_FILES) \
93    $(DIRECTORY_SCAN_C_FILES) $(ID_C_FILES) src/envlock.c \
94    $(TERMIOS_C_FILES)
95endif
96
97EXTRA_DIST = src/TODO src/CASES src/README
98
99## PREINSTALLATION STUFF - Do not edit below
100
101all-local: $(PREINSTALL_FILES)
102
103include $(srcdir)/preinstall.am
104
105include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.