4.104.114.84.95
Last change
on this file since b2b4835 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:
1.1 KB
|
Rev | Line | |
---|
[400c552] | 1 | ## |
---|
| 2 | ## $Id$ |
---|
| 3 | ## |
---|
| 4 | |
---|
| 5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
| 6 | ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal |
---|
| 7 | |
---|
| 8 | LIBNAME = libcpu |
---|
| 9 | LIB = $(ARCH)/$(LIBNAME).a |
---|
| 10 | |
---|
| 11 | # C source names, if any, go here -- minus the .c |
---|
| 12 | C_FILES = cpu.c displayCpu.c page.c |
---|
| 13 | C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) |
---|
| 14 | |
---|
| 15 | H_FILES = cpu.h registers.h cpuModel.h |
---|
| 16 | noinst_HEADERS = $(H_FILES) |
---|
| 17 | |
---|
| 18 | # Assembly source names, if any, go here -- minus the .s |
---|
| 19 | S_FILES = cpu_asm.S cpuModel.S |
---|
| 20 | S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) |
---|
| 21 | |
---|
| 22 | OBJS = $(C_O_FILES) $(S_O_FILES) |
---|
| 23 | |
---|
| 24 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
| 25 | include $(top_srcdir)/../../../../../automake/lib.am |
---|
| 26 | |
---|
| 27 | $(LIB): ${OBJS} |
---|
| 28 | $(make-library) |
---|
| 29 | |
---|
| 30 | PREINSTALL_FILES = $(PROJECT_INCLUDE)/libcpu \ |
---|
| 31 | $(H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%) |
---|
| 32 | |
---|
| 33 | $(PROJECT_INCLUDE)/libcpu: |
---|
| 34 | $(mkinstalldirs) $@ |
---|
| 35 | |
---|
| 36 | $(PROJECT_INCLUDE)/libcpu/%.h: %.h |
---|
| 37 | $(INSTALL_DATA) $< $@ |
---|
| 38 | |
---|
| 39 | TMPINSTALL_FILES += \ |
---|
| 40 | $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a |
---|
| 41 | |
---|
| 42 | $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB) |
---|
| 43 | $(INSTALL_DATA) $< $@ |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | all-local: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES) |
---|
| 47 | |
---|
| 48 | EXTRA_DIST = $(C_FILES) $(S_FILES) |
---|
| 49 | |
---|
| 50 | include $(top_srcdir)/../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.