4.104.114.84.95
Last change
on this file since 400c552 was
400c552,
checked in by Joel Sherrill <joel.sherrill@…>, on 12/21/99 at 16:20:38
|
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 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | ## C source names |
---|
8 | C_FILES = cpuIdent.c |
---|
9 | C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) |
---|
10 | |
---|
11 | H_FILES = cpu.h spr.h io.h mmu.h page.h byteorder.h pgtable.h |
---|
12 | noinst_HEADERS = $(H_FILES) |
---|
13 | |
---|
14 | ## Assembly source names |
---|
15 | S_FILES = |
---|
16 | S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) |
---|
17 | |
---|
18 | OBJS = $(C_O_FILES) $(S_O_FILES) |
---|
19 | |
---|
20 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
21 | include $(top_srcdir)/../../../../../automake/lib.am |
---|
22 | |
---|
23 | LIB = ${ARCH}/libcpuspec.a |
---|
24 | |
---|
25 | # |
---|
26 | # (OPTIONAL) Add local stuff here using += |
---|
27 | # |
---|
28 | |
---|
29 | $(LIB): ${OBJS} |
---|
30 | $(make-library) |
---|
31 | |
---|
32 | PREINSTALL_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 | |
---|
42 | all-local: ${ARCH} $(PREINSTALL_FILES) $(LIB) |
---|
43 | |
---|
44 | EXTRA_DIST = $(C_FILES) $(S_FILES) |
---|
45 | |
---|
46 | include $(top_srcdir)/../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.