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

4.104.114.84.95
Last change on this file since 8824dd7a was 8824dd7a, checked in by Jay Monkman <jtm@…>, on Jul 15, 2004 at 6:26:30 AM

2004-07-15 Jay Monkman

  • ChangeLog?, Makefile.am, arm920/mmu.c, include/mmu.h: New files.
  • 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
31
32endif
33
34all-local: $(PREINSTALL_FILES)
35
36PREINSTALL_DIRS =
37PREINSTALL_FILES =
38
39if shared
40$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
41        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
42        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
43PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
44
45$(PROJECT_INCLUDE)/libcpu/mmu.h: include/mmu.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
46        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/mmu.h
47PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/mmu.h
48
49endif
50
51CLEANFILES += $(PREINSTALL_FILES)
52DISTCLEANFILES = $(PREINSTALL_DIRS)
53
54include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.