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

4.104.114.84.9
Last change on this file since 006fa1ef was 006fa1ef, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 20, 2003 at 12:14:50 PM

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
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/multilib.am
6include $(top_srcdir)/automake/compile.am
7include $(top_srcdir)/automake/lib.am
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 = \
18    include/rtems/bdbuf.h include/rtems/blkdev.h \
19    include/rtems/diskdevs.h include/rtems/ramdisk.h \
20    include/rtems/ide_part_table.h
21
22PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
23    $(include_rtems_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
24
25LIB = ${ARCH}/libblock.a
26
27C_FILES = src/bdbuf.c src/blkdev.c src/diskdevs.c src/ramdisk.c\
28          src/ide_part_table.c
29
30OBJS = $(C_FILES:src/%.c=${ARCH}/%.$(OBJEXT))
31
32AM_CPPFLAGS += -I$(top_builddir)
33AM_CPPFLAGS += $(LIBC_DEFINES)
34
35${ARCH}/%.$(OBJEXT): src/%.c
36        ${COMPILE} -o $@ -c $<
37
38$(LIB): ${OBJS}
39        $(make-library)
40
41all-local: $(PREINSTALL_FILES) ${ARCH} $(LIB)
42
43include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.