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
RevLine 
[e51bd96]1##
2## $Id$
3##
4
[6e183f1]5ACLOCAL_AMFLAGS = -I ../aclocal
[e51bd96]6
[c321496]7include $(top_srcdir)/../automake/multilib.am
8include $(top_srcdir)/../automake/compile.am
9include $(top_srcdir)/../automake/lib.am
[9909f34c]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 = \
[ef73563f]20    include/rtems/bdbuf.h include/rtems/blkdev.h \
[bf71e25e]21    include/rtems/diskdevs.h include/rtems/ramdisk.h \
22    include/rtems/ide_part_table.h
[9909f34c]23
24PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
25    $(include_rtems_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
26
[c321496]27LIB = ${ARCH}/libblock.a
[9909f34c]28
[bf71e25e]29C_FILES = src/bdbuf.c src/blkdev.c src/diskdevs.c src/ramdisk.c\
[05341d8]30          src/ide_part_table.c
[bf71e25e]31
[bb89189]32OBJS = $(C_FILES:src/%.c=${ARCH}/%.$(OBJEXT))
[c321496]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)
[e51bd96]43
[6e183f1]44include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.