source: rtems/c/src/librtems++/Makefile.am @ c0ceea5

4.104.114.84.95
Last change on this file since c0ceea5 was c0ceea5, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/06/05 at 06:50:41

2005-01-06 Ralf Corsepius <ralf.corsepius@…>

  • Makefile.am: Remove build-variant support.
  • Property mode set to 100644
File size: 3.3 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../aclocal
6
7include $(top_srcdir)/../automake/compile.am
8
9if HAS_CXX
10include_rtems__dir = $(includedir)/rtems++
11
12include_rtems___HEADERS = include/rtems++/rtemsEvent.h \
13    include/rtems++/rtemsInterrupt.h include/rtems++/rtemsMessageQueue.h \
14    include/rtems++/rtemsSemaphore.h include/rtems++/rtemsStatusCode.h \
15    include/rtems++/rtemsTask.h include/rtems++/rtemsTaskMode.h \
16    include/rtems++/rtemsTimer.h
17
18project_lib_LIBRARIES = librtems++.a
19
20librtems___a_SOURCES = src/rtemsEvent.cc src/rtemsInterrupt.cc \
21    src/rtemsMessageQueue.cc src/rtemsSemaphore.cc src/rtemsStatusCode.cc \
22    src/rtemsTask.cc src/rtemsTimer.cc
23librtems___a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
24endif
25
26all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
27
28PREINSTALL_DIRS =
29PREINSTALL_FILES =
30TMPINSTALL_FILES =
31
32$(PROJECT_LIB)/$(dirstamp):
33        @$(mkdir_p) $(PROJECT_LIB)
34        @: > $(PROJECT_LIB)/$(dirstamp)
35TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
36
37if HAS_CXX
38$(PROJECT_INCLUDE)/rtems++/$(dirstamp):
39        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems++
40        @: > $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
41PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
42
43$(PROJECT_INCLUDE)/rtems++/rtemsEvent.h: include/rtems++/rtemsEvent.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
44        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsEvent.h
45PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsEvent.h
46
47$(PROJECT_INCLUDE)/rtems++/rtemsInterrupt.h: include/rtems++/rtemsInterrupt.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
48        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsInterrupt.h
49PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsInterrupt.h
50
51$(PROJECT_INCLUDE)/rtems++/rtemsMessageQueue.h: include/rtems++/rtemsMessageQueue.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
52        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsMessageQueue.h
53PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsMessageQueue.h
54
55$(PROJECT_INCLUDE)/rtems++/rtemsSemaphore.h: include/rtems++/rtemsSemaphore.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
56        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsSemaphore.h
57PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsSemaphore.h
58
59$(PROJECT_INCLUDE)/rtems++/rtemsStatusCode.h: include/rtems++/rtemsStatusCode.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
60        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsStatusCode.h
61PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsStatusCode.h
62
63$(PROJECT_INCLUDE)/rtems++/rtemsTask.h: include/rtems++/rtemsTask.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
64        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsTask.h
65PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsTask.h
66
67$(PROJECT_INCLUDE)/rtems++/rtemsTaskMode.h: include/rtems++/rtemsTaskMode.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
68        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsTaskMode.h
69PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsTaskMode.h
70
71$(PROJECT_INCLUDE)/rtems++/rtemsTimer.h: include/rtems++/rtemsTimer.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
72        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsTimer.h
73PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsTimer.h
74
75$(PROJECT_LIB)/librtems++.a: librtems++.a $(PROJECT_LIB)/$(dirstamp)
76        $(INSTALL_DATA) $< $(PROJECT_LIB)/librtems++.a
77TMPINSTALL_FILES += $(PROJECT_LIB)/librtems++.a
78endif
79
80CLEANFILES = $(PREINSTALL_FILES)
81DISTCLEANFILES = $(PREINSTALL_DIRS)
82CLEANFILES += $(TMPINSTALL_FILES)
83
84include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.