# $Id: Makefile.in,v 1.2 2000/05/15 14:25:39 msmith Exp $ # Makefile for the OggVorbis XMMS module. # still needs an 'install' entry, but how to find kmp? # DO NOT EDIT BELOW! ########################################################## # (unless, of course, you know what you are doing :) ########################## @SET_MAKE@ FLAGS=-I. -I$(KDEDIR)/include -I/usr/local/include -I../include @TYPESIZES@ @CFLAGS@ -fno-exceptions -fno-rtti -fno-check-new OPT=@OPT@ $(FLAGS) DEBUG=@DEBUG@ $(FLAGS) PROFILE=@PROFILE@ $(FLAGS) CC=@CC@ CPP=g++ LD=@CC@ LDFLAGS=@LDFLAGS@ $(FLAGS) -shared AR=@AR@ RANLIB=@RANLIB@ LIBS=@LIBS@ -lm -lpthread OFILES= vorbisPlugin.o TARGET= libvorbis_kmpg.so HFILES= ../include/vorbis/codec.h ../include/vorbis/vorbisfile.h \ ../include/vorbis/internal.h ../include/vorbis/backends.h \ ../include/vorbis/codebook.h all: $(MAKE) target CFLAGS="$(OPT)" debug: $(MAKE) target CFLAGS="$(DEBUG)" profile: $(MAKE) target CFLAGS="$(PROFILE)" target: $(OFILES) $(LD) $(LDFLAGS) -o $(TARGET) $(OFILES) \ ../lib/vorbisfile.a ../lib/libvorbis.a $(LIBS) $(OFILES): $(HFILES) .cpp.o: $(CPP) $(CFLAGS) -c $< clean: -rm -f *.o *.a test* *~ *.out config.* *.so distclean: clean -rm -f Makefile install: cp $(TARGET) /usr/lib