summaryrefslogtreecommitdiff
path: root/editors/sam/files/patch-ac
blob: 79495057a29d5c577ac2922d6ab96467a5cc251d (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
65
66
67
68
69
70
*** samterm/Makefile.orig	Fri Feb 11 11:04:17 2000
--- samterm/Makefile	Fri Feb 11 11:12:52 2000
***************
*** 8,32 ****
  #	
  #	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
  #	for posix header files (for UMIPS, add -I/usr/include/posix)
! INCS=-I../include
  
  #	SAMTERM contains the name of the file containing the samterm
  #	executable.  SAMTERMDIR is the directory where it is installed.
  SAMTERM=samterm
! SAMTERMDIR=/v/bin
  
  #	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
  
! CFLAGS=$(OS) $(INCS) -D_LIBXG_EXTENSION
  
  LIBS=../libframe/libframe.a ../libXg/libXg.a
! CC=cc
  
  OBJ=main.o flayer.o icons.o io.o menu.o mesg.o rasp.o scroll.o unix.o
  
--- 8,32 ----
  #	
  #	Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified
  #	if your compiler supports posix-compatible compilation
! OS=-DBSDi
  
  #	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 -I${LOCALBASE}/include
  
  #	SAMTERM contains the name of the file containing the samterm
  #	executable.  SAMTERMDIR is the directory where it is installed.
  SAMTERM=samterm
! SAMTERMDIR=$(PREFIX)/bin
  
  #	set this if your X libraries are in different locations
  #	or if you need extra libraries to load with X11 applications
! XLIBS=-lXt -lX11 -lSM -lICE -L${LOCALBASE}/lib
  
! CFLAGS+=$(OS) $(INCS) -D_LIBXG_EXTENSION
  
  LIBS=../libframe/libframe.a ../libXg/libXg.a
! CC?=cc
  
  OBJ=main.o flayer.o icons.o io.o menu.o mesg.o rasp.o scroll.o unix.o
  
***************
*** 42,47 ****
  	rm -f samterm
  
  install:	samterm
! 	cp samterm $(SAMTERMDIR)/$(SAMTERM)
  
  $(OBJ):	samterm.h flayer.h ../include/frame.h ../include/libg.h ../include/u.h ../include/libc.h ../sam/mesg.h
--- 42,47 ----
  	rm -f samterm
  
  install:	samterm
! 	${BSD_INSTALL_PROGRAM} samterm $(SAMTERMDIR)/$(SAMTERM)
  
  $(OBJ):	samterm.h flayer.h ../include/frame.h ../include/libg.h ../include/u.h ../include/libc.h ../sam/mesg.h