summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libblock/src/Makefile.am
blob: 96d611491c3d7700cb287f4cb21d1ad497a3a3bb (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
26
27
##
##  $Id$
##


LIBNAME = libblock
LIB = ${ARCH}/${LIBNAME}.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