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

4.104.114.84.95
Last change on this file since d3d9ef37 was f97f0c74, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 7, 2005 at 6:19:08 AM

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

  • mpc505/Makefile.am, mpc5xx/Makefile.am, mpc6xx/Makefile.am, mpc8260/Makefile.am, mpc8xx/Makefile.am, ppc403/Makefile.am, shared/Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
  • Property mode set to 100644
File size: 3.2 KB
Line 
1##
2## $Id$
3##
4
5noinst_PROGRAMS =
6CLEANFILES =
7
8include $(top_srcdir)/../../../automake/compile.am
9
10# include
11if shared
12include_libcpudir = $(includedir)/libcpu
13
14include_libcpu_HEADERS = include/io.h include/mmu.h include/page.h \
15    include/byteorder.h include/pgtable.h
16
17noinst_PROGRAMS += cpuIdent.rel
18cpuIdent_rel_SOURCES = include/cpuIdent.c include/cpuIdent.h
19cpuIdent_rel_CPPFLAGS = $(AM_CPPFLAGS)
20cpuIdent_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
21
22include_libcpu_HEADERS += include/cpuIdent.h
23
24## cache
25noinst_PROGRAMS += cache.rel
26cache_rel_SOURCES = src/cache.c src/cache_.h \
27    ../../shared/src/cache_aligned_malloc.c ../../shared/src/cache_manager.c \
28    ../../shared/include/cache.h
29cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/src
30cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
31
32include_libcpu_HEADERS += ../../shared/include/cache.h
33
34## stack
35noinst_PROGRAMS += stack.rel
36stack_rel_SOURCES = src/stack.c include/spr.h src/stackTrace.h
37stack_rel_CPPFLAGS = $(AM_CPPFLAGS)
38stack_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
39
40include_libcpu_HEADERS += include/spr.h
41include_libcpu_HEADERS += src/stackTrace.h
42endif
43
44all-local: $(PREINSTALL_FILES)
45
46PREINSTALL_DIRS =
47PREINSTALL_FILES =
48
49if shared
50$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
51        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
52        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
53PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
54
55$(PROJECT_INCLUDE)/libcpu/io.h: include/io.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
56        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/io.h
57PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/io.h
58
59$(PROJECT_INCLUDE)/libcpu/mmu.h: include/mmu.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
60        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/mmu.h
61PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/mmu.h
62
63$(PROJECT_INCLUDE)/libcpu/page.h: include/page.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
64        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/page.h
65PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/page.h
66
67$(PROJECT_INCLUDE)/libcpu/byteorder.h: include/byteorder.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
68        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/byteorder.h
69PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/byteorder.h
70
71$(PROJECT_INCLUDE)/libcpu/pgtable.h: include/pgtable.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
72        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/pgtable.h
73PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/pgtable.h
74
75$(PROJECT_INCLUDE)/libcpu/cpuIdent.h: include/cpuIdent.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
76        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/cpuIdent.h
77PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/cpuIdent.h
78
79$(PROJECT_INCLUDE)/libcpu/cache.h: ../../shared/include/cache.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
80        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/cache.h
81PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/cache.h
82
83$(PROJECT_INCLUDE)/libcpu/spr.h: include/spr.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
84        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/spr.h
85PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/spr.h
86
87$(PROJECT_INCLUDE)/libcpu/stackTrace.h: src/stackTrace.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
88        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/stackTrace.h
89PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/stackTrace.h
90endif
91
92CLEANFILES += $(PREINSTALL_FILES)
93DISTCLEANFILES = $(PREINSTALL_DIRS)
94
95include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.