diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-01-06 20:22:06 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-01-06 20:22:06 +0000 |
commit | 20db683f786170432d5e0e4d89c4bc608720cc23 (patch) | |
tree | a489493ff3b8d1fd11c90a42b1be8c0f1dd8f004 /cpukit/wrapup/Makefile.am | |
parent | 2002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-20db683f786170432d5e0e4d89c4bc608720cc23.tar.bz2 |
2002-01-06 Joel Sherrill <joel@OARcorp.com>
* wrapup/.cvsignore: Readded.
* include/.cvsignore: New file.
Diffstat (limited to 'cpukit/wrapup/Makefile.am')
-rw-r--r-- | cpukit/wrapup/Makefile.am | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/cpukit/wrapup/Makefile.am b/cpukit/wrapup/Makefile.am new file mode 100644 index 0000000000..5d6e917049 --- /dev/null +++ b/cpukit/wrapup/Makefile.am @@ -0,0 +1,42 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +LIBNAME = librtemscpu +LIB = $(ARCH)/$(LIBNAME).a + +include $(top_srcdir)/../../../automake/multilib.am +include $(top_srcdir)/../../../automake/compile.am +include $(top_srcdir)/../../../automake/lib.am + +CPU_OBJS = $(wildcard ../score/cpu/$(RTEMS_CPU)/$(ARCH)/*.rel) +CORE_OBJS = $(wildcard ../score/src/$(ARCH)/*.o) +SAPI_OBJS = $(wildcard ../sapi/src/$(ARCH)/*.o) +RTEMS_OBJS = $(wildcard ../rtems/src/$(ARCH)/*.o) + +if HAS_POSIX +POSIX_OBJS = $(wildcard ../posix/src/$(ARCH)/*.o) +endif + +if HAS_ITRON +ITRON_OBJS = $(wildcard ../itron/src/$(ARCH)/*.o) +endif + +OBJS = $(CPU_OBJS) $(CORE_OBJS) $(RTEMS_OBJS) $(SAPI_OBJS) \ + $(POSIX_OBJS) $(ITRON_OBJS) + +SIZE_RTEMS = $(SHELL) $(PROJECT_TOPdir)/tools/cpu/generic/size_rtems + +$(LIB): ${OBJS} + $(make-library) + +TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/$(LIBNAME)$(LIB_VARIANT).a + +$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/$(LIBNAME)$(LIB_VARIANT).a: $(LIB) + $(INSTALL_DATA) $< $@ + +all-local: ${ARCH} $(TMPINSTALL_FILES) + +include $(top_srcdir)/../../../automake/local.am |