File: Imake.params

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 (1061 lines) | stat: -rw-r--r-- 25,052 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
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
/*****************************************************************************
 *                                                                           *
 * Imake.params - general system and project parameters                      *
 * This file section contains defaults for things that can be overridden in  *
 * Imake.p-params or the vendor and site files.                              *
 *                                                                           *
 ****************************************************************************/


/* General system characteristics, specific feature symbols */

#ifndef SystemV
#define SystemV                 NO      /* SYSV (R3) */
#endif
#ifndef SystemV4
#define SystemV4                NO      /* SVR4 */
#endif

#ifndef OSMajorVersion
#define OSMajorVersion          0
#endif
#ifndef OSMinorVersion
#define OSMinorVersion          0
#endif
#ifndef OSTeenyVersion
#define OSTeenyVersion          0
#endif

#ifndef ConstructMFLAGS
#if SystemV
#define ConstructMFLAGS		YES	/* build MFLAGS from MAKEFLAGS */
#else
#define ConstructMFLAGS		NO	/* don't */
#endif
#endif

#ifndef BourneShell			/* to force shell in Makefile */
#define BourneShell	/bin/sh
#endif


#ifndef HasExecableScripts
#if SystemV
#define	HasExecableScripts	NO	/* can't execute scripts with #! */
#else
#define	HasExecableScripts	YES
#endif
#endif
#ifndef HasGcc2
#define HasGcc2 NO
#endif
#ifndef HasGcc
#if defined(HasGcc2)
#define HasGcc HasGcc2
#else
#define HasGcc NO
#endif
#endif
#ifndef HasRanlibCmd
#if SystemV || SystemV4
#define HasRanlibCmd NO
#else
#define HasRanlibCmd YES
#endif
#endif
#ifndef HasSoelim
#define HasSoelim YES
#endif
#ifndef HasSymLinks
#define HasSymLinks YES
#endif
#ifndef HasStdarg
#define HasStdarg	NO		/* no stdarg.h */
#endif
#ifndef HasVarargs
#define HasVarargs	NO		/* no varargs.h */
#endif
#ifndef HasUnistdH
#if __STDC__
#define HasUnistdH YES
#else
#define HasUnistdH NO
#endif
#endif
#ifndef HasStringH
#define HasStringH YES
#endif
#ifndef HasVFork
#if SystemV
#define HasVFork NO
#else
#define HasVFork YES
#endif
#endif
#ifndef HasVoidSignalReturn
#if SystemV
#define HasVoidSignalReturn	YES
#else
#define HasVoidSignalReturn	NO	/* may or may not be true */
#endif
#endif


/*
 * TOPDIR, CURDIR are usually defined on the imake
 * command line and override these defaults
 */

#ifndef TOPDIR
#define TOPDIR .
#endif
#ifndef CURDIR
#define CURDIR .
#endif

/*
 * Configuration file identification -
 * name and release level of this set of configuration files
 */

#ifndef ConfigName
#define ConfigName	WRPRC2
#endif
#ifndef ConfigMajorRelease
#define ConfigMajorRelease	2
#endif
#ifndef ConfigMinorRelease
#define ConfigMinorRelease	11
#endif
#ifndef ConfigRelease
#define ConfigRelease	$(CONFIGMAJORRELEASE).$(CONFIGMINORRELEASE)
#endif

#ifndef ConfigRootDir
#define ConfigRootDir $(LOCALUSRLIBDIR)/config
#endif


/* Project name and release level -- override in project's Imake.p-params */

#ifndef ProjectWRPRC
#define ProjectWRPRC	$(CONFIGRELEASE)
#endif

#ifndef ProjectName
#define ProjectName	no-project-name
#endif
#ifndef ProjectMajorRelease
#define ProjectMajorRelease	0
#endif
#ifndef ProjectMinorRelease
#define ProjectMinorRelease	00
#endif
#ifndef ProjectRelease
#define ProjectRelease	$(PROJECTMAJORRELEASE).$(PROJECTMINORRELEASE)
#endif

/*
 * System layout - commonly-used directories
 */

