summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/wrapup/Makefile.am
blob: 3216ca2cdd5f5b614bc61143149687c7ba4945e8 (plain) (tree)
1
2
3
4
5
6
7
8
9
  
       
  
 



                                                      
                                                                           

                                                                    


                      

                                                  







                                                      
                       
 
                 
 
                                                
##
## $Id$
##

GENERIC_FILES = shared

# Use two variables so that I can make two ar command.
# So far FAMILY_OBJS is empty and ar dislike it...
CPU_SPECIFIC_OBJS = $(wildcard ../$(RTEMS_CPU_MODEL)/*/$(ARCH)/*.$(OBJEXT))
FAMILY_OBJS = $(wildcard ../shared/$(ARCH)/*.$(OBJEXT) \
    ../shared/*/$(ARCH)/*.$(OBJEXT) ../mpc6xx/*/$(ARCH)/*.$(OBJEXT))

LIB = $(ARCH)/libcpu.a

include $(top_srcdir)/../../../automake/compile.am
include $(top_srcdir)/../../../automake/lib.am

#
# (OPTIONAL) Add local stuff here using +=
#

libcpu_a_OBJECTS = $(CPU_SPECIFIC_OBJS) $(FAMILY_OBJS)

$(LIB): $(libcpu_a_OBJECTS)
	${make-library}

all-local: $(LIB)

include $(top_srcdir)/../../../automake/local.am