summaryrefslogtreecommitdiffstats
path: root/c/src/librdbg/include/rdbg/Makefile.am
blob: 4a21a83c92e7390d2ceccdc542b99992a01128c0 (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
##
## $Id$
##

if HAS_RDBG
include_rdbgdir = $(includedir)/rdbg

include_rdbg_HEADERS = rdbg.h servrpc.h

PREINSTALL_FILES = $(PROJECT_INCLUDE)/rdbg \
    $(include_rdbg_HEADERS:%=$(PROJECT_INCLUDE)/rdbg/%)

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

all-local: $(PREINSTALL_FILES)

if HAS_RDBG
SUBDIRS = $(RTEMS_CPU)
endif

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