source: rtems/c/src/lib/libcpu/powerpc/shared/Makefile.am @ f439d61e

4.104.114.84.95
Last change on this file since f439d61e was f439d61e, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 30, 2004 at 3:26:36 PM

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

  • wrapup/Makefile.am: Remove.
  • configure.ac: Remove wrapup.
  • shared/Makefile.am: Use automake compilation rules. Build *.rels.
  • Property mode set to 100644
File size: 4.1 KB
Line 
1##
2## $Id$
3##
4
5EXTRA_PROGRAMS =
6CLEANFILES =
7noinst_DATA =
8
9include $(top_srcdir)/../../../automake/compile.am
10
11# include
12if shared
13include_libcpudir = $(includedir)/libcpu
14
15include_libcpu_HEADERS = include/io.h include/mmu.h include/page.h \
16    include/byteorder.h include/pgtable.h
17
18EXTRA_PROGRAMS += cpuIdent.rel
19CLEANFILES += cpuIdent.rel
20cpuIdent_rel_SOURCES = include/cpuIdent.c include/cpuIdent.h
21cpuIdent_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
22cpuIdent_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
23
24EXTRA_PROGRAMS += cpuIdent_g.rel
25CLEANFILES += cpuIdent_g.rel
26cpuIdent_g_rel_SOURCES = $(cpuIdent_rel_SOURCES)
27cpuIdent_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
28cpuIdent_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
29
30noinst_DATA += cpuIdent$(LIB_VARIANT).rel
31include_libcpu_HEADERS += include/cpuIdent.h
32
33## cache
34EXTRA_PROGRAMS += cache.rel
35CLEANFILES += cache.rel
36cache_rel_SOURCES = src/cache.c src/cache_.h \
37    ../../shared/src/cache_aligned_malloc.c ../../shared/src/cache_manager.c \
38    ../../shared/include/cache.h
39cache_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -I$(srcdir)/src
40cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
41
42EXTRA_PROGRAMS += cache_g.rel
43CLEANFILES += cache_g.rel
44cache_g_rel_SOURCES = $(cache_rel_SOURCES)
45cache_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -I$(srcdir)/src
46cache_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
47
48noinst_DATA += cache$(LIB_VARIANT).rel
49include_libcpu_HEADERS += ../../shared/include/cache.h
50
51## stack
52EXTRA_PROGRAMS += stack.rel
53CLEANFILES += stack.rel
54stack_rel_SOURCES = src/stack.c include/spr.h src/stackTrace.h
55stack_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
56stack_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57
58EXTRA_PROGRAMS += stack_g.rel
59CLEANFILES += stack_g.rel
60stack_g_rel_SOURCES = $(stack_rel_SOURCES)
61stack_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
62stack_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
63
64noinst_DATA += stack$(LIB_VARIANT).rel
65include_libcpu_HEADERS += include/spr.h
66include_libcpu_HEADERS += src/stackTrace.h
67endif
68
69all-local: $(PREINSTALL_FILES)
70
71PREINSTALL_DIRS =
72PREINSTALL_FILES =
73
74if shared
75$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
76        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
77        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
78PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
79
80$(PROJECT_INCLUDE)/libcpu/io.h: include/io.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
81        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/io.h
82PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/io.h
83
84$(PROJECT_INCLUDE)/libcpu/mmu.h: include/mmu.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
85        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/mmu.h
86PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/mmu.h
87
88$(PROJECT_INCLUDE)/libcpu/page.h: include/page.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
89        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/page.h
90PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/page.h
91
92$(PROJECT_INCLUDE)/libcpu/byteorder.h: include/byteorder.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
93        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/byteorder.h
94PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/byteorder.h
95
96$(PROJECT_INCLUDE)/libcpu/pgtable.h: include/pgtable.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
97        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/pgtable.h
98PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/pgtable.h
99
100$(PROJECT_INCLUDE)/libcpu/cpuIdent.h: include/cpuIdent.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
101        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/cpuIdent.h
102PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/cpuIdent.h
103
104$(PROJECT_INCLUDE)/libcpu/cache.h: ../../shared/include/cache.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
105        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/cache.h
106PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/cache.h
107
108$(PROJECT_INCLUDE)/libcpu/spr.h: include/spr.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
109        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/spr.h
110PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/spr.h
111
112$(PROJECT_INCLUDE)/libcpu/stackTrace.h: src/stackTrace.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
113        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/stackTrace.h
114PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/stackTrace.h
115endif
116
117CLEANFILES += $(PREINSTALL_FILES)
118DISTCLEANFILES = $(PREINSTALL_DIRS)
119
120include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.