src/hermes/Makefile.am
author Sam Lantinga
Mon, 06 Feb 2006 08:28:51 +0000
changeset 1330 450721ad5436
parent 729 dac996d69abb
permissions -rw-r--r--
It's now possible to build SDL without any C runtime at all on Windows,
using Visual C++ 2005
slouken@0
     1
###########################################################################
slouken@0
     2
#
slouken@0
     3
# Some consistent rules for building asm files:
slouken@0
     4
slouken@0
     5
STRIP_FPIC = sh $(top_srcdir)/strip_fPIC.sh
slouken@0
     6
slouken@0
     7
SUFFIXES = .asm
slouken@0
     8
slouken@0
     9
.asm.lo:
slouken@729
    10
	$(LIBTOOL) --tag=CC --mode=compile $(STRIP_FPIC) $(NASM) @NASMFLAGS@ $< -o $*.o
slouken@0
    11
slouken@0
    12
###########################################################################
slouken@0
    13
slouken@0
    14
# The hermes library target
slouken@0
    15
noinst_LTLIBRARIES = libhermes.la
slouken@0
    16
slouken@0
    17
libhermes_la_SOURCES = $(PORTABLE_SRCS)
slouken@225
    18
am_libhermes_la_OBJECTS =	\
slouken@225
    19
	mmx_main.lo		\
slouken@225
    20
	mmxp2_32.lo		\
slouken@225
    21
	x86_main.lo		\
slouken@225
    22
	x86p_16.lo		\
slouken@225
    23
	x86p_32.lo
slouken@0
    24
slouken@0
    25
# The hermes library sources
slouken@0
    26
PORTABLE_SRCS = 		\
slouken@0
    27
	mmx_main.asm		\
slouken@0
    28
	mmxp2_32.asm		\
slouken@0
    29
	x86_main.asm		\
slouken@0
    30
	x86p_16.asm		\
slouken@0
    31
	x86p_32.asm		\
slouken@0
    32
	\
slouken@0
    33
	HeadMMX.h		\
slouken@0
    34
	HeadX86.h
slouken@0
    35
slouken@0
    36
EXTRA_DIST =			\
slouken@0
    37
	COPYING.LIB		\
slouken@0
    38
	README
slouken@0
    39