diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-06-14 15:38:08 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-06-14 15:38:08 +0000 |
commit | abd9401a4a9f871baddc7569f355386ec06ae196 (patch) | |
tree | 280955c9e320a81dae920ae0191bb4fffdc27f27 /c/src/lib/libcpu/powerpc/shared/include/Makefile.am | |
parent | Moved from score/cpu/PowerPC. (diff) | |
download | rtems-abd9401a4a9f871baddc7569f355386ec06ae196.tar.bz2 |
Functionality moved from directory above to accomodate building
shared source code.
Diffstat (limited to 'c/src/lib/libcpu/powerpc/shared/include/Makefile.am')
-rw-r--r-- | c/src/lib/libcpu/powerpc/shared/include/Makefile.am | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/powerpc/shared/include/Makefile.am b/c/src/lib/libcpu/powerpc/shared/include/Makefile.am new file mode 100644 index 0000000000..edbb18ae0c --- /dev/null +++ b/c/src/lib/libcpu/powerpc/shared/include/Makefile.am @@ -0,0 +1,41 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +C_FILES = cpuIdent.c +C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) + +H_FILES = cpu.h spr.h io.h mmu.h page.h byteorder.h pgtable.h + +OBJS = $(C_O_FILES) + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../../../../../automake/lib.am + +LIB = $(ARCH)/libcpuspec.a + +# +# (OPTIONAL) Add local stuff here using += +# + +$(LIB): $(OBJS) + $(make-library) + +$(PROJECT_INCLUDE)/libcpu: + $(mkinstalldirs) $@ + +$(PROJECT_INCLUDE)/libcpu/%.h: %.h + $(INSTALL_DATA) $< $@ + +PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \ + $(H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%) + +all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) + +.PRECIOUS: $(LIB) + +EXTRA_DIST = byteorder.h cpu.h cpuIdent.c io.h mmu.h page.h pgtable.h spr.h + +include $(top_srcdir)/../../../../../automake/local.am |