mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
42 lines
853 B
Plaintext
42 lines
853 B
Plaintext
--- makefile.orig Sat Apr 17 08:22:40 1999
|
|
+++ makefile Wed Sep 8 06:01:21 1999
|
|
@@ -3,6 +3,11 @@
|
|
#translation software written by the National Federation of the Blind
|
|
#compile under the Unix operating system.
|
|
#
|
|
+#Installation prefix:
|
|
+PREFIX?=/usr/local
|
|
+#Library path:
|
|
+UNIX_PATH?=${PREFIX}/lib/nfbtrans/
|
|
+#
|
|
#The source and object files are as follows:
|
|
|
|
SRCFILES=nfbtrans.c nfbpatch.c
|
|
@@ -10,7 +15,7 @@
|
|
LIBS= -ltermcap
|
|
|
|
#Compiler and linking flags are as follows:
|
|
-CFLAGS="-O"
|
|
+CFLAGS+=-O -DUNIX_PATH=\\\"${UNIX_PATH}\\\"
|
|
CC=gcc
|
|
LDFLAGS=-Bdynamic
|
|
|
|
@@ -21,6 +26,7 @@
|
|
@echo "make ultrix"
|
|
@echo "make aix"
|
|
@echo "make linux"
|
|
+ @echo "make freebsd"
|
|
all: nfbtrans
|
|
|
|
nfbtrans: $(OBJFILES)
|
|
@@ -28,6 +34,9 @@
|
|
|
|
ultrix:
|
|
$(MAKE) CFLAGS=-O
|
|
+
|
|
+freebsd:
|
|
+ ${MAKE} all CFLAGS="${CFLAGS} -Dfreebsd"
|
|
|
|
linux:
|
|
$(MAKE) all CFLAGS="-O -Dlinux"
|