1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | include $(top_srcdir)/automake/multilib.am |
---|
6 | include $(top_srcdir)/automake/compile.am |
---|
7 | |
---|
8 | CLEANFILES = |
---|
9 | DISTCLEANFILES = |
---|
10 | |
---|
11 | noinst_LIBRARIES = libcsupport.a |
---|
12 | libcsupport_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
13 | |
---|
14 | include_rtemsdir = $(includedir)/rtems |
---|
15 | include_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 | |
---|
21 | include_rtems_motoroladir = $(includedir)/rtems/motorola |
---|
22 | |
---|
23 | include_rtems_motorola_HEADERS = include/motorola/mc68230.h \ |
---|
24 | include/motorola/mc68681.h |
---|
25 | |
---|
26 | ## rtems |
---|
27 | include_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 | |
---|
33 | include_rtems_zilogdir = $(includedir)/rtems/zilog |
---|
34 | |
---|
35 | include_rtems_zilog_HEADERS = include/zilog/z8036.h include/zilog/z8530.h \ |
---|
36 | include/zilog/z8536.h |
---|
37 | |
---|
38 | ## General stuff |
---|
39 | all-local: $(PREINSTALL_FILES) |
---|
40 | |
---|
41 | ERROR_C_FILES = src/error.c |
---|
42 | |
---|
43 | ASSOCIATION_C_FILES = src/assoc.c src/assocnamebad.c |
---|
44 | |
---|
45 | BASE_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 | |
---|
48 | TERMIOS_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 | |
---|
54 | SYSTEM_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 | |
---|
62 | DIRECTORY_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 | |
---|
66 | ID_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 | |
---|
70 | MALLOC_C_FILES = src/malloc.c src/mallocfreespace.c src/__brk.c \ |
---|
71 | src/__sbrk.c |
---|
72 | |
---|
73 | PASSWORD_GROUP_C_FILES = src/getpwent.c |
---|
74 | |
---|
75 | TERMINAL_IDENTIFICATION_C_FILES = src/ctermid.c src/isatty.c src/ttyname.c \ |
---|
76 | src/ttyname_r.c |
---|
77 | |
---|
78 | LIBC_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 | |
---|
82 | BSD_LIBC_C_FILES = src/strlcpy.c src/strlcat.c |
---|
83 | |
---|
84 | libcsupport_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 | |
---|
88 | if UNIX |
---|
89 | libcsupport_a_SOURCES += src/unixlibc.c src/hosterr.c |
---|
90 | else |
---|
91 | libcsupport_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) |
---|
95 | endif |
---|
96 | |
---|
97 | EXTRA_DIST = src/TODO src/CASES src/README |
---|
98 | |
---|
99 | ## PREINSTALLATION STUFF - Do not edit below |
---|
100 | |
---|
101 | all-local: $(PREINSTALL_FILES) |
---|
102 | |
---|
103 | include $(srcdir)/preinstall.am |
---|
104 | |
---|
105 | include $(top_srcdir)/automake/local.am |
---|