head	1.21;
access;
symbols
	V0_9_13:1.21
	V0_9_11:1.19
	V0_9_10:1.19
	V0_9_9:1.19
	V0_9_8:1.19
	V0_9_7:1.19
	V0_9_6:1.19
	V0_9_4:1.19
	V0_9_3:1.18
	V0_9_2:1.18
	V0_9_1:1.18
	V0_8_23:1.17
	V0_8_22:1.17
	V0_8_20:1.17
	V0_8_19:1.17
	V0_8_18:1.17
	V0_8_16:1.17
	V0_8_14:1.17
	V0_8_13:1.17
	V0_8_12:1.17
	V0_8_11:1.16
	V0_8_10:1.16
	V0_8_9:1.16
	V0_8_8:1.16
	V0_8_7:1.16
	V0_8_6:1.16
	V0_8_5:1.16
	V0_8_4:1.15
	V0_8_3:1.15
	V0_8_2:1.15
	V0_8_1:1.15
	V0_8_0:1.15
	V0_7_9:1.14
	V0_7_8:1.14
	V0_7_7:1.14
	V0_7_6:1.14
	V0_7_4:1.13
	V0_7_3:1.12
	V0_7_2:1.11
	V0_7_1:1.11
	V0_7_0:1.11
	V0_6_9:1.10
	V0_6_8:1.10
	V0_6_7:1.10
	V0_6_6:1.10
	V0_6_5:1.10
	V0_6_4:1.10
	V0_6_3:1.10
	V0_6_2:1.10
	V0_6_1:1.10
	V0_6_10:1.10
	v0_5_10:1.10
	V0_5_9:1.9
	V0_5_7:1.8
	V0_5_6:1.8
	V0_5_5:1.8
	V0_5_4:1.8
	V0_5_3:1.8
	V0_5_2:1.8
	V0_5_1:1.7
	V0_5_0:1.7
	V0_4_9:1.7
	V0_4_8:1.6
	V0_4_7:1.5
	V0_4_6:1.4
	V0_4_5:1.3
	V0_4_4:1.3
	V0_4_2:1.2;
locks; strict;
comment	@# @;


1.21
date	98.10.25.23.39.44;	author cthulhu;	state Exp;
branches;
next	1.20;

1.20
date	98.10.20.13.42.51;	author cthulhu;	state Exp;
branches;
next	1.19;

1.19
date	98.09.30.00.45.57;	author cthulhu;	state Exp;
branches;
next	1.18;

1.18
date	98.08.06.21.08.39;	author aml;	state Exp;
branches;
next	1.17;

1.17
date	96.10.07.12.35.33;	author aml;	state Exp;
branches;
next	1.16;

1.16
date	96.09.02.10.51.23;	author aml;	state Exp;
branches;
next	1.15;

1.15
date	96.08.26.12.08.48;	author aml;	state Exp;
branches;
next	1.14;

1.14
date	96.07.23.14.01.13;	author aml;	state Exp;
branches;
next	1.13;

1.13
date	96.07.18.10.19.28;	author aml;	state Exp;
branches;
next	1.12;

1.12
date	96.04.27.11.12.39;	author aml;	state Exp;
branches;
next	1.11;

1.11
date	96.04.19.10.46.37;	author aml;	state Exp;
branches;
next	1.10;

1.10
date	96.02.13.21.55.24;	author aml;	state Exp;
branches;
next	1.9;

1.9
date	96.02.13.12.03.48;	author aml;	state Exp;
branches;
next	1.8;

1.8
date	96.01.07.09.07.40;	author aml;	state Exp;
branches;
next	1.7;

1.7
date	96.01.03.23.07.14;	author aml;	state Exp;
branches;
next	1.6;

1.6
date	96.01.02.16.22.10;	author aml;	state Exp;
branches;
next	1.5;

1.5
date	95.12.30.16.41.41;	author aml;	state Exp;
branches;
next	1.4;

1.4
date	95.12.28.19.20.38;	author aml;	state Exp;
branches;
next	1.3;

