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

4.104.114.84.95
Last change on this file since 5a23ca84 was 4e36a2f, checked in by Joel Sherrill <joel.sherrill@…>, on 01/31/00 at 15:27:02

Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff from
Ralf Corsepius <corsepiu@…> that contain:

  • Modifications, (minor) corrections, cleanups to most existing Makefile.ams
  • Adds automake support to all remaining BSPs which have not yet been converted to automake.
  • Makefile.am for all remaining wrapup/Makefile.ams
  • Property mode set to 100644
File size: 816 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7C_FILES = cpuIdent.c
8C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
9
10H_FILES = cpu.h spr.h io.h mmu.h page.h byteorder.h pgtable.h
11
12OBJS = $(C_O_FILES)
13
14include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
15include $(top_srcdir)/../../../../../automake/lib.am
16
17LIB = $(ARCH)/libcpuspec.a
18
19#
20# (OPTIONAL) Add local stuff here using +=
21#
22
23$(LIB): $(OBJS)
24        $(make-library)
25
26$(PROJECT_INCLUDE)/libcpu:
27        $(mkinstalldirs) $@
28
29$(PROJECT_INCLUDE)/libcpu/%.h: %.h
30        $(INSTALL_DATA) $< $@
31
32PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \
33    $(H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%)
34
35all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
36
37.PRECIOUS: $(LIB)
38
39EXTRA_DIST = byteorder.h cpu.h cpuIdent.c io.h mmu.h page.h pgtable.h spr.h
40
41include $(top_srcdir)/../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.