File: Makefile

package info (click to toggle)
troffcvt 1.04%2Brepack1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,416 kB
  • sloc: ansic: 13,110; makefile: 6,847; perl: 1,583; cpp: 333; sh: 215
file content (667 lines) | stat: -rw-r--r-- 18,380 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
# Makefile generated by imake - do not edit!
# $XConsortium: imake.c /main/90 1996/11/13 14:43:23 lehors $

# -------------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and <Imakefile>.
#
# Platform-specific parameters may be set in the appropriate .cf and
# .p-cf configuration files.  Site-wide parameters may be set in the
# files site.def and site.p-def.  Full rebuilds are recommended if
# any parameters are changed.

# -------------------------------------------------------------------------
# site-specific configuration parameters that need to come before the
# platform-specific parameters - edit site.def or site.p-def to change

# site:  Primate Center 89/12/22

# -------------------------------------------------------------------------
# Set the OS name and version macros if imake has defined them

# -------------------------------------------------------------------------
# platform-specific configuration parameters specific to this project
# edit sun.p-cf to change

# -------------------------------------------------------------------------
# platform-specific configuration parameters
# edit sun.cf to change

# platform:  sun.cf	96/06/21
# operating system:  SunOS 5.5 Generic sun4u

# -------------------------------------------------------------------------
# site-specific configuration parameters that go after the
# platform-specific parameters - edit site.def or site.p-def to change

# site:  Primate Center 89/12/22

# -------------------------------------------------------------------------
# project-specific system and project description parameters
# Edit Imake.p-params to change

           LIBDIR = $(LOCALUSRLIBDIR)/troffcvt
       PROJLIBDIR = $(LIBDIR)
      MACROLIBDIR = $(USRLIBDIR)/tmac
  MACROFILEPREFIX =

         STRING_H = <string.h>
 STRING_H_DEFINES = -D'STRING_H=$(STRING_H)'

       INCLUDESRC = $(TOP)/h
           LIBSRC = $(TOP)/lib
       LIBUNIXSRC = $(TOP)/libunix
        LIBMACSRC = $(TOP)/libmac
          UTILSRC = $(TOP)/util

           DOCSRC = $(TOP)/doc
           MANSRC = $(TOP)/man

         TCGENLIB = $(LOADERLIBPREFIX)$(LIBSRC)/libtcgen.a
      DEPTCGENLIB = $(LIBSRC)/libtcgen.a
        TCREADLIB = $(LOADERLIBPREFIX)$(LIBSRC)/libtcread.a
     DEPTCREADLIB = $(LIBSRC)/libtcread.a
        TCUNIXLIB = $(LOADERLIBPREFIX)$(LIBUNIXSRC)/libtcunix.a
     DEPTCUNIXLIB = $(LIBUNIXSRC)/libtcunix.a

# -------------------------------------------------------------------------
# Standard system and project description parameters
# Edit Imake.params to change

# -------------------------------------------------------------------------
# definitions common to all Makefiles

          PATHSEP = /

            SHELL = /bin/sh

  VARARGS_DEFINES = -DSTDARG -DVARARGS

              TOP = ../.
      CURRENT_DIR = ./doc

# Configuration file identification - name and release level

         CONFIGNAME = WRPRC2
 CONFIGMAJORRELEASE = 2
 CONFIGMINORRELEASE = 11
      CONFIGRELEASE = $(CONFIGMAJORRELEASE).$(CONFIGMINORRELEASE)
      CONFIGROOTDIR = /usr/local/lib/config

# Project identfication - name and release level

        PROJECTNAME = troffcvt
