source: rtems/cpukit/libblock/Makefile.am @ 086e708

Last change on this file since 086e708 was bf71e25e, checked in by Joel Sherrill <joel.sherrill@…>, on 03/25/03 at 17:02:01

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

PR 367/filesystem

  • Makefile.am, include/rtems/ide_part_table.h, src/ata.c, src/ide_part_table.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.0 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../aclocal
6
7include $(top_srcdir)/../automake/multilib.am
8include $(top_srcdir)/../automake/compile.am
9include $(top_srcdir)/../automake/lib.am
10
11include_rtemsdir = $(includedir)/rtems
12
13$(PROJECT_INCLUDE)/%.h: include/%.h
14        $(INSTALL_DATA) $< $@
15
16$(PROJECT_INCLUDE)/rtems:
17        @$(mkinstalldirs) $@
18
19include_rtems_HEADERS = \
20    include/rtems/bdbuf.h include/rtems/blkdev.h \
21    include/rtems/diskdevs.h include/rtems/ramdisk.h \
22    include/rtems/ata.h include/rtems/ata_internal.h \
23    include/rtems/ide_part_table.h
24
25PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
26    $(include_rtems_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
27
28LIB = ${ARCH}/libblock.a
29
30C_FILES = src/bdbuf.c src/blkdev.c src/diskdevs.c src/ramdisk.c\
31          src/ata.c src/ide_part_table.c
32
33OBJS = $(C_FILES:src/%.c=${ARCH}/%.$(OBJEXT))
34
35AM_CFLAGS += $(LIBC_DEFINES)
36
37${ARCH}/%.$(OBJEXT): src/%.c
38        ${COMPILE} -o $@ -c $<
39
40$(LIB): ${OBJS}
41        $(make-library)
42
43all-local: $(PREINSTALL_FILES) ${ARCH} $(LIB)
44
45include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.