summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/hppa1.1/simhppa/include/Makefile.am
blob: ab7871aeb5c242f081344dc63e3f6b7426ce02ab (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
32
33
34
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

include_rtemsdir = $(includedir)/rtems
include_HEADERS = bsp.h coverhd.h bspopts.h
include_rtems_HEADERS = ttydrv.h

$(PROJECT_INCLUDE):
	$(mkinstalldirs) $@

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

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

coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h
	$(INSTALL_DATA) $< $@
CLEANFILES += coverhd.h

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

TMPINSTALL_FILES += $(PROJECT_INCLUDE) \
    $(include_HEADERS:%=%(PROJECT_INCLUDE)/%) \
    $(PROJECT_INCLUDE)/rtems \
    $(include_HEADERS:%=%(PROJECT_INCLUDE)/rtems/%) 

all-local: $(TMPINSTALL_FILES)

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