PROJECTMAJORRELEASE = 1
PROJECTMINORRELEASE = 04
     PROJECTRELEASE = $(PROJECTMAJORRELEASE).$(PROJECTMINORRELEASE)

           BINDIR = /usr/bin
        USRLIBDIR = /usr/lib
       LINTLIBDIR = $(USRLIBDIR)/lint

           ETCDIR = /usr/etc
      INCLUDEROOT = /usr/include
           TMPDIR = /usr/tmp
     SPOOLROOTDIR = /var/spool

     LOCALROOTDIR = /usr/local
      LOCALBINDIR = $(LOCALROOTDIR)/bin
   LOCALUSRLIBDIR = $(LOCALROOTDIR)/lib
  LOCALLINTLIBDIR = $(LOCALUSRLIBDIR)/lint
      LOCALADMDIR = $(LOCALROOTDIR)/adm
      LOCALETCDIR = $(LOCALROOTDIR)/etc
 LOCALINCLUDEROOT = $(LOCALROOTDIR)/include

          MANROOT = /usr/local/man
    MANSOURCEPATH = $(MANROOT)/man
       MAN1SUFFIX = 1
       MAN2SUFFIX = 2
       MAN3SUFFIX = 3
       MAN4SUFFIX = 4
       MAN5SUFFIX = 5
       MAN6SUFFIX = 6
       MAN7SUFFIX = 7
       MAN8SUFFIX = 8
       MANLSUFFIX = l
       MANNSUFFIX = n
        MANSUFFIX = $(MAN1SUFFIX)
          MAN1DIR = $(MANSOURCEPATH)$(MAN1SUFFIX)
          MAN2DIR = $(MANSOURCEPATH)$(MAN2SUFFIX)
          MAN3DIR = $(MANSOURCEPATH)$(MAN3SUFFIX)
          MAN4DIR = $(MANSOURCEPATH)$(MAN4SUFFIX)
          MAN5DIR = $(MANSOURCEPATH)$(MAN5SUFFIX)
          MAN6DIR = $(MANSOURCEPATH)$(MAN6SUFFIX)
          MAN7DIR = $(MANSOURCEPATH)$(MAN7SUFFIX)
          MAN8DIR = $(MANSOURCEPATH)$(MAN8SUFFIX)
          MANLDIR = $(MANSOURCEPATH)$(MANLSUFFIX)
          MANNDIR = $(MANSOURCEPATH)$(MANNSUFFIX)
           MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)

           IMBOOT = imboot
           DEPEND = makedepend
             MSUB = msub
        MKDIRHIER = mkdirhier

               AR = ar cq
               CC = cc
              CPP = /lib/cpp $(STD_CPP_DEFINES)
               LD = ld
             LINT = lint
      LINTLIBFLAG = -o
         LINTOPTS = -bh
         LINTLIBS =
               LN = ln -s
             MAKE = make
               MV = mv
               CP = cp
              CMP = cmp

               RM = rm -f
             TAGS = ctags
             PERL = perl
         PERLPATH = $(LOCALBINDIR)/perl
            PERL5 = perl5
        PERL5PATH = $(LOCALBINDIR)/perl5
              AWK = awk
              SED = sed
             COMM = comm
              CAT = cat
              COL = col
             SORT = sort
             UNIQ = uniq
            CHMOD = chmod
            CHDIR = cd
     SENDMAILPATH = /usr/lib/sendmail

# Important local programs

              FIGEN = figen
             DISTAR = distar

# Standard system include file directories, defines, etc.

  STD_CPP_DEFINES =

     STD_INCLUDES = -I$(LOCALINCLUDEROOT)
      STD_DEFINES = -Dsun -DSVR4
       STD_LDLIBS = -lsocket -lnsl -lw
      STD_LDFLAGS = -L$(LOCALUSRLIBDIR)

# Project-specific include file directories, defines, etc.

 PROJECT_INCLUDES = -I. -I$(INCLUDESRC)
  PROJECT_DEFINES = $(VARARGS_DEFINES) $(STRING_H_DEFINES)
   PROJECT_LDLIBS =
  PROJECT_LDFLAGS =

  LOADERLIBPREFIX =
      CDEBUGFLAGS = -O
        CCOPTIONS = -Xc

      ALLINCLUDES = $(INCLUDES) $(PROJECT_INCLUDES) $(STD_INCLUDES)
       ALLDEFINES = $(STD_DEFINES) $(PROJECT_DEFINES) $(DEFINES)
           CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLINCLUDES) $(ALLDEFINES)
        LINTFLAGS = $(LINTOPTS) -DLINT $(ALLINCLUDES) $(ALLDEFINES)
     EXTRA_LDLIBS = $(LDLIBS) $(PROJECT_LDLIBS) $(STD_LDLIBS)
           LDOPTS = $(CDEBUGFLAGS) $(CCOPTIONS) \
			$(LDFLAGS) $(PROJECT_LDFLAGS) $(STD_LDFLAGS)

           RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *.a .emacs_* tags TAGS make.log MakeOut

          INSTALL = /usr/ucb/install
         INSTCOPY = -c
        INSTSTRIP = -s
        INSTOWNER =
        INSTGROUP =
     INSTPROGMODE = -m 0755
  INSTUIDPROGMODE = -m 04755
  INSTGIDPROGMODE = -m 02755
 INSTUGIDPROGMODE = -m 06755
   INSTSCRIPTMODE = -m 0755
      INSTLIBMODE = -m 0644
      INSTDATMODE = -m 0444
      INSTMANMODE = -m 0444
      INSTINCMODE = -m 0444
    INSTPROGFLAGS = $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) $(INSTPROGMODE) $(INSTSTRIP)
 INSTUIDPROGFLAGS = $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) $(INSTUIDPROGMODE) $(INSTSTRIP)
 INSTGIDPROGFLAGS = $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) $(INSTGIDPROGMODE) $(INSTSTRIP)
