view src/hermes/Makefile.am @ 1167:435c2e481299

Date: Sat, 05 Nov 2005 17:46:48 +0900 From: Hayashi Naoyuki Subject: SDL_numjoysticks: multiply defined The following linker error is produced when I try to build SDL CVS on Tru64. ld: .libs/libSDL.lax/libjoystick.a/SDL_sysjoystick.o: SDL_numjoysticks: multiply defined SDL_numjoysticks is defined in both src/joystick/SDL_joystick.c:48: and SDL12/src/joystick/dummy/SDL_sysjoystick.c:37:. As a result, compilation produce "multiply defined" errors, when link.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Nov 2005 17:41:11 +0000
parents dac996d69abb
children
line wrap: on
line source

###########################################################################
#
# 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) @NASMFLAGS@ $< -o $*.o

###########################################################################

# The hermes library target
noinst_LTLIBRARIES = libhermes.la

libhermes_la_SOURCES = $(PORTABLE_SRCS)
am_libhermes_la_OBJECTS =	\
	mmx_main.lo		\
	mmxp2_32.lo		\
	x86_main.lo		\
	x86p_16.lo		\
	x86p_32.lo

# The hermes library sources
PORTABLE_SRCS = 		\
	mmx_main.asm		\
	mmxp2_32.asm		\
	x86_main.asm		\
	x86p_16.asm		\
	x86p_32.asm		\
	\
	HeadMMX.h		\
	HeadX86.h

EXTRA_DIST =			\
	COPYING.LIB		\
	README