summaryrefslogtreecommitdiff
path: root/math/abs/patches/patch-aa
blob: b9ccebd99130cbf64e6eee98bbb5ed738ccc0e7c (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
$NetBSD: patch-aa,v 1.4 2000/11/17 07:36:34 rh Exp $

--- Makefile.netBSD.orig	Wed Nov 15 20:59:20 2000
+++ Makefile.netBSD
@@ -1,24 +1,24 @@
 CURRENT_DIR = 	.
 
 
-SUBDIRS =	Xpm ABV X11 Kernel Plot Database Fig Interface X11/xedit SAMCEF 
+SUBDIRS =	ABV X11 Kernel Plot Database Fig Interface X11/xedit SAMCEF 
 
 SUBDIRS2 =	ABV X11 Kernel Plot Database Fig Interface
-MAKE =	make
+#MAKE?=	make
 
 #for linux and aix LIBS = -L /lib/X11 -L /usr/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext
 #for silicon: LIBS = -lXaw -lX11 -lm -lXt -lXmu -lXext
 #for hp LIBS = -L /lib/X11 -L /usr/X11R6/lib -L /usr/contrib/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext
-LIBS = -L /usr/lib -L /usr/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext
+LIBS = -lXaw -lXpm -lX11 -lm -lXt -lXmu -lXext
 #LIBS = -L /lib/X11 -L /usr/X11R6/lib -L /usr/contrib/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext
 
 #for hp DEFINE = -D_HPUX_SOURCE
 DEFINE = 
 
-CFLAGS = 
+#CFLAGS = 
 
 #for hp IncludeDir = /usr/contrib/X11R6/include
-IncludeDir = /usr/X11R6/include
+IncludeDir = ${X11BASE}/include
 
 #for hp Ccompiler = c89
 Ccompiler = cc
@@ -35,8 +35,8 @@
 	done
 	cc -o abs  ./Plot/*.o ./ABV/*.o \
         Fig/*.o Interface/*.o X11/xedit/*.o \
-        ./Kernel/*.o ./X11/*.o ./Database/*.o ./Xpm/libxpm.a\
-        $(LIBS) $(DEFINE)
+        ./Kernel/*.o ./X11/*.o ./Database/*.o \
+        ${LDFLAGS} ${LIBS} ${DEFINE}