48 lines
1.4 KiB
Text
48 lines
1.4 KiB
Text
$NetBSD: patch-aa,v 1.3 1999/05/31 04:10:32 ross Exp $
|
|
|
|
Miscellaneous Makefile settings.
|
|
|
|
--- Makefile 1994/07/25 15:59:41 1.16
|
|
+++ Makefile 1998/11/17 13:44:39
|
|
@@ -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,8 +32,8 @@
|
|
#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 = gcc # also common
|
|
+#CC = cc # common
|
|
+CC = gcc # also common
|
|
#CC = /usr/ccs/bin/cc # Pyramid DC/OSx (SVR4)
|
|
|
|
CFLAGS = -O # common
|
|
@@ -48,7 +48,7 @@
|
|
#CFLAGS = -systype bsd43 # ETA/10 (SVR3)
|
|
#CFLAGS = -systype bsd43 # MIPS RISC/OS 4.5x
|
|
#CFLAGS = -O -ansi # gnu CC
|
|
-#CFLAGS = -O -ansi -W -Wreturn-type -Wswitch -Wshadow # gnu CC w/all warnings
|
|
+CFLAGS = -O -ansi -W -Wreturn-type -Wswitch -Wshadow -DTW_TYPE32='int'
|
|
#CFLAGS = -OG # Pyramid OSx
|
|
#CFLAGS = -O -Kold # Pyramid DC/OSx (SVR4)
|
|
#CFLAGS = -DTW_TYPE32='int' # DEC OSF/1 Alpha (or any other architecture
|
|
@@ -77,7 +77,7 @@
|
|
|
|
# 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
|