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

4.104.114.84.95
Last change on this file since 400c552 was 400c552, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 21, 1999 at 4:20:38 PM

Removing Makefile.in and adding Makefile.am. These were missed in conversion
to automake by Ralf Corsepius <corsepiu@…>.

  • Property mode set to 100644
File size: 880 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7## C source names
8C_FILES = cpuIdent.c
9C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
10
11H_FILES = cpu.h spr.h io.h mmu.h page.h byteorder.h pgtable.h
12noinst_HEADERS = $(H_FILES)
13
14## Assembly source names
15S_FILES =
16S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
17
18OBJS = $(C_O_FILES) $(S_O_FILES)
19
20include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
21include $(top_srcdir)/../../../../../automake/lib.am
22
23LIB = ${ARCH}/libcpuspec.a
24
25#
26# (OPTIONAL) Add local stuff here using +=
27#
28
29$(LIB): ${OBJS}
30        $(make-library)
31
32PREINSTALL_FILES += \
33$(PROJECT_INCLUDE)/libcpu \
34$(H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%)
35
36$(PROJECT_INCLUDE)/libcpu:
37        $(mkinstalldirs) $@
38
39$(PROJECT_INCLUDE)/libcpu/%.h: %.h
40        $(INSTALL_DATA) $< $@
41
42all-local: ${ARCH} $(PREINSTALL_FILES) $(LIB)
43
44EXTRA_DIST = $(C_FILES) $(S_FILES)
45
46include $(top_srcdir)/../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.