$NetBSD: patch-af,v 1.2 2004/04/24 22:25:31 wiz Exp $ --- Player/Makefile.orig 2000-06-07 20:19:50.000000000 +0200 +++ Player/Makefile @@ -1,14 +1,13 @@ -FLASH=../Lib -CPPFLAGS=-I$(FLASH) -CFLAGS=-O3 -LIBS = $(FLASH)/libflash.a ../Zlib/libz.a ../Jpeg/libjpeg.a -L/usr/X11R6/lib -lX11 -lXext -lm -CC=gcc -LDFLAGS= +LIBS = -lflash -ljpeg -lz ${LIBOSSAUDIO} -lX11 -lXext -lm $(LIBSTDCPP) +CFLAGS+= -I${PREFIX}/include/flash -swfplayer: main.o $(FLASH)/libflash.a ../Zlib/libz.a ../Jpeg/libjpeg.a +all: swfplayer + +install: swfplayer + ${BSD_INSTALL_PROGRAM} swfplayer ${PREFIX}/bin + +swfplayer: main.o $(CC) $(LDFLAGS) -o $@ main.o $(LIBS) clean: rm -f *~ *.o swfplayer core gmon.out - -