summaryrefslogtreecommitdiffstats
path: root/c/src/librtems++/include/Makefile.am
blob: efa4ab826cb37c6bdc72d875bd1455794f619df3 (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
##
## $Id$
##


include_rtems__dir = $(includedir)/rtems++

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

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

if HAS_CXX
include_rtems___HEADERS = rtems++/rtemsEvent.h \
    rtems++/rtemsInterrupt.h rtems++/rtemsMessageQueue.h rtems++/rtemsSemaphore.h \
    rtems++/rtemsStatusCode.h rtems++/rtemsTask.h rtems++/rtemsTaskMode.h \
    rtems++/rtemsTimer.h

PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems++ \
    $(include_rtems___HEADERS:%=$(PROJECT_INCLUDE)/%)

endif

all-local: $(PREINSTALL_FILES)

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