source: rtems/c/src/lib/libcpu/i386/Makefile.am @ b2b4835

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