summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/eth_comm/include/Makefile.am
blob: 7c4279a5c1de7013dd90af4217eaf6c7b3b7a1bd (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
31
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

include_bspdir = $(includedir)/bsp

include_HEADERS = bsp.h coverhd.h canbus.h info.h bspopts.h
include_bsp_HEADERS = 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