view src/wma/libffwma/Makefile @ 74:11d45400f5ed trunk

[svn] The mixer device isn't opened and closed for every action now, instead it gets opened as soon as needed and closed if it's not needed anymore. This fixes a lot of bugs with the mixer of the OSS plugin, including the one that settigns the volume on OpenBSD via OSS didn't work at all.
author js
date Mon, 02 Oct 2006 11:29:31 -0700
parents 67b56e61de74
children d9fe80b35381
line wrap: on
line source

include ../../../mk/rules.mk
include ../../../mk/init.mk

OBJECTIVE_LIBS_NOINST=	libffwma.a

SOURCES=	allcodecs.c allformats.c \
		asf.c avcodec.h avformat.h \
		avi.h avio.c avio.h aviobuf.c \
		bswap.h common.c common.h \
		cutils.c cutils.h dsputil.c dsputil.h \
		fft.c file.c futils.c mdct.c mms.c \
		os_support.c os_support.h \
		parser.c simple_idct.c simple_idct.h \
		utils.h utils.c wmadata.h wmadec.c mem.c uri.c

CFLAGS+=	$(PICFLAGS) $(GTK_CFLAGS) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -I../../..

OBJECTS=${SOURCES:.c=.o}

include ../../../mk/objective.mk

libffwma.a: $(OBJECTS)
	$(AR) cq $@ $(OBJECTS)