source: rtems/c/src/lib/libcpu/i386/Makefile.am @ 73b5bd5d

4.104.114.84.95
Last change on this file since 73b5bd5d was 599ef15b, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 6, 2004 at 11:43:21 AM

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

  • Makefile.am: Don't include .../lib.am.
  • Property mode set to 100644
File size: 2.6 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../aclocal
6
7EXTRA_PROGRAMS =
8CLEANFILES =
9noinst_DATA =
10
11include $(top_srcdir)/../../../automake/compile.am
12
13include_libcpudir = $(includedir)/libcpu
14
15include_libcpu_HEADERS = cpu.h cpuModel.h
16include_libcpu_HEADERS += ../shared/include/cache.h
17
18EXTRA_PROGRAMS += cache.rel
19CLEANFILES += cache.rel
20cache_rel_SOURCES = cache.c cache_.h ../shared/src/cache_aligned_malloc.c \
21    ../shared/src/cache_manager.c ../shared/include/cache.h
22cache_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
23cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
24
25EXTRA_PROGRAMS += cache_g.rel
26CLEANFILES += cache_g.rel
27cache_g_rel_SOURCES = $(cache_rel_SOURCES)
28cache_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
29cache_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
30
31noinst_DATA += cache$(LIB_VARIANT).rel
32
33EXTRA_PROGRAMS += score.rel
34CLEANFILES += score.rel
35score_rel_SOURCES = displayCpu.c cpuModel.S cpuModel.h idtr.S cpu.h
36score_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
37score_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
38
39EXTRA_PROGRAMS += score_g.rel
40CLEANFILES += score_g.rel
41score_g_rel_SOURCES = $(score_rel_SOURCES)
42score_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
43score_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
44
45noinst_DATA += score$(LIB_VARIANT).rel
46
47EXTRA_PROGRAMS += page.rel
48CLEANFILES += page.rel
49page_rel_SOURCES = page.c cpu.h
50page_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
51page_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
52
53EXTRA_PROGRAMS += page_g.rel
54CLEANFILES += page_g.rel
55page_g_rel_SOURCES = $(page_rel_SOURCES)
56page_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
57page_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
58
59noinst_DATA += page$(LIB_VARIANT).rel
60
61all-local: $(PREINSTALL_FILES)
62
63PREINSTALL_DIRS =
64PREINSTALL_FILES =
65
66$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
67        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
68        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
69PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
70
71$(PROJECT_INCLUDE)/libcpu/cpu.h: cpu.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
72        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/cpu.h
73PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/cpu.h
74
75$(PROJECT_INCLUDE)/libcpu/cpuModel.h: cpuModel.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
76        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/cpuModel.h
77PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/cpuModel.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
83CLEANFILES += $(PREINSTALL_FILES)
84DISTCLEANFILES = $(PREINSTALL_DIRS)
85
86include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.