summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mbx8xx/include/Makefile.am
blob: 712cebaa6fa47eb85568803410e3884d2350333d (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$
##


include_bspdir = $(includedir)/bsp

include_HEADERS = bsp.h coverhd.h bspopts.h
include_bsp_HEADERS = mbx.h commproc.h 8xx_immap.h

$(PROJECT_INCLUDE):
	$(mkinstalldirs) $@

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

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

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

TMPINSTALL_FILES = $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/bsp \
	$(include_HEADERS:%=$(PROJECT_INCLUDE)/%) \
	$(include_bsp_HEADERS:%=$(PROJECT_INCLUDE)/bsp/%)

all-local: $(TMPINSTALL_FILES)

include $(top_srcdir)/../../../../automake/force-preinstall.am
include $(top_srcdir)/../../../../automake/local.am