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

4.104.114.84.95
Last change on this file since c98c9c9 was c98c9c9, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/19/04 at 06:02:04

2004-02-18 Ralf Corsepius <corsepiu@…>

  • Makefile.am: 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
8
9EXTRA_LIBRARIES =
10CLEANFILES =
11
12if HAS_CXX
13include_rtems__dir = $(includedir)/rtems++
14
15include_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
21EXTRA_LIBRARIES += librtems++.a
22CLEANFILES += librtems++.a
23librtems___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
26librtems___a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
27
28EXTRA_LIBRARIES += librtems++_g.a
29CLEANFILES += librtems++_g.a
30librtems___g_a_SOURCES = $(librtems___a_SOURCES)
31librtems___g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
32
33project_lib_DATA = librtems++$(LIB_VARIANT).a
34endif
35
36all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
37
38PREINSTALL_DIRS =
39PREINSTALL_FILES =
40TMPINSTALL_FILES =
41
42$(PROJECT_LIB)/$(dirstamp):
43        @$(mkdir_p) $(PROJECT_LIB)
44        @: > $(PROJECT_LIB)/$(dirstamp)
45PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
46
47if HAS_CXX
48$(PROJECT_INCLUDE)/rtems++/$(dirstamp):
49        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems++
50        @: > $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
51PREINSTALL_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
55PREINSTALL_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
59PREINSTALL_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
63PREINSTALL_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
67PREINSTALL_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
71PREINSTALL_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
75PREINSTALL_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
79PREINSTALL_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
83PREINSTALL_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
87TMPINSTALL_FILES += $(PROJECT_LIB)/librtems++$(LIB_VARIANT).a
88endif
89
90CLEANFILES += $(PREINSTALL_FILES)
91DISTCLEANFILES = $(PREINSTALL_DIRS)
92CLEANFILES += $(TMPINSTALL_FILES)
93
94include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.