/*
 * Standard system directories
 */

#ifndef BinDir
#define BinDir /usr/bin
#endif
#ifndef UsrLibDir
#define UsrLibDir /usr/lib
#endif
#ifndef LintLibDir
#define LintLibDir $(USRLIBDIR)/lint
#endif
#ifndef AdmDir
#define AdmDir /usr/adm
#endif
#ifndef EtcDir
#define EtcDir /usr/etc
#endif
#ifndef IncludeRoot			/* root of system include hierarchy */
#define IncludeRoot /usr/include
#endif
#ifndef TmpDir
#define TmpDir /tmp
#endif
#ifndef SpoolRootDir
#define SpoolRootDir /usr/spool
#endif

/*
 * Local system directories
 */

#ifndef LocalRootDir
#define LocalRootDir /usr/local
#endif
#ifndef LocalBinDir
#define LocalBinDir $(LOCALROOTDIR)/bin
#endif
#ifndef LocalUsrLibDir
#define LocalUsrLibDir $(LOCALROOTDIR)/lib
#endif
#ifndef LocalLintLibDir
#define LocalLintLibDir $(LOCALUSRLIBDIR)/lint
#endif
#ifndef LocalAdmDir
#define LocalAdmDir $(LOCALROOTDIR)/adm
#endif
#ifndef LocalEtcDir
#define LocalEtcDir $(LOCALROOTDIR)/etc
#endif
#ifndef LocalIncludeRoot
#define LocalIncludeRoot $(LOCALROOTDIR)/include
#endif


/*
 * Manual page layout stuff - a mess, due to the differences in the way
 * various systems arrange pages.
 *
 * Typical man sections are 1-8, l (ell), and n.  There are parameters for
 * each of these, and "generic" parameters that usually point to section
 * 1, l (ell), or n, and indicate the "typical" directory in which to
 * install program man pages.
 *
 * To point to /usr/local/man instead, set ManRoot in site.def or vendor.cf.
 *
 * If manual pages need to be preformatted when installed, override the
 * InstallManFile() rule in the vendor file and perhaps redefine ManSourcePath
 * with "cat" on the end rather than "man".
 */

#ifndef ManRoot				/* root of system manpage hierarchy */
#if SystemV4
#define ManRoot /usr/share/man
#else
#define ManRoot /usr/man
#endif
#endif
#ifndef ManSourcePath
#define ManSourcePath $(MANROOT)/man
#endif

#ifndef Man1Suffix
#define Man1Suffix	1		/* use just one tab or cpp will die */
#endif
#ifndef Man2Suffix
#define Man2Suffix	2		/* use just one tab or cpp will die */
#endif
#ifndef Man3Suffix
#define Man3Suffix	3		/* use just one tab or cpp will die */
#endif
#ifndef Man4Suffix
#define Man4Suffix	4		/* use just one tab or cpp will die */
#endif
#ifndef Man5Suffix
#define Man5Suffix	5		/* use just one tab or cpp will die */
#endif
#ifndef Man6Suffix
#define Man6Suffix	6		/* use just one tab or cpp will die */
#endif
#ifndef Man7Suffix
#define Man7Suffix	7		/* use just one tab or cpp will die */
#endif
#ifndef Man8Suffix
#define Man8Suffix	8		/* use just one tab or cpp will die */
#endif
#ifndef ManLSuffix
#define ManLSuffix	l		/* use just one tab or cpp will die */
#endif
#ifndef ManNSuffix
#define ManNSuffix	n		/* use just one tab or cpp will die */
#endif
#ifndef ManSuffix /* set this to where man pages are "usually" installed */
#define ManSuffix	$(MANLSUFFIX)	/* use just one tab or cpp will die */
#endif

