source: rtems/cpukit/libblock/Makefile.am @ 006fa1ef

4.104.114.84.95
Last change on this file since 006fa1ef was 006fa1ef, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/20/03 at 12:14:50

2003-11-20 Ralf Corsepius <corsepiu@…>

  • Makefile.am: AM_CPPFLAGS += -I$(top_builddir). Use AM_CPPFLAGS instead of AM_CFLAGS.
  • src/ata.c: Include config.h.
  • src/bdbuf.c: Ditto.
  • src/blkdev.c: Ditto.
  • src/diskdevs.c: Ditto.
  • src/ide_part_table.c: Ditto.
  • src/ramdisk.c: Ditto.
  • Property mode set to 100644
File size: 973 bytes
RevLine 
[e51bd96]1##
2## $Id$
3##
4
[f3f0c916]5include $(top_srcdir)/automake/multilib.am
6include $(top_srcdir)/automake/compile.am
7include $(top_srcdir)/automake/lib.am
[9909f34c]8
9include_rtemsdir = $(includedir)/rtems
10
11$(PROJECT_INCLUDE)/%.h: include/%.h
12        $(INSTALL_DATA) $< $@
13
14$(PROJECT_INCLUDE)/rtems:
15        @$(mkinstalldirs) $@
16
17include_rtems_HEADERS = \
[ef73563f]18    include/rtems/bdbuf.h include/rtems/blkdev.h \
[dbe06865]19    include/rtems/diskdevs.h include/rtems/ramdisk.h \
20    include/rtems/ide_part_table.h
[9909f34c]21
22PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
23    $(include_rtems_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
24
[c321496]25LIB = ${ARCH}/libblock.a
[9909f34c]26
[dbe06865]27C_FILES = src/bdbuf.c src/blkdev.c src/diskdevs.c src/ramdisk.c\
[8bdf1d6]28          src/ide_part_table.c
[dbe06865]29
[bb89189]30OBJS = $(C_FILES:src/%.c=${ARCH}/%.$(OBJEXT))
[c321496]31
[006fa1ef]32AM_CPPFLAGS += -I$(top_builddir)
33AM_CPPFLAGS += $(LIBC_DEFINES)
[c321496]34
35${ARCH}/%.$(OBJEXT): src/%.c
36        ${COMPILE} -o $@ -c $<
37
38$(LIB): ${OBJS}
39        $(make-library)
40
41all-local: $(PREINSTALL_FILES) ${ARCH} $(LIB)
[e51bd96]42
[f3f0c916]43include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.