fe16309cfe
fixes build on Solaris.
58 lines
1.6 KiB
Text
58 lines
1.6 KiB
Text
$NetBSD: patch-aa,v 1.4 2004/02/08 13:36:20 grant Exp $
|
|
|
|
--- Makefile.orig 1994-07-26 01:59:41.000000000 +1000
|
|
+++ Makefile
|
|
@@ -12,10 +12,10 @@
|
|
###
|
|
|
|
# destination directory for final executables
|
|
-DESTDIR = /secureplace/bin
|
|
+DESTDIR = ${PREFIX}/sbin
|
|
|
|
# destination for man pages
|
|
-MANDIR = /usr/man
|
|
+MANDIR = ${PREFIX}/man
|
|
|
|
# system utilities
|
|
LEX = lex
|
|
@@ -32,11 +32,11 @@ SHELL = /bin/sh
|
|
#SHELL = /bin/bash # For the GNU fanatics
|
|
|
|
# you can use ANSI C if you like, but K&R is equally fine.
|
|
-CC = cc # common
|
|
+#CC = cc # common
|
|
#CC = gcc # also common
|
|
#CC = /usr/ccs/bin/cc # Pyramid DC/OSx (SVR4)
|
|
|
|
-CFLAGS = -O # common
|
|
+#CFLAGS = -O # common
|
|
#CFLAGS = -g # common
|
|
#CFLAGS = -g # debugging
|
|
#CFLAGS = -O -cckr # SGI
|
|
@@ -55,7 +55,7 @@ CFLAGS = -O # common
|
|
# where int [but not long] is a 32 bit quantity)
|
|
|
|
# a C preprocessor (to build inode.h)
|
|
-CPP = $(CC) -E # common
|
|
+#CPP = $(CC) -E # common
|
|
#CPP = /usr/lib/cpp # on older systems
|
|
#CPP = /lib/cpp # on older systems
|
|
|
|
@@ -67,7 +67,7 @@ LDFLAGS= # common
|
|
#LDFLAGS= -dn # Pyramid DC/OSx (SVR4)
|
|
|
|
# libraries
|
|
-LIBS = # common
|
|
+#LIBS = # common
|
|
#LIBS = -lsocket # SCO
|
|
#LIBS = -lmalloc -lsun -lc_s # IRIX 4.0
|
|
#LIBS = -lx # Xenix
|
|
@@ -77,7 +77,7 @@ LIBS = # common
|
|
|
|
# If you don't have the install command, you need to replace
|
|
# the use of it later in the makefile with a cp and chmod
|
|
-INSTALL= /usr/bin/install # common
|
|
+#INSTALL= /usr/bin/install # common
|
|
#INSTALL= /usr/ucb/install # Pyramid DC/OSx (SVR4)
|
|
#INSTALL= /etc/install # Pyramid OSx
|
|
#INSTALL= /bin/cp # no install
|