source: rtems/cpukit/libblock/Makefile.am @ 109fc26

4.104.114.84.95
Last change on this file since 109fc26 was 8bdf1d6, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 27, 2003 at 3:20:19 PM

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

  • ChangeLog?, 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: 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 \
[dbe06865]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
[dbe06865]29C_FILES = src/bdbuf.c src/blkdev.c src/diskdevs.c src/ramdisk.c\
[8bdf1d6]30          src/ide_part_table.c
[dbe06865]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.