source: rtems/cpukit/libblock/Makefile.am @ 05341d8

Last change on this file since 05341d8 was 05341d8, checked in by Joel Sherrill <joel.sherrill@…>, on 03/27/03 at 15:17:53

2003-03-27 Joel Sherrill <joel@…>

  • Makefile.am: ATA code depends upon libchip/ide which is not allowed in the cpukit source code since it must be buildable independent of any BSP. These files were moved to libchip/ide.
  • include/rtems/ata.h, include/rtems/ata_internal.h, src/ata.c: Removed.
  • Property mode set to 100644
File size: 983 bytes
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/ide_part_table.h
23
24PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
25    $(include_rtems_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
26
27LIB = ${ARCH}/libblock.a
28
29C_FILES = src/bdbuf.c src/blkdev.c src/diskdevs.c src/ramdisk.c\
30          src/ide_part_table.c
31
32OBJS = $(C_FILES:src/%.c=${ARCH}/%.$(OBJEXT))
33
34AM_CFLAGS += $(LIBC_DEFINES)
35
36${ARCH}/%.$(OBJEXT): src/%.c
37        ${COMPILE} -o $@ -c $<
38
39$(LIB): ${OBJS}
40        $(make-library)
41
42all-local: $(PREINSTALL_FILES) ${ARCH} $(LIB)
43
44include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.