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