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

4.104.114.84.95
Last change on this file since f3f9b55 was f3f9b55, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 21, 2004 at 3:39:38 PM

2004-01-21 Ralf Corsepius <corsepiu@…>

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