source: rtems/cpukit/libfs/src/dosfs/Makefile.am @ 01c5b9d7

Last change on this file since 01c5b9d7 was 01c5b9d7, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 25, 2003 at 5:01:56 PM

2003-03-25 Thomas Doerfler <Thomas.Doerfler@…>

PR 367/filesystem

  • src/dosfs/Makefile.am, src/dosfs/fat.c, src/dosfs/fat.h, src/dosfs/fat_fat_operations.c, src/dosfs/fat_file.c, src/dosfs/msdos.h, src/dosfs/msdos_dir.c: Some bugs were still present in the DOSFS implementation:
    • FAT12 did not work properly on Big-Endian machines
    • Some synchronization and error handling problems were present
    • Some legal codings for EOC were not recognized
  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[f36a7bfc]1##
2##  $Id$
3##
4
5
[7077c87]6include $(top_srcdir)/../automake/multilib.am
7include $(top_srcdir)/../automake/compile.am
8include $(top_srcdir)/../automake/lib.am
[f36a7bfc]9
[3e83325]10AM_CPPFLAGS += -I../.. $(LIBC_DEFINES)
[f36a7bfc]11
12FATFS_C_FILES = fat.c fat_fat_operations.c fat_file.c
13
14DOSFS_C_FILES = msdos_create.c msdos_dir.c msdos_eval.c msdos_file.c \
15                msdos_free.c msdos_fsunmount.c msdos_handlers_dir.c  \
16                msdos_handlers_file.c msdos_init.c msdos_initsupp.c  \
17                msdos_misc.c msdos_mknod.c msdos_node_type.c
18
[2de2bec]19if !UNIX
[3e83325]20LIB = ${ARCH}/libdosfs.a
[f36a7bfc]21
[2de2bec]22C_FILES = $(FATFS_C_FILES) $(DOSFS_C_FILES)
[2d709236]23OBJS = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
[f36a7bfc]24
[6940f507]25include_HEADERS = dosfs.h
[f36a7bfc]26
[2de2bec]27H_FILES = $(PROJECT_INCLUDE) \
28    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
[f36a7bfc]29
[01c5b9d7]30PREINSTALL_FILES = $(PROJECT_INCLUDE) \
31    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
32
33
[f36a7bfc]34$(PROJECT_INCLUDE):
35        @$(mkinstalldirs) $@
36
37$(PROJECT_INCLUDE)/%.h: %.h
38        $(INSTALL_DATA) $< $@
39#
40# Add local stuff here using +=
41#
42all-local: ${ARCH} $(LIB)
43
44$(LIB): ${OBJS}
45        $(make-library)
[2de2bec]46endif
[f36a7bfc]47
[2de2bec]48TMPINSTALL_FILES += $(H_FILES)
[f36a7bfc]49
[2de2bec]50EXTRA_DIST = $(DOSFS_C_FILES) $(FATFS_C_FILES)
[f36a7bfc]51
[7077c87]52include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.