source: rtems/c/src/lib/libcpu/arm/shared/Makefile.am @ a9dc09a

4.104.114.84.95
Last change on this file since a9dc09a was a9dc09a, checked in by Ralf Corsepius <ralf.corsepius@…>, on Oct 26, 2004 at 3:52:21 AM

Reformat.

  • Property mode set to 100644
File size: 1.2 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/mmu.h
16
17## arm920
18EXTRA_PROGRAMS += arm920.rel
19CLEANFILES += arm920.rel
20arm920_rel_SOURCES = arm920/mmu.c
21arm920_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -I$(srcdir)/src
22arm920_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
23
24EXTRA_PROGRAMS += arm920_g.rel
25CLEANFILES += arm920_g.rel
26arm920_g_rel_SOURCES = $(arm920_rel_SOURCES)
27arm920_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -I$(srcdir)/src
28arm920_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
29
30noinst_DATA += arm920$(LIB_VARIANT).rel
31endif
32
33all-local: $(PREINSTALL_FILES)
34
35PREINSTALL_DIRS =
36PREINSTALL_FILES =
37
38if shared
39$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
40        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
41        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
42PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
43
44$(PROJECT_INCLUDE)/libcpu/mmu.h: include/mmu.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
45        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/mmu.h
46PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/mmu.h
47endif
48
49CLEANFILES += $(PREINSTALL_FILES)
50DISTCLEANFILES = $(PREINSTALL_DIRS)
51
52include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.