comparison src/cpuinfo/Makefile.am @ 739:22dbf364c017

Added SDL_HasMMX(), SDL_Has3DNow(), SDL_HasSSE() in SDL_cpuinfo.h
author Sam Lantinga <slouken@libsdl.org>
date Tue, 18 Nov 2003 01:27:06 +0000
parents
children e70f80e98f60
comparison
equal deleted inserted replaced
738:82b85b731fe3 739:22dbf364c017
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__ -D __NOU__ @NASMFLAGS@ $< -o $*.o
11
12 ###########################################################################
13
14 # The cpuinfo library target
15 noinst_LTLIBRARIES = libcpuinfo.la
16
17 if HAVE_NASM
18 ARCH_SRCS = \
19 gcpuinfo.c \
20 _cpuinfo.asm \
21 _pcihelp.asm
22 else
23 ARCH_SRCS =
24 endif
25
26 COMMON_SRCS = \
27 SDL_cpuinfo.c
28
29 libcpuinfo_la_SOURCES = $(ARCH_SRCS) $(COMMON_SRCS)
30
31 EXTRA_DIST = \
32 COPYING.LIB \
33 README
34