INSTUGIDPROGFLAGS = $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) $(INSTUGIDPROGMODE) $(INSTSTRIP)
  INSTSCRIPTFLAGS = $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) $(INSTSCRIPTMODE)
     INSTLIBFLAGS = $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) $(INSTLIBMODE)
     INSTDATFLAGS = $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) $(INSTDATMODE)
     INSTMANFLAGS = $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) $(INSTMANMODE)
     INSTINCFLAGS = $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) $(INSTINCMODE)

           SOELIM = soelim
            TROFF = groff
            NROFF = nroff
              TBL = gtbl
              EQN = geqn
             NEQN = neqn
              PIC = pic
        MANMACROS = -man
         MEMACROS = -me
         MMMACROS = -mm
         MSMACROS = -ms
       MDOCMACROS = -mdoc
         TROFFCVT = troffcvt
           TBLCVT = tblcvt
       TROFF2HTML = troff2html
        TROFF2RTF = troff2rtf
           UNROFF = unroff
      TCMANMACROS = -man
       TCMEMACROS = -me
       TCMMMACROS = -mm
       TCMSMACROS = -ms
     TCMDOCMACROS = -mdoc

# Library link and dependency specifiers

      BIBSTUFFLIB = -lbibstuff
   DEPBIBSTUFFLIB =
           ETMLIB = -letm
        DEPETMLIB =
           FPLLIB = -lfpl
        DEPFPLLIB =
           FQLLIB = -lfql
        DEPFQLLIB =
         GECOSLIB = -lgecos
      DEPGECOSLIB =
        LOGMGRLIB = -llogmgr
     DEPLOGMGRLIB =
        MEMMGRLIB = -lmemmgr
     DEPMEMMGRLIB =
           NDSLIB = -lnds
        DEPNDSLIB =
           NIOLIB = -lnio
        DEPNIOLIB =
         ORDERLIB = -lorder
      DEPORDERLIB =
        SEQNUMLIB = -lseqnum
     DEPSEQNUMLIB =
        SIMSCRLIB = -lsimscr
     DEPSIMSCRLIB =
           TFMLIB = -ltfm
        DEPTFMLIB =
            TSLIB = -ltokenscan
         DEPTSLIB =
          PORTLIB = -lport
       DEPPORTLIB =

# Makefile-generating commands and parameters

   IMBOOT_DEFINES =
       IMBOOT_CMD = $(IMBOOT) -C $(CONFIGNAME) $(IMBOOT_DEFINES)

# -------------------------------------------------------------------------
# Project-specific imake rules
# Edit Imake.p-rules to change

# -------------------------------------------------------------------------
# Standard imake rules
# Edit Imake.rules to change

# -------------------------------------------------------------------------
# start of Imakefile

# troffcvt documentation Makefile

all::

documents-ps:: troffcvt.ps actions.ps output.ps \
	bugs.ps tc2rtf.ps tc2html.ps tblcvt.ps groff.ps frontend.ps

documents-html:: troffcvt.html actions.html output.html \
	bugs.html tc2rtf.html tc2html.html tblcvt.html groff.html frontend.html

documents-text:: documents-txt
documents-txt:: troffcvt.txt actions.txt output.txt \
	bugs.txt tc2rtf.txt tc2html.txt tblcvt.txt groff.txt frontend.txt

