summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libcpu/m68k/shared/misc/Makefile.am
blob: d6b5a433f9da4ce732145b9aa465892e21d34c23 (plain) (tree)
1
2
3
4
5
6
7
8




       
                             
                                         
 




                                                                             
                             

     




                               
 

                          
                                

                                                      
##
## $Id$
##


C_FILES = memcpy.c m68kidle.c
OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))

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

# gcc doesn't recognize difference between the cpu32 and cpu32+ so we have to
if mcpu32p
M68K_CPPFLAGS = -D__mcpu32p__
endif

if mcf5272
M68K_CPPFLAGS = -Dmcf5272
endif

AM_CPPFLAGS += $(M68K_CPPFLAGS)

all-local: $(ARCH) $(OBJS)

EXTRA_DIST = memcpy.c m68kidle.c

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