summaryrefslogtreecommitdiff
path: root/editors/sam/patches/patch-ab
blob: 4f9f3c685870a9ce67dc0e6e78b4e9e6e99ad267 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
$NetBSD: patch-ab,v 1.3 2001/05/01 09:16:25 agc Exp $

--- libframe/Makefile.orig	Tue May  1 09:42:03 2001
+++ libframe/Makefile	Tue May  1 09:46:03 2001
@@ -1,21 +1,20 @@
 #	Copyright (c) 1992 AT&T - All rights reserved.
 #
-#	Prototype Makefile for libframe
+#	Prototype BSDi Makefile for libframe
+#	Courtesy of Boyd Roberts
+#
+#	Define operating system type: -DBSDi
 #
-#	define operating system.  ONE of:
-#		-DIRIX -DSUNOS -DUMIPS -DSYSVR3 -DAIX -DOSF1
-#		-DHPUX -DAPOLLO -DCONVEX -DDYNIX
-#	
 #	Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
 #	if your compiler supports posix-compatible compilation
-OS=-DIRIX -ansiposix
+OS=-DBSDi -O2
 
 #	add -Iincludedir for any include directories that need to be searched
 #	for posix header files (for UMIPS, add -I/usr/include/posix)
-INCS=-I../include
+INCS=-I../include -I/usr/include/posix
 
 #	add name of library orderer - use ":" if none exists
-RANLIB=:
+RANLIB=ranlib
 
 #	add name of library
 AR=ar
@@ -41,5 +40,7 @@
 	rm -f $(LIB)
 
 install:	$(LIB)
+	cp ${LIB} ${PREFIX}/lib/${LIB}
+	${RANLIB} ${PREFIX}/lib/${LIB}
 
 $(OBJ):	../include/u.h ../include/libc.h ../include/frame.h