documents-rtf:: troffcvt.rtf actions.rtf output.rtf \
	bugs.rtf tc2rtf.rtf tc2html.rtf tblcvt.rtf groff.rtf frontend.rtf

troffcvt.ps:: tmac.wrprc troffcvt.ms
	$(SOELIM) tmac.wrprc troffcvt.ms  | $(TROFF) $(MSMACROS) $(TROFFOPTS) > troffcvt.ps

clean::
	$(RM) troffcvt.ps

help_aux::
	@echo "'make "troffcvt.ps"' to "format troffcvt.ps in PostScript

troffcvt.html::
	$(SOELIM) troffcvt.ms  | $(TROFF2HTML) -ms tmac.wrprc -a tc.wrprc-html $(TROFFOPTS) - >troffcvt.html

clean::
	$(RM) troffcvt.html

help_aux::
	@echo "'make "troffcvt.html"' to "format troffcvt.html in HTML

troffcvt.txt::
	$(SOELIM) troffcvt.ms  | $(UNROFF) -ms tmac.wrprc $(TROFFOPTS) - > troffcvt.txt

clean::
	$(RM) troffcvt.txt

help_aux::
	@echo "'make "troffcvt.txt"' to "format troffcvt.txt in plain text

troffcvt.rtf:: troffcvt.ms
	$(SOELIM) troffcvt.ms  | $(TROFF2RTF) $(TCMSMACROS) tmac.wrprc $(TROFFOPTS)> troffcvt.rtf

clean::
	$(RM) troffcvt.rtf

actions.ps:: tmac.wrprc actions.ms
	$(SOELIM) tmac.wrprc actions.ms  | $(TROFF) $(MSMACROS) $(TROFFOPTS) > actions.ps

clean::
	$(RM) actions.ps

help_aux::
	@echo "'make "actions.ps"' to "format actions.ps in PostScript

actions.html::
	$(SOELIM) actions.ms  | $(TROFF2HTML) -ms tmac.wrprc -a tc.wrprc-html $(TROFFOPTS) - >actions.html

clean::
	$(RM) actions.html

help_aux::
	@echo "'make "actions.html"' to "format actions.html in HTML

actions.txt::
	$(SOELIM) actions.ms  | $(UNROFF) -ms tmac.wrprc $(TROFFOPTS) - > actions.txt

clean::
	$(RM) actions.txt

help_aux::
	@echo "'make "actions.txt"' to "format actions.txt in plain text

actions.rtf:: actions.ms
	$(SOELIM) actions.ms  | $(TROFF2RTF) $(TCMSMACROS) tmac.wrprc $(TROFFOPTS)> actions.rtf

clean::
	$(RM) actions.rtf

output.ps:: tmac.wrprc output.ms
	$(SOELIM) tmac.wrprc output.ms |$(TBL) | $(TROFF) $(MSMACROS) $(TROFFOPTS) > output.ps

clean::
	$(RM) output.ps

help_aux::
	@echo "'make "output.ps"' to "format output.ps in PostScript

output.html::
	$(SOELIM) output.ms |$(TBLCVT) | $(TROFF2HTML) -ms tmac.wrprc -a tc.wrprc-html $(TROFFOPTS) - >output.html

clean::
	$(RM) output.html

help_aux::
	@echo "'make "output.html"' to "format output.html in HTML

output.txt::
	$(SOELIM) output.ms |$(TBLCVT) | $(UNROFF) -ms tmac.wrprc $(TROFFOPTS) - > output.txt

clean::
	$(RM) output.txt

help_aux::
	@echo "'make "output.txt"' to "format output.txt in plain text

output.rtf:: tmac.wrprc output.ms
	$(SOELIM) tmac.wrprc output.ms |$(TBLCVT) | $(TROFF2RTF) $(TCMSMACROS)  $(TROFFOPTS)> output.rtf

clean::
	$(RM) output.rtf

bugs.ps:: tmac.wrprc bugs.ms
	$(SOELIM) tmac.wrprc bugs.ms  | $(TROFF) $(MSMACROS) $(TROFFOPTS) > bugs.ps

clean::
	$(RM) bugs.ps

help_aux::
	@echo "'make "bugs.ps"' to "format bugs.ps in PostScript