1.3
date	95.12.27.23.12.37;	author aml;	state Exp;
branches;
next	1.2;

1.2
date	95.12.14.12.13.08;	author aml;	state Exp;
branches;
next	1.1;

1.1
date	95.12.13.14.32.17;	author aml;	state Exp;
branches;
next	;


desc
@@


1.21
log
@Added interf_aux.cc.
@
text
@
# $Id: Makefile,v 1.20 1998/10/20 13:42:51 cthulhu Exp cthulhu $

TARGET = nxlc
OBJECTS = tcl_interf.o cell.o sheet.o  string.o tkappinit.o array.o \
	utils.o canvas_interf.o cutils.o format.o sheet_calc.o event.o list.o \
	checkargs.o interf_aux.o
CCSOURCES = tcl_interf.cc cell.cc sheet_calc.cc sheet.cc string.cc   \
		tkappinit.cc array.cc utils.cc canvas_interf.cc format.cc \
		event.cc list.cc checkargs.cc interf_aux.cc
CSOURCES = cutils.c
INCLUDES = cell.hh sheet.hh etc.hh canvas.hh format.hh list.hh event.hh \
	canvas.h checkargs.hh interf_aux.hh
OTHERSOURCES = 
SOURCES = $(CSOURCES) $(OTHERSOURCES)
XXL_LIBS = $(LIBDIR)/libcalc.a $(LIBDIR)/libio.a $(LIBDIR)/libcanvas.a
LIBS =  -ltk8.0 -ltcl8.0 -lX11 -ldl -lm 

include ../Makefile.options

$(TARGET) : $(OBJECTS) $(CANVASOBJECTS) $(XXL_LIBS)
	$(CCC)  $(CCFLAGS) $(LFLAGS) -o $(TARGET) $(TARGETMAIN) $(OBJECTS) $(XXL_LIBS) $(LIBS)

test: tkappinit.o
	$(CCC)  $(LFLAGS) -o test $(TARGETMAIN) tkappinit.o $(XXL_LIBS) $(LIBS)

clean:
	rm -f *.o nxlc *~ .depend gmon.out

depend dep: 
	$(CPP) -M $(CCFLAGS) $(IFLAGS) $(CCSOURCES) $(CSOURCES) > .depend

.cc.o:
	$(CCC) $(CCFLAGS)  $(IFLAGS) -c $<

.c.o:
	$(CC) $(CCFLAGS)  $(IFLAGS) -c $<

scan.c: scan.l
	$(LEX) -i -t scan.l -oscan.c

gram.o: gram.c
	$(CCC) $(IFLAGS) -g -x c++ gram.c -o gram.o -c

gram.c: gram.y scan.c
	$(YACC) -d gram.y -o gram.c

#
# include a dependency file if one exists
#
ifeq (.depend,$(wildcard .depend))
include .depend
endif

# $Log: Makefile,v $
# Revision 1.20  1998/10/20 13:42:51  cthulhu
# Makefiles now support centralized preferences via Makefile.options file.
#
# Revision 1.19  1998/09/30 00:45:57  cthulhu
# Added checkargs.o.
#
# Revision 1.18  1998/08/06 21:08:39  aml
# Released alpha version of Abacus.
#
# Revision 1.17  1996/10/07 12:35:33  aml
# First cut at error handling.
# Date formats are in.
# Fixed problem with blank cell drawing.
#
# Revision 1.16  1996/09/02  10:51:23  aml
# Cell fonts created, loaded and saved.
# Row height created.
#
# Revision 1.15  1996/08/26  12:08:48  aml
# Fixed problem with several sheets. Each canvas now has its own
# canvas info.
# Fixed scroll up and down. Implemented max_row and max_col.
# Fairly stable version.
#
# Revision 1.14  1996/07/23  14:01:13  aml
# Changed canvas widget to handle special items like cell borders.
# Seems to work well. Spreadsheet size is no more limited now.
#
# Revision 1.13  1996/07/18 10:19:28  aml
# Created formats for cells.
# Load cell now makes copy of old file.
#
# Revision 1.12  1996/04/27 11:12:39  aml
# Inserted check and delete button.
# Font selection widget created.
# Fixed bug canvas_information destructor.
#
# Revision 1.11  1996/04/19 10:46:37  aml
# First cut at speeding up canvas critical functions.
# CanvasWidgetCommand is now called directly from draw_sheet.
# Fixed bug in reading values from datafiles. Also works
# for Suns now.
# Created canvas directory, replacing builtin command canvas.
#
# Revision 1.10  1996/02/13  21:55:24  aml
# Fixed problems with change to elf.
# RangeCopy created. Works !
# Pressed mouse leaving canvas will cause scroll. Works, but needs to
# keep moving.
#
# Revision 1.9  1996/02/13 12:03:48  aml
# Fixed bug with range definition via mouse.
# Fixed bug in range iterators.
#
# Revision 1.8  1996/01/07 09:07:40  aml
# Sheet::save and Sheet::load created.
# Program can now write and read wk1 files.
# Slight changes made to relative references. Bit 14 is now always 0.
#
# Revision 1.7  1996/01/03  23:07:14  aml
# Absolute and relative references to cells introduced.
# They are parsed and reverse parsed, not yet evaluated.
#
# Revision 1.6  1996/01/02  16:22:10  aml
# Formula compilation, evaluation and decompilation now work.
# Cells can be of type label, numerical formula or numbers.
#
# Revision 1.5  1995/12/30  16:41:41  aml
# First cut of formula compilation.
#
# Revision 1.4  1995/12/28  19:20:38  aml
# Created skeleton to merge calculation engine
#
# Revision 1.3  1995/12/27  23:12:37  aml
# First draft of Sheet::display
#
# Revision 1.2  1995/12/14  12:13:08  aml
# Version 0.4.2
#
# Revision 1.1  1995/12/13  14:32:17  aml
# Initial revision
#
# Revision 1.14  1995/10/23  23:09:19  aml
# Version 2.0.1
#
# Revision 1.13  1995/09/18  09:25:21  aml
# Last working release with inline expressions.
# Move to wk1 format will start after this.
#
# Revision 1.12  1995/08/18 19:37:40  aml
# Modularized to allow for multiple spreadsheets.
# Introduced bindings for cursors in main canvas.
# Introduced range_opers. Copy redone, cut created.
# Automatic positioning of active cell.
#
# Revision 1.11  1995/08/09 21:13:13  aml
# Created modular toolbars
# Changes in mouse state machine
# Completed format toolbar
#
# Revision 1.10  1995/08/09 03:41:26  aml
# Changed to tk4.0
# Changed mouse state machine to use right button
# Created standard and format toolbars.
#
# Revision 1.9  1995/08/08 02:36:15  aml
# Removed scan.c from C source files.
#
# Revision 1.8  1995/08/08 02:26:36  aml
# Fixed evaluation for loop-free spreadsheets.
# Got first version of cursor state machine working.
#
# Revision 1.7  1995/06/26  22:53:43  aml
# Bug
#
# Revision 1.6  1995/06/26  22:52:19  aml
# Change to C++
#
# Revision 1.5  1995/06/26  22:51:08  aml
# Change to C++
#
# Revision 1.4  1995/06/25  09:49:22  aml
# Minor fixes
#
# Revision 1.3  1995/06/25  00:32:39  aml
# Fixed Includes
#
# Revision 1.2  1995/06/25  00:09:10  aml
# First version of copy.
#
# Revision 1.1  1995/06/23  15:39:16  aml
# Initial revision
#
@


1.20
log
@Makefiles now support centralized preferences via Makefile.options file.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.19 1998/09/30 00:45:57 cthulhu Exp cthulhu $
d7 1
a7 1
	checkargs.o
d10 1
a10 1
		event.cc list.cc checkargs.cc
d13 1
a13 1
	canvas.h checkargs.hh
d56 3
@


1.19
log
@Added checkargs.o.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.18 1998/08/06 21:08:39 aml Exp cthulhu $
a4 4

TCLSOURCES = 


