aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2000-12-05 18:49:45 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2000-12-05 18:49:45 +0000
commit0f9465b458da3b9d5f1abe7858a5aafd66a3d6c2 (patch)
tree879bc6e10311e2e9f917f93fc8c1382ee9e09b8c
parentc8d1b47c7fde3a8a3f5530bd5e3939bba340ab4b (diff)
downloadsrc-0f9465b458da3b9d5f1abe7858a5aafd66a3d6c2.tar.gz
src-0f9465b458da3b9d5f1abe7858a5aafd66a3d6c2.zip
This commit was manufactured by cvs2svn to create tagvendor/groff/1.16.1
'groff-vendor-v1_16_1'.
Notes
Notes: svn path=/vendor/groff/dist/; revision=69626 svn path=/vendor/groff/1.16.1/; revision=69628; tag=vendor/groff/1.16.1
-rw-r--r--contrib/groff/addftinfo/Makefile.dep3
-rw-r--r--contrib/groff/eqn/Makefile.dep31
-rw-r--r--contrib/groff/eqn/eqn.tab.h67
-rw-r--r--contrib/groff/grodvi/Makefile.dep3
-rw-r--r--contrib/groff/groff/Makefile.dep5
-rw-r--r--contrib/groff/grohtml/Makefile.dep3
-rw-r--r--contrib/groff/grolj4/Makefile.dep3
-rw-r--r--contrib/groff/grops/Makefile.dep6
-rw-r--r--contrib/groff/grotty/Makefile.dep3
-rw-r--r--contrib/groff/hpftodit/Makefile.dep3
-rw-r--r--contrib/groff/include/unix.h0
-rw-r--r--contrib/groff/indxbib/Makefile.dep6
-rw-r--r--contrib/groff/libbib/Makefile.dep12
-rw-r--r--contrib/groff/libdriver/Makefile.dep6
-rw-r--r--contrib/groff/libgroff/Makefile.dep39
-rw-r--r--contrib/groff/lkbib/Makefile.dep3
-rw-r--r--contrib/groff/lookbib/Makefile.dep3
-rw-r--r--contrib/groff/pfbtops/Makefile.dep1
-rw-r--r--contrib/groff/pic/Makefile.dep24
-rw-r--r--contrib/groff/pic/pic.tab.h129
-rw-r--r--contrib/groff/psbb/Makefile.dep1
-rw-r--r--contrib/groff/psbb/Makefile.sub5
-rw-r--r--contrib/groff/psbb/psbb.c169
-rw-r--r--contrib/groff/psbb/psbb.man43
-rw-r--r--contrib/groff/refer/Makefile.dep17
-rw-r--r--contrib/groff/soelim/Makefile.dep2
-rw-r--r--contrib/groff/src/devices/grotty/grotty.man260
-rw-r--r--contrib/groff/src/libs/libgroff/cmap.cc56
-rw-r--r--contrib/groff/src/libs/libgroff/cset.cc102
-rw-r--r--contrib/groff/src/libs/libgroff/illegal.cc41
-rw-r--r--contrib/groff/src/preproc/eqn/neqn.sh5
-rw-r--r--contrib/groff/src/roff/groff/groff.man465
-rw-r--r--contrib/groff/src/roff/nroff/nroff.man98
-rwxr-xr-xcontrib/groff/src/roff/nroff/nroff.sh85
-rw-r--r--contrib/groff/tbl/Makefile.dep6
-rw-r--r--contrib/groff/tfmtodit/Makefile.dep2
-rw-r--r--contrib/groff/tmac/me.man274
-rw-r--r--contrib/groff/tmac/msafer.man56
-rw-r--r--contrib/groff/troff/Makefile.dep36
-rw-r--r--contrib/groff/xditview/Imakefile55
-rw-r--r--contrib/groff/xditview/Makefile639
41 files changed, 0 insertions, 2767 deletions
diff --git a/contrib/groff/addftinfo/Makefile.dep b/contrib/groff/addftinfo/Makefile.dep
deleted file mode 100644
index e38c273c8d59..000000000000
--- 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 2e0e9f158f59..000000000000
--- 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/eqn/eqn.tab.h b/contrib/groff/eqn/eqn.tab.h
deleted file mode 100644
index 9a8b3cb22595..000000000000
--- a/contrib/groff/eqn/eqn.tab.h
+++ /dev/null
@@ -1,67 +0,0 @@
-#define OVER 257
-#define SMALLOVER 258
-#define SQRT 259
-#define SUB 260
-#define SUP 261
-#define LPILE 262
-#define RPILE 263
-#define CPILE 264
-#define PILE 265
-#define LEFT 266
-#define RIGHT 267
-#define TO 268
-#define FROM 269
-#define SIZE 270
-#define FONT 271
-#define ROMAN 272
-#define BOLD 273
-#define ITALIC 274
-#define FAT 275
-#define ACCENT 276
-#define BAR 277
-#define UNDER 278
-#define ABOVE 279
-#define TEXT 280
-#define QUOTED_TEXT 281
-#define FWD 282
-#define BACK 283
-#define DOWN 284
-#define UP 285
-#define MATRIX 286
-#define COL 287
-#define LCOL 288
-#define RCOL 289
-#define CCOL 290
-#define MARK 291
-#define LINEUP 292
-#define TYPE 293
-#define VCENTER 294
-#define PRIME 295
-#define SPLIT 296
-#define NOSPLIT 297
-#define UACCENT 298
-#define SPECIAL 299
-#define SPACE 300
-#define GFONT 301
-#define GSIZE 302
-#define DEFINE 303
-#define NDEFINE 304
-#define TDEFINE 305
-#define SDEFINE 306
-#define UNDEF 307
-#define IFDEF 308
-#define INCLUDE 309
-#define DELIM 310
-#define CHARTYPE 311
-#define SET 312
-#define GRFONT 313
-#define GBFONT 314
-typedef union {
- char *str;
- box *b;
- pile_box *pb;
- matrix_box *mb;
- int n;
- column *col;
-} YYSTYPE;
-extern YYSTYPE yylval;
diff --git a/contrib/groff/grodvi/Makefile.dep b/contrib/groff/grodvi/Makefile.dep
deleted file mode 100644
index d9a8734acd21..000000000000
--- 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 61fd92d45c5d..000000000000
--- 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 782d72116ee2..000000000000
--- 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 3fa1d22f8d09..000000000000
--- 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 94e343401cf5..000000000000
--- 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 59390586d72e..000000000000
--- 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 5239b9d7b686..000000000000
--- 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 e69de29bb2d1..000000000000
--- 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 dec439efeb84..000000000000
--- 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 8c4974853d61..000000000000
--- 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 cf2a6959b583..000000000000
--- 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 2ddf64057679..000000000000
--- 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 19d441a24607..000000000000
--- 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 341a3b9737ef..000000000000
--- 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 f601c366ab97..000000000000
--- 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 1e07874890b7..000000000000
--- 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/pic/pic.tab.h b/contrib/groff/pic/pic.tab.h
deleted file mode 100644
index c71bdfd2cd3e..000000000000
--- a/contrib/groff/pic/pic.tab.h
+++ /dev/null
@@ -1,129 +0,0 @@
-#define LABEL 257
-#define VARIABLE 258
-#define NUMBER 259
-#define TEXT 260
-#define COMMAND_LINE 261
-#define DELIMITED 262
-#define ORDINAL 263
-#define TH 264
-#define LEFT_ARROW_HEAD 265
-#define RIGHT_ARROW_HEAD 266
-#define DOUBLE_ARROW_HEAD 267
-#define LAST 268
-#define UP 269
-#define DOWN 270
-#define LEFT 271
-#define RIGHT 272
-#define BOX 273
-#define CIRCLE 274
-#define ELLIPSE 275
-#define ARC 276
-#define LINE 277
-#define ARROW 278
-#define MOVE 279
-#define SPLINE 280
-#define HEIGHT 281
-#define RADIUS 282
-#define WIDTH 283
-#define DIAMETER 284
-#define FROM 285
-#define TO 286
-#define AT 287
-#define WITH 288
-#define BY 289
-#define THEN 290
-#define DOTTED 291
-#define DASHED 292
-#define CHOP 293
-#define SAME 294
-#define INVISIBLE 295
-#define LJUST 296
-#define RJUST 297
-#define ABOVE 298
-#define BELOW 299
-#define OF 300
-#define THE 301
-#define WAY 302
-#define BETWEEN 303
-#define AND 304
-#define HERE 305
-#define DOT_N 306
-#define DOT_E 307
-#define DOT_W 308
-#define DOT_S 309
-#define DOT_NE 310
-#define DOT_SE 311
-#define DOT_NW 312
-#define DOT_SW 313
-#define DOT_C 314
-#define DOT_START 315
-#define DOT_END 316
-#define DOT_X 317
-#define DOT_Y 318
-#define DOT_HT 319
-#define DOT_WID 320
-#define DOT_RAD 321
-#define SIN 322
-#define COS 323
-#define ATAN2 324
-#define LOG 325
-#define EXP 326
-#define SQRT 327
-#define K_MAX 328
-#define K_MIN 329
-#define INT 330
-#define RAND 331
-#define COPY 332
-#define THRU 333
-#define TOP 334
-#define BOTTOM 335
-#define UPPER 336
-#define LOWER 337
-#define SH 338
-#define PRINT 339
-#define CW 340
-#define CCW 341
-#define FOR 342
-#define DO 343
-#define IF 344
-#define ELSE 345
-#define ANDAND 346
-#define OROR 347
-#define NOTEQUAL 348
-#define EQUALEQUAL 349
-#define LESSEQUAL 350
-#define GREATEREQUAL 351
-#define LEFT_CORNER 352
-#define RIGHT_CORNER 353
-#define CENTER 354
-#define END 355
-#define START 356
-#define RESET 357
-#define UNTIL 358
-#define PLOT 359
-#define THICKNESS 360
-#define FILL 361
-#define ALIGNED 362
-#define SPRINTF 363
-#define COMMAND 364
-#define DEFINE 365
-#define UNDEF 366
-typedef union {
- char *str;
- int n;
- double x;
- struct { double x, y; } pair;
- struct { double x; char *body; } if_data;
- struct { char *str; const char *filename; int lineno; } lstr;
- struct { double *v; int nv; int maxv; } dv;
- struct { double val; int is_multiplicative; } by;
- place pl;
- object *obj;
- corner crn;
- path *pth;
- object_spec *spec;
- saved_state *pstate;
- graphics_state state;
- object_type obtype;
-} YYSTYPE;
-extern YYSTYPE yylval;
diff --git a/contrib/groff/psbb/Makefile.dep b/contrib/groff/psbb/Makefile.dep
deleted file mode 100644
index 51d2bcb11e82..000000000000
--- 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 106721a678e0..000000000000
--- 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 3d1f343ed554..000000000000
--- 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 4c6ac8c16d26..000000000000
--- 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 824c0c65e8de..000000000000
--- 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 66f6470ef37e..000000000000
--- 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/src/devices/grotty/grotty.man b/contrib/groff/src/devices/grotty/grotty.man
deleted file mode 100644
index 51c6a498126f..000000000000
--- a/contrib/groff/src/devices/grotty/grotty.man
+++ /dev/null
@@ -1,260 +0,0 @@
-.ig \"-*- nroff -*-
-Copyright (C) 1989-2000 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 GROTTY @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
-.SH NAME
-grotty \- groff driver for typewriter-like devices
-.SH SYNOPSIS
-.B grotty
-[
-.B \-hfbuodBUv
-] [
-.BI \-F dir
-] [
-.IR files \|.\|.\|.
-]
-.PP
-It is possible to have whitespace between the
-.B \-F
-option and its parameter.
-.SH DESCRIPTION
-.B grotty
-translates the output of GNU
-.B troff
-into a form suitable for typewriter-like devices.
-Normally
-.B grotty
-should invoked by using the
-.B groff
-command
-with a
-.BR \-Tascii ,
-.B \-Tlatin1
-or
-.B \-Tutf8
-option on ASCII based systems, and with
-.B \-Tcp1047
-on EBCDIC based hosts.
-If no files are given,
-.B grotty
-will read the standard input.
-A filename of
-.B \-
-will also cause
-.B grotty
-to read the standard input.
-Output is written to the standard output.
-.LP
-Normally
-.B grotty
-prints a bold character
-.I c
-using the sequence
-.RI ` c
-.SM BACKSPACE
-.IR c '
-and a italic character
-.I c
-by the sequence
-.RB ` _
-.SM BACKSPACE
-.IR c '.
-These sequences can be displayed on a terminal
-by piping through
-.BR ul (1).
-Pagers such as
-.BR more (1)
-or
-.BR less (1)
-are also able to display these sequences.
-Use either
-.B \-B
-or
-.B \-U
-when piping into
-.BR less (1);
-use
-.B \-b
-when piping into
-.BR more (1).
-There is no need to filter the output through
-.BR col (1)
-since
-.B grotty
-never outputs reverse line feeds.
-.LP
-The font description file may contain a command
-.IP
-.BI internalname\ n
-.LP
-where
-.I n
-is a decimal integer.
-If the 01 bit in
-.I n
-is set,
-then the font will be treated as an italic font;
-if the 02 bit is set,
-then it will be treated as a bold font.
-The code field in the font description field gives the
-code which will be used to output the character.
-This code can also be used in the
-.B \eN
-escape sequence in
-.BR troff .
-.SH OPTIONS
-.TP
-.BI \-F dir
-Search the directory
-.IB dir /dev name
-for font and device description files;
-.I name
-is the name of the device, usually
-.BR ascii ,
-.BR latin1 ,
-.BR utf8 ,
-or
-.BR cp1047 .
-.TP
-.B \-h
-Use horizontal tabs in the output.
-Tabs are assumed to be set every 8 columns.
-.TP
-.B \-f
-Use form feeds in the output.
-A form feed will be output at the end of each page that has no output
-on its last line.
-.TP
-.B \-b
-Suppress the use of overstriking for bold characters.
-.TP
-.B \-u
-Suppress the use of underlining for italic characters.
-.TP
-.B \-B
-Use only overstriking for bold-italic characters.
-.TP
-.B \-U
-Use only underlining for bold-italic characters.
-.TP
-.B \-o
-Suppress overstriking (other than for bold or underlined characters).
-.TP
-.B \-d
-Ignore all
-.B \eD
-commands.
-Without this
-.B grotty
-will render
-.B \eD'l\|.\|.\|.'
-commands that have at least at least one zero argument
-(and so are either horizontal or vertical)
-using
-.BR \- ,
-.B |
-and
-.B +
-characters.
-.TP
-.B \-v
-Print the version number.
-.SH FILES
-.TP
-.B @FONTDIR@/devascii/DESC
-Device description file for
-.B ascii
-device.
-.TP
-.BI @FONTDIR@/devascii/ F
-Font description file for font
-.I F
-of
-.B ascii
-device.
-.TP
-.B @FONTDIR@/devlatin1/DESC
-Device description file for
-.B latin1
-device.
-.TP
-.BI @FONTDIR@/devlatin1/ F
-Font description file for font
-.I F
-of
-.B latin1
-device.
-.TP
-.B @FONTDIR@/devutf8/DESC
-Device description file for
-.B utf8
-device.
-.TP
-.BI @FONTDIR@/devutf8/ F
-Font description file for font
-.I F
-of
-.B utf8
-device.
-.TP
-.B @FONTDIR@/devcp1047/DESC
-Device description file for
-.B cp1047
-device.
-.TP
-.BI @FONTDIR@/devcp1047/ F
-Font description file for font
-.I F
-of
-.B cp1047
-device.
-.TP
-.B @MACRODIR@/tmac.tty
-Macros for use with
-.BR grotty .
-.TP
-.B @MACRODIR@/tmac.tty-char
-Additional klugey character definitions for use with
-.BR grotty .
-.LP
-Note that on EBCDIC hosts, only files for the
-.B cp1047
-device will be installed.
-.SH BUGS
-.LP
-.B grotty
-is intended only for simple documents.
-.LP
-There is no support for fractional horizontal or vertical motions.
-.LP
-There is no support for
-.B \eD
-commands
-other than horizontal and vertical lines.
-.LP
-Characters above the first line (ie with a vertical position of 0)
-cannot be printed.
-.SH "SEE ALSO"
-.BR groff (@MAN1EXT@),
-.BR @g@troff (@MAN1EXT@),
-.BR groff_out (@MAN5EXT@),
-.BR groff_font (@MAN5EXT@),
-.BR groff_char (@MAN7EXT@),
-.BR ul (1),
-.BR more (1),
-.BR less (1)
diff --git a/contrib/groff/src/libs/libgroff/cmap.cc b/contrib/groff/src/libs/libgroff/cmap.cc
deleted file mode 100644
index 4b75d06f1dcf..000000000000
--- a/contrib/groff/src/libs/libgroff/cmap.cc
+++ /dev/null
@@ -1,56 +0,0 @@
-// -*- C++ -*-
-/* 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 <ctype.h>
-#include "cmap.h"
-
-cmap cmlower(CMAP_BUILTIN);
-cmap cmupper(CMAP_BUILTIN);
-
-#ifdef isascii
-#define ISASCII(c) isascii(c)
-#else
-#define ISASCII(c) (1)
-#endif
-
-cmap::cmap()
-{
- unsigned char *p = v;
- for (int i = 0; i <= UCHAR_MAX; i++)
- p[i] = i;
-}
-
-cmap::cmap(cmap_builtin)
-{
- // these are initialised by cmap_init::cmap_init()
-}
-
-int cmap_init::initialised = 0;
-
-cmap_init::cmap_init()
-{
- if (initialised)
- return;
- initialised = 1;
- for (int i = 0; i <= UCHAR_MAX; i++) {
- cmupper.v[i] = ISASCII(i) && islower(i) ? toupper(i) : i;
- cmlower.v[i] = ISASCII(i) && isupper(i) ? tolower(i) : i;
- }
-}
diff --git a/contrib/groff/src/libs/libgroff/cset.cc b/contrib/groff/src/libs/libgroff/cset.cc
deleted file mode 100644
index e4845c11012e..000000000000
--- a/contrib/groff/src/libs/libgroff/cset.cc
+++ /dev/null
@@ -1,102 +0,0 @@
-// -*- C++ -*-
-/* 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 <ctype.h>
-#include "cset.h"
-
-cset csalpha(CSET_BUILTIN);
-cset csupper(CSET_BUILTIN);
-cset cslower(CSET_BUILTIN);
-cset csdigit(CSET_BUILTIN);
-cset csxdigit(CSET_BUILTIN);
-cset csspace(CSET_BUILTIN);
-cset cspunct(CSET_BUILTIN);
-cset csalnum(CSET_BUILTIN);
-cset csprint(CSET_BUILTIN);
-cset csgraph(CSET_BUILTIN);
-cset cscntrl(CSET_BUILTIN);
-
-#ifdef isascii
-#define ISASCII(c) isascii(c)
-#else
-#define ISASCII(c) (1)
-#endif
-
-void cset::clear()
-{
- char *p = v;
- for (int i = 0; i <= UCHAR_MAX; i++)
- p[i] = 0;
-}
-
-cset::cset()
-{
- clear();
-}
-
-cset::cset(const char *s)
-{
- clear();
- while (*s)
- v[(unsigned char)*s++] = 1;
-}
-
-cset::cset(const unsigned char *s)
-{
- clear();
- while (*s)
- v[*s++] = 1;
-}
-
-cset::cset(cset_builtin)
-{
- // these are initialised by cset_init::cset_init()
-}
-
-cset &cset::operator|=(const cset &cs)
-{
- for (int i = 0; i <= UCHAR_MAX; i++)
- if (cs.v[i])
- v[i] = 1;
- return *this;
-}
-
-
-int cset_init::initialised = 0;
-
-cset_init::cset_init()
-{
- if (initialised)
- return;
- initialised = 1;
- for (int i = 0; i <= UCHAR_MAX; i++) {
- csalpha.v[i] = ISASCII(i) && isalpha(i);
- csupper.v[i] = ISASCII(i) && isupper(i);
- cslower.v[i] = ISASCII(i) && islower(i);
- csdigit.v[i] = ISASCII(i) && isdigit(i);
- csxdigit.v[i] = ISASCII(i) && isxdigit(i);
- csspace.v[i] = ISASCII(i) && isspace(i);
- cspunct.v[i] = ISASCII(i) && ispunct(i);
- csalnum.v[i] = ISASCII(i) && isalnum(i);
- csprint.v[i] = ISASCII(i) && isprint(i);
- csgraph.v[i] = ISASCII(i) && isgraph(i);
- cscntrl.v[i] = ISASCII(i) && iscntrl(i);
- }
-}
diff --git a/contrib/groff/src/libs/libgroff/illegal.cc b/contrib/groff/src/libs/libgroff/illegal.cc
deleted file mode 100644
index c1bdbc507966..000000000000
--- a/contrib/groff/src/libs/libgroff/illegal.cc
+++ /dev/null
@@ -1,41 +0,0 @@
-#include "lib.h"
-
-// Table of illegal input characters.
-
-char illegal_char_table[256]= {
-#ifndef IS_EBCDIC_HOST
- 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-#else
- 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 1,
- 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-#endif
-};
diff --git a/contrib/groff/src/preproc/eqn/neqn.sh b/contrib/groff/src/preproc/eqn/neqn.sh
deleted file mode 100644
index 6a60d138391d..000000000000
--- a/contrib/groff/src/preproc/eqn/neqn.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-# Provision of this shell script should not be taken to imply that use of
-# GNU eqn with groff -Tascii|-Tlatin1|-Tutf8|-Tcp1047 is supported.
-
-exec @g@eqn -Tascii ${1+"$@"}
diff --git a/contrib/groff/src/roff/groff/groff.man b/contrib/groff/src/roff/groff/groff.man
deleted file mode 100644
index 23dbf8e793b8..000000000000
--- a/contrib/groff/src/roff/groff/groff.man
+++ /dev/null
@@ -1,465 +0,0 @@
-.ig \"-*- nroff -*-
-Copyright (C) 1989-2000 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.
-..
-.de TQ
-.br
-.ns
-.TP \\$1
-..
-.\" Like TP, but if specified indent is more than half
-.\" the current line-length - indent, use the default indent.
-.de Tp
-.ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
-.el .TP "\\$1"
-..
-.TH GROFF @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
-.SH NAME
-groff \- front end for the groff document formatting system
-.SH SYNOPSIS
-.nr a \n(.j
-.ad l
-.nr i \n(.i
-.in +\w'\fBgroff 'u
-.ti \niu
-.B groff
-.de OP
-.ie \\n(.$-1 .RI "[\ \fB\\$1\fP" "\\$2" "\ ]"
-.el .RB "[\ " "\\$1" "\ ]"
-..
-.OP \-abeghilpstvzCEGNRSUVXZ
-.OP \-w name
-.OP \-W name
-.OP \-m name
-.OP \-F dir
-.OP \-I dir
-.OP \-T dev
-.OP \-f fam
-.OP \-M dir
-.OP \-d cs
-.OP \-r cn
-.OP \-n num
-.OP \-o list
-.OP \-P arg
-.OP \-L arg
-.RI "[\ " files\|.\|.\|. "\ ]"
-.br
-.ad \na
-.PP
-It is possible to have whitespace between a command line option and its
-parameter.
-.SH DESCRIPTION
-.B groff
-is a front-end to the groff document formatting system.
-Normally it runs the
-.B @g@troff
-program and a postprocessor appropriate for the selected
-device.
-Available devices are:
-.TP
-.B ps
-For PostScript printers and previewers
-.TP
-.B dvi
-For TeX dvi format.
-.TP
-.B X75
-For a 75 dpi X11 previewer.
-.TP
-.B X100
-For a 100dpi X11 previewer.
-.TP
-.B ascii
-For typewriter-like devices.
-.TP
-.B latin1
-For typewriter-like devices using the ISO Latin-1 (ISO 8859-1) character set.
-.TP
-.B utf8
-For typewriter-like devices using the Unicode (ISO 10646) character set with
-UTF-8 encoding.
-.TP
-.B cp1047
-For typewriter-like devices which use the EBCDIC code page IBM cp1047
-(e.g. OS/390 Unix).
-.TP
-.B lj4
-For an HP LaserJet4-compatible (or other PCL5-compatible) printer.
-.TP
-.B lbp
-For Canon CAPSL printers (LBP-4 and LBP-8 series laser printers).
-.TP
-.B html
-To produce HTML output.
-.LP
-The postprocessor to be used for a device is specified by the
-.B postpro
-command in the device description file.
-This can be overridden with the
-.B \-X
-option.
-.LP
-The default device is
-.BR @DEVICE@ .
-It can optionally preprocess with any of
-.BR @g@pic ,
-.BR @g@eqn ,
-.BR @g@grn ,
-.BR grap ,
-.BR @g@tbl ,
-.BR @g@refer ,
-or
-.B @g@soelim.
-.LP
-Options without an argument can be grouped behind a single
-.BR \- .
-A filename of
-.B \-
-denotes the standard input.
-.LP
-The
-.B grog
-command can be used to guess the correct groff command to use to
-format a file.
-.SH OPTIONS
-.TP
-.B \-h
-Print a help message.
-.TP
-.B \-e
-Preprocess with @g@eqn.
-.TP
-.B \-t
-Preprocess with @g@tbl.
-.TP
-.B \-g
-Preprocess with @g@grn.
-.TP
-.B \-G
-Preprocess with grap.
-.TP
-.B \-p
-Preprocess with @g@pic.
-.TP
-.B \-s
-Preprocess with @g@soelim.
-.TP
-.BI \-I dir
-This option is as described in
-.BR @g@soelim (@MAN1EXT@).
-This option implies the
-.B \-s
-option.
-.TP
-.B \-R
-Preprocess with @g@refer.
-No mechanism is provided for passing arguments to
-.B @g@refer
-because most @g@refer options have equivalent commands
-which can be included in the file.
-See
-.BR @g@refer (@MAN1EXT@)
-for more details.
-.TP
-.B \-v
-Make programs run by
-.B groff
-print out their version number.
-.TP
-.B \-V
-Print the pipeline on stdout instead of executing it.
-.TP
-.B \-z
-Suppress output from
-.BR @g@troff .
-Only error messages will be printed.
-.TP
-.B \-Z
-Do not postprocess the output of
-.BR @g@troff .
-Normally
-.B groff
-will automatically run the appropriate postprocessor.
-.TP
-.BI \-P arg
-Pass
-.I arg
-to the postprocessor.
-Each argument should be passed with a separate
-.B \-P
-option.
-Note that
-.B groff
-does not prepend
-.B \-
-to
-.I arg
-before passing it to the postprocessor.
-.TP
-.B \-l
-Send the output to a printer.
-The command used for this is specified by the
-.B print
-command in the device description file.
-.TP
-.BI \-L arg
-Pass
-.I arg
-to the spooler.
-Each argument should be passed with a separate
-.B \-L
-option.
-Note that
-.B groff
-does not prepend
-.B \-
-to
-.I arg
-before passing it to the postprocessor.
-.TP
-.BI \-T dev
-Prepare output for device
-.IR dev .
-The default device is
-.BR @DEVICE@ .
-.TP
-.B \-X
-Preview with
-.B gxditview
-instead of using the usual postprocessor.
-.B Groff
-passes
-.B gxditview
-a
-.B -printCommand
-option which will make the
-.B Print
-action do what
-.B groff
-would have done if the
-.B -l
-option had been given.
-This is unlikely to produce good results except with
-.BR \-Tps .
-.TP
-.B \-N
-Don't allow newlines with eqn delimiters.
-This is the same as the
-.B \-N
-option in
-.BR @g@eqn .
-.TP
-.B \-S
-Safer mode. Pass the
-.B \-S
-option to
-.B @g@pic
-and use the
-.B \%\-msafer
-macros with
-.B @g@troff
-(enabled by default).
-.TP
-.B \-U
-Unsafe mode. Reverts to the old unsafe behaviour.
-.TP
-.B \-a
-.TQ
-.B \-b
-.TQ
-.B \-i
-.TQ
-.B \-C
-.TQ
-.B \-E
-.TQ
-.BI \-w name
-.TQ
-.BI \-W name
-.TQ
-.BI \-m name
-.TQ
-.BI \-o list
-.TQ
-.BI \-d cs
-.TQ
-.BI \-r cn
-.TQ
-.BI \-F dir
-.TQ
-.BI \-M dir
-.TQ
-.BI \-f fam
-.TQ
-.BI \-n num
-These are as described in
-.BR @g@troff (@MAN1EXT@) .
-.SH ENVIRONMENT
-.TP
-.SM
-.B GROFF_COMMAND_PREFIX
-If this is set
-.IR X ,
-then
-.B groff
-will run
-.IB X troff
-instead of
-.BR @g@troff .
-This also applies to
-.BR tbl ,
-.BR pic ,
-.BR eqn ,
-.BR grn ,
-.BR refer ,
-and
-.BR soelim .
-It does not apply to
-.BR grap ,
-.BR grops ,
-.BR grodvi ,
-.BR grotty ,
-.BR grolj4 ,
-.BR grohtml ,
-and
-.BR gxditview .
-.TP
-.SM
-.B GROFF_TMAC_PATH
-A colon separated list of directories in which to search for
-macro files.
-.TP
-.SM
-.B GROFF_TYPESETTER
-Default device.
-.TP
-.SM
-.B GROFF_FONT_PATH
-A colon separated list of directories in which to search for the
-.BI dev name
-directory.
-.TP
-.SM
-.B PATH
-The search path for commands executed by
-.BR groff .
-.TP
-.SM
-.B GROFF_TMPDIR
-The directory in which temporary files will be created.
-If this is not set and
-.B
-.SM TMPDIR
-is set, temporary files will be created in that directory.
-Otherwise temporary files will be created in
-.BR /tmp .
-The
-.BR grops (@MAN1EXT@)
-and
-.BR @g@refer (@MAN1EXT@)
-commands can create temporary files.
-.SH FILES
-.Tp \w'\fB@FONTDIR@/dev\fIname\fB/DESC'u+3n
-.BI @FONTDIR@/dev name /DESC
-Device description file for device
-.IR name .
-.TP
-.BI @FONTDIR@/dev name / F
-Font file for font
-.I F
-of device
-.IR name .
-.LP
-Note that on EBCDIC hosts, output devices
-.BR ascii ,
-.BR latin1 ,
-and
-.B utf8
-aren't available.
-Similarly,
-.B cp1047
-is not available on ASCII based operating systems.
-.SH EXAMPLE
-To print the man page
-.B foo.1
-to the standard output using the latin-1 output device and
-.B less
-as the pager, the following command can be used:
-.IP
-.B groff -mandoc -Tlatin1 foo.1 | less
-.PP
-Alternatively, you can say
-.IP
-.B groff -m mandoc -Tlatin1 foo.1 | less
-.SH AUTHOR
-James Clark <jjc@jclark.com>
-.SH BUGS
-Report bugs to bug-groff@gnu.org.
-Include a complete, self-contained example
-that will allow the bug to be reproduced,
-and say which version of groff you are using.
-.SH COPYRIGHT
-Copyright \(co 1989-2000 Free Software Foundation, Inc.
-.LP
-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.
-.LP
-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.
-.LP
-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.
-.SH AVAILABILITY
-The most recent released version of groff is always available for
-anonymous ftp from ftp.gnu.org in the directory gnu/groff.
-.LP
-.B groff
-only supports the freely available
-.B grap
-implementation written by Ted Faber <faber@lunabase.org>.
-The actual version can be found at
-.IP
-\%http://www.lunabase.org/~faber/Vault/software/grap/
-.SH "SEE ALSO"
-.BR grog (@MAN1EXT@),
-.BR @g@troff (@MAN1EXT@),
-.BR @g@tbl (@MAN1EXT@),
-.BR @g@pic (@MAN1EXT@),
-.BR @g@eqn (@MAN1EXT@),
-.BR @g@grn (@MAN1EXT@),
-.BR grap (1),
-.BR @g@soelim (@MAN1EXT@),
-.BR @g@refer (@MAN1EXT@),
-.BR grops (@MAN1EXT@),
-.BR grodvi (@MAN1EXT@),
-.BR grotty (@MAN1EXT@),
-.BR grolj4 (@MAN1EXT@),
-.BR grolbp (@MAN1EXT@),
-.BR grohtml (@MAN1EXT@),
-.BR gxditview (@MAN1EXT@),
-.BR groff_font (@MAN5EXT@),
-.BR groff_out (@MAN5EXT@),
-.BR groff_man (@MAN7EXT@),
-.BR groff_ms (@MAN7EXT@),
-.BR groff_me (@MAN7EXT@),
-.BR groff_char (@MAN7EXT@),
-.BR groff_msafer (@MAN7EXT@)
diff --git a/contrib/groff/src/roff/nroff/nroff.man b/contrib/groff/src/roff/nroff/nroff.man
deleted file mode 100644
index a01ea59d8333..000000000000
--- a/contrib/groff/src/roff/nroff/nroff.man
+++ /dev/null
@@ -1,98 +0,0 @@
-.ig \"-*- nroff -*-
-Copyright (C) 1989-2000 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 @G@NROFF @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
-.SH NAME
-@g@nroff \- emulate nroff command with groff
-.SH SYNOPSIS
-.nr a \n(.j
-.ad l
-.nr i \n(.i
-.in +\w'\fB@g@nroff 'u
-.ti \niu
-.B @g@nroff
-.de OP
-.ie \\n(.$-1 .RI "[\ \fB\\$1\fP" "\\$2" "\ ]"
-.el .RB "[\ " "\\$1" "\ ]"
-..
-.OP \-h
-.OP \-i
-.OP \-m name
-.OP \-n num
-.OP \-o list
-.OP \-r cn
-.OP \-T name
-.RI "[\ " file\|.\|.\|. "\ ]"
-.br
-.ad \na
-.SH DESCRIPTION
-The
-.B @g@nroff
-script emulates the
-.B nroff
-command using groff.
-The
-.B \-T
-option with an argument other than
-.BR ascii ,
-.BR latin1 ,
-.BR utf8 ,
-or
-.B cp1047
-will be ignored.
-The
-.B \-h
-option
-is equivalent to the
-.B grotty
-.B \-h
-option.
-The
-.BR \-i ,
-.BR \-n ,
-.BR \-m ,
-.B \-o
-and
-.B \-r
-options have the effect described in
-.BR @g@troff (@MAN1EXT@).
-In addition
-.B @g@nroff
-silently ignores options of
-.BR \-e ,
-.B \-q
-or
-.BR \-s .
-Options
-.B \-S
-(safer) and
-.B \-U
-(unsafe) are passed to
-.BR groff .
-.B \-S
-is passed by default.
-.SH NOTES
-This shell script is basically intended for use with
-.BR man (1),
-so warnings are suppressed.
-nroff-style character definitions (in the file tmac.tty-char) are also
-loaded to emulate unrepresentable glyphs.
-.SH "SEE ALSO"
-.BR groff (@MAN1EXT@),
-.BR @g@troff (@MAN1EXT@),
-.BR grotty (@MAN1EXT@)
diff --git a/contrib/groff/src/roff/nroff/nroff.sh b/contrib/groff/src/roff/nroff/nroff.sh
deleted file mode 100755
index b1cab83612a2..000000000000
--- a/contrib/groff/src/roff/nroff/nroff.sh
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-# Emulate nroff with groff.
-
-prog="$0"
-# Default device.
-# First try the "locale charmap" command, because it's most reliable.
-# On systems where it doesn't exist, look at the environment variables.
-case "`locale charmap 2>/dev/null`" in
- UTF-8)
- T=-Tutf8 ;;
- ISO-8859-1)
- T=-Tlatin1 ;;
- IBM-1047)
- T=-Tcp1047 ;;
- *)
- case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
- *.UTF-8)
- T=-Tutf8 ;;
- iso_8859_1 | *.ISO-8859-1)
- T=-Tlatin1 ;;
- *.IBM-1047)
- T=-Tcp1047 ;;
- *)
- case "$LESSCHARSET" in
- utf-8)
- T=-Tutf8 ;;
- latin1)
- T=-Tlatin1 ;;
- cp1047)
- T=-Tcp1047 ;;
- *)
- T=-Tascii ;;
- esac ;;
- esac ;;
-esac
-opts=
-safer=-S
-
-# `for i; do' doesn't work with some versions of sh
-
-for i
- do
- case $1 in
- -h)
- opts="$opts -P-h" ;;
- -[eq] | -s*)
- # ignore these options
- ;;
- -[mrnoT])
- echo "$prog: option $1 requires an argument" >&2
- exit 1 ;;
- -i | -[mrno]*)
- opts="$opts $1" ;;
- -Tascii | -Tlatin1 | -Tutf8 | -Tcp1047)
- T=$1 ;;
- -T*)
- # ignore other devices
- ;;
- -S)
- # safer behaviour
- safer=-S ;;
- -U)
- # unsafe behaviour
- safer=-U ;;
- -u*)
- # Solaris 2.2 `man' uses -u0; ignore it,
- # since `less' and `more' can use the emboldening info.
- ;;
- --)
- shift
- break ;;
- -)
- break ;;
- -*)
- echo "$prog: invalid option $1" >&2
- exit 1 ;;
- *)
- break ;;
- esac
- shift
-done
-
-# This shell script is intended for use with man, so warnings are
-# probably not wanted. Also load nroff-style character definitions.
-exec groff $safer -Wall -mtty-char $T $opts ${1+"$@"}
diff --git a/contrib/groff/tbl/Makefile.dep b/contrib/groff/tbl/Makefile.dep
deleted file mode 100644
index fd68809e2112..000000000000
--- 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 1d09926e96d1..000000000000
--- 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/tmac/me.man b/contrib/groff/tmac/me.man
deleted file mode 100644
index 49196212391c..000000000000
--- a/contrib/groff/tmac/me.man
+++ /dev/null
@@ -1,274 +0,0 @@
-.\" Copyright (c) 1980 The Regents of the University of California.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms are permitted
-.\" provided that the above copyright notice and this paragraph are
-.\" duplicated in all such forms and that any documentation,
-.\" advertising materials, and other materials related to such
-.\" distribution and use acknowledge that the software was developed
-.\" by the University of California, Berkeley. The name of the
-.\" University may not be used to endorse or promote products derived
-.\" from this software without specific prior written permission.
-.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-.\"
-.\" @(#)me.7 6.4 (Berkeley) 4/13/90
-.\"
-.\" Modified for groff by jjc@jclark.com
-.hc %
-.TH GROFF_ME @MAN7EXT@ "@MDATE@" "Groff Version @VERSION@"
-.UC 3
-.SH NAME
-groff_me \- troff macros for formatting papers
-.SH SYNOPSIS
-.B "groff \-me"
-[ options ]
-file ...
-.br
-.B "troff \-me"
-[ options ]
-file ...
-.SH DESCRIPTION
-This manual page describes the GNU version of the \-me macros,
-which is part of the groff document formatting system.
-This version can be used with both GNU troff and Unix troff.
-This package of
-.I troff
-macro definitions provides a canned formatting
-facility for tech%nical papers in various formats.
-.PP
-The macro requests are defined below.
-Many
-.I troff
-requests are unsafe in conjunction with
-this package, however, these requests may be used with
-impunity after the first .pp:
-.nf
-.IP
-.ta \w'.sz +n 'u
-\&.bp begin new page
-\&.br break output line here
-\&.sp n insert n spacing lines
-\&.ls n (line spacing) n=1 single, n=2 double space
-\&.na no alignment of right margin
-\&.ce n center next n lines
-\&.ul n underline next n lines
-.fi
-.PP
-Output of the
-.I pic,
-.I eqn,
-.I refer,
-and
-.I tbl
-preprocessors
-is acceptable as input.
-.SH FILES
-@MACRODIR@/tmac.e
-.SH "SEE ALSO"
-.BR groff (@MAN1EXT@),
-.BR @g@troff (@MAN1EXT@)
-.br
-\-me Reference Manual, Eric P. Allman
-.br
-Writing Papers with Groff Using \-me
-.tr &.
-.SH REQUESTS
-This list is incomplete;
-see
-.I "The \-me Reference Manual"
-for interesting details.
-.PP
-.ta \w'.eh \'x\'y\'z\' 'u +\w'Initial 'u +\w'Cause 'u
-.br
-.di x
- \ka
-.br
-.di
-.in \nau
-.ti 0
-Request Initial Cause Explanation
-.ti 0
- Value Break
-.br
-.in \nau
-.ti 0
-\&.(c - yes Begin centered block
-.ti 0
-\&.(d - no Begin delayed text
-.ti 0
-\&.(f - no Begin footnote
-.ti 0
-\&.(l - yes Begin list
-.ti 0
-\&.(q - yes Begin major quote
-.ti 0
-\&.(x \fIx\fR - no Begin indexed item in index
-.I x
-.ti 0
-\&.(z - no Begin floating keep
-.ti 0
-\&.)c - yes End centered block
-.ti 0
-\&.)d - yes End delayed text
-.ti 0
-\&.)f - yes End footnote
-.ti 0
-\&.)l - yes End list
-.ti 0
-\&.)q - yes End major quote
-.ti 0
-\&.)x - yes End index item
-.ti 0
-\&.)z - yes End floating keep
-.ti 0
-\&.++ \fIm H\fR - no Define paper section.
-.I m
-defines the part of the paper, and can be
-.B C
-(chapter),
-.B A
-(appendix),
-.B P
-(preliminary, e.g., abstract, table of contents, etc.),
-.B B
-(bibliography),
-.B RC
-(chapters renumbered from page one each chapter),
-or
-.B RA
-(appendix renumbered from page one).
-.ti 0
-\&.+c \fIT\fR - yes Begin chapter (or appendix, etc., as
-set by .++).
-.I T
-is the chapter title.
-.ti 0
-\&.1c 1 yes One column format on a new page.
-.ti 0
-\&.2c 1 yes Two column format.
-.ti 0
-\&.EN - yes Space after equation
-produced by
-.I eqn
-or
-.IR neqn .
-.ti 0
-\&.EQ \fIx y\fR - yes Precede equation; break out and
-add space.
-Equation number is
-.IR y .
-The optional argument \fIx\fR
-may be
-.I I
-to indent equation (default),
-.I L
-to left-adjust the equation, or
-.I C
-to center the equation.
-.ti 0
-\&.GE - yes End \fIgremlin\fP picture.
-.ti 0
-\&.GS - yes Begin \fIgremlin\fP picture.
-.ti 0
-\&.PE - yes End \fIpic\fP picture.
-.ti 0
-\&.PS - yes Begin \fIpic\fP picture.
-.ti 0
-\&.TE - yes End table.
-.ti 0
-\&.TH - yes End heading section of table.
-.ti 0
-\&.TS \fIx\fR - yes Begin table; if \fIx\fR is
-.I H
-table has repeated heading.
-.ti 0
-\&.b \fIx\fR no no Print
-.I x
-in boldface; if no argument switch to boldface.
-.ti 0
-\&.ba \fI+n\fR 0 yes Augments the base indent by
-.I n.
-This indent is used to set the indent on regular text
-(like paragraphs).
-.ti 0
-\&.bc no yes Begin new column
-.ti 0
-\&.bi \fIx\fR no no Print
-.I x
-in bold italics (nofill only)
-.ti 0
-\&.bu - yes Begin bulleted paragraph
-.ti 0
-\&.bx \fIx\fR no no Print \fIx\fR in a box (nofill only).
-.ti 0
-\&.ef \fI\'x\'y\'z\'\fR \'\'\'\' no Set even footer to x y z
-.ti 0
-\&.eh \fI\'x\'y\'z\'\fR \'\'\'\' no Set even header to x y z
-.ti 0
-\&.fo \fI\'x\'y\'z\'\fR \'\'\'\' no Set footer to x y z
-.ti 0
-\&.hx - no Suppress headers and footers on next page.
-.ti 0
-\&.he \fI\'x\'y\'z\'\fR \'\'\'\' no Set header to x y z
-.ti 0
-\&.hl - yes Draw a horizontal line
-.ti 0
-\&.i \fIx\fR no no Italicize
-.I x;
-if
-.I x
-missing, italic text follows.
-.ti 0
-\&.ip \fIx y\fR no yes Start indented paragraph,
-with hanging tag
-.IR x .
-Indentation is
-.I y
-ens (default 5).
-.ti 0
-\&.lp yes yes Start left-blocked paragraph.
-.ti 0
-\&.np 1 yes Start numbered paragraph.
-.ti 0
-\&.of \fI\'x\'y\'z\'\fR \'\'\'\' no Set odd footer to x y z
-.ti 0
-\&.oh \fI\'x\'y\'z\'\fR \'\'\'\' no Set odd header to x y z
-.ti 0
-\&.pd - yes Print delayed text.
-.ti 0
-\&.pp no yes Begin paragraph.
-First line indented.
-.ti 0
-\&.r yes no Roman text follows.
-.ti 0
-\&.re - no Reset tabs to default values.
-.ti 0
-\&.sh \fIn x\fR - yes Section head follows,
-font automatically bold.
-.I n
-is level of section,
-.I x
-is title of section.
-.ti 0
-\&.sk no no Leave the next page blank.
-Only one page is remembered ahead.
-.ti 0
-\&.sm \fIx\fR - no Set
-.I x
-in a smaller pointsize.
-.ti 0
-\&.sz \fI+n\fR 10p no Augment the point size by
-.I n
-points.
-.ti 0
-\&.tp no yes Begin title page.
-.ti 0
-\&.u \fIx\fR - no Underline argument (even in \fItroff\fR).
-(Nofill only).
-.ti 0
-\&.uh - yes Like .sh but unnumbered.
-.ti 0
-\&.xp \fIx\fR - no Print index
-.I x.
diff --git a/contrib/groff/tmac/msafer.man b/contrib/groff/tmac/msafer.man
deleted file mode 100644
index 05712855652c..000000000000
--- a/contrib/groff/tmac/msafer.man
+++ /dev/null
@@ -1,56 +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 MSAFER @MAN7EXT@ "@MDATE@" "Groff Version @VERSION@"
-.SH NAME
-msafer \- groff -msafer macros
-.SH SYNOPSIS
-.B groff
-.B \-msafer
-[
-.IR options .\|.\|.
-]
-[
-.IR files .\|.\|.
-]
-.SH DESCRIPTION
-The -msafer macros remove the
-.BR open ,
-.BR opena ,
-.BR pso ,
-.B sy
-and
-.B pi
-requests.
-These macros should be used when processing input from
-an untrustworthy source.
-For maximum safety,
-they should be the first -m option on the command-line.
-Normally they are invoked using the
-.B \-S
-option of groff, which will also pass
-.B @g@pic
-the
-.B \-S
-flag.
-.SH FILES
-.B @MACRODIR@/tmac.safer
-.SH "SEE ALSO"
-.BR groff (@MAN1EXT@),
-.BR @g@troff (@MAN1EXT@),
-.BR @g@pic (@MAN1EXT@)
diff --git a/contrib/groff/troff/Makefile.dep b/contrib/groff/troff/Makefile.dep
deleted file mode 100644
index 06f568af0451..000000000000
--- 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 e0a9c66d05b0..000000000000
--- 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:
diff --git a/contrib/groff/xditview/Makefile b/contrib/groff/xditview/Makefile
deleted file mode 100644
index 1eb263d3d81d..000000000000
--- a/contrib/groff/xditview/Makefile
+++ /dev/null
@@ -1,639 +0,0 @@
-# Makefile generated by imake - do not edit!
-# $XConsortium: imake.c,v 1.72 92/09/14 11:44:22 rws Exp $
-#
-# The cpp used on this machine replaces all newlines and multiple tabs and
-# spaces in a macro expansion with a single space. Imake tries to compensate
-# for this, but is not always successful.
-#
-
-# -------------------------------------------------------------------------
-# Makefile generated from "Imake.tmpl" and <Imakefile>
-# $XConsortium: Imake.tmpl,v 1.158 92/09/03 19:54:25 rws Exp $
-#
-# Platform-specific parameters may be set in the appropriate <vendor>.cf
-# configuration files. Site-specific parameters should be set in the file
-# site.def. Full rebuilds are recommended if any parameters are changed.
-#
-# If your C preprocessor does not define any unique symbols, you will need
-# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
-# "make World" the first time).
-#
-
-# -------------------------------------------------------------------------
-# site-specific configuration parameters that need to come before
-# the platform-specific parameters - edit site.def to change
-
-# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
-
-# -------------------------------------------------------------------------
-# platform-specific configuration parameters - edit sun.cf to change
-
-#
-# platform: $XConsortium: sun.cf,v 1.77 92/05/29 18:37:21 rws Exp $
-
-# operating system: SunOS 5.0
-
-.INIT: Makefile
-REVCTLARCHFILE = SCCS/s.Imakefile
-REVCTLCMD = sccs get
-
-# $XConsortium: sv4Lib.rules,v 1.8 91/07/19 15:38:53 rws Exp $
-
-# -------------------------------------------------------------------------
-# site-specific configuration parameters that go after
-# the platform-specific parameters - edit site.def to change
-
-# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
-
- SHELL = /bin/sh
-
- TOP = .
- CURRENT_DIR = .
-
- AR = ar cq
- BOOTSTRAPCFLAGS =
- CC = cc
- AS = as
-
- COMPRESS = compress
- CPP = /usr/ccs/lib/cpp $(STD_CPP_DEFINES)
- PREPROCESSCMD = cc -E $(STD_CPP_DEFINES)
- INSTALL = $(BINDIR)/bsdinst
- LD = ld
- LEX = lex
- YACC = yacc
- LINT = lint
- LINTLIBFLAG = -o
- LINTOPTS = -ax
- LN = ln -s
- MAKE = make
- MV = mv
- CP = cp
-
- RM = rm -f
- TROFF = psroff -t
- MSMACROS = -ms
- TBL = tbl
- EQN = eqn
- STD_INCLUDES =
- STD_CPP_DEFINES = -DSVR4 -DSYSV
- STD_DEFINES = -DSVR4 -DSYSV
- EXTRA_LOAD_FLAGS =
- EXTRA_LDOPTIONS =
- EXTRA_LIBRARIES = -lsocket -lnsl
- TAGS = ctags
-
- SHAREDCODEDEF =
- SHLIBDEF =
-
- PROTO_DEFINES =
-
- INSTPGMFLAGS =
-
- INSTBINFLAGS = -m 0755
- INSTUIDFLAGS = -m 4755
- INSTLIBFLAGS = -m 0644
- INSTINCFLAGS = -m 0444
- INSTMANFLAGS = -m 0444
- INSTDATFLAGS = -m 0444
- INSTKMEMFLAGS = -m 4755
-
- PROJECTROOT = $(OPENWINHOME)
- DESTDIR =
-
- TOP_INCLUDES = -I$(INCROOT)
-
- CDEBUGFLAGS = -O -xF
- CCOPTIONS = -DSYSV -DSVR4 -xF -Wa,-cg92
-
- ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
- ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
- CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
- CCFLAGS = $(CDEBUGFLAGS) $(CCCOPTIONS) $(ALLDEFINES)
- LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
-
- LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
-
- LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(LOCAL_LDFLAGS) -L$(USRLIBDIR)
-
- LDCOMBINEFLAGS = -r
- DEPENDFLAGS =
-
- MACROFILE = sun.cf
- RM_CMD = $(RM) mapfile *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *.O
-
- IMAKE_DEFINES =
-
- IRULESRC = $(CONFIGDIR)
- IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
-
- ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
- $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
- $(IRULESRC)/$(MACROFILE) \
- $(EXTRA_ICONFIGFILES)
-
-# -------------------------------------------------------------------------
-# X Window System Build Parameters
-# $XConsortium: Project.tmpl,v 1.152 92/08/10 17:47:45 eswu Exp $
-
-# -------------------------------------------------------------------------
-# X Window System make variables; this need to be coordinated with rules
-
- PATHSEP = /
- USRLIBDIR = $(OPENWINHOME)/lib
- SHLIBDIR = $(OPENWINHOME)/lib
- BINDIR = $(OPENWINHOME)/bin
- DEMODIR = $(OPENWINHOME)/demo
- INCROOT = $(OPENWINHOME)/include
- BUILDINCROOT = $(TOP)
- BUILDINCDIR = $(BUILDINCROOT)/X11
- BUILDINCTOP = ..
- INCDIR = $(INCROOT)/X11
- ADMDIR = /usr/adm
- LIBDIR = $(USRLIBDIR)/X11
- CONFIGDIR = $(LIBDIR)/config
- LINTLIBDIR = $(USRLIBDIR)/lint
-
- FONTDIR = $(LIBDIR)/fonts
- XINITDIR = $(LIBDIR)/xinit
- XDMDIR = $(LIBDIR)/xdm
- TWMDIR = $(LIBDIR)/twm
- MANPATH = $(OPENWINHOME)/man
- MANSOURCEPATH = $(MANPATH)/man
- MANSUFFIX = n
- LIBMANSUFFIX = 3
- MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
- LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
- NLSDIR = $(LIBDIR)/nls
- PEXAPIDIR = $(LIBDIR)/PEX
- XAPPLOADDIR = $(LIBDIR)/app-defaults
- FONTCFLAGS = -t
-
- INSTAPPFLAGS = $(INSTDATFLAGS)
-
- IMAKE = imake
- DEPEND = makedepend
- RGB = rgb
-
- FONTC = bdftopcf
-
- MKFONTDIR = mkfontdir
- MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier
-
- CONFIGSRC = $(TOP)/config
- DOCUTILSRC = $(TOP)/doc/util
- CLIENTSRC = $(TOP)/clients
- DEMOSRC = $(TOP)/demos
- LIBSRC = $(TOP)/lib
- FONTSRC = $(TOP)/../../../lib/libfont
- INCLUDESRC = $(TOP)/X11
- SERVERSRC = $(TOP)/server
- DDXSRC = $(SERVERSRC)/ddx
- UTILSRC = $(TOP)/util
- SCRIPTSRC = $(UTILSRC)/scripts
- EXAMPLESRC = $(TOP)/examples
- CONTRIBSRC = $(TOP)/../contrib
- DOCSRC = $(TOP)/doc
- RGBSRC = $(TOP)/rgb
- DEPENDSRC = $(UTILSRC)/makedepend
- IMAKESRC = $(CONFIGSRC)
- XAUTHSRC = $(LIBSRC)/Xau
- XLIBSRC = $(LIBSRC)/X
- XMUSRC = $(LIBSRC)/Xmu
- TOOLKITSRC = $(LIBSRC)/Xt
- AWIDGETSRC = $(LIBSRC)/Xaw
- OLDXLIBSRC = $(LIBSRC)/oldX
- XDMCPLIBSRC = $(LIBSRC)/Xdmcp
-
- BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf
-
- MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
- FSLIBSRC = $(FONTSRC)/lib/fs
- FONTSERVERSRC = $(FONTSRC)/server
- EXTENSIONSRC = $(TOP)/extensions
- XILIBSRC = $(TOP)/../../../lib/libXinput
- XTESTLIBSRC = $(EXTENSIONSRC)/lib/xtest
- PEXLIBSRC = $(EXTENSIONSRC)/lib/PEXlib
- PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX
- DGALIBSRC = $(EXTENSIONSRC)/lib/dga
-
-# $XConsortium: sv4Lib.tmpl,v 1.8 92/06/28 17:43:23 rws Exp $
-
- SERVERETC = $(OPENWINHOME)/server/etc
-
- SERVERLIB = $(OPENWINHOME)/server/lib
-
- SERVERMODULES = $(OPENWINHOME)/server/modules
-
-SHLIBLDFLAGS = -G -z text -M mapfile
-PICFLAGS = -K PIC
-MAPFILE = mapfile
-
- DEPEXTENSIONLIB =
- EXTENSIONLIB = -lXext
-
- DEPXLIB = $(DEPEXTENSIONLIB)
- XLIBONLY = -lX11
- XLIB = $(EXTENSIONLIB) $(XLIBONLY)
-
- DEPXMULIB =
- XMULIBONLY = -lXmu
- XMULIB = $(XMULIBONLY) -z nodefs
-
- DEPOLDXLIB =
- OLDXLIB = -loldX
-
- DEPXTOOLLIB =
- XTOOLLIB = -lXt
-
- DEPXAWLIB =
- XAWLIB = -lXaw
-
- DEPXILIB =
- XILIB = -lXi
-
- DEPXTESTLIB =
- XTESTLIB = -lXtst
-
- DEPPEXLIB =
- PEXLIB = -lPEX5
-
- DEPDGALIB =
- DGALIB = -ldga
-
- SOXLIBREV = 5.0
- SOXTREV = 5.0
- SOXAWREV = 5.0
- SOOLDXREV = 5.0
- SOXMUREV = 5.0
- SOXEXTREV = 5.0
- SOXINPUTREV = 5.0
- SOXTESTREV = 1.0
- SOXTRAPREV = 1.0
- SOPEXREV = 1.0
- SODPSREV = 5
- SODGAREV = 1
-
- DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
- XAUTHLIB = -lXau
- DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
- XDMCPLIB = -lXdmcp
-
- DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
- PHIGSLIB = -lphigs
-
- DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
- XBSDLIB = -lXbsd
-
- LINTEXTENSIONLIB = $(LINTLIBDIR)/llib-lXext.ln
- LINTXLIB = $(LINTLIBDIR)/llib-lX11.ln
- LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
- LINTXTOOL = $(LINTLIBDIR)/llib-lXt.ln
- LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
- LINTXI = $(LINTLIBDIR)/llib-lXi.ln
- LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln
- LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
- LINTDGA = $(LINTLIBDIR)/llib-ldga.ln
-
- DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
-
- DEPLIBS1 = $(DEPLIBS)
- DEPLIBS2 = $(DEPLIBS)
- DEPLIBS3 = $(DEPLIBS)
-
-# -------------------------------------------------------------------------
-# Imake rules for building libraries, programs, scripts, and data files
-# rules: $XConsortium: Imake.rules,v 1.129 92/05/29 17:01:19 rws Exp $
-
-# -------------------------------------------------------------------------
-# start of Imakefile
-
-GROFF_LIBDIR = /opt/gnu/lib/groff
-GROFF_FONTDIR = $(GROFF_LIBDIR)/font
-GROFF_FONTPATH = .:$(GROFF_FONTDIR):/opt/gnu/lib/font:/usr/lib/font
-DPIS = 75 100
-
-PROGRAMS = gxditview xtotroff
-DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
-LOCAL_LIBRARIES = $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
-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
-
- OBJS = $(OBJS1) $(OBJS2) $(OBJS3)
- SRCS = $(SRCS1) $(SRCS2) $(SRCS3)
-
-all:: $(PROGRAMS)
-
-gxditview: $(OBJS1) $(DEPLIBS1)
- $(RM) $@
- $(CC) -o $@ $(LDOPTIONS) $(OBJS1) $(LOCAL_LIBRARIES) $(LDLIBS) $(MATHLIB) $(EXTRA_LOAD_FLAGS)
-
-install:: $(DESTDIR)$(BINDIR)/gxditview
-$(DESTDIR)$(BINDIR)/gxditview: gxditview
- @if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi
- $(INSTALL) -c $(INSTPGMFLAGS) gxditview $(DESTDIR)$(BINDIR)
-
-install.man:: gxditview.man
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
- $(INSTALL) -c $(INSTMANFLAGS) gxditview.man $(DESTDIR)$(MANDIR)/gxditview.$(MANSUFFIX)
-
-depend:: $(SRCS) $(HEADERS)
- $(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
-dependlocal:: $(SRCS) $(HEADERS)
- $(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
-
-lint:
- $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
-lint1:
- $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
-
-clean::
- $(RM) $(PROGRAMS)
-
-xtotroff: $(OBJS2) $(DEPXLIB)
- $(RM) $@
- $(CC) -o $@ $(OBJS2) $(LDOPTIONS) $(XLIB) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
-
-clean::
- $(RM) xtotroff
-
-install:: GXditview.ad
- @if [ -d $(DESTDIR)$(XAPPLOADDIR) ]; then set +x; \
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(XAPPLOADDIR)); fi
- $(INSTALL) -c $(INSTAPPFLAGS) GXditview.ad $(DESTDIR)$(XAPPLOADDIR)/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
-
-extraclean: clean
- -rm -f junk tmp grot old
-
-FORCE:
-
-# -------------------------------------------------------------------------
-# common rules for all Makefiles - do not edit
-
-emptyrule::
-
-dependlocal::
-includes:: $(HEADERS) $(OTHERFILES)
-
-clean::
- $(RM_CMD) "#"*
-
-Makefile:: Imakefile
- -@if [ -f Makefile ]; then set -x; \
- $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
- else exit 0; fi
- $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
- $(MAKE) $(MFLAGS) dependlocal
-
-tags::
- $(TAGS) -w *.[ch]
- $(TAGS) -xw *.[ch] > TAGS
-
-# -------------------------------------------------------------------------
-# empty rules for directories that do not have SUBDIRS - do not edit
-
-install::
- @echo "install in $(CURRENT_DIR) done"
-
-install.man::
- @echo "install.man in $(CURRENT_DIR) done"
-
-Makefiles::
-
-includes::
-
-# -------------------------------------------------------------------------
-# dependencies generated by makedepend
-
-# DO NOT DELETE
-
-xditview.o: /usr/openwin/include/X11/Xatom.h /usr/openwin/include/X11/Xlib.h
-xditview.o: /usr/include/sys/types.h /usr/include/sys/feature_tests.h
-xditview.o: /usr/include/sys/machtypes.h /usr/openwin/include/X11/X.h
-xditview.o: /usr/openwin/include/X11/Xfuncproto.h
-xditview.o: /usr/openwin/include/X11/Xosdefs.h /usr/include/stddef.h
-xditview.o: /usr/openwin/include/X11/Xos.h /usr/include/string.h
-xditview.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h
-xditview.o: /usr/include/unistd.h /usr/include/sys/unistd.h
-xditview.o: /usr/include/sys/time.h /usr/include/time.h
-xditview.o: /usr/openwin/include/X11/Intrinsic.h
-xditview.o: /usr/openwin/include/X11/Xutil.h
-xditview.o: /usr/openwin/include/X11/Xresource.h
-xditview.o: /usr/openwin/include/X11/Core.h
-xditview.o: /usr/openwin/include/X11/Composite.h
-xditview.o: /usr/openwin/include/X11/Constraint.h
-xditview.o: /usr/openwin/include/X11/Object.h
-xditview.o: /usr/openwin/include/X11/RectObj.h
-xditview.o: /usr/openwin/include/X11/StringDefs.h
-xditview.o: /usr/openwin/include/X11/Shell.h
-xditview.o: /usr/openwin/include/X11/Xaw/Paned.h
-xditview.o: /usr/openwin/include/X11/Xmu/Converters.h
-xditview.o: /usr/openwin/include/X11/Xaw/Viewport.h
-xditview.o: /usr/openwin/include/X11/Xaw/Form.h
-xditview.o: /usr/openwin/include/X11/Xaw/Reports.h
-xditview.o: /usr/openwin/include/X11/Xaw/Box.h
-xditview.o: /usr/openwin/include/X11/Xaw/Command.h
-xditview.o: /usr/openwin/include/X11/Xaw/Label.h
-xditview.o: /usr/openwin/include/X11/Xaw/Simple.h
-xditview.o: /usr/openwin/include/X11/Xaw/Dialog.h
-xditview.o: /usr/openwin/include/X11/Xaw/SimpleMenu.h
-xditview.o: /usr/openwin/include/X11/Xaw/SmeBSB.h
-xditview.o: /usr/openwin/include/X11/Xaw/Sme.h /usr/include/signal.h
-xditview.o: /usr/include/sys/signal.h Dvi.h xdit.bm xdit_mask.bm
-xditview.o: /usr/include/stdio.h
-Dvi.o: /usr/openwin/include/X11/IntrinsicP.h
-Dvi.o: /usr/openwin/include/X11/Intrinsic.h /usr/openwin/include/X11/Xlib.h
-Dvi.o: /usr/include/sys/types.h /usr/include/sys/feature_tests.h
-Dvi.o: /usr/include/sys/machtypes.h /usr/openwin/include/X11/X.h
-Dvi.o: /usr/openwin/include/X11/Xfuncproto.h
-Dvi.o: /usr/openwin/include/X11/Xosdefs.h /usr/include/stddef.h
-Dvi.o: /usr/openwin/include/X11/Xutil.h /usr/openwin/include/X11/Xresource.h
-Dvi.o: /usr/include/string.h /usr/openwin/include/X11/Core.h
-Dvi.o: /usr/openwin/include/X11/Composite.h
-Dvi.o: /usr/openwin/include/X11/Constraint.h
-Dvi.o: /usr/openwin/include/X11/Object.h /usr/openwin/include/X11/RectObj.h
-Dvi.o: /usr/openwin/include/X11/CoreP.h /usr/openwin/include/X11/CompositeP.h
-Dvi.o: /usr/openwin/include/X11/ConstrainP.h
-Dvi.o: /usr/openwin/include/X11/ObjectP.h /usr/openwin/include/X11/RectObjP.h
-Dvi.o: /usr/openwin/include/X11/StringDefs.h
-Dvi.o: /usr/openwin/include/X11/Xmu/Converters.h /usr/include/stdio.h
-Dvi.o: /usr/include/ctype.h DviP.h Dvi.h DviChar.h device.h
-Dvi.o: /usr/openwin/include/X11/bitmaps/gray
-draw.o: /usr/openwin/include/X11/Xos.h /usr/openwin/include/X11/Xosdefs.h
-draw.o: /usr/include/sys/types.h /usr/include/sys/feature_tests.h
-draw.o: /usr/include/sys/machtypes.h /usr/include/string.h
-draw.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h /usr/include/unistd.h
-draw.o: /usr/include/sys/unistd.h /usr/include/sys/time.h /usr/include/time.h
-draw.o: /usr/openwin/include/X11/IntrinsicP.h
-draw.o: /usr/openwin/include/X11/Intrinsic.h /usr/openwin/include/X11/Xlib.h
-draw.o: /usr/openwin/include/X11/X.h /usr/openwin/include/X11/Xfuncproto.h
-draw.o: /usr/include/stddef.h /usr/openwin/include/X11/Xutil.h
-draw.o: /usr/openwin/include/X11/Xresource.h /usr/openwin/include/X11/Core.h
-draw.o: /usr/openwin/include/X11/Composite.h
-draw.o: /usr/openwin/include/X11/Constraint.h
-draw.o: /usr/openwin/include/X11/Object.h /usr/openwin/include/X11/RectObj.h
-draw.o: /usr/openwin/include/X11/CoreP.h
-draw.o: /usr/openwin/include/X11/CompositeP.h
-draw.o: /usr/openwin/include/X11/ConstrainP.h
-draw.o: /usr/openwin/include/X11/ObjectP.h
-draw.o: /usr/openwin/include/X11/RectObjP.h
-draw.o: /usr/openwin/include/X11/StringDefs.h /usr/include/stdio.h
-draw.o: /usr/include/ctype.h /usr/include/math.h DviP.h Dvi.h DviChar.h
-draw.o: device.h
-font.o: /usr/openwin/include/X11/Xos.h /usr/openwin/include/X11/Xosdefs.h
-font.o: /usr/include/sys/types.h /usr/include/sys/feature_tests.h
-font.o: /usr/include/sys/machtypes.h /usr/include/string.h
-font.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h /usr/include/unistd.h
-font.o: /usr/include/sys/unistd.h /usr/include/sys/time.h /usr/include/time.h
-font.o: /usr/openwin/include/X11/IntrinsicP.h
-font.o: /usr/openwin/include/X11/Intrinsic.h /usr/openwin/include/X11/Xlib.h
-font.o: /usr/openwin/include/X11/X.h /usr/openwin/include/X11/Xfuncproto.h
-font.o: /usr/include/stddef.h /usr/openwin/include/X11/Xutil.h
-font.o: /usr/openwin/include/X11/Xresource.h /usr/openwin/include/X11/Core.h
-font.o: /usr/openwin/include/X11/Composite.h
-font.o: /usr/openwin/include/X11/Constraint.h
-font.o: /usr/openwin/include/X11/Object.h /usr/openwin/include/X11/RectObj.h
-font.o: /usr/openwin/include/X11/CoreP.h
-font.o: /usr/openwin/include/X11/CompositeP.h
-font.o: /usr/openwin/include/X11/ConstrainP.h
-font.o: /usr/openwin/include/X11/ObjectP.h
-font.o: /usr/openwin/include/X11/RectObjP.h
-font.o: /usr/openwin/include/X11/StringDefs.h /usr/include/stdio.h
-font.o: /usr/include/ctype.h DviP.h Dvi.h DviChar.h device.h XFontName.h
-lex.o: /usr/openwin/include/X11/Xos.h /usr/openwin/include/X11/Xosdefs.h
-lex.o: /usr/include/sys/types.h /usr/include/sys/feature_tests.h
-lex.o: /usr/include/sys/machtypes.h /usr/include/string.h
-lex.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h /usr/include/unistd.h
-lex.o: /usr/include/sys/unistd.h /usr/include/sys/time.h /usr/include/time.h
-lex.o: /usr/openwin/include/X11/IntrinsicP.h
-lex.o: /usr/openwin/include/X11/Intrinsic.h /usr/openwin/include/X11/Xlib.h
-lex.o: /usr/openwin/include/X11/X.h /usr/openwin/include/X11/Xfuncproto.h
-lex.o: /usr/include/stddef.h /usr/openwin/include/X11/Xutil.h
-lex.o: /usr/openwin/include/X11/Xresource.h /usr/openwin/include/X11/Core.h
-lex.o: /usr/openwin/include/X11/Composite.h
-lex.o: /usr/openwin/include/X11/Constraint.h
-lex.o: /usr/openwin/include/X11/Object.h /usr/openwin/include/X11/RectObj.h
-lex.o: /usr/openwin/include/X11/CoreP.h /usr/openwin/include/X11/CompositeP.h
-lex.o: /usr/openwin/include/X11/ConstrainP.h
-lex.o: /usr/openwin/include/X11/ObjectP.h /usr/openwin/include/X11/RectObjP.h
-lex.o: /usr/openwin/include/X11/StringDefs.h /usr/include/stdio.h DviP.h
-lex.o: Dvi.h DviChar.h device.h
-page.o: /usr/openwin/include/X11/Xos.h /usr/openwin/include/X11/Xosdefs.h
-page.o: /usr/include/sys/types.h /usr/include/sys/feature_tests.h
-page.o: /usr/include/sys/machtypes.h /usr/include/string.h
-page.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h /usr/include/unistd.h
-page.o: /usr/include/sys/unistd.h /usr/include/sys/time.h /usr/include/time.h
-page.o: /usr/openwin/include/X11/IntrinsicP.h
-page.o: /usr/openwin/include/X11/Intrinsic.h /usr/openwin/include/X11/Xlib.h
-page.o: /usr/openwin/include/X11/X.h /usr/openwin/include/X11/Xfuncproto.h
-page.o: /usr/include/stddef.h /usr/openwin/include/X11/Xutil.h
-page.o: /usr/openwin/include/X11/Xresource.h /usr/openwin/include/X11/Core.h
-page.o: /usr/openwin/include/X11/Composite.h
-page.o: /usr/openwin/include/X11/Constraint.h
-page.o: /usr/openwin/include/X11/Object.h /usr/openwin/include/X11/RectObj.h
-page.o: /usr/openwin/include/X11/CoreP.h
-page.o: /usr/openwin/include/X11/CompositeP.h
-page.o: /usr/openwin/include/X11/ConstrainP.h
-page.o: /usr/openwin/include/X11/ObjectP.h
-page.o: /usr/openwin/include/X11/RectObjP.h
-page.o: /usr/openwin/include/X11/StringDefs.h /usr/include/stdio.h
-page.o: /usr/include/ctype.h DviP.h Dvi.h DviChar.h device.h
-parse.o: /usr/openwin/include/X11/Xos.h /usr/openwin/include/X11/Xosdefs.h
-parse.o: /usr/include/sys/types.h /usr/include/sys/feature_tests.h
-parse.o: /usr/include/sys/machtypes.h /usr/include/string.h
-parse.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h /usr/include/unistd.h
-parse.o: /usr/include/sys/unistd.h /usr/include/sys/time.h
-parse.o: /usr/include/time.h /usr/openwin/include/X11/IntrinsicP.h
-parse.o: /usr/openwin/include/X11/Intrinsic.h /usr/openwin/include/X11/Xlib.h
-parse.o: /usr/openwin/include/X11/X.h /usr/openwin/include/X11/Xfuncproto.h
-parse.o: /usr/include/stddef.h /usr/openwin/include/X11/Xutil.h
-parse.o: /usr/openwin/include/X11/Xresource.h /usr/openwin/include/X11/Core.h
-parse.o: /usr/openwin/include/X11/Composite.h
-parse.o: /usr/openwin/include/X11/Constraint.h
-parse.o: /usr/openwin/include/X11/Object.h /usr/openwin/include/X11/RectObj.h
-parse.o: /usr/openwin/include/X11/CoreP.h
-parse.o: /usr/openwin/include/X11/CompositeP.h
-parse.o: /usr/openwin/include/X11/ConstrainP.h
-parse.o: /usr/openwin/include/X11/ObjectP.h
-parse.o: /usr/openwin/include/X11/RectObjP.h
-parse.o: /usr/openwin/include/X11/StringDefs.h /usr/include/stdio.h
-parse.o: /usr/include/ctype.h DviP.h Dvi.h DviChar.h device.h
-XFontName.o: /usr/openwin/include/X11/Xlib.h /usr/include/sys/types.h
-XFontName.o: /usr/include/sys/feature_tests.h /usr/include/sys/machtypes.h
-XFontName.o: /usr/openwin/include/X11/X.h
-XFontName.o: /usr/openwin/include/X11/Xfuncproto.h
-XFontName.o: /usr/openwin/include/X11/Xosdefs.h /usr/include/stddef.h
-XFontName.o: /usr/openwin/include/X11/Xos.h /usr/include/string.h
-XFontName.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h
-XFontName.o: /usr/include/unistd.h /usr/include/sys/unistd.h
-XFontName.o: /usr/include/sys/time.h /usr/include/time.h XFontName.h
-XFontName.o: /usr/include/ctype.h
-DviChar.o: DviChar.h
-device.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h
-device.o: /usr/include/ctype.h /usr/openwin/include/X11/Xos.h
-device.o: /usr/openwin/include/X11/Xosdefs.h /usr/include/sys/types.h
-device.o: /usr/include/sys/machtypes.h /usr/include/string.h
-device.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h /usr/include/unistd.h
-device.o: /usr/include/sys/unistd.h /usr/include/sys/time.h
-device.o: /usr/include/time.h /usr/openwin/include/X11/Intrinsic.h
-device.o: /usr/openwin/include/X11/Xlib.h /usr/openwin/include/X11/X.h
-device.o: /usr/openwin/include/X11/Xfuncproto.h /usr/include/stddef.h
-device.o: /usr/openwin/include/X11/Xutil.h
-device.o: /usr/openwin/include/X11/Xresource.h
-device.o: /usr/openwin/include/X11/Core.h
-device.o: /usr/openwin/include/X11/Composite.h
-device.o: /usr/openwin/include/X11/Constraint.h
-device.o: /usr/openwin/include/X11/Object.h
-device.o: /usr/openwin/include/X11/RectObj.h device.h
-xtotroff.o: /usr/openwin/include/X11/Xlib.h /usr/include/sys/types.h
-xtotroff.o: /usr/include/sys/feature_tests.h /usr/include/sys/machtypes.h
-xtotroff.o: /usr/openwin/include/X11/X.h
-xtotroff.o: /usr/openwin/include/X11/Xfuncproto.h
-xtotroff.o: /usr/openwin/include/X11/Xosdefs.h /usr/include/stddef.h
-xtotroff.o: /usr/include/stdio.h /usr/include/ctype.h XFontName.h DviChar.h
-xtotroff.o: /usr/include/stdlib.h
-XFontName.o: /usr/openwin/include/X11/Xlib.h /usr/include/sys/types.h
-XFontName.o: /usr/include/sys/feature_tests.h /usr/include/sys/machtypes.h
-XFontName.o: /usr/openwin/include/X11/X.h
-XFontName.o: /usr/openwin/include/X11/Xfuncproto.h
-XFontName.o: /usr/openwin/include/X11/Xosdefs.h /usr/include/stddef.h
-XFontName.o: /usr/openwin/include/X11/Xos.h /usr/include/string.h
-XFontName.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h
-XFontName.o: /usr/include/unistd.h /usr/include/sys/unistd.h
-XFontName.o: /usr/include/sys/time.h /usr/include/time.h XFontName.h
-XFontName.o: /usr/include/ctype.h
-DviChar.o: DviChar.h