#ifndef Man1Dir
#define Man1Dir $(MANSOURCEPATH)$(MAN1SUFFIX)
#endif
#ifndef Man2Dir
#define Man2Dir $(MANSOURCEPATH)$(MAN2SUFFIX)
#endif
#ifndef Man3Dir
#define Man3Dir $(MANSOURCEPATH)$(MAN3SUFFIX)
#endif
#ifndef Man4Dir
#define Man4Dir $(MANSOURCEPATH)$(MAN4SUFFIX)
#endif
#ifndef Man5Dir
#define Man5Dir $(MANSOURCEPATH)$(MAN5SUFFIX)
#endif
#ifndef Man6Dir
#define Man6Dir $(MANSOURCEPATH)$(MAN6SUFFIX)
#endif
#ifndef Man7Dir
#define Man7Dir $(MANSOURCEPATH)$(MAN7SUFFIX)
#endif
#ifndef Man8Dir
#define Man8Dir $(MANSOURCEPATH)$(MAN8SUFFIX)
#endif
#ifndef ManLDir
#define ManLDir $(MANSOURCEPATH)$(MANLSUFFIX)
#endif
#ifndef ManNDir
#define ManNDir $(MANSOURCEPATH)$(MANNSUFFIX)
#endif
#ifndef ManDir
#define ManDir $(MANSOURCEPATH)$(MANSUFFIX)
#endif

/* configuration programs */

#ifndef	ImbootCmd
#define	ImbootCmd imboot
#endif
#ifndef	DependCmd
#define	DependCmd makedepend
#endif
#ifndef	MkdirHierCmd
#define	MkdirHierCmd mkdirhier
#endif
#ifndef	MsubCmd
#define	MsubCmd msub
#endif


/* Project development commands */

#ifndef ArCmd
#define ArCmd ar cq
#endif
#ifndef CcCmd
#if HasGcc2
#define CcCmd gcc -fpcc-struct-return 
#else
#if HasGcc
#define CcCmd gcc -fstrength-reduce -fpcc-struct-return 
#else
#define CcCmd cc
#endif
#endif
#endif
#ifndef AsCmd
#define AsCmd as
#endif
#ifndef CppCmd
#define CppCmd /lib/cpp
#endif
#ifndef LdCmd
#define LdCmd ld
#endif
#ifndef LintCmd
#define LintCmd lint
#endif
#ifndef LintLibFlag
#if SystemV || SystemV4
#define LintLibFlag -o
#else
#define LintLibFlag -C
#endif
#endif
#ifndef LintOpts
#if SystemV || SystemV4
#define LintOpts -bh
#else
#define LintOpts -axz
#endif
#endif
#ifndef LintLibs
#define LintLibs /**/
#endif
#ifndef CpCmd
#define CpCmd cp
#endif
#ifndef LnCmd
#if HasSymLinks
#define LnCmd ln -s
#else
#define LnCmd ln /* or even cp */
#endif
#endif
#ifndef MakeCmd
#define MakeCmd make
#endif
#ifndef MvCmd
#define MvCmd mv
#endif
#ifndef CmpCmd
#define CmpCmd cmp
#endif
#ifndef RanlibCmd
#define RanlibCmd ranlib
#endif
#ifndef RanlibInstFlags
#define RanlibInstFlags /**/
#endif
#ifndef RmCmd
#define RmCmd rm -f
#endif
#ifndef TagsCmd
#define TagsCmd ctags
#endif
/* full pathnames to perl and perl5, for use on #! lines in scripts */
#ifndef PerlPath
#define PerlPath /usr/bin/perl
#endif
#ifndef Perl5Path
#define Perl5Path /usr/bin/perl5
#endif
/* names of perl and perl5, for command lines when pathname is unnecessary */
#ifndef PerlCmd
#define PerlCmd perl
#endif
#ifndef Perl5Cmd
#define Perl5Cmd perl5
#endif
#ifndef AwkCmd
#define AwkCmd awk
#endif
#ifndef SedCmd
#define SedCmd sed
#endif
#ifndef CommCmd
#define CommCmd comm
#endif
#ifndef CatCmd
#define CatCmd cat
#endif
#ifndef ColCmd
#define ColCmd col
#endif
#ifndef SortCmd
#define SortCmd sort
#endif
#ifndef UniqCmd
#define UniqCmd uniq
#endif
#ifndef ChmodCmd
#define ChmodCmd chmod
#endif
#ifndef ChdirCmd
#define ChdirCmd cd		/* or maybe chdir */
#endif
#ifndef SendmailPath
#define SendmailPath /usr/lib/sendmail
#endif


