diff options
Diffstat (limited to 'c/src/lib/libcpu/powerpc/mpc6xx/wrapup')
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc6xx/wrapup/Makefile.am | 31 | ||||
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc6xx/wrapup/Makefile.in | 62 |
2 files changed, 31 insertions, 62 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/wrapup/Makefile.am b/c/src/lib/libcpu/powerpc/mpc6xx/wrapup/Makefile.am new file mode 100644 index 0000000000..819c3a6c2b --- /dev/null +++ b/c/src/lib/libcpu/powerpc/mpc6xx/wrapup/Makefile.am @@ -0,0 +1,31 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +# PROC_SPECIFIC_O_FILES = exceptions mmu clock +PROC_SPECIFIC_O_FILES = exceptions mmu +GENERIC_FILES = + +# bummer; have to use $foreach since % pattern subst rules only replace 1x +OBJS = $(foreach piece, $(PROC_SPECIFIC_O_FILES), \ + ../../mpc6xx/$(piece)/$(ARCH)/*.o) $(foreach piece, $(GENERIC_FILES), \ + ../../mpc6xx/$(piece)/$(ARCH)/*.o) +LIB = $(ARCH)/libcpuspec.a + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../../../../../automake/lib.am + +# +# (OPTIONAL) Add local stuff here using += +# + +$(LIB): ${OBJS} + echo $(OBJ) + $(make-library) + cp $(LIB) .. + +all-local: ${ARCH} $(LIB) + +include $(top_srcdir)/../../../../../automake/local.am diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/wrapup/Makefile.in b/c/src/lib/libcpu/powerpc/mpc6xx/wrapup/Makefile.in deleted file mode 100644 index 47617d6230..0000000000 --- a/c/src/lib/libcpu/powerpc/mpc6xx/wrapup/Makefile.in +++ /dev/null @@ -1,62 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = mpc6xx/wrapup - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -# PROC_SPECIFIC_O_PIECES = exceptions mmu clock -PROC_SPECIFIC_O_PIECES = exceptions mmu -GENERIC_PIECES = - -# bummer; have to use $foreach since % pattern subst rules only replace 1x -OBJS = $(foreach piece, $(PROC_SPECIFIC_O_PIECES), \ - ../../mpc6xx/$(piece)/$(ARCH)/*.o) $(foreach piece, $(GENERIC_PIECES), \ - ../../mpc6xx/$(piece)/$(ARCH)/*.o) -LIB = $(ARCH)/libcpuspec.a - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/lib.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -# -# (OPTIONAL) Add local stuff here using += -# - -DEFINES += -CPPFLAGS += -CFLAGS += - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += - -$(LIB): ${OBJS} - echo $(OBJ) - $(make-library) - cp $(LIB) .. - -all: ${ARCH} $(SRCS) $(LIB) - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |