summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libblock/Makefile.am
blob: 85a2b6af6a1e68c175002d4f4e353ca2bf28eba6 (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
30
##
## $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