/* Important local programs */

#ifndef FigenCmd
#define FigenCmd figen
#endif
#ifndef DistarCmd
#define DistarCmd distar
#endif

/*
 * Various flags
 */

#ifndef Osuf
#define Osuf o
#endif
#ifndef StandardCppDefines
#define StandardCppDefines /**/
#endif
#ifndef StandardIncludes
#define StandardIncludes -I$(LOCALINCLUDEROOT)
#endif
#ifndef StandardDefines
#if SystemV4
#define StandardDefines -DSVR4
#else
#if SystemV
#define StandardDefines -DSYSV
#else
#define StandardDefines /**/
#endif
#endif
#endif
#ifndef StandardLoadLibs
#if SystemV4
#define StandardLoadLibs -lsocket -lnsl -lw
#else
#define StandardLoadLibs /**/
#endif
#endif
#ifndef StandardLoadFlags
#define StandardLoadFlags -L$(LOCALUSRLIBDIR)
#endif

#ifndef ProjectIncludes
#define	ProjectIncludes	/**/
#endif
#ifndef ProjectDefines
#define	ProjectDefines /**/
#endif
#ifndef ProjectLoadLibs
#define ProjectLoadLibs /**/
#endif
#ifndef ProjectLoadFlags
#define ProjectLoadFlags /**/
#endif

#ifndef DefaultCDebugFlags
#define DefaultCDebugFlags -O
#endif
#ifndef DefaultCCOptions
#define DefaultCCOptions /* as nothing: this is for floating point, etc. */
#endif
#ifndef LoaderLibPrefix
#define LoaderLibPrefix /**/
#endif

#ifndef FilesToClean
#define FilesToClean *.CKP *.ln *.BAK *.bak *.o core errs ,* *.a .emacs_* tags TAGS make.log MakeOut 
#endif

/* Installation support */

#ifndef InstallCmd
#if SystemV || SystemV4
#define InstallCmd bsdinst
#else
#define InstallCmd install
#endif
#endif

#ifndef InstCopy
#define InstCopy -c	/* redefine as nothing to disable */
#endif

#ifndef InstStrip
#define InstStrip -s	/* redefine as nothing to disable */
#endif

#ifndef InstOwner
#define InstOwner /* as nothing */
#endif
#ifndef InstGroup
#define InstGroup /* as nothing */
#endif

#ifndef InstProgMode
#define InstProgMode -m 0755
#endif
#ifndef InstUidProgMode
#define InstUidProgMode -m 04755
#endif
#ifndef InstGidProgMode
#define InstGidProgMode -m 02755
#endif
#ifndef InstUGidProgMode
#define InstUGidProgMode -m 06755
#endif
#ifndef InstScriptMode
#define InstScriptMode -m 0755
#endif
#ifndef InstLibMode
#define InstLibMode -m 0644
#endif
#ifndef InstDatMode
#define InstDatMode -m 0444
#endif
#ifndef InstManMode
#define InstManMode -m 0444
#endif
#ifndef InstIncMode
#define InstIncMode -m 0444
#endif

/*
 * Useful flag combinations.
 * Strip flag is used only to install binaries (avoids message from install
 * about stripping non-binaries).
 */

#ifndef InstProgFlags
#define InstProgFlags $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) $(INSTPROGMODE)
#endif
#ifndef InstUidProgFlags
#define InstUidProgFlags $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) $(INSTUIDPROGMODE)
#endif
#ifndef InstGidProgFlags
#define InstGidProgFlags $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) $(INSTGIDPROGMODE)
#endif
#ifndef InstUGidProgFlags
#define InstUGidProgFlags $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) $(INSTUGIDPROGMODE)
#endif
#ifndef InstScriptFlags
#define InstScriptFlags $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) $(INSTSCRIPTMODE)
#endif
#ifndef InstLibFlags
#define InstLibFlags $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) $(INSTLIBMODE)
#endif
#ifndef InstDatFlags
#define InstDatFlags $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) $(INSTDATMODE)
#endif
#ifndef InstManFlags
#define InstManFlags $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) $(INSTMANMODE)
#endif
#ifndef InstIncFlags
#define InstIncFlags $(INSTCOPY) $(INSTOWNER) $(INSTGROUP) $(INSTINCMODE)
#endif