bugs.html::
	$(SOELIM) bugs.ms  | $(TROFF2HTML) -ms tmac.wrprc -a tc.wrprc-html $(TROFFOPTS) - >bugs.html

clean::
	$(RM) bugs.html

help_aux::
	@echo "'make "bugs.html"' to "format bugs.html in HTML

bugs.txt::
	$(SOELIM) bugs.ms  | $(UNROFF) -ms tmac.wrprc $(TROFFOPTS) - > bugs.txt

clean::
	$(RM) bugs.txt

help_aux::
	@echo "'make "bugs.txt"' to "format bugs.txt in plain text

bugs.rtf:: bugs.ms
	$(SOELIM) bugs.ms  | $(TROFF2RTF) $(TCMSMACROS) tmac.wrprc $(TROFFOPTS)> bugs.rtf

clean::
	$(RM) bugs.rtf

tc2rtf.ps:: tmac.wrprc tc2rtf.ms
	$(SOELIM) tmac.wrprc tc2rtf.ms  | $(TROFF) $(MSMACROS) $(TROFFOPTS) > tc2rtf.ps

clean::
	$(RM) tc2rtf.ps

help_aux::
	@echo "'make "tc2rtf.ps"' to "format tc2rtf.ps in PostScript

tc2rtf.html::
	$(SOELIM) tc2rtf.ms  | $(TROFF2HTML) -ms tmac.wrprc -a tc.wrprc-html $(TROFFOPTS) - >tc2rtf.html

clean::
	$(RM) tc2rtf.html

help_aux::
	@echo "'make "tc2rtf.html"' to "format tc2rtf.html in HTML

tc2rtf.txt::
	$(SOELIM) tc2rtf.ms  | $(UNROFF) -ms tmac.wrprc $(TROFFOPTS) - > tc2rtf.txt

clean::
	$(RM) tc2rtf.txt

help_aux::
	@echo "'make "tc2rtf.txt"' to "format tc2rtf.txt in plain text

tc2rtf.rtf:: tc2rtf.ms
	$(SOELIM) tc2rtf.ms  | $(TROFF2RTF) $(TCMSMACROS) tmac.wrprc $(TROFFOPTS)> tc2rtf.rtf

clean::
	$(RM) tc2rtf.rtf

tc2html.ps:: tmac.wrprc tc2html.ms
	$(SOELIM) tmac.wrprc tc2html.ms  | $(TROFF) $(MSMACROS) $(TROFFOPTS) > tc2html.ps

clean::
	$(RM) tc2html.ps

help_aux::
	@echo "'make "tc2html.ps"' to "format tc2html.ps in PostScript

tc2html.html::
	$(SOELIM) tc2html.ms  | $(TROFF2HTML) -ms tmac.wrprc -a tc.wrprc-html $(TROFFOPTS) - >tc2html.html

clean::
	$(RM) tc2html.html

help_aux::
	@echo "'make "tc2html.html"' to "format tc2html.html in HTML

tc2html.txt::
	$(SOELIM) tc2html.ms  | $(UNROFF) -ms tmac.wrprc $(TROFFOPTS) - > tc2html.txt

clean::
	$(RM) tc2html.txt

help_aux::
	@echo "'make "tc2html.txt"' to "format tc2html.txt in plain text

tc2html.rtf:: tc2html.ms
	$(SOELIM) tc2html.ms  | $(TROFF2RTF) $(TCMSMACROS) tmac.wrprc $(TROFFOPTS)> tc2html.rtf

clean::
	$(RM) tc2html.rtf

tblcvt.ps:: tmac.wrprc tblcvt.ms
	$(SOELIM) tmac.wrprc tblcvt.ms |$(TBL) | $(TROFF) $(MSMACROS) $(TROFFOPTS) > tblcvt.ps

clean::
	$(RM) tblcvt.ps

help_aux::
	@echo "'make "tblcvt.ps"' to "format tblcvt.ps in PostScript

tblcvt.html::
	$(SOELIM) tblcvt.ms |$(TBLCVT) | $(TROFF2HTML) -ms tmac.wrprc -a tc.wrprc-html $(TROFFOPTS) - >tblcvt.html

clean::
	$(RM) tblcvt.html

help_aux::
	@echo "'make "tblcvt.html"' to "format tblcvt.html in HTML

