Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cpuinfo/Makefile.am Tue Nov 18 01:27:06 2003 +0000 @@ -0,0 +1,34 @@ +########################################################################### +# +# Some consistent rules for building asm files: + +STRIP_FPIC = sh $(top_srcdir)/strip_fPIC.sh + +SUFFIXES = .asm + +.asm.lo: + $(LIBTOOL) --tag=CC --mode=compile $(STRIP_FPIC) $(NASM) -t -D __FLAT__ -D __NOU__ @NASMFLAGS@ $< -o $*.o + +########################################################################### + +# The cpuinfo library target +noinst_LTLIBRARIES = libcpuinfo.la + +if HAVE_NASM +ARCH_SRCS = \ + gcpuinfo.c \ + _cpuinfo.asm \ + _pcihelp.asm +else +ARCH_SRCS = +endif + +COMMON_SRCS = \ + SDL_cpuinfo.c + +libcpuinfo_la_SOURCES = $(ARCH_SRCS) $(COMMON_SRCS) + +EXTRA_DIST = \ + COPYING.LIB \ + README +