blob: 70817b6efa93e2b6fe032d1e6aa2f24250fddb89 (
plain) (
blame)
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
71
72
73
|
--- Makefile.orig Sun Oct 22 02:34:42 2000
+++ Makefile Wed Oct 25 13:09:52 2000
@@ -1,26 +1,26 @@
#
MAINVERSION = '"6.03"'
GUIVERSION = '".11"'
-LIBDIR = '"/usr/local/lib/Ngraph"'
-INSTALLDIR = /usr/local/lib/Ngraph
-BINDIR = /usr/local/bin
+LIBDIR = '"${PREFIX}/lib/Ngraph"'
+INSTALLDIR = ${PREFIX}/lib/Ngraph
+BINDIR = ${PREFIX}/bin
#
#
###############################################################################
#
# Linux + Open Motif 2.1 [static link]
#
-CC = gcc
-CCOPTION = -O2 -m486
-MAKE = make
-AR = ar
-RANLIB = ranlib
-STRIP = strip
-DEFS = -DJAPANESE
-PLATFORM = '"for X11 [Linux(glibc2)+Open Motif 2.1]"'
-X11INCLUDE = -I/usr/X11R6/include
-STATICLINK = /usr/X11R6/lib/libXm.a
-X11LIB = -L/usr/X11R6/lib -lm -lXext -lXt -lXp -lX11 -lICE -lSM
+#CC = gcc
+#CCOPTION = -O2 -m486
+#MAKE = make
+#AR = ar
+#RANLIB = ranlib
+#STRIP = strip
+#DEFS = -DJAPANESE
+#PLATFORM = '"for X11 [Linux(glibc2)+Open Motif 2.1]"'
+#X11INCLUDE = -I/usr/X11R6/include
+#STATICLINK = /usr/X11R6/lib/libXm.a
+#X11LIB = -L/usr/X11R6/lib -lm -lXext -lXt -lXp -lX11 -lICE -lSM
#
#
###############################################################################
@@ -148,17 +148,18 @@
#
# (Thanks to MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>)
#
-#CC = gcc
-#CCOPTION = ${CFLAGS}
-#MAKE = gmake
-#AR = ar
-#RANLIB = ranlib
-#STRIP = strip
-#DEFS = -DJAPANESE
-#PLATFORM = '"for X11 [FreeBSD+Motif2.1]"'
-#X11INCLUDE = -I/usr/X11R6/include -I/usr/dt/include
-#STATICLINK = /usr/dt/lib/libXm.a
-#X11LIB = -L/usr/X11R6/lib -L/usr/dt/lib -lm -lXext -lXt -lXp -lX11 -lICE -lSM -lxpg4
+CC ?= gcc
+CFLAGS ?= -O -pipe
+CCOPTION = ${CFLAGS}
+MAKE = gmake
+AR = ar
+RANLIB = ranlib
+STRIP = strip
+DEFS = -DJAPANESE
+PLATFORM = '"for X11 [FreeBSD+Motif2.1]"'
+X11INCLUDE = -I${X11BASE}/include -I/usr/dt/include
+STATICLINK =
+X11LIB = ${MOTIFLIB} -lm -L${X11BASE}/lib -lXext -lXt -lXp -lX11 -lICE -lSM -lxpg4
#
###############################################################################
|