source:
rtems/c/src/lib/libcpu/i386/Makefile.am
@
cf1f72e
Last change on this file since cf1f72e was cf1f72e, checked in by Joel Sherrill <joel.sherrill@…>, on 06/13/00 at 21:53:38 | |
---|---|
|
|
File size: 1.1 KB |
Rev | Line | |
---|---|---|
[df49c60] | 1 | ## |
[400c552] | 2 | ## $Id$ |
[df49c60] | 3 | ## |
[400c552] | 4 | |
5 | AUTOMAKE_OPTIONS = foreign 1.4 | |
6 | ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal | |
7 | ||
[cf1f72e] | 8 | VPATH = @srcdir@:@srcdir@/../shared/src |
[400c552] | 9 | |
[cf1f72e] | 10 | C_FILES = cache.c cache_aligned_malloc.c cache_manager.c displayCpu.c idt.c page.c |
[4e36a2f] | 11 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
[400c552] | 12 | |
[cf1f72e] | 13 | H_FILES = cache_.h |
14 | INSTALLED_H_FILES = cpu.h registers.h cpuModel.h | |
[400c552] | 15 | |
[cf1f72e] | 16 | S_FILES = cpuModel.S idtr.S |
[4e36a2f] | 17 | S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o) |
[400c552] | 18 | |
19 | OBJS = $(C_O_FILES) $(S_O_FILES) | |
20 | ||
21 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg | |
22 | include $(top_srcdir)/../../../../../automake/lib.am | |
23 | ||
[cf1f72e] | 24 | AM_CPPFLAGS += -I$(srcdir) |
[400c552] | 25 | |
26 | $(PROJECT_INCLUDE)/libcpu: | |
27 | $(mkinstalldirs) $@ | |
28 | ||
29 | $(PROJECT_INCLUDE)/libcpu/%.h: %.h | |
30 | $(INSTALL_DATA) $< $@ | |
31 | ||
[cf1f72e] | 32 | $(PROJECT_INCLUDE)/libcpu/cache.h: $(top_srcdir)/../shared/include/cache.h |
[400c552] | 33 | $(INSTALL_DATA) $< $@ |
34 | ||
[4e36a2f] | 35 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \ |
[cf1f72e] | 36 | $(PROJECT_INCLUDE)/libcpu/cache.h \ |
37 | $(INSTALLED_H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%) | |
[4e36a2f] | 38 | |
[cf1f72e] | 39 | all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) |
[4e36a2f] | 40 | |
[cf1f72e] | 41 | EXTRA_DIST = cache.c cache_.h cpu.h cpuModel.S cpuModel.h \ |
42 | displayCpu.c idt.c idtr.S page.c registers.h | |
[400c552] | 43 | |
44 | include $(top_srcdir)/../../../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.