source: rtems/cpukit/libblock/Makefile.am @ 0fa54a0b

4.104.114.84.95
Last change on this file since 0fa54a0b was f3f0c916, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/08/03 at 08:12:59

2003-07-08 Ralf Corsepius <corsepiu@…>

  • configure.ac: Remove (Merged into ../configure.ac).
  • Makefile.am: Reflect having merged configure.ac into ../configure.ac.
  • Property mode set to 100644
File size: 938 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_CFLAGS += $(LIBC_DEFINES)
33
34${ARCH}/%.$(OBJEXT): src/%.c
35        ${COMPILE} -o $@ -c $<
36
37$(LIB): ${OBJS}
38        $(make-library)
39
40all-local: $(PREINSTALL_FILES) ${ARCH} $(LIB)
41
42include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.