summaryrefslogtreecommitdiff
path: root/multimedia/libflash/patches/patch-af
blob: 3a03559fc4d37bc5e81209ae906210050bdd9c84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$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
-
-