1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/audio/s3mod/files/patch-ab

46 lines
1.1 KiB
Plaintext
Raw Normal View History

--- Makefile.orig Sat Oct 21 12:48:51 1995
+++ Makefile Sat Jun 19 02:56:40 1999
@@ -5,11 +5,10 @@
#
########
-CC = gcc
-RM = rm
-LN = ln -s
+CC ?= gcc
+RM ?= rm
+LN += -s
1998-09-28 01:47:30 +00:00
-CFLAGS = -O2
LFLAGS =
OBJS = mod.o s3m.o main.o play.o mix.o cmdline.o dsp.o gus.o
@@ -24,6 +23,7 @@
@echo " make sun - SunOS/Solaris"
@echo " make sgi - SGI Irix"
@echo " make linux - Voxware DSP/GUS"
+ @echo " make freebsd - Voxware DSP/GUS"
@echo " make dec - Dec OSF/1"
@echo " make clean - remove all .o files"
@echo " make clobber - remove all .o and targets"
@@ -51,6 +51,9 @@
$(LN) DspDrivers/linux_dsp.c dsp.c
make CC=gcc CFLAGS=-O2 DEFINES="-DLINUX -DGUS" s3mod
+freebsd:
+ make CFLAGS="$(CFLAGS)" DEFINES="-DGUS" s3mod
1998-09-28 01:47:30 +00:00
+
s3mod: $(OBJS)
$(CC) $(CFLAGS) -o s3mod $(OBJS) $(LFLAGS) $(LIBS)
@@ -62,6 +65,9 @@
dep:
makedepend $(CFLAGS) $(LFLAGS) $(LIBS) $(CFILES)
+
+install:
+ install -c -m 555 s3mod ${PREFIX}/bin
1998-09-28 01:47:30 +00:00
# DO NOT DELETE THIS LINE -- make depend depends on it.