2000-04-29 21:14:39 +00:00
|
|
|
--- Imakefile.orig Fri Nov 12 03:28:53 1999
|
|
|
|
+++ Imakefile Tue Mar 14 21:48:50 2000
|
1999-02-11 21:54:00 +00:00
|
|
|
@@ -10,11 +10,8 @@
|
1997-08-30 13:25:06 +00:00
|
|
|
* GLIB. The documentation (Manual.ps) is not installed, that's up to you.
|
|
|
|
*/
|
|
|
|
|
|
|
|
-GBIN = /usr/local/bin
|
|
|
|
-GLIB = /usr/local/lib
|
1999-02-11 21:54:00 +00:00
|
|
|
-
|
|
|
|
-CDEBUGFLAGS = -O2
|
|
|
|
-
|
2000-04-29 21:14:39 +00:00
|
|
|
+GBIN = $(BINDIR)
|
|
|
|
+GLIB = $(LIBDIR)/xmbase-grok
|
1997-08-30 13:25:06 +00:00
|
|
|
|
|
|
|
/*
|
1999-02-11 21:54:00 +00:00
|
|
|
* Do not change anyhting below.
|
1999-02-12 02:41:39 +00:00
|
|
|
@@ -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\
|
2000-04-29 21:14:39 +00:00
|
|
|
@@ -37,17 +34,14 @@
|
|
|
|
DOC = doc/files.tex doc/formedit.tex doc/grammar.tex doc/intro.tex\
|
|
|
|
doc/macro.tex doc/main.tex doc/export.tex
|
|
|
|
|
|
|
|
-DEMO = grokdir/*
|
|
|
|
-
|
|
|
|
EXTRA_DEFINES = -DPATH=\"$(GBIN):$(GLIB)\" -DLIB=\"$(GLIB)\"
|
|
|
|
EXTRA_LIBS=-lXpm
|
1997-08-30 13:25:06 +00:00
|
|
|
AllTarget(grok)
|
|
|
|
NormalProgramTarget(grok,y.tab.o $(SRC:.c=.o),,,$(LIB))
|
|
|
|
InstallProgram(grok,$(GBIN))
|
|
|
|
-InstallProgram(grok.hlp,$(GLIB))
|
|
|
|
+InstallNonExecFile(grok.hlp,$(GLIB))
|
2000-04-29 21:14:39 +00:00
|
|
|
InstallMultiple(Manual.ps grok.hlp,$(GLIB)/grokdir)
|
|
|
|
-InstallMultiple($(DEMO),$(GLIB)/grokdir)
|
1997-08-30 13:25:06 +00:00
|
|
|
-InstallNonExec(grok.xpm,$(LIBDIR)/pixmaps)
|
2000-04-29 21:14:39 +00:00
|
|
|
+InstallNonExec(grok.xpm,$(INCDIR)/X11/pixmaps)
|
1997-08-30 13:25:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
$(SRC:.c=.o): config.h grok.h proto.h form.h
|
2000-04-29 21:14:39 +00:00
|
|
|
@@ -79,14 +73,18 @@
|
1997-08-30 13:25:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
#---------------------------------------------------------------
|
|
|
|
-Manual.ps: doc/main.dvi
|
|
|
|
- dvips -f doc/main.dvi >Manual.ps
|
|
|
|
- -rm -f doc/jobname.cont doc/main.cont doc/main.log
|
|
|
|
-
|
|
|
|
-
|
1999-02-11 21:54:00 +00:00
|
|
|
-doc/main.dvi: $(DOC)
|
1997-08-30 13:25:06 +00:00
|
|
|
- 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
|
|
|
|
+#
|
1999-02-11 21:54:00 +00:00
|
|
|
+#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
|
1997-08-30 13:25:06 +00:00
|
|
|
|
|
|
|
clean::
|
|
|
|
-rm -f y.tab.h y.tab.c lex.yy.c grok y.output *.shar*
|