summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock/src/Makefile.am
blob: d1fdb002239f0ea6d1364cb596ee07fc6866e4c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
##
##  $Id$
##

LIB = ${ARCH}/libblock.a

C_FILES = bdbuf.c blkdev.c diskdevs.c ramdisk.c

C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))

SRCS = $(C_FILES)
OBJS = $(C_O_FILES)

include $(top_srcdir)/../automake/multilib.am
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/lib.am

AM_CFLAGS += $(LIBC_DEFINES)

$(LIB): ${OBJS}
	$(make-library)

all-local: ${ARCH} $(LIB)

include $(top_srcdir)/../automake/local.am