/* Document preparation stuff */

#ifndef SoelimCmd
#if HasSoelim
#define	SoelimCmd	soelim
#else
#define SoelimCmd	cat		/* fake it */
#endif
#endif
#ifndef TroffCmd
#define	TroffCmd	troff
#endif
#ifndef NroffCmd
#define	NroffCmd	nroff
#endif
#ifndef TblCmd
#define	TblCmd	tbl
#endif
#ifndef EqnCmd
#define	EqnCmd	eqn
#endif
#ifndef NeqnCmd
#define	NeqnCmd	neqn
#endif
#ifndef PicCmd
#define	PicCmd	pic
#endif
#ifndef ManMacros
#define	ManMacros	-man
#endif
#ifndef MeMacros
#define	MeMacros	-me
#endif
#ifndef MmMacros
#define	MmMacros	-mm
#endif
#ifndef MsMacros
#define	MsMacros	-ms
#endif
#ifndef MdocMacros
#define	MdocMacros	-mdoc
#endif

#ifndef TroffcvtCmd
#define	TroffcvtCmd	troffcvt
#endif
#ifndef TblcvtCmd
#define	TblcvtCmd	tblcvt
#endif
#ifndef Troff2HtmlCmd
#define	Troff2HtmlCmd	troff2html
#endif
#ifndef Troff2RtfCmd
#define	Troff2RtfCmd	troff2rtf
#endif
#ifndef UnroffCmd
#define	UnroffCmd	unroff
#endif
#ifndef TcManMacros
#define	TcManMacros	-man
#endif
#ifndef TcMeMacros
#define	TcMeMacros	-me
#endif
#ifndef TcMmMacros
#define	TcMmMacros	-mm
#endif
#ifndef TcMsMacros
#define	TcMsMacros	-ms
#endif
#ifndef TcMdocMacros
#define	TcMdocMacros	-mdoc
#endif

/*
 * Libraries often used to build WRPRC projects.
 *
 * For every library, there is a XXXLIB variable for link purposes and a
 * DEPXXXLIB variable for dependency purposes.
 *
 * The default values below assume the libraries are already installed
 * as system libraries.  If the current project is one that builds one
 * of these libraries, its Imake.p-params should override the XxxLib and
 * DepXxxLib macros to point to the library's location within the project.
 */

