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
|
--- Imakefile.orig Thu Jul 10 10:33:34 1997
+++ Imakefile Thu Feb 11 18:28:52 1999
@@ -10,11 +10,8 @@
* GLIB. The documentation (Manual.ps) is not installed, that's up to you.
*/
-GBIN = /usr/local/bin
-GLIB = /usr/local/lib
-
-CDEBUGFLAGS = -O2
-
+GBIN = ${X11BASE}/bin
+GLIB = ${X11BASE}/lib/X11/xmbase-grok
/*
* Do not change anyhting below.
@@ -23,7 +20,7 @@
#ifdef sgi
LIB = -lSgm -lXm $(XTOOLLIB) $(XLIB) $(SYSLIBS) $(XMEXTRA_LIBS) -lm
#else
-LIB = -lXm $(XTOOLLIB) $(XLIB) $(SYSLIBS) $(XMEXTRA_LIBS) -lm
+LIB = $(MOTIFLIB) $(XTOOLLIB) $(XLIB) $(SYSLIBS) $(XMEXTRA_LIBS) -lm
#endif
SRC = canvdraw.c cardwin.c chart.c chartdrw.c convert.c dbase.c\
@@ -55,10 +52,10 @@
AllTarget(grok)
NormalProgramTarget(grok,y.tab.o $(SRC:.c=.o),,,$(LIB))
InstallProgram(grok,$(GBIN))
-InstallProgram(grok.hlp,$(GLIB))
+InstallNonExecFile(grok.hlp,$(GLIB))
InstallMultiple(Manual.ps grok.hlp,$(GLIB))
InstallMultiple($(DEMO),$(GLIB)/grokdir)
-InstallNonExec(grok.xpm,$(LIBDIR)/pixmaps)
+InstallNonExec(grok.xpm,$(X11BASE)/include/X11/pixmaps)
$(SRC:.c=.o): config.h grok.h proto.h form.h
@@ -90,14 +87,18 @@
#---------------------------------------------------------------
-Manual.ps: doc/main.dvi
- dvips -f doc/main.dvi >Manual.ps
- -rm -f doc/jobname.cont doc/main.cont doc/main.log
-
-
-doc/main.dvi: $(DOC)
- cd doc; tex main.tex; tex main.tex
- -rm -f doc/jobname.cont doc/main.cont doc/main.log
+#
+# Don't want the need to have TeX installed for the make install target !
+# -Andreas
+#
+#Manual.ps: doc/main.dvi
+# dvips -f doc/main.dvi >Manual.ps
+# -rm -f doc/jobname.cont doc/main.cont doc/main.log
+#
+#
+#doc/main.dvi: $(DOC)
+# cd doc; tex main.tex; tex main.tex
+# -rm -f doc/jobname.cont doc/main.cont doc/main.log
clean::
-rm -f y.tab.h y.tab.c lex.yy.c grok y.output *.shar*
|