head	1.5;
access;
symbols
	RELEASE_4_9_0:1.4
	RELEASE_5_1_0:1.4
	RELEASE_4_8_0:1.4
	RELEASE_5_0_0:1.4
	RELEASE_4_7_0:1.4
	RELEASE_4_6_2:1.4
	RELEASE_4_6_1:1.4
	RELEASE_4_6_0:1.4
	RELEASE_5_0_DP1:1.4
	RELEASE_4_5_0:1.4
	RELEASE_4_4_0:1.4
	RELEASE_4_3_0:1.4
	RELEASE_4_2_0:1.4
	RELEASE_4_1_1:1.4
	RELEASE_4_1_0:1.4
	RELEASE_3_5_0:1.4
	RELEASE_4_0_0:1.4
	RELEASE_3_1_0:1.2
	RELEASE_2_2_8:1.2
	RELEASE_3_0_0:1.1.1.1
	RELEASE_2_2_7:1.1.1.1
	ptoc_2_01:1.1.1.1
	ANDY:1.1.1;
locks; strict;
comment	@# @;


1.5
date	2003.09.24.13.32.25;	author osa;	state dead;
branches;
next	1.4;

1.4
date	2000.02.12.20.54.54;	author cpiazza;	state Exp;
branches;
next	1.3;

1.3
date	99.02.22.04.02.47;	author steve;	state dead;
branches;
next	1.2;

1.2
date	98.11.09.01.21.42;	author steve;	state Exp;
branches;
next	1.1;

1.1
date	98.03.27.10.51.23;	author tg;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.03.27.10.51.23;	author tg;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Update to 3.54.
Utilize ${DOCSDIR} and ${EXAMPLESDIR}.
Use new name schema for patch files.
Fix ${MASTER_SITES} and home page URL.
Take maintainership.
@
text
@--- tpexpr.cxx.old	Sat Feb 12 17:24:29 2000
+++ tpexpr.cxx	Sat Feb 12 17:24:41 2000
@@@@ -170,7 +170,7 @@@@
     if (!e->is_parameter() && (base == 0 || base == 1)) {
 	t->prepend(dprintf("items(%.*s", n, "****************"));
 	t->copy(e->f_tkn, e->l_tkn);
-	t->prepend(base == 0 ? ")-1" : ")");
+	t->prepend(base == 0 ? (char *) ")-1" : (char *) ")");
     } else { 
 	if (high == NULL) { 
 	    assert(high_expr != NULL);
@


1.4
log
@Fix for NEWGCC and add a new MASTER_SITE

Submitted by:	Alexander Langer <alex@@big.endian.de>
@
text
@@


1.3
log
@Update to version 3.41.

PR:		10074
Submitted by:	maintainer
@
text
@d1 11
a11 95
--- makefile	Wed Apr 15 09:28:48 1998
+++ /home/andy/tmp/wrk/makefile	Mon Nov  2 14:49:09 1998
@@@@ -8,29 +8,54 @@@@
 default : all
 
 #
-# Install path
+# C/C++ compiler
 #
-INSTALL_LIB_DIR = /usr/lib
-INSTALL_BIN_DIR = /usr/bin
+CC?= gcc
+CXX?= g++
 
 #
-# Target.
+# C/C++ flags
 #
+CFLAGS?= -O5 -g -Wall -c
+CXXFLAGS?= -O5 -g -Wall -c
+#CFLAGS= -fno-exceptions -O5 -g -Wall -c
+#CXXFLAGS= -fno-exceptions -O5 -g -Wall -c
 
-BINS =	ptoc cganal 
-LIBS =  libptoc.a libXbgi.a 
+#
+# X Window System directory
+#
+X11BASE?= /usr/X11R6
+
+#
+# Local packages directory
+#
+LOCALBASE?= /usr/local
+
+#
+# Installation directory
+#
+PREFIX?= $(LOCALBASE)
+
+#
+# Config file
+#
+CONFIG_FILE?= $(LOCALBASE)/etc/ptoc.conf
 
 #
-# Chose compiler You prefer.
+# Install path
 #
+INSTALL_LIB_DIR = $(PREFIX)/lib
+INSTALL_BIN_DIR = $(PREFIX)/bin
 
-#CC =	cxx
-CC =	gcc
-CCFLAGS = -O5 -g -Wall -c
-#CCFLAGS = -fno-exceptions -O5 -g -Wall -c
+#
+# Target.
+#
+
+BINS =	ptoc cganal 
+LIBS =  libptoc.a libXbgi.a 
 
-DEFINES = 
-INCLUDES =	-I.
+DEFINES = -DPREFIX=\"$(PREFIX)\"
+INCLUDES = -I. -I$(X11BASE)/include
 
 YACC =		bison -d -p zz 
 LEX =		flex -i -F -8
@@@@ -39,9 +64,9 @@@@
 # Chose linker You prefer.
 #
 
-LD =		$(CC)
+LD =		$(CXX)
 #LDFLAGS =	-non_shared
-LDFLAGS =	-static
+#LDFLAGS =	-static
 
 
 AR =            ar
@@@@ -66,10 +91,10 @@@@
 #
 
 .cxx.o : 
-		$(CC) $(CCFLAGS) $(DEFINES) $(INCLUDES) -o $@@ $<
+		$(CXX) $(CXXFLAGS) $(DEFINES) $(INCLUDES) -o $@@ -c $<
 
 .c.o : 
-		$(CC) $(CCFLAGS) $(DEFINES) $(INCLUDES) -o $@@ $<
+		$(CC) $(CXXFLAGS) $(DEFINES) $(INCLUDES) -o $@@ -c $<
 
 #
 # Custom targets.
@


1.2
log
@Update to version 3.34.

PR:		8551
Submitted by:	maintainer
@
text
@@


1.1
log
@Initial revision
@
text
@d1 4
a4 8
--- main.h	Tue Aug 26 21:16:28 1997
+++ /home/andy/tmp/wrk/main.h	Mon Dec  8 17:58:12 1997
@@@@ -31,7 +31,7 @@@@
 
 #define CALL_GRAPH_FILE     "call.grp"
 #define RECURSIVE_PROC_FILE "recur.prc"
-#define CONFIG_FILE         "ptoc.cfg"
+#define CONFIG_FILE         "/usr/local/etc/ptoc.cfg"
d6 90
a95 2
 extern bool  use_call_graph;
 extern bool  pio_init;
@


1.1.1.1
log
@Import of ptoc port. ptoc is another Pascal to C translator. It comes
with an X implementation of the BGI.

PR:		5270
Submitted by:	Andrey Zakhvatov <andy@@icc.surw.chel.su>
@
text
@@
