cd9df48d01
- Support CFLAGS properly PR: 43693 Submitted by: Ports Fury
49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
*** Makefile.orig Mon May 17 17:46:21 1993
|
|
--- Makefile Wed Oct 2 07:08:32 2002
|
|
***************
|
|
*** 26,38 ****
|
|
default:
|
|
@echo 'You must use "make sun4.0", "make sun4.1",'
|
|
@echo '"make next", "make sgi", "make hpux",'
|
|
! @echo '"make lofi" or "make audiofile"'
|
|
exit 1
|
|
|
|
all: radio broadcast
|
|
|
|
# Platform-specific entries
|
|
|
|
sun4.0: # For SunOS 4.x
|
|
make all LIBS=-lX11
|
|
|
|
--- 26,41 ----
|
|
default:
|
|
@echo 'You must use "make sun4.0", "make sun4.1",'
|
|
@echo '"make next", "make sgi", "make hpux",'
|
|
! @echo '"make FreeBSD", "make lofi" or "make audiofile"'
|
|
exit 1
|
|
|
|
all: radio broadcast
|
|
|
|
# Platform-specific entries
|
|
|
|
+ FreeBSD: # For FreeBSD 2.0.5
|
|
+ $(MAKE) all CFLAGS='$(CFLAGS) -DHAVE_MCAST -DDEFMCAST=\"radio.multicast\"'
|
|
+
|
|
sun4.0: # For SunOS 4.x
|
|
make all LIBS=-lX11
|
|
|
|
***************
|
|
*** 82,87 ****
|
|
--- 85,95 ----
|
|
make all CFLAGS="-g -Daudiofile $(AFINCLUDE)" \
|
|
LIBS="$(AFLIBDIRS) -lAF -lAFUtil -lm"
|
|
|
|
+ install: all
|
|
+ $(BSD_INSTALL_PROGRAM) -o bin -g bin broadcast ${PREFIX}/bin/broadcast
|
|
+ $(BSD_INSTALL_PROGRAM) -o bin -g bin radio ${PREFIX}/bin/radio
|
|
+ $(BSD_INSTALL_MAN) broadcast.man ${PREFIX}/man/man1/broadcast.1
|
|
+ $(BSD_INSTALL_MAN) radio.man ${PREFIX}/man/man1/radio.1
|
|
|
|
# Common programs:
|
|
|