ba562449a6
This is version 0.4.10nb4.
26 lines
655 B
Text
26 lines
655 B
Text
$NetBSD: patch-af,v 1.1.1.1 2004/01/26 13:34:46 jmmv Exp $
|
|
|
|
--- Player/Makefile.orig Wed Jun 7 11:19:50 2000
|
|
+++ Player/Makefile
|
|
@@ -1,14 +1,12 @@
|
|
-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)
|
|
|
|
-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
|
|
-
|
|
-
|