src/cpuinfo/Makefile.am
changeset 745 71ee03909f42
parent 742 528a52626680
equal deleted inserted replaced
744:f601f5c05045 745:71ee03909f42
     1 ###########################################################################
       
     2 #
       
     3 # Some consistent rules for building asm files:
       
     4 
       
     5 STRIP_FPIC = sh $(top_srcdir)/strip_fPIC.sh
       
     6 
       
     7 SUFFIXES = .asm
       
     8 
       
     9 .asm.lo:
       
    10 	$(LIBTOOL) --tag=CC --mode=compile $(STRIP_FPIC) $(NASM) -t -D __FLAT__ @NASMFLAGS@ $< -o $*.o
       
    11 
       
    12 ###########################################################################
       
    13 
     1 
    14 # The cpuinfo library target
     2 # The cpuinfo library target
    15 noinst_LTLIBRARIES = libcpuinfo.la
     3 noinst_LTLIBRARIES = libcpuinfo.la
    16 
     4 
    17 if HAVE_NASM
       
    18 ARCH_SRCS =			\
       
    19 	_cpuinfo.asm		\
       
    20 	_pcihelp.asm
       
    21 else
       
    22 ARCH_SRCS =
       
    23 endif
       
    24 
       
    25 COMMON_SRCS = 			\
     5 COMMON_SRCS = 			\
    26 	cpuinfo.h		\
       
    27 	gcpuinfo.c		\
       
    28 	SDL_cpuinfo.c
     6 	SDL_cpuinfo.c
    29 
     7 
    30 libcpuinfo_la_SOURCES = $(ARCH_SRCS) $(COMMON_SRCS)
     8 libcpuinfo_la_SOURCES = $(COMMON_SRCS)
    31 
       
    32 EXTRA_DIST =			\
       
    33 	COPYING.LIB		\
       
    34 	README
       
    35