diff options
author | ru <ru@FreeBSD.org> | 2000-12-05 18:52:33 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-12-05 18:52:33 +0000 |
commit | c7f016832bc2c08ffd608e589eab9479c43f889f (patch) | |
tree | 49f6f68148dfa2a309de212e53b88a997ecfed2c /contrib/groff | |
parent | 7c20aabe3d743227b595c80f68ddd7437f1fe991 (diff) | |
download | FreeBSD-src-c7f016832bc2c08ffd608e589eab9479c43f889f.zip FreeBSD-src-c7f016832bc2c08ffd608e589eab9479c43f889f.tar.gz |
Removed files not present in v1.16.1 import.
Diffstat (limited to 'contrib/groff')
28 files changed, 0 insertions, 490 deletions
diff --git a/contrib/groff/addftinfo/Makefile.dep b/contrib/groff/addftinfo/Makefile.dep deleted file mode 100644 index e38c273..0000000 --- a/contrib/groff/addftinfo/Makefile.dep +++ /dev/null @@ -1,3 +0,0 @@ -addftinfo.o: addftinfo.cc ../include/lib.h ../include/errarg.h \ - ../include/error.h ../include/stringclass.h ../include/cset.h guess.h -guess.o: guess.cc guess.h diff --git a/contrib/groff/eqn/Makefile.dep b/contrib/groff/eqn/Makefile.dep deleted file mode 100644 index 2e0e9f1..0000000 --- a/contrib/groff/eqn/Makefile.dep +++ /dev/null @@ -1,31 +0,0 @@ -main.o: main.cc eqn.h ../include/cset.h ../include/errarg.h \ - ../include/error.h ../include/lib.h box.h ../include/stringclass.h \ - ../include/device.h ../include/searchpath.h ../include/macropath.h -lex.o: lex.cc eqn.h ../include/cset.h ../include/errarg.h \ - ../include/error.h ../include/lib.h box.h eqn.cc \ - ../include/stringclass.h ../include/ptable.h -box.o: box.cc eqn.h ../include/cset.h ../include/errarg.h \ - ../include/error.h ../include/lib.h box.h pbox.h -limit.o: limit.cc eqn.h ../include/cset.h ../include/errarg.h \ - ../include/error.h ../include/lib.h box.h pbox.h -list.o: list.cc eqn.h ../include/cset.h ../include/errarg.h \ - ../include/error.h ../include/lib.h box.h pbox.h -over.o: over.cc eqn.h ../include/cset.h ../include/errarg.h \ - ../include/error.h ../include/lib.h box.h pbox.h -text.o: text.cc eqn.h ../include/cset.h ../include/errarg.h \ - ../include/error.h ../include/lib.h box.h pbox.h ../include/ptable.h -script.o: script.cc eqn.h ../include/cset.h ../include/errarg.h \ - ../include/error.h ../include/lib.h box.h pbox.h -mark.o: mark.cc eqn.h ../include/cset.h ../include/errarg.h \ - ../include/error.h ../include/lib.h box.h pbox.h -other.o: other.cc eqn.h ../include/cset.h ../include/errarg.h \ - ../include/error.h ../include/lib.h box.h pbox.h -delim.o: delim.cc eqn.h ../include/cset.h ../include/errarg.h \ - ../include/error.h ../include/lib.h box.h pbox.h -sqrt.o: sqrt.cc eqn.h ../include/cset.h ../include/errarg.h \ - ../include/error.h ../include/lib.h box.h pbox.h -pile.o: pile.cc eqn.h ../include/cset.h ../include/errarg.h \ - ../include/error.h ../include/lib.h box.h pbox.h -special.o: special.cc eqn.h ../include/cset.h ../include/errarg.h \ - ../include/error.h ../include/lib.h box.h pbox.h -eqn.o: eqn.cc ../include/lib.h box.h diff --git a/contrib/groff/grodvi/Makefile.dep b/contrib/groff/grodvi/Makefile.dep deleted file mode 100644 index d9a8734..0000000 --- a/contrib/groff/grodvi/Makefile.dep +++ /dev/null @@ -1,3 +0,0 @@ -dvi.o: dvi.cc ../include/driver.h ../include/errarg.h \ - ../include/error.h ../include/font.h ../include/printer.h \ - ../include/lib.h diff --git a/contrib/groff/groff/Makefile.dep b/contrib/groff/groff/Makefile.dep deleted file mode 100644 index 61fd92d..0000000 --- a/contrib/groff/groff/Makefile.dep +++ /dev/null @@ -1,5 +0,0 @@ -groff.o: groff.cc ../include/lib.h ../include/assert.h \ - ../include/errarg.h ../include/error.h ../include/stringclass.h \ - ../include/cset.h ../include/font.h ../include/device.h pipeline.h \ - ../include/defs.h -pipeline.o: pipeline.c pipeline.h diff --git a/contrib/groff/grohtml/Makefile.dep b/contrib/groff/grohtml/Makefile.dep deleted file mode 100644 index 782d7211..0000000 --- a/contrib/groff/grohtml/Makefile.dep +++ /dev/null @@ -1,3 +0,0 @@ -html.o: html.cc ordered_list.h ../include/driver.h ../include/errarg.h \ - ../include/error.h ../include/font.h ../include/printer.h \ - ../include/lib.h diff --git a/contrib/groff/grolj4/Makefile.dep b/contrib/groff/grolj4/Makefile.dep deleted file mode 100644 index 3fa1d22..0000000 --- a/contrib/groff/grolj4/Makefile.dep +++ /dev/null @@ -1,3 +0,0 @@ -lj4.o: lj4.cc ../include/driver.h ../include/errarg.h \ - ../include/error.h ../include/font.h ../include/printer.h \ - ../include/lib.h diff --git a/contrib/groff/grops/Makefile.dep b/contrib/groff/grops/Makefile.dep deleted file mode 100644 index 94e3434..0000000 --- a/contrib/groff/grops/Makefile.dep +++ /dev/null @@ -1,6 +0,0 @@ -ps.o: ps.cc ../include/driver.h ../include/errarg.h ../include/error.h \ - ../include/font.h ../include/printer.h ../include/lib.h \ - ../include/stringclass.h ../include/cset.h ps.h -psrm.o: psrm.cc ../include/driver.h ../include/errarg.h \ - ../include/error.h ../include/font.h ../include/printer.h \ - ../include/lib.h ../include/stringclass.h ../include/cset.h ps.h diff --git a/contrib/groff/grotty/Makefile.dep b/contrib/groff/grotty/Makefile.dep deleted file mode 100644 index 5939058..0000000 --- a/contrib/groff/grotty/Makefile.dep +++ /dev/null @@ -1,3 +0,0 @@ -tty.o: tty.cc ../include/driver.h ../include/errarg.h \ - ../include/error.h ../include/font.h ../include/printer.h \ - ../include/lib.h diff --git a/contrib/groff/hpftodit/Makefile.dep b/contrib/groff/hpftodit/Makefile.dep deleted file mode 100644 index 5239b9d..0000000 --- a/contrib/groff/hpftodit/Makefile.dep +++ /dev/null @@ -1,3 +0,0 @@ -hpftodit.o: hpftodit.cc ../include/assert.h ../include/lib.h \ - ../include/posix.h ../include/errarg.h ../include/error.h \ - ../include/cset.h diff --git a/contrib/groff/include/unix.h b/contrib/groff/include/unix.h deleted file mode 100644 index e69de29..0000000 --- a/contrib/groff/include/unix.h +++ /dev/null diff --git a/contrib/groff/indxbib/Makefile.dep b/contrib/groff/indxbib/Makefile.dep deleted file mode 100644 index dec439e..0000000 --- a/contrib/groff/indxbib/Makefile.dep +++ /dev/null @@ -1,6 +0,0 @@ -indxbib.o: indxbib.cc ../include/posix.h ../include/lib.h \ - ../include/errarg.h ../include/error.h ../include/stringclass.h \ - ../include/cset.h ../include/cmap.h ../include/defs.h \ - ../include/index.h -dirnamemax.o: dirnamemax.c -signal.o: signal.c diff --git a/contrib/groff/libbib/Makefile.dep b/contrib/groff/libbib/Makefile.dep deleted file mode 100644 index 8c49748..0000000 --- a/contrib/groff/libbib/Makefile.dep +++ /dev/null @@ -1,12 +0,0 @@ -common.o: common.cc -index.o: index.cc ../include/posix.h ../include/lib.h \ - ../include/cset.h ../include/cmap.h ../include/errarg.h \ - ../include/error.h ../include/refid.h ../include/search.h \ - ../include/index.h ../include/defs.h -linear.o: linear.cc ../include/posix.h ../include/lib.h \ - ../include/errarg.h ../include/error.h ../include/cset.h \ - ../include/cmap.h ../include/refid.h ../include/search.h -search.o: search.cc ../include/posix.h ../include/lib.h \ - ../include/errarg.h ../include/error.h ../include/refid.h \ - ../include/search.h -map.o: map.c diff --git a/contrib/groff/libdriver/Makefile.dep b/contrib/groff/libdriver/Makefile.dep deleted file mode 100644 index cf2a695..0000000 --- a/contrib/groff/libdriver/Makefile.dep +++ /dev/null @@ -1,6 +0,0 @@ -input.o: input.cc ../include/driver.h ../include/errarg.h \ - ../include/error.h ../include/font.h ../include/printer.h \ - ../include/lib.h ../include/device.h ../include/cset.h -printer.o: printer.cc ../include/driver.h ../include/errarg.h \ - ../include/error.h ../include/font.h ../include/printer.h \ - ../include/lib.h diff --git a/contrib/groff/libgroff/Makefile.dep b/contrib/groff/libgroff/Makefile.dep deleted file mode 100644 index 2ddf640..0000000 --- a/contrib/groff/libgroff/Makefile.dep +++ /dev/null @@ -1,39 +0,0 @@ -assert.o: assert.cc ../include/assert.h -change_lf.o: change_lf.cc -cmap.o: cmap.cc ../include/cmap.h -cset.o: cset.cc ../include/cset.h -device.o: device.cc ../include/device.h ../include/defs.h -errarg.o: errarg.cc ../include/assert.h ../include/errarg.h -error.o: error.cc ../include/errarg.h ../include/error.h -fatal.o: fatal.cc -filename.o: filename.cc -font.o: font.cc ../include/errarg.h ../include/error.h \ - ../include/cset.h ../include/font.h ../include/lib.h -fontfile.o: fontfile.cc ../include/font.h ../include/lib.h \ - ../include/searchpath.h ../include/device.h ../include/defs.h -lf.o: lf.cc ../include/cset.h ../include/stringclass.h -lineno.o: lineno.cc -macropath.o: macropath.cc ../include/lib.h ../include/searchpath.h \ - ../include/macropath.h ../include/defs.h -nametoindex.o: nametoindex.cc ../include/lib.h ../include/errarg.h \ - ../include/error.h ../include/font.h ../include/ptable.h -new.o: new.cc ../include/posix.h -prime.o: prime.cc -progname.o: progname.cc -ptable.o: ptable.cc ../include/ptable.h ../include/errarg.h \ - ../include/error.h -searchpath.o: searchpath.cc ../include/lib.h ../include/searchpath.h -string.o: string.cc ../include/stringclass.h ../include/lib.h -strsave.o: strsave.cc -tmpfile.o: tmpfile.cc ../include/posix.h ../include/lib.h \ - ../include/errarg.h ../include/error.h -version.o: version.cc -illegal.o: illegal.cc ../include/lib.h -fmod.o: fmod.c -getcwd.o: getcwd.c -iftoa.o: iftoa.c -itoa.o: itoa.c -matherr.o: matherr.c -strerror.o: strerror.c -strtol.o: strtol.c -putenv.o: putenv.c diff --git a/contrib/groff/lkbib/Makefile.dep b/contrib/groff/lkbib/Makefile.dep deleted file mode 100644 index 19d441a..0000000 --- a/contrib/groff/lkbib/Makefile.dep +++ /dev/null @@ -1,3 +0,0 @@ -lkbib.o: lkbib.cc ../include/lib.h ../include/errarg.h \ - ../include/error.h ../include/defs.h ../include/refid.h \ - ../include/search.h diff --git a/contrib/groff/lookbib/Makefile.dep b/contrib/groff/lookbib/Makefile.dep deleted file mode 100644 index 341a3b9..0000000 --- a/contrib/groff/lookbib/Makefile.dep +++ /dev/null @@ -1,3 +0,0 @@ -lookbib.o: lookbib.cc ../include/errarg.h ../include/error.h \ - ../include/lib.h ../include/cset.h ../include/refid.h \ - ../include/search.h diff --git a/contrib/groff/pfbtops/Makefile.dep b/contrib/groff/pfbtops/Makefile.dep deleted file mode 100644 index f601c36..0000000 --- a/contrib/groff/pfbtops/Makefile.dep +++ /dev/null @@ -1 +0,0 @@ -pfbtops.o: pfbtops.c diff --git a/contrib/groff/pic/Makefile.dep b/contrib/groff/pic/Makefile.dep deleted file mode 100644 index 1e07874..0000000 --- a/contrib/groff/pic/Makefile.dep +++ /dev/null @@ -1,24 +0,0 @@ -lex.o: lex.cc pic.h ../include/assert.h ../include/cset.h \ - ../include/lib.h ../include/stringclass.h ../include/errarg.h \ - ../include/error.h position.h text.h output.h ../include/ptable.h \ - object.h pic.cc -main.o: main.cc pic.h ../include/assert.h ../include/cset.h \ - ../include/lib.h ../include/stringclass.h ../include/errarg.h \ - ../include/error.h position.h text.h output.h -object.o: object.cc pic.h ../include/assert.h ../include/cset.h \ - ../include/lib.h ../include/stringclass.h ../include/errarg.h \ - ../include/error.h position.h text.h output.h ../include/ptable.h \ - object.h -common.o: common.cc pic.h ../include/assert.h ../include/cset.h \ - ../include/lib.h ../include/stringclass.h ../include/errarg.h \ - ../include/error.h position.h text.h output.h common.h -troff.o: troff.cc pic.h ../include/assert.h ../include/cset.h \ - ../include/lib.h ../include/stringclass.h ../include/errarg.h \ - ../include/error.h position.h text.h output.h common.h -tex.o: tex.cc pic.h ../include/assert.h ../include/cset.h \ - ../include/lib.h ../include/stringclass.h ../include/errarg.h \ - ../include/error.h position.h text.h output.h common.h -pic.o: pic.cc pic.h ../include/assert.h ../include/cset.h \ - ../include/lib.h ../include/stringclass.h ../include/errarg.h \ - ../include/error.h position.h text.h output.h ../include/ptable.h \ - object.h diff --git a/contrib/groff/psbb/Makefile.dep b/contrib/groff/psbb/Makefile.dep deleted file mode 100644 index 51d2bcb..0000000 --- a/contrib/groff/psbb/Makefile.dep +++ /dev/null @@ -1 +0,0 @@ -psbb.o: psbb.c diff --git a/contrib/groff/psbb/Makefile.sub b/contrib/groff/psbb/Makefile.sub deleted file mode 100644 index 106721a..0000000 --- a/contrib/groff/psbb/Makefile.sub +++ /dev/null @@ -1,5 +0,0 @@ -PROG=psbb -MAN1=psbb.n -OBJS=psbb.o -CSRCS=psbb.c -XLIBS= diff --git a/contrib/groff/psbb/psbb.c b/contrib/groff/psbb/psbb.c deleted file mode 100644 index 3d1f343..0000000 --- a/contrib/groff/psbb/psbb.c +++ /dev/null @@ -1,169 +0,0 @@ -/* Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc. - Written by James Clark (jjc@jclark.com) - -This file is part of groff. - -groff is free software; you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the Free -Software Foundation; either version 2, or (at your option) any later -version. - -groff is distributed in the hope that it will be useful, but WITHOUT ANY -WARRANTY; without even the implied warranty of MERCHANTABILITY or -FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -for more details. - -You should have received a copy of the GNU General Public License along -with groff; see the file COPYING. If not, write to the Free Software -Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -#include <stdio.h> -#include <string.h> -#include <errno.h> -#ifndef errno -extern int errno; -#endif - -struct bounding_box { - int llx, lly, urx, ury; -}; - -#ifdef __STDC__ -const char *do_file(FILE *, struct bounding_box *); -int parse_bounding_box(char *, struct bounding_box *); -#else -#define const /* as nothing */ -const char *do_file(); -int parse_bounding_box(); -#endif - -int main(argc, argv) -int argc; -char **argv; -{ - FILE *fp; - const char *message; - struct bounding_box bb; - if (argc != 2) { - fprintf(stderr, "usage: %s filename\n", argv[0]); - exit(3); - } - errno = 0; - fp = fopen(argv[1], "r"); - if (fp == NULL) { - fprintf(stderr, "%s: can't open `%s': ", argv[0], argv[1]); - perror((char *)NULL); - exit(2); - } - message = do_file(fp, &bb); - if (message) { - fprintf(stderr, "%s: ", argv[0]); - fprintf(stderr, message, argv[1]); - putc('\n', stderr); - exit(1); - } - printf("%d %d %d %d\n", bb.llx, bb.lly, bb.urx, bb.ury); - exit(0); -} - -/* If the bounding box was found return NULL, and store the bounding box -in bb. If the bounding box was not found return a string suitable for -giving to printf with the filename as an argument saying why not. */ - -const char *do_file(fp, bb) -FILE *fp; -struct bounding_box *bb; -{ - int bb_at_end = 0; - char buf[256]; - if (!fgets(buf, sizeof(buf), fp)) - return "%s is empty"; - if (strncmp("%!PS-Adobe-", buf, 11) != 0) - return "%s is not conforming"; - while (fgets(buf, sizeof(buf), fp) != 0) { - if (buf[0] != '%' || buf[1] != '%' - || strncmp(buf + 2, "EndComments", 11) == 0) - break; - if (strncmp(buf + 2, "BoundingBox:", 12) == 0) { - int res = parse_bounding_box(buf + 14, bb); - if (res == 1) - return NULL; - else if (res == 2) { - bb_at_end = 1; - break; - } - else - return "the arguments to the %%%%BoundingBox comment in %s are bad"; - } - } - if (bb_at_end) { - long offset; - int last_try = 0; - /* in the trailer, the last BoundingBox comment is significant */ - for (offset = 512; !last_try; offset *= 2) { - int had_trailer = 0; - int got_bb = 0; - if (offset > 32768 || fseek(fp, -offset, 2) == -1) { - last_try = 1; - if (fseek(fp, 0L, 0) == -1) - break; - } - while (fgets(buf, sizeof(buf), fp) != 0) { - if (buf[0] == '%' && buf[1] == '%') { - if (!had_trailer) { - if (strncmp(buf + 2, "Trailer", 7) == 0) - had_trailer = 1; - } - else { - if (strncmp(buf + 2, "BoundingBox:", 12) == 0) { - int res = parse_bounding_box(buf + 14, bb); - if (res == 1) - got_bb = 1; - else if (res == 2) - return "`(atend)' not allowed in trailer"; - else - return "the arguments to the %%%%BoundingBox comment in %s are bad"; - } - } - } - } - if (got_bb) - return NULL; - } - } - return "%%%%BoundingBox comment not found in %s"; -} - -/* Parse the argument to a %%BoundingBox comment. Return 1 if it -contains 4 numbers, 2 if it contains (atend), 0 otherwise. */ - -int parse_bounding_box(p, bb) -char *p; -struct bounding_box *bb; -{ - if (sscanf(p, "%d %d %d %d", - &bb->llx, &bb->lly, &bb->urx, &bb->ury) == 4) - return 1; - else { - /* The Document Structuring Conventions say that the numbers - should be integers. Unfortunately some broken applications - get this wrong. */ - double x1, x2, x3, x4; - if (sscanf(p, "%lf %lf %lf %lf", &x1, &x2, &x3, &x4) == 4) { - bb->llx = (int)x1; - bb->lly = (int)x2; - bb->urx = (int)x3; - bb->ury = (int)x4; - return 1; - } - else { - for (; *p == ' ' || *p == '\t'; p++) - ; - if (strncmp(p, "(atend)", 7) == 0) { - return 2; - } - } - } - return 0; -} - diff --git a/contrib/groff/psbb/psbb.man b/contrib/groff/psbb/psbb.man deleted file mode 100644 index 4c6ac8c..0000000 --- a/contrib/groff/psbb/psbb.man +++ /dev/null @@ -1,43 +0,0 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-1995 Free Software Foundation, Inc. - -Permission is granted to make and distribute verbatim copies of -this manual provided the copyright notice and this permission notice -are preserved on all copies. - -Permission is granted to copy and distribute modified versions of this -manual under the conditions for verbatim copying, provided that the -entire resulting derived work is distributed under the terms of a -permission notice identical to this one. - -Permission is granted to copy and distribute translations of this -manual into another language, under the above conditions for modified -versions, except that this permission notice may be included in -translations approved by the Free Software Foundation instead of in -the original English. -.. -.TH PSBB @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@" -.SH NAME -psbb \- extract bounding box from PostScript document -.SH SYNOPSIS -.B psbb -.I file -.SH DESCRIPTION -psbb reads -.I file -which should be a PostScript document conforming to -the Document Structuring conventions -and looks for a -.B %%BoundingBox -comment. -If it finds one, -it prints a line -.IP -.I -llx lly urx ury -.LP -on the standard output and exits with zero status. -If it doesn't find such a line or if the line is invalid -it prints a message and exits with non-zero status. -.SH "SEE ALSO" -.BR grops (@MAN1EXT@) diff --git a/contrib/groff/refer/Makefile.dep b/contrib/groff/refer/Makefile.dep deleted file mode 100644 index 824c0c6..0000000 --- a/contrib/groff/refer/Makefile.dep +++ /dev/null @@ -1,17 +0,0 @@ -command.o: command.cc refer.h ../include/errarg.h ../include/error.h \ - ../include/lib.h ../include/stringclass.h ../include/cset.h \ - ../include/cmap.h ../include/defs.h ../include/refid.h \ - ../include/search.h command.h -ref.o: ref.cc refer.h ../include/errarg.h ../include/error.h \ - ../include/lib.h ../include/stringclass.h ../include/cset.h \ - ../include/cmap.h ../include/defs.h ../include/refid.h ref.h token.h -refer.o: refer.cc refer.h ../include/errarg.h ../include/error.h \ - ../include/lib.h ../include/stringclass.h ../include/cset.h \ - ../include/cmap.h ../include/defs.h ../include/refid.h ref.h token.h \ - ../include/search.h command.h -token.o: token.cc refer.h ../include/errarg.h ../include/error.h \ - ../include/lib.h ../include/stringclass.h ../include/cset.h \ - ../include/cmap.h ../include/defs.h token.h -label.o: label.cc refer.h ../include/errarg.h ../include/error.h \ - ../include/lib.h ../include/stringclass.h ../include/cset.h \ - ../include/cmap.h ../include/defs.h ../include/refid.h ref.h token.h diff --git a/contrib/groff/soelim/Makefile.dep b/contrib/groff/soelim/Makefile.dep deleted file mode 100644 index 66f6470..0000000 --- a/contrib/groff/soelim/Makefile.dep +++ /dev/null @@ -1,2 +0,0 @@ -soelim.o: soelim.cc ../include/lib.h ../include/errarg.h \ - ../include/error.h ../include/stringclass.h diff --git a/contrib/groff/tbl/Makefile.dep b/contrib/groff/tbl/Makefile.dep deleted file mode 100644 index fd68809..0000000 --- a/contrib/groff/tbl/Makefile.dep +++ /dev/null @@ -1,6 +0,0 @@ -main.o: main.cc table.h ../include/cset.h ../include/cmap.h \ - ../include/stringclass.h ../include/errarg.h ../include/error.h \ - ../include/lib.h -table.o: table.cc table.h ../include/cset.h ../include/cmap.h \ - ../include/stringclass.h ../include/errarg.h ../include/error.h \ - ../include/lib.h diff --git a/contrib/groff/tfmtodit/Makefile.dep b/contrib/groff/tfmtodit/Makefile.dep deleted file mode 100644 index 1d09926..0000000 --- a/contrib/groff/tfmtodit/Makefile.dep +++ /dev/null @@ -1,2 +0,0 @@ -tfmtodit.o: tfmtodit.cc ../include/lib.h ../include/errarg.h \ - ../include/error.h ../include/assert.h ../include/cset.h diff --git a/contrib/groff/troff/Makefile.dep b/contrib/groff/troff/Makefile.dep deleted file mode 100644 index 06f568a..0000000 --- a/contrib/groff/troff/Makefile.dep +++ /dev/null @@ -1,36 +0,0 @@ -env.o: env.cc troff.h ../include/lib.h ../include/assert.h \ - ../include/device.h ../include/cset.h ../include/cmap.h \ - ../include/errarg.h ../include/error.h symbol.h dictionary.h \ - hvunits.h env.h request.h node.h token.h div.h reg.h charinfo.h \ - ../include/searchpath.h ../include/macropath.h -node.o: node.cc troff.h ../include/lib.h ../include/assert.h \ - ../include/device.h ../include/cset.h ../include/cmap.h \ - ../include/errarg.h ../include/error.h symbol.h dictionary.h \ - hvunits.h env.h request.h node.h token.h charinfo.h ../include/font.h \ - reg.h -input.o: input.cc troff.h ../include/lib.h ../include/assert.h \ - ../include/device.h ../include/cset.h ../include/cmap.h \ - ../include/errarg.h ../include/error.h symbol.h dictionary.h \ - hvunits.h env.h request.h node.h reg.h token.h div.h charinfo.h \ - ../include/font.h ../include/searchpath.h ../include/macropath.h \ - ../include/defs.h ../include/posix.h -div.o: div.cc troff.h ../include/lib.h ../include/assert.h \ - ../include/device.h ../include/cset.h ../include/cmap.h \ - ../include/errarg.h ../include/error.h symbol.h dictionary.h \ - hvunits.h env.h request.h node.h token.h div.h reg.h -symbol.o: symbol.cc troff.h ../include/lib.h ../include/assert.h \ - ../include/device.h ../include/cset.h ../include/cmap.h \ - ../include/errarg.h ../include/error.h symbol.h -dictionary.o: dictionary.cc troff.h ../include/lib.h \ - ../include/assert.h ../include/device.h ../include/cset.h \ - ../include/cmap.h ../include/errarg.h ../include/error.h symbol.h \ - dictionary.h -reg.o: reg.cc troff.h ../include/lib.h ../include/assert.h \ - ../include/device.h ../include/cset.h ../include/cmap.h \ - ../include/errarg.h ../include/error.h symbol.h dictionary.h token.h \ - request.h reg.h -number.o: number.cc troff.h ../include/lib.h ../include/assert.h \ - ../include/device.h ../include/cset.h ../include/cmap.h \ - ../include/errarg.h ../include/error.h symbol.h hvunits.h env.h \ - token.h div.h -majorminor.o: majorminor.cc diff --git a/contrib/groff/xditview/Imakefile b/contrib/groff/xditview/Imakefile deleted file mode 100644 index e0a9c66..0000000 --- a/contrib/groff/xditview/Imakefile +++ /dev/null @@ -1,55 +0,0 @@ -GROFF_LIBDIR = /usr/local/share/groff -GROFF_FONTDIR = $(GROFF_LIBDIR)/font -GROFF_FONTPATH = .:$(GROFF_FONTDIR):/usr/local/lib/font:/usr/lib/font -DPIS = 75 100 - -PROGRAMS = gxditview xtotroff -DEPLIBS = XawClientDepLibs -LOCAL_LIBRARIES = XawClientLibs -SRCS1 = xditview.c Dvi.c draw.c font.c lex.c page.c \ - parse.c XFontName.c DviChar.c device.c -OBJS1 = xditview.o Dvi.o draw.o font.o lex.o page.o \ - parse.o XFontName.o DviChar.o device.o -SRCS2 = xtotroff.c XFontName.c DviChar.c -OBJS2 = xtotroff.o XFontName.o DviChar.o -INCLUDES = -I$(TOOLKITSRC) -I$(TOP) -MATHLIB = -lm -DEFINES = $(SIGNAL_DEFINES) -DFONTPATH=\"$(GROFF_FONTPATH)\" # -DX_NOT_STDC_ENV - -ComplexProgramTarget_1(gxditview,$(LOCAL_LIBRARIES),$(MATHLIB)) -NormalProgramTarget(xtotroff,$(OBJS2),$(DEPXLIB),$(XLIB), /**/) - -InstallAppDefaults(GXditview) - -fonts: xtotroff DESC FontMap - @dir=`pwd`; \ - fonts=`sed -e 's/[ ].*//' FontMap`; \ - for dpi in $(DPIS); do \ - echo Making devX$$dpi; \ - test -d ../devX$$dpi || mkdir ../devX$$dpi; \ - rm -f ../devX$$dpi/DESC; \ - sed -e "s/res 75/res $$dpi/" DESC >../devX$$dpi/DESC; \ - (cd ../devX$$dpi; \ - rm -f Makefile.sub; \ - echo DEV=X$$dpi >Makefile.sub; \ - echo DEVFILES=DESC $$fonts >>Makefile.sub; \ - $$dir/xtotroff -g -r $$dpi -s 10 $$dir/FontMap); \ - echo Making devX$$dpi-12; \ - test -d ../devX$$dpi-12 || mkdir ../devX$$dpi-12; \ - rm -f ../devX$$dpi-12/DESC; \ - sed -e "s/res 75/res $$dpi/" -e 's/unitwidth 10/unitwidth 12/' DESC \ - >../devX$$dpi-12/DESC; \ - (cd ../devX$$dpi-12; \ - rm -f Makefile.sub; \ - echo DEV=X$$dpi-12 >Makefile.sub; \ - echo DEVFILES=DESC $$fonts >>Makefile.sub; \ - $$dir/xtotroff -g -r $$dpi -s 12 $$dir/FontMap); \ - done - -GXditview-ad.h: GXditview.ad - /bin/sh ad2c GXditview.ad >GXditview-ad.h - -extraclean: clean - -rm -f junk tmp grot old Makefile - -FORCE: |