annotate playsound/Makefile.am @ 517:0f5888f9aef7 stable-1.0

Fixed bogus memory deference when SMPEG fails init (thanks, Chris!).
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 29 Oct 2006 07:14:48 +0000
parents 1b91006ebfef
children
rev   line source
492
1b91006ebfef Added playsound_simple.c, which is a better example
Ryan C. Gordon <icculus@icculus.org>
parents: 488
diff changeset
1 bin_PROGRAMS = playsound playsound_simple
71
8ed194d014b4 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
2
8ed194d014b4 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
3 INCLUDES = -I$(top_srcdir)
8ed194d014b4 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
4
288
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
5 if USE_PHYSICSFS
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
6 PHYSFS_CFLG = -DSUPPORT_PHYSFS=1
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
7 PHYSFS_LIBS = -lphysfs
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
8 else
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
9 PHYSFS_CFLG =
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
10 PHYSFS_SRCS =
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
11 PHYSFS_LIBS =
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
12 endif
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
13
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
14 playsound_CFLAGS = $(PHYSFS_CFLG)
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
15 playsound_LDADD = ../libSDL_sound.la $(PHYSFS_LIBS)
488
b8f694c12010 Backport from devtree: Fixed automake nonsense.
Ryan C. Gordon <icculus@icculus.org>
parents: 428
diff changeset
16 playsound_SOURCES = playsound.c physfsrwops.c physfsrwops.h
492
1b91006ebfef Added playsound_simple.c, which is a better example
Ryan C. Gordon <icculus@icculus.org>
parents: 488
diff changeset
17
1b91006ebfef Added playsound_simple.c, which is a better example
Ryan C. Gordon <icculus@icculus.org>
parents: 488
diff changeset
18 playsound_simple_LDADD = ../libSDL_sound.la
1b91006ebfef Added playsound_simple.c, which is a better example
Ryan C. Gordon <icculus@icculus.org>
parents: 488
diff changeset
19 playsound_simple_SOURCES = playsound_simple.c