a13 1
CSOURCES = 
a14 2
DOCS = ToDo
OTHERDIRS = bitmaps RCS
a15 3
IDIR = ../include
LIBDIR = ../lib

d19 1
a19 8
CC = gcc
CCC = g++
CPP=g++ -E
YACC = bison
LEX = flex
CCFLAGS =  -g
IFLAGS = -I$(IDIR)
LFLAGS = -L/usr/local/lib -L/usr/X11R6/lib -L$(LIBDIR) -L. 
d56 3
@


1.18
log
@Released alpha version of Abacus.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.17 1996/10/07 12:35:33 aml Exp $
d10 2
a11 1
	utils.o canvas_interf.o cutils.o format.o sheet_calc.o event.o list.o 
d14 1
a14 1
		event.cc list.cc
d17 1
a17 1
	canvas.h
d57 1
a57 1
	$(LEX) -i -t scan.l > scan.c
d73 3
@


1.17
log
@First cut at error handling.
Date formats are in.
Fixed problem with blank cell drawing.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.16 1996/09/02 10:51:23 aml Exp aml $
d9 2
a10 2
OBJECTS = tcl_interf.o cell.o sheet.o  string.o tkappinit.o array.o utils.o \
	  canvas_interf.o cutils.o format.o sheet_calc.o
d12 2
a13 1
		tkappinit.cc array.cc utils.cc canvas_interf.cc format.cc
d15 2
a16 1
INCLUDES = cell.hh sheet.hh etc.hh canvas.hh format.hh canvas.h
d26 1
a26 1
LIBS =  -ltk4.0 -ltcl7.4 -lX11 -ldl -lm -lgmon
d35 1
a35 1
LFLAGS = -L/usr/local/lib -L$(LIBDIR) -L. 
d72 5
@


1.16
log
@Cell fonts created, loaded and saved.
Row height created.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.15 1996/08/26 12:08:48 aml Exp aml $
d10 2
a11 2
	  canvas_interf.o cutils.o format.o
CCSOURCES = tcl_interf.cc cell.cc sheet.cc string.cc   \
d70 4
@


1.15
log
@Fixed problem with several sheets. Each canvas now has its own
canvas info.
Fixed scroll up and down. Implemented max_row and max_col.
Fairly stable version.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.14 1996/07/23 14:01:13 aml Exp aml $
d10 1
a10 1
	  canvas_interf.o cutils.o
d12 1
a12 1
		tkappinit.cc array.cc utils.cc canvas_interf.cc
d70 6
@


1.14
log
@Changed canvas widget to handle special items like cell borders.
Seems to work well. Spreadsheet size is no more limited now.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.13 1996/07/18 10:19:28 aml Exp aml $
d14 1
a14 1
INCLUDES = cell.hh sheet.hh etc.hh canvas.hh format.hh
d70 4
@


1.13
log
@Created formats for cells.
Load cell now makes copy of old file.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.12 1996/04/27 11:12:39 aml Exp aml $
d10 1
a10 1
	  canvas_interf.o 
d13 1
d70 4
@


1.12
log
@Inserted check and delete button.
Font selection widget created.
Fixed bug canvas_information destructor.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.11 1996/04/19 10:46:37 aml Exp aml $
d13 1
a13 1
INCLUDES = cell.hh sheet.hh etc.hh canvas.hh
d69 5
@


1.11
log
@First cut at speeding up canvas critical functions.
CanvasWidgetCommand is now called directly from draw_sheet.
Fixed bug in reading values from datafiles. Also works
for Suns now.
Created canvas directory, replacing builtin command canvas.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.10 1996/02/13 21:55:24 aml Exp aml $
d41 1
a41 1
	rm -f *.o nxlc *~ .depend
d69 7
@


1.10
log
@Fixed problems with change to elf.
RangeCopy created. Works !
Pressed mouse leaving canvas will cause scroll. Works, but needs to
keep moving.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.9 1996/02/13 12:03:48 aml Exp aml $
d9 2
a10 2
OBJECTS = tcl_interf.o cell.o sheet.o  string.o tkappinit.o array.o utils.o

d12 2
a13 2
		tkappinit.cc array.cc utils.cc