#ifndef BibStuffLib	/* refer record manipulation library */
#define BibStuffLib -lbibstuff
#endif
#ifndef DepBibStuffLib
#define DepBibStuffLib /**/
#endif
#ifndef EtmLib		/* Exception and Termination Manager library */
#define EtmLib -letm
#endif
#ifndef DepEtmLib
#define DepEtmLib /**/
#endif
#ifndef FplLib		/* Form Processing library */
#define FplLib -lfpl
#endif
#ifndef DepFplLib
#define DepFplLib /**/
#endif
#ifndef FqlLib		/* Form Query library */
#define FqlLib -lfql
#endif
#ifndef DepFqlLib
#define DepFqlLib /**/
#endif
#ifndef GecosLib	/* GECOS library */
#define GecosLib -lgecos
#endif
#ifndef DepGecosLib
#define DepGecosLib /**/
#endif
#ifndef LogMgrLib	/* simple Log Manager library */
#define LogMgrLib -llogmgr
#endif
#ifndef DepLogMgrLib
#define DepLogMgrLib /**/
#endif
#ifndef MemMgrLib	/* simple Memory Manager library */
#define MemMgrLib -lmemmgr
#endif
#ifndef DepMemMgrLib
#define DepMemMgrLib /**/
#endif
#ifndef NdsLib		/* Network Database Service library */
#define NdsLib -lnds
#endif
#ifndef DepNdsLib
#define DepNdsLib /**/
#endif
#ifndef NioLib		/* Network I/O library */
#define NioLib -lnio
#endif
#ifndef DepNioLib
#define DepNioLib /**/
#endif
#ifndef OrderLib	/* Order processing library */
#define OrderLib -lorder
#endif
#ifndef DepOrderLib
#define DepOrderLib /**/
#endif
#ifndef SeqNumLib	/* Sequence number library */
#define SeqNumLib -lseqnum
#endif
#ifndef DepSeqNumLib
#define DepSeqNumLib /**/
#endif
#ifndef SimScrLib	/* Simple Screen-management library */
#define SimScrLib -lsimscr
#endif
#ifndef DepSimScrLib
#define DepSimScrLib /**/
#endif
#ifndef TfmLib		/* Temporary File Manager library */
#define TfmLib -ltfm
#endif
#ifndef DepTfmLib
#define DepTfmLib /**/
#endif
#ifndef TsLib		/* Token Scanning library */
#define TsLib -ltokenscan
#endif
#ifndef DepTsLib
#define DepTsLib /**/
#endif
#ifndef PortLib		/* Portability library */
#define PortLib -lport
#endif
#ifndef DepPortLib
#define DepPortLib /**/
#endif


XCOMM -------------------------------------------------------------------------
XCOMM definitions common to all Makefiles

          PATHSEP = /			/* for building filenames */

#if ConstructMFLAGS
           MFLAGS = -$(MAKEFLAGS)
#endif

            SHELL = BourneShell

#if HasStdarg
#define xx_stdarg_defines_xx -DSTDARG
#else
#define xx_stdarg_defines_xx
#endif
#if HasVarargs
#define xx_varargs_defines_xx -DVARARGS
#else
#define xx_varargs_defines_xx
#endif

  VARARGS_DEFINES = xx_stdarg_defines_xx xx_varargs_defines_xx

#undef xx_stdarg_defines_xx
#undef xx_varargs_defines_xx

#if !HasVoidSignalReturn
   SIGNAL_DEFINES = -DSIGNALRETURNSINT
#endif

              TOP = TOPDIR
      CURRENT_DIR = CURDIR

XCOMM Configuration file identification - name and release level

         CONFIGNAME = ConfigName
 CONFIGMAJORRELEASE = ConfigMajorRelease
 CONFIGMINORRELEASE = ConfigMinorRelease
      CONFIGRELEASE = ConfigRelease
      CONFIGROOTDIR = ConfigRootDir


XCOMM Project identfication - name and release level

        PROJECTNAME = ProjectName
