summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock/src/Makefile.am
blob: 7d9e5a0b43b66d778553ca121c983edd1d249426 (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}/%.o)

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