INCLUDES = cell.hh sheet.hh etc.hh
d22 2
a23 2
XXL_LIBS = $(LIBDIR)/libcalc.a $(LIBDIR)/libio.a
LIBS =  -ltk4.0 -ltcl7.4 -lX11 -ldl -lm
d34 2
a35 2
$(TARGET) : $(OBJECTS) $(XXL_LIBS)
	$(CCC)  $(LFLAGS) -o $(TARGET) $(TARGETMAIN) $(OBJECTS) $(XXL_LIBS) $(LIBS)
d69 6
@


1.9
log
@Fixed bug with range definition via mouse.
Fixed bug in range iterators.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.8 1996/01/07 09:07:40 aml Exp aml $
d37 3
d69 4
@


1.8
log
@Sheet::save and Sheet::load created.
Program can now write and read wk1 files.
Slight changes made to relative references. Bit 14 is now always 0.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.7 1996/01/03 23:07:14 aml Exp aml $
d9 1
a9 1
OBJECTS = tcl_interf.o cell.o sheet.o utils.o array.o string.o 
d11 2
a12 1
CCSOURCES = tcl_interf.cc cell.cc sheet.cc utils.cc string.cc  array.cc
d23 1
a23 1
LIBS =  -ltk -ltcl -lX11 -lm
d30 1
a30 1
CCFLAGS = -g 
d32 1
a32 1
LFLAGS = -L/usr/local/tcl/lib -L/usr/local/tk/lib -L$(LIBDIR) -L. 
d66 5
@


1.7
log
@Absolute and relative references to cells introduced.
They are parsed and reverse parsed, not yet evaluated.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.6 1996/01/02 16:22:10 aml Exp aml $
d21 1
a21 1
XXL_LIBS = $(LIBDIR)/libcalc.a
d65 4
@


1.6
log
@Formula compilation, evaluation and decompilation now work.
Cells can be of type label, numerical formula or numbers.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.5 1995/12/30 16:41:41 aml Exp aml $
d9 1
a9 1
OBJECTS = tcl_interf.o cell.o sheet.o utils.o array.o string.o etc.o
d11 1
a11 1
CCSOURCES = tcl_interf.cc cell.cc sheet.cc utils.cc string.cc etc.cc array.cc
d37 1
a37 1
	rm -f *.o nxlc *~
d65 4
@


1.5
log
@First cut of formula compilation.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.4 1995/12/28 19:20:38 aml Exp aml $
d21 2
a22 1
LIBS = -lcalc -ltk -ltcl -lX11 -lm
d33 2
a34 2
$(TARGET) : $(OBJECTS) 
	$(CCC)  $(LFLAGS) -o $(TARGET) $(TARGETMAIN) $(OBJECTS) $(LIBS)
d65 3
@


1.4
log
@Created skeleton to merge calculation engine
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.3 1995/12/27 23:12:37 aml Exp aml $
d9 1
a9 1
OBJECTS = tcl_interf.o cell.o sheet.o utils.o string.o etc.o
d11 1
a11 1
CCSOURCES = tcl_interf.cc cell.cc sheet.cc utils.cc string.cc etc.cc
d64 3
@


1.3
log
@First draft of Sheet::display
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.2 1995/12/14 12:13:08 aml Exp aml $
d19 1
d21 1
a22 2
LIBS = -ltk -ltcl -lX11 -lm

d30 1
a30 1
LFLAGS = -L/usr/local/tcl/lib -L/usr/local/tk/lib -L. 
d64 3
@


1.2
log
@Version 0.4.2
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.1 1995/12/13 14:32:17 aml Exp aml $
d9 1
a9 1
OBJECTS = tcl_interf.o cell.o sheet.o utils.o string.o
d11 2
a12 2
CCSOURCES = tcl_interf.cc cell.cc sheet.cc utils.cc string.cc
INCLUDES = cell.hh sheet.hh
d64 3
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.14 1995/10/23 23:09:19 aml Exp $
d36 1
a36 1
	rm *.o nxlc *~
d64 3
@
