annotate playsound/Makefile.am @ 428:c2a25d2b5784

Fixed physfs source inclusion with "make dist".
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 09 Oct 2002 16:20:04 +0000
parents 259daddc2d6b
children 35dfa9d9782e
rev   line source
227
7e74765ad928 Updated/Fixed. I think.
Ryan C. Gordon <icculus@icculus.org>
parents: 71
diff changeset
1 bin_PROGRAMS = playsound
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
428
c2a25d2b5784 Fixed physfs source inclusion with "make dist".
Ryan C. Gordon <icculus@icculus.org>
parents: 288
diff changeset
7 PHYSFS_SRCS = physfsrwops.c physfsrwops.h
288
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
8 PHYSFS_LIBS = -lphysfs
428
c2a25d2b5784 Fixed physfs source inclusion with "make dist".
Ryan C. Gordon <icculus@icculus.org>
parents: 288
diff changeset
9 EXTRAPHYSFS_SRCS =
288
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
10 else
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
11 PHYSFS_CFLG =
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
12 PHYSFS_SRCS =
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
13 PHYSFS_LIBS =
428
c2a25d2b5784 Fixed physfs source inclusion with "make dist".
Ryan C. Gordon <icculus@icculus.org>
parents: 288
diff changeset
14 EXTRAPHYSFS_SRCS = physfsrwops.c physfsrwops.h
288
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
15 endif
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
16
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
17 playsound_CFLAGS = $(PHYSFS_CFLG)
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
18 playsound_LDADD = ../libSDL_sound.la $(PHYSFS_LIBS)
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
19 playsound_SOURCES = playsound.c $(PHYSFS_SRCS)
259daddc2d6b PhysicsFS support tied into build system.
Ryan C. Gordon <icculus@icculus.org>
parents: 227
diff changeset
20
428
c2a25d2b5784 Fixed physfs source inclusion with "make dist".
Ryan C. Gordon <icculus@icculus.org>
parents: 288
diff changeset
21 EXTRA_DIST = $(EXTRAPHYSFS_SRCS)