PROJECTMAJORRELEASE = ProjectMajorRelease
PROJECTMINORRELEASE = ProjectMinorRelease
     PROJECTRELEASE = ProjectRelease

           BINDIR = BinDir		/* user program directory */
        USRLIBDIR = UsrLibDir		/* system library directory */
       LINTLIBDIR = LintLibDir		/* lint library directory
           ADMDIR = AdmDir		/* administrative file directory */
           ETCDIR = EtcDir		/* server directory */
      INCLUDEROOT = IncludeRoot		/* top of system include tree */
           TMPDIR = TmpDir		/* temporary file directory */
     SPOOLROOTDIR = SpoolRootDir	/* root of spool hierarchy */

     LOCALROOTDIR = LocalRootDir
      LOCALBINDIR = LocalBinDir
   LOCALUSRLIBDIR = LocalUsrLibDir
  LOCALLINTLIBDIR = LocalLintLibDir
      LOCALADMDIR = LocalAdmDir
      LOCALETCDIR = LocalEtcDir
 LOCALINCLUDEROOT = LocalIncludeRoot

          MANROOT = ManRoot		/* top of manual page tree */
    MANSOURCEPATH = ManSourcePath	/* prefix for man page sources */
       MAN1SUFFIX = Man1Suffix
       MAN2SUFFIX = Man2Suffix
       MAN3SUFFIX = Man3Suffix
       MAN4SUFFIX = Man4Suffix
       MAN5SUFFIX = Man5Suffix
       MAN6SUFFIX = Man6Suffix
       MAN7SUFFIX = Man7Suffix
       MAN8SUFFIX = Man8Suffix
       MANLSUFFIX = ManLSuffix
       MANNSUFFIX = ManNSuffix
        MANSUFFIX = ManSuffix
          MAN1DIR = Man1Dir		/* man pages for section 1 */
          MAN2DIR = Man2Dir		/* man pages for section 2 */
          MAN3DIR = Man3Dir		/* man pages for section 3 */
          MAN4DIR = Man4Dir		/* man pages for section 4 */
          MAN5DIR = Man5Dir		/* man pages for section 5 */
          MAN6DIR = Man6Dir		/* man pages for section 6 */
          MAN7DIR = Man7Dir		/* man pages for section 7 */
          MAN8DIR = Man8Dir		/* man pages for section 8 */
          MANLDIR = ManLDir		/* man pages for section l */
          MANNDIR = ManNDir		/* man pages for section n */
           MANDIR = ManDir		/* man pages for commands */

           IMBOOT = ImbootCmd
           DEPEND = DependCmd
             MSUB = MsubCmd
        MKDIRHIER = MkdirHierCmd

               AR = ArCmd
               CC = CcCmd
              CPP = CppCmd $(STD_CPP_DEFINES)		/* simple filters */
               LD = LdCmd
             LINT = LintCmd
      LINTLIBFLAG = LintLibFlag
         LINTOPTS = LintOpts
         LINTLIBS = LintLibs
               LN = LnCmd
             MAKE = MakeCmd
               MV = MvCmd
               CP = CpCmd
              CMP = CmpCmd
#if HasRanlibCmd
           RANLIB = RanlibCmd
  RANLIBINSTFLAGS = RanlibInstFlags
#endif
               RM = RmCmd
             TAGS = TagsCmd
             PERL = PerlCmd
         PERLPATH = PerlPath
            PERL5 = Perl5Cmd
        PERL5PATH = Perl5Path
              AWK = AwkCmd
              SED = SedCmd
             COMM = CommCmd
              CAT = CatCmd
              COL = ColCmd
             SORT = SortCmd
             UNIQ = UniqCmd
            CHMOD = ChmodCmd
            CHDIR = ChdirCmd
     SENDMAILPATH = SendmailPath


XCOMM Important local programs

              FIGEN = FigenCmd
             DISTAR = DistarCmd

/*
 * STD_INCLUDES contains system-specific includes that apply to all
 * builds for all projects.  Override by setting StandardIncludes in
 * Imake.p-params, site.def or site.p-def.
 * PROJECT_INCLUDES contains project-specific includes that apply to
 * all builds for a particular project.  Override by setting
 * ProjectIncludes in Imake.p-params.
 * INCLUDES contains Imakefile-specific includes.  Has no default value;
 * use by setting INCLUDES in Imakefile.
 *
 * STD_DEFINES, PROJECT_DEFINES, and DEFINES are similar, except they
 * are for -D's and -U's, rather than -I's.  Override by setting
 * StandardDefines in Imake.p-params, site.def or site.p-def, ProjectDefines in
 * Imake.p-params, or DEFINES in Imakefile.
 *
 * STD_LDLIBS, PROJECT_LDLIBS, and LDLIBS are similar, except they are
 * for link libraries.
 *
 * STD_LDFLAGS, PROJECT_LDFLAGS, and LDFLAGS are similar, except they are
 * for loader flags.
 */

