src/timer/Makefile.am
author Ryan C. Gordon <icculus@icculus.org>
Tue, 27 Sep 2005 12:14:17 +0000
changeset 1147 b580f7201543
parent 754 623b453a3219
permissions -rw-r--r--
From: "Alex Volkov" <avcp-sdlmail@usa.net>
To: "'A list for developers using the SDL library. \(includesSDL-announce\)'" <sdl@libsdl.org>
Date: Mon, 19 Sep 2005 18:59:43 -0400
Subject: [SDL] [patch] Volume multiplier bug in

The volume multiplier in SDL_MixAudio_MMX_S8() is formed from the wrong
register.
     1 
     2 ## Makefile.am for the SDL timer library
     3 
     4 noinst_LTLIBRARIES = libtimer.la
     5 
     6 ARCH_SUBDIRS = $(srcdir)/amigaos \
     7                $(srcdir)/beos \
     8                $(srcdir)/dc \
     9                $(srcdir)/epoc \
    10                $(srcdir)/linux \
    11                $(srcdir)/macos \
    12                $(srcdir)/mint \
    13                $(srcdir)/riscos \
    14                $(srcdir)/win32
    15 
    16 # Include the architecture-independent sources
    17 COMMON_SRCS = SDL_timer.c SDL_timer_c.h SDL_systimer.h
    18 
    19 # Include the architecture-specific sources
    20 if TARGET_MINT
    21 ARCH_SRCS = SDL_systimer.c mint/SDL_vbltimer.S mint/SDL_vbltimer_s.h
    22 else
    23 ARCH_SRCS = SDL_systimer.c
    24 endif
    25 
    26 libtimer_la_SOURCES = $(COMMON_SRCS) $(ARCH_SRCS)
    27 
    28 ## Let automake know that it shouldn't distribute linked sources
    29 BUILT_SOURCES = $(ARCH_SRCS)
    30 
    31 ## Let automake know that it should remove these for distribution
    32 DISTCLEANFILES = $(ARCH_SRCS)
    33 
    34 # The architecture specific directories need to be copied into place
    35 # when building a distribution.
    36 dist-hook:
    37 	(cd $(distdir) && rm -f $(BUILT_SOURCES))
    38 	cp -rp $(ARCH_SUBDIRS) $(distdir)
    39 	(cd $(distdir) && rm -rf `find . -name CVS`)