summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock/Makefile.am
blob: cbae75e2031e0cfcd7979122fd2fba72a2762b6c (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
28
29
##
## $Id$
##

ACLOCAL_AMFLAGS = -I ../aclocal

SUBDIRS = src

include_rtemsdir = $(includedir)/rtems

$(PROJECT_INCLUDE)/%.h: include/%.h
	$(INSTALL_DATA) $< $@

$(PROJECT_INCLUDE)/rtems:
	@$(mkinstalldirs) $@

include_rtems_HEADERS = \
    include/rtems/bdbuf.h include/rtems/blkdev.h \
    include/rtems/diskdevs.h include/rtems/ramdisk.h

PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
    $(include_rtems_HEADERS:include/%=$(PROJECT_INCLUDE)/%)

all-local: $(PREINSTALL_FILES)

EXTRA_DIST = README

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