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

AUTOMAKE_OPTIONS = foreign 1.4

include_rdbgdir = $(includedir)/rdbg

if HAS_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

EXTRA_DIST = rdbg.h servrpc.h

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