XCOMM Standard system include file directories, defines, etc.

  STD_CPP_DEFINES = StandardCppDefines

     STD_INCLUDES = StandardIncludes
      STD_DEFINES = StandardDefines
       STD_LDLIBS = StandardLoadLibs
      STD_LDFLAGS = StandardLoadFlags

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

 PROJECT_INCLUDES = ProjectIncludes
  PROJECT_DEFINES = ProjectDefines
   PROJECT_LDLIBS = ProjectLoadLibs
  PROJECT_LDFLAGS = ProjectLoadFlags

  LOADERLIBPREFIX = LoaderLibPrefix
      CDEBUGFLAGS = DefaultCDebugFlags
        CCOPTIONS = DefaultCCOptions	/* to distinguish from param flags */

      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) FilesToClean

          INSTALL = InstallCmd
         INSTCOPY = InstCopy
        INSTSTRIP = InstStrip
        INSTOWNER = InstOwner
        INSTGROUP = InstGroup
     INSTPROGMODE = InstProgMode
  INSTUIDPROGMODE = InstUidProgMode
  INSTGIDPROGMODE = InstGidProgMode
 INSTUGIDPROGMODE = InstUGidProgMode
   INSTSCRIPTMODE = InstScriptMode
      INSTLIBMODE = InstLibMode
      INSTDATMODE = InstDatMode
      INSTMANMODE = InstManMode
      INSTINCMODE = InstIncMode
    INSTPROGFLAGS = InstProgFlags
 INSTUIDPROGFLAGS = InstUidProgFlags
 INSTGIDPROGFLAGS = InstGidProgFlags
INSTUGIDPROGFLAGS = InstUGidProgFlags
  INSTSCRIPTFLAGS = InstScriptFlags
     INSTLIBFLAGS = InstLibFlags
     INSTDATFLAGS = InstDatFlags
     INSTMANFLAGS = InstManFlags
     INSTINCFLAGS = InstIncFlags

           SOELIM = SoelimCmd
            TROFF = TroffCmd
            NROFF = NroffCmd
              TBL = TblCmd
              EQN = EqnCmd
             NEQN = NeqnCmd
              PIC = PicCmd
        MANMACROS = ManMacros
         MEMACROS = MeMacros
         MMMACROS = MmMacros
         MSMACROS = MsMacros
       MDOCMACROS = MdocMacros
         TROFFCVT = TroffcvtCmd
           TBLCVT = TblcvtCmd
       TROFF2HTML = Troff2HtmlCmd
        TROFF2RTF = Troff2RtfCmd
           UNROFF = UnroffCmd
      TCMANMACROS = TcManMacros
       TCMEMACROS = TcMeMacros
       TCMMMACROS = TcMmMacros
       TCMSMACROS = TcMsMacros
     TCMDOCMACROS = TcMdocMacros


XCOMM Library link and dependency specifiers

      BIBSTUFFLIB = BibStuffLib
   DEPBIBSTUFFLIB = DepBibStuffLib
           ETMLIB = EtmLib
        DEPETMLIB = DepEtmLib
           FPLLIB = FplLib
        DEPFPLLIB = DepFplLib
           FQLLIB = FqlLib
        DEPFQLLIB = DepFqlLib
         GECOSLIB = GecosLib
      DEPGECOSLIB = DepGecosLib
        LOGMGRLIB = LogMgrLib
     DEPLOGMGRLIB = DepLogMgrLib
        MEMMGRLIB = MemMgrLib
     DEPMEMMGRLIB = DepMemMgrLib
           NDSLIB = NdsLib
        DEPNDSLIB = DepNdsLib
           NIOLIB = NioLib
        DEPNIOLIB = DepNioLib
         ORDERLIB = OrderLib
      DEPORDERLIB = DepOrderLib
        SEQNUMLIB = SeqNumLib
     DEPSEQNUMLIB = DepSeqNumLib
        SIMSCRLIB = SimScrLib
     DEPSIMSCRLIB = DepSimScrLib
           TFMLIB = TfmLib
        DEPTFMLIB = DepTfmLib
            TSLIB = TsLib
         DEPTSLIB = DepTsLib
          PORTLIB = PortLib
       DEPPORTLIB = DepPortLib

XCOMM Makefile-generating commands and parameters

   IMBOOT_DEFINES = /* leave blank, for command line use only */
       IMBOOT_CMD = $(IMBOOT) -C $(CONFIGNAME) $(IMBOOT_DEFINES)