summaryrefslogtreecommitdiff
path: root/plan9/sam/patches/patch-aa
blob: b770f0cfa4bb394c7323e994d479a421aa528e37 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
$NetBSD: patch-aa,v 1.2 1998/08/07 11:11:17 agc Exp $

*** libXg/Makefile.orig	Fri Jul 28 14:02:17 1995
--- libXg/Makefile	Fri Jul 21 15:03:43 1995
***************
*** 1,24 ****
  #	Copyright (c) 1992 AT&T - All rights reserved.
  #
! #	Prototype Makefile for libXg
  #
- #	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
  
  #	add -Iincludedir for any include directories that need to be searched
! INCS=-I../include
  
  #	set this if your X libraries are in different locations
  #	or if you need extra libraries to load with X11 applications
! XLIBS=/usr/local/X11R5/lib/libXt.a /usr/local/X11R5/lib/libX11.a
  
  #	add name of library orderer - use ":" if none
! RANLIB=:
  
  #	add name of librarian
  AR=ar
--- 1,23 ----
  #	Copyright (c) 1992 AT&T - All rights reserved.
  #
! #	Prototype BSDi Makefile for libXg
! #	Courtesy of Boyd Roberts
! #
! #	Define operating system type: -DBSDi
  #
  #	Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
  #	if your compiler supports posix-compatible compilation
! OS=-O2 -DBSDi
  
  #	add -Iincludedir for any include directories that need to be searched
! INCS=-I../include -I/usr/X11R6/include
  
  #	set this if your X libraries are in different locations
  #	or if you need extra libraries to load with X11 applications
! XLIBS=/usr/X11/lib/libXt.a /usr/X11/lib/libX11.a
  
  #	add name of library orderer - use ":" if none
! RANLIB=ranlib
  
  #	add name of librarian
  AR=ar
***************
*** 50,56 ****
  $(LIB):	$(OBJS)
  	$(AR) rv $(LIB) $(OBJS)
  	$(RANLIB) $(LIB)
- 
- $(LIB)(%.o): %.o
  
  $(OBJS):	../include/libg.h libgint.h ../include/libc.h
--- 49,53 ----