summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/Makefile.am
blob: 342f5eb063d90ebf8785c55ae8da5dbf966ecb21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
##
## $Id$
##

include $(top_srcdir)/automake/multilib.am
include $(top_srcdir)/automake/compile.am

SUBDIRS = src/nfsclient

EXTRA_DIST = README

noinst_LIBRARIES = libdefaultfs.a
libdefaultfs_a_SOURCES = \
    src/defaults/default_clone.c \
    src/defaults/default_are_nodes_equal.c \
    src/defaults/default_lock_and_unlock.c \
    src/defaults/default_eval_path.c \
    src/defaults/default_fchmod.c src/defaults/default_freenode.c \
    src/defaults/default_fsync.c \
    src/defaults/default_fsync_success.c \
    src/defaults/default_link.c \
    src/defaults/default_read.c src/defaults/default_rmnod.c \
    src/defaults/default_chown.c \
    src/defaults/default_fcntl.c src/defaults/default_fsmount.c \
    src/defaults/default_ftruncate.c src/defaults/default_lseek.c \
    src/defaults/default_lseek_success.c \
    src/defaults/default_readlink.c src/defaults/default_statvfs.c \
    src/defaults/default_utime.c \
    src/defaults/default_fstat.c \
    src/defaults/default_ioctl.c src/defaults/default_mount.c \
    src/defaults/default_rename.c src/defaults/default_symlink.c \
    src/defaults/default_write.c \
    src/defaults/default_unmount.c \
    src/defaults/default_open.c src/defaults/default_close.c \
    src/defaults/default_fsunmount.c src/defaults/default_mknod.c \
    src/defaults/default_node_type.c \
    src/defaults/default_ftruncate_directory.c \
    src/defaults/default_handlers.c src/defaults/default_ops.c

noinst_LIBRARIES += libimfs.a
libimfs_a_SOURCES =

libimfs_a_SOURCES += src/imfs/deviceerrno.c src/imfs/deviceio.c \
    src/imfs/fifoimfs_init.c src/imfs/imfs_chown.c src/imfs/imfs_config.c \
    src/imfs/imfs_creat.c src/imfs/imfs_debug.c src/imfs/imfs_directory.c \
    src/imfs/imfs_eval.c src/imfs/imfs_fchmod.c \
    src/imfs/imfs_fifo.c \
    src/imfs/imfs_fsunmount.c \
    src/imfs/imfs_handlers_device.c \
    src/imfs/imfs_handlers_directory.c src/imfs/imfs_handlers_link.c \
    src/imfs/imfs_handlers_memfile.c src/imfs/imfs_init.c \
    src/imfs/imfs_initsupp.c src/imfs/imfs_link.c src/imfs/imfs_load_tar.c \
    src/imfs/imfs_mknod.c src/imfs/imfs_mount.c src/imfs/imfs_ntype.c \
    src/imfs/imfs_readlink.c src/imfs/imfs_rename.c src/imfs/imfs_rmnod.c \
    src/imfs/imfs_stat.c src/imfs/imfs_symlink.c \
    src/imfs/imfs_unmount.c src/imfs/imfs_utime.c src/imfs/ioman.c \
    src/imfs/memfile.c src/imfs/miniimfs_init.c src/imfs/imfs.h

# POSIX FIFO/pipe
libimfs_a_SOURCES += src/pipe/fifo.c src/pipe/pipe.c src/pipe/pipe.h

noinst_LIBRARIES += libdevfs.a
libdevfs_a_SOURCES = src/devfs/devfs_init.c src/devfs/devfs_eval.c \
    src/devfs/devfs_mknod.c src/devfs/devfs_show.c \
    src/devfs/devfs_node_type.c src/devfs/devopen.c src/devfs/devread.c \
    src/devfs/devwrite.c src/devfs/devclose.c src/devfs/devioctl.c \
    src/devfs/devstat.c src/devfs/devfs.h

# dosfs
if LIBDOSFS
noinst_LIBRARIES += libdosfs.a

# libdosfs_FATFS_C_FILES
libdosfs_a_SOURCES = src/dosfs/fat.c src/dosfs/fat.h \
    src/dosfs/fat_fat_operations.c src/dosfs/fat_fat_operations.h \
    src/dosfs/fat_file.c src/dosfs/fat_file.h

# libdosfs_DOSFS_C_FILES
libdosfs_a_SOURCES += src/dosfs/msdos_create.c src/dosfs/msdos_dir.c \
    src/dosfs/msdos_eval.c src/dosfs/msdos_file.c src/dosfs/msdos_free.c \
    src/dosfs/msdos_fsunmount.c src/dosfs/msdos_handlers_dir.c \
    src/dosfs/msdos_handlers_file.c src/dosfs/msdos_init.c \
    src/dosfs/msdos_initsupp.c src/dosfs/msdos_misc.c \
    src/dosfs/msdos_mknod.c src/dosfs/msdos_node_type.c \
    src/dosfs/msdos_rmnod.c \
    src/dosfs/msdos_conv.c src/dosfs/msdos.h src/dosfs/msdos_format.c \
    src/dosfs/dosfs.h src/dosfs/msdos_rename.c
endif

# RFS
noinst_LIBRARIES += librfs.a
librfs_a_SOURCES = \
    src/rfs/rtems-rfs-bitmaps.c src/rfs/rtems-rfs-block.c \
    src/rfs/rtems-rfs-buffer-bdbuf.c src/rfs/rtems-rfs-buffer.c \
    src/rfs/rtems-rfs-dir-hash.c src/rfs/rtems-rfs-file.c \
    src/rfs/rtems-rfs-group.c src/rfs/rtems-rfs-inode.c \
    src/rfs/rtems-rfs-rtems-dev.c src/rfs/rtems-rfs-rtems-utils.c \
    src/rfs/rtems-rfs-rtems.c src/rfs/rtems-rfs-shell.c \
    src/rfs/rtems-rfs-bitmaps-ut.c src/rfs/rtems-rfs-dir.c \
    src/rfs/rtems-rfs-file-system.c src/rfs/rtems-rfs-format.c \
    src/rfs/rtems-rfs-link.c src/rfs/rtems-rfs-mutex.c \
    src/rfs/rtems-rfs-rtems-dir.c src/rfs/rtems-rfs-rtems-file.c \
    src/rfs/rtems-rfs-trace.c

# ---
include $(srcdir)/preinstall.am
include $(top_srcdir)/automake/subdirs.am
include $(top_srcdir)/automake/local.am