summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/i960/include/Makefile.am
blob: c4e2305cf0ad64b3372dcd34f7ab4e93d81c8c6c (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
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

H_FILES = i960CA.h i960HA.h i960KA.h i960RP.h i960JX_RP_common.h

# NOTE: Unlike other CPUS, we install into a subdirectory to avoid
#       file name conflicts

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

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

TMPINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \
    $(H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%)

all-local: $(TMPINSTALL_FILES)

EXTRA_DIST = i960CA.h i960HA.h i960KA.h i960RP.h i960JX_RP_common.h

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