1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../automake/compile.am |
---|
8 | |
---|
9 | EXTRA_LIBRARIES = |
---|
10 | CLEANFILES = |
---|
11 | |
---|
12 | if HAS_CXX |
---|
13 | include_rtems__dir = $(includedir)/rtems++ |
---|
14 | |
---|
15 | include_rtems___HEADERS = include/rtems++/rtemsEvent.h \ |
---|
16 | include/rtems++/rtemsInterrupt.h include/rtems++/rtemsMessageQueue.h \ |
---|
17 | include/rtems++/rtemsSemaphore.h include/rtems++/rtemsStatusCode.h \ |
---|
18 | include/rtems++/rtemsTask.h include/rtems++/rtemsTaskMode.h \ |
---|
19 | include/rtems++/rtemsTimer.h |
---|
20 | |
---|
21 | EXTRA_LIBRARIES += librtems++.a |
---|
22 | CLEANFILES += librtems++.a |
---|
23 | librtems___a_SOURCES = src/rtemsEvent.cc src/rtemsInterrupt.cc \ |
---|
24 | src/rtemsMessageQueue.cc src/rtemsSemaphore.cc src/rtemsStatusCode.cc \ |
---|
25 | src/rtemsTask.cc src/rtemsTimer.cc |
---|
26 | librtems___a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) |
---|
27 | |
---|
28 | EXTRA_LIBRARIES += librtems++_g.a |
---|
29 | CLEANFILES += librtems++_g.a |
---|
30 | librtems___g_a_SOURCES = $(librtems___a_SOURCES) |
---|
31 | librtems___g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) |
---|
32 | |
---|
33 | project_lib_DATA = librtems++$(LIB_VARIANT).a |
---|
34 | endif |
---|
35 | |
---|
36 | all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES) |
---|
37 | |
---|
38 | PREINSTALL_DIRS = |
---|
39 | PREINSTALL_FILES = |
---|
40 | TMPINSTALL_FILES = |
---|
41 | |
---|
42 | $(PROJECT_LIB)/$(dirstamp): |
---|
43 | @$(mkdir_p) $(PROJECT_LIB) |
---|
44 | @: > $(PROJECT_LIB)/$(dirstamp) |
---|
45 | TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp) |
---|
46 | |
---|
47 | if HAS_CXX |
---|
48 | $(PROJECT_INCLUDE)/rtems++/$(dirstamp): |
---|
49 | @$(mkdir_p) $(PROJECT_INCLUDE)/rtems++ |
---|
50 | @: > $(PROJECT_INCLUDE)/rtems++/$(dirstamp) |
---|
51 | PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems++/$(dirstamp) |
---|
52 | |
---|
53 | $(PROJECT_INCLUDE)/rtems++/rtemsEvent.h: include/rtems++/rtemsEvent.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp) |
---|
54 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsEvent.h |
---|
55 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsEvent.h |
---|
56 | |
---|
57 | $(PROJECT_INCLUDE)/rtems++/rtemsInterrupt.h: include/rtems++/rtemsInterrupt.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp) |
---|
58 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsInterrupt.h |
---|
59 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsInterrupt.h |
---|
60 | |
---|
61 | $(PROJECT_INCLUDE)/rtems++/rtemsMessageQueue.h: include/rtems++/rtemsMessageQueue.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp) |
---|
62 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsMessageQueue.h |
---|
63 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsMessageQueue.h |
---|
64 | |
---|
65 | $(PROJECT_INCLUDE)/rtems++/rtemsSemaphore.h: include/rtems++/rtemsSemaphore.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp) |
---|
66 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsSemaphore.h |
---|
67 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsSemaphore.h |
---|
68 | |
---|
69 | $(PROJECT_INCLUDE)/rtems++/rtemsStatusCode.h: include/rtems++/rtemsStatusCode.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp) |
---|
70 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsStatusCode.h |
---|
71 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsStatusCode.h |
---|
72 | |
---|
73 | $(PROJECT_INCLUDE)/rtems++/rtemsTask.h: include/rtems++/rtemsTask.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp) |
---|
74 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsTask.h |
---|
75 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsTask.h |
---|
76 | |
---|
77 | $(PROJECT_INCLUDE)/rtems++/rtemsTaskMode.h: include/rtems++/rtemsTaskMode.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp) |
---|
78 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsTaskMode.h |
---|
79 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsTaskMode.h |
---|
80 | |
---|
81 | $(PROJECT_INCLUDE)/rtems++/rtemsTimer.h: include/rtems++/rtemsTimer.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp) |
---|
82 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsTimer.h |
---|
83 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsTimer.h |
---|
84 | |
---|
85 | $(PROJECT_LIB)/librtems++$(LIB_VARIANT).a: librtems++$(LIB_VARIANT).a $(PROJECT_LIB)/$(dirstamp) |
---|
86 | $(INSTALL_DATA) $< $(PROJECT_LIB)/librtems++$(LIB_VARIANT).a |
---|
87 | TMPINSTALL_FILES += $(PROJECT_LIB)/librtems++$(LIB_VARIANT).a |
---|
88 | endif |
---|
89 | |
---|
90 | CLEANFILES += $(PREINSTALL_FILES) |
---|
91 | DISTCLEANFILES = $(PREINSTALL_DIRS) |
---|
92 | CLEANFILES += $(TMPINSTALL_FILES) |
---|
93 | |
---|
94 | include $(top_srcdir)/../automake/local.am |
---|