tblcvt.txt::
	$(SOELIM) tblcvt.ms |$(TBLCVT) | $(UNROFF) -ms tmac.wrprc $(TROFFOPTS) - > tblcvt.txt

clean::
	$(RM) tblcvt.txt

help_aux::
	@echo "'make "tblcvt.txt"' to "format tblcvt.txt in plain text

tblcvt.rtf:: tblcvt.ms
	$(SOELIM) tblcvt.ms |$(TBLCVT) | $(TROFF2RTF) $(TCMSMACROS) tmac.wrprc $(TROFFOPTS)> tblcvt.rtf

clean::
	$(RM) tblcvt.rtf

groff.ps:: tmac.wrprc groff.ms
	$(SOELIM) tmac.wrprc groff.ms  | $(TROFF) $(MSMACROS) $(TROFFOPTS) > groff.ps

clean::
	$(RM) groff.ps

help_aux::
	@echo "'make "groff.ps"' to "format groff.ps in PostScript

groff.html::
	$(SOELIM) groff.ms  | $(TROFF2HTML) -ms tmac.wrprc -a tc.wrprc-html $(TROFFOPTS) - >groff.html

clean::
	$(RM) groff.html

help_aux::
	@echo "'make "groff.html"' to "format groff.html in HTML

groff.txt::
	$(SOELIM) groff.ms  | $(UNROFF) -ms tmac.wrprc $(TROFFOPTS) - > groff.txt

clean::
	$(RM) groff.txt

help_aux::
	@echo "'make "groff.txt"' to "format groff.txt in plain text

groff.rtf:: groff.ms
	$(SOELIM) groff.ms  | $(TROFF2RTF) $(TCMSMACROS) tmac.wrprc $(TROFFOPTS)> groff.rtf

clean::
	$(RM) groff.rtf

frontend.ps:: tmac.wrprc frontend.ms
	$(SOELIM) tmac.wrprc frontend.ms  | $(TROFF) $(MSMACROS) $(TROFFOPTS) > frontend.ps

clean::
	$(RM) frontend.ps

help_aux::
	@echo "'make "frontend.ps"' to "format frontend.ps in PostScript

frontend.html::
	$(SOELIM) frontend.ms  | $(TROFF2HTML) -ms tmac.wrprc -a tc.wrprc-html $(TROFFOPTS) - >frontend.html

clean::
	$(RM) frontend.html

help_aux::
	@echo "'make "frontend.html"' to "format frontend.html in HTML

frontend.txt::
	$(SOELIM) frontend.ms  | $(UNROFF) -ms tmac.wrprc $(TROFFOPTS) - > frontend.txt

clean::
	$(RM) frontend.txt

help_aux::
	@echo "'make "frontend.txt"' to "format frontend.txt in plain text

frontend.rtf:: frontend.ms
	$(SOELIM) frontend.ms  | $(TROFF2RTF) $(TCMSMACROS) tmac.wrprc $(TROFFOPTS)> frontend.rtf

clean::
	$(RM) frontend.rtf

# -------------------------------------------------------------------------
# common rules for all Makefiles

emptyrule::

clean::
	$(RM_CMD) "#"*

tags::
	$(TAGS) -w *.[ch]
	$(TAGS) -xw *.[ch] > TAGS

Makefile::
	$(IMBOOT_CMD) $(TOP) $(CURRENT_DIR)

help::
	@echo "'make Makefile' to rebuild Makefile"
	@echo "'make all' to make everything"
	@echo "'make target' to make a single target"
	@echo "'make depend' to generate header file dependencies"
	@echo "'make install' to install everything (except manual pages)"
	@echo "'make install.man' to install all manual pages"
	@echo "'make i.target' to install a single target"
	@echo "'make lint' to lint source files"
	@echo "'make lint.target' to lint source files for a single target"
	@echo "'make clean' to clean up"
	@make help_aux

help_aux::

# -------------------------------------------------------------------------
# empty rules for directories that do not have SUBDIRS

all::
depend::
lint::

install::
	@echo "install in $(CURRENT_DIR) done"

install.man::
	@echo "install.man in $(CURRENT_DIR) done"

Makefiles::

# -------------------------------------------------------------------------
# dependencies generated by makedepend