]> git.sesse.net Git - rdpsrv/blob - Xserver/config/cf/Imake.tmpl
Import X server from vnc-3.3.7.
[rdpsrv] / Xserver / config / cf / Imake.tmpl
1 XCOMM ----------------------------------------------------------------------
2 XCOMM Makefile generated from IMAKE_TEMPLATE and INCLUDE_IMAKEFILE
3 XCOMM $TOG: Imake.tmpl /main/245 1997/05/20 10:05:47 kaleb $
4 XCOMM
5 XCOMM
6 XCOMM
7 XCOMM
8 XCOMM $XFree86: xc/config/cf/Imake.tmpl,v 3.32.2.8 1998/02/08 11:19:24 dawes Exp $
9 XCOMM ----------------------------------------------------------------------
10
11 /*
12  * generic imake template
13  */
14
15 /*
16  * Modify Imake.cf when adding a new architecture, do not modify this file.
17  * Platform-specific parameters may be set in the appropriate <vendor>.cf
18  * configuration files.  Site-specific parameters should be set in the file
19  * site.def.  Full rebuilds are recommended if any parameters are changed.
20  * If your C preprocessor does not define any unique symbols, you will need
21  * to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
22  * "make World" the first time).
23  */
24
25 #define ImakeConfigRelease 6
26
27 #define YES     1
28 #define NO      0
29
30 /* Ensure that "all" is the default target in the Makefile. */
31 all::
32
33 .SUFFIXES: .i
34
35 #include <Imake.cf>
36
37 XCOMM -----------------------------------------------------------------------
38 XCOMM site-specific configuration parameters that need to come before
39 XCOMM the platform-specific parameters - edit site.def to change
40 #define BeforeVendorCF
41 #include <site.def>
42 #undef BeforeVendorCF
43
44 #if defined(HasGcc2) && !defined(HasGcc)
45 # define HasGcc HasGcc2
46 #endif
47
48 #ifndef HasClearmake
49 # define HasClearmake NO
50 #endif
51
52 /*
53  * ClearmakeOSName - insert the current OS type into the clearmake
54  * build script, so .o files from different platforms cannot be winked in.
55  * If clearmake finds the build script for two .o files is the same, it
56  * will share the .o, even across different architectures.  Inserting the
57  * O/S name into the build script in a comment prevents unwanted sharing.
58  * Note the trailing double-@ in the macro: end a line using this macro
59  * with backslash without the double-@ usually used.
60  * Like this:
61  *
62  * #define SomeRule() @@\
63  *     something or other @@\
64  *     ClearmakeOSName \
65  *     something else @@\
66  *     and more
67  */
68 #ifndef ClearmakeOSName
69 # if HasClearmake
70 #  define ClearmakeOSName @ XCOMM $(OSNAME) @@
71 # else
72 #  define ClearmakeOSName /**/
73 # endif
74 #endif
75
76 #if HasClearmake
77 # ifndef MakeCmd
78 #  define MakeCmd clearmake
79 # endif
80 #endif
81
82 #if HasClearmake
83 XCOMM ----------------------------------------------------------------------
84 .c.o:
85         ClearmakeOSName $(CC) -c $(CFLAGS) $*.c
86 #endif
87
88 XCOMM ----------------------------------------------------------------------
89 XCOMM platform-specific configuration parameters - edit MacroFile to change
90 #include MacroIncludeFile
91
92 XCOMM ----------------------------------------------------------------------
93 XCOMM site-specific configuration parameters that go after
94 XCOMM the platform-specific parameters - edit site.def to change
95 #define AfterVendorCF
96 #include <site.def>
97 #undef AfterVendorCF
98
99 /*
100  * defaults for various generic parameters; set in site.def if needed
101  */
102
103 /* the following are needed before we can include Imake.rules */
104
105 #ifndef HasVarDirectory
106 #define HasVarDirectory         NO
107 #endif
108 #ifndef HasSymLinks
109 #define HasSymLinks             YES
110 #endif
111 #ifndef SystemV
112 #define SystemV                 NO      /* SYSV (R3) */
113 #endif
114 #ifndef SystemV4
115 #define SystemV4                NO      /* SVR4 */
116 #endif
117 #ifndef HasCodeCenter
118 #define HasCodeCenter           NO
119 #endif
120 #ifndef HasSentinel
121 #define HasSentinel             NO
122 #endif
123 #ifndef HasPurify
124 #define HasPurify               NO
125 #endif
126 #ifndef HasTestCenter
127 #define HasTestCenter           NO
128 #endif
129 #ifndef HasBsdMake
130 #define HasBsdMake              NO
131 #endif
132 #ifndef HasGnuMake
133 #define HasGnuMake              NO
134 #endif
135 #ifndef HasParallelMake
136 #define HasParallelMake         NO
137 #endif
138 #ifndef RemoveTargetProgramByMoving
139 #define RemoveTargetProgramByMoving NO
140 #endif
141 #ifndef DoRanlibCmd
142 #if SystemV || SystemV4
143 #define DoRanlibCmd NO
144 #else
145 #define DoRanlibCmd YES
146 #endif
147 #endif
148 #ifndef ExecableScripts
149 #if SystemV
150 #define ExecableScripts         NO
151 #else
152 #define ExecableScripts         YES     /* kernel exec() can handle #! */
153 #endif
154 #endif
155
156 #ifndef HasMakefileSafeInclude      /* -include or sinclude in a Makefile */
157 #if HasClearmake || HasBsdMake
158 #define HasMakefileSafeInclude YES
159 #else
160 #define HasMakefileSafeInclude NO   /* see also vendor-specific .cf files */
161 #endif
162 #endif
163
164 #include <Imake.rules>
165
166 #ifndef HasSharedLibraries
167 #define HasSharedLibraries NO
168 #endif
169 #ifndef OSMajorVersion
170 #define OSMajorVersion          0
171 #endif
172 #ifndef OSMinorVersion
173 #define OSMinorVersion          0
174 #endif
175 #ifndef OSTeenyVersion
176 #define OSTeenyVersion          0
177 #endif
178 #ifndef UnalignedReferencesAllowed
179 #define UnalignedReferencesAllowed NO   /* if arbitrary deref is okay */
180 #endif
181 #ifndef AvoidNullMakeCommand
182 #if !HasBsdMake
183 #define AvoidNullMakeCommand NO
184 #else
185 #define AvoidNullMakeCommand YES
186 #endif
187 #endif
188 #if AvoidNullMakeCommand
189 #ifndef NullMakeCommand
190 #define NullMakeCommand         @ echo -n
191 #endif
192 /*
193  * An obscure bug in BSD4.3's original make causes it not to recognize a
194  * macro definition if the macro name starts with a non-alpha and in
195  * column one.
196  */
197  _NULLCMD_ = NullMakeCommand
198 #endif
199
200 #ifndef CrossCompiling
201 #define CrossCompiling          NO
202 #endif
203 #ifndef BourneShell                     /* to force shell in makefile */
204 #define BourneShell             /bin/sh
205 #endif
206 #ifndef ConstructMFLAGS
207 #if SystemV
208 #define ConstructMFLAGS         YES     /* build MFLAGS from MAKEFLAGS */
209 #else
210 #define ConstructMFLAGS         NO      /* build MFLAGS from MAKEFLAGS */
211 #endif
212 #endif
213
214 #ifndef ConstructMAKEFLAGS              /* needed on old BSD-based? */
215 #define ConstructMAKEFLAGS      NO      /* build MAKEFLAGS from MFLAGS */
216 #endif
217
218 #ifndef HasLargeTmp
219 #define HasLargeTmp             NO      /* be paranoid */
220 #endif
221
222 #ifndef HasBSD44Sockets
223 #define HasBSD44Sockets         NO
224 #endif
225 #ifndef HasSockets
226 #define HasSockets              YES
227 #endif
228 #ifndef HasStreams
229 #define HasStreams              !HasSockets
230 #endif
231 #ifndef HasDECnet
232 #define HasDECnet               NO
233 #endif
234 #ifndef HasPoll
235 #if SystemV || SystemV4
236 #define HasPoll                 YES
237 #else
238 #define HasPoll                 NO
239 #endif
240 #endif
241 #ifndef HasVFork
242 #if SystemV
243 #define HasVFork                NO      /* not yet... */
244 #else
245 #define HasVFork                YES
246 #endif
247 #endif
248 #ifndef HasSetUserContext
249 #define HasSetUserContext       NO
250 #endif
251 #ifndef HasLibCrypt
252 #define HasLibCrypt             NO
253 #endif
254 #ifndef HasPutenv
255 #define HasPutenv               NO      /* assume not */
256 #endif
257 #ifndef HasVoidSignalReturn
258 #define HasVoidSignalReturn     YES     /* assume yes */
259 #endif
260 #ifndef HasBsearch
261 #define HasBsearch              YES     /* assume yes */
262 #endif
263 #ifndef HasSnprintf
264 #define HasSnprintf             NO      /* assume not */
265 #endif
266 #ifndef HasMkstemp
267 #define HasMkstemp              NO      /* assume not */
268 #endif
269 #ifndef HasFortran
270 #define HasFortran              NO
271 #endif
272 #ifndef HasCplusplus
273 #if HasGcc2ForCplusplus
274 #define HasCplusplus            YES
275 #else
276 #define HasCplusplus            NO
277 #endif
278 #endif
279 #ifndef HasNdbm
280 #define HasNdbm                 NO
281 #endif
282 #ifndef HasSecureRPC
283 #define HasSecureRPC            NO      /* if you have Secure RPC */
284 #endif
285 #ifndef HasKrb5
286 #define HasKrb5                 NO      /* if you have Kerberos V5 */
287 #endif
288 #ifndef HasLatex
289 #define HasLatex                YES
290 #endif
291 #ifndef HasShm
292 #if SystemV || SystemV4
293 #define HasShm                  YES
294 #else
295 #define HasShm                  NO
296 #endif
297 #endif
298 #ifndef HasCbrt
299 #define HasCbrt                 YES
300 #endif
301 #ifndef HasFfs
302 #define HasFfs                  YES
303 #endif
304 #ifndef HasZlib
305 #define HasZlib                 NO
306 #endif
307 #if !HasZlib            /* if OS doesn't have it, we'll build it */
308 #undef GzipLibrary      /* GzipLibrary was valid only if HasZlib */
309 #endif
310 #ifndef GzipLibrary     /* if OS config didn't define it, assume it's -lz */
311 #define GzipLibrary -lz
312 #endif
313 #if HasKrb5
314 #ifndef Krb5Includes
315 #define Krb5Includes -I/krb5/include
316 #endif
317 #ifndef Krb5Libraries
318 #define Krb5Libraries -L/krb5/lib -L/usr/isode/lib -lkrb5 -lcrypto -lisode -lcom_err -ldbm
319 #endif
320 #else
321 #undef Krb5Includes
322 #define Krb5Includes /**/
323 #undef Krb5Libraries
324 #define Krb5Libraries /**/
325 #endif
326 #ifndef UseGnuMalloc
327 #define UseGnuMalloc            NO
328 #endif
329 #ifndef GnuMallocLibrary
330 #define GnuMallocLibrary -lgmalloc
331 #endif
332 #ifndef MallocLibraries
333 #if UseGnuMalloc
334 #define MallocLibraries GnuMallocLibrary
335 #else
336 #define MallocLibraries /**/
337 #endif
338 #endif
339 #ifndef HasTk
340 #define HasTk NO
341 #endif
342 #ifndef TkLibName
343 #if HasTk
344 #define TkLibName tk
345 #else
346 #define TkLibName
347 #endif
348 #endif
349 TKLIBNAME = TkLibName
350 #ifndef TkLibDir
351 #if HasTk
352 #define TkLibDir /usr/local/lib
353 #else
354 #define TkLibDir
355 #endif
356 #endif
357 TKLIBDIR = TkLibDir
358 #ifndef TkIncDir
359 #if HasTk
360 #define TkIncDir /usr/local/include
361 #else
362 #define TkIncDir
363 #endif
364 #endif
365 #ifndef TkLibrary
366 #ifdef HasTk
367 #define TkLibrary Concat(-L,$(TKLIBDIR)) Concat(-l,$(TKLIBNAME))
368 #else
369 #define TkLibrary
370 #endif
371 #endif
372 #ifndef HasTcl
373 #define HasTcl NO
374 #endif
375 #ifndef TclLibName
376 #if HasTcl
377 #define TclLibName tcl
378 #else
379 #define TclLibName
380 #endif
381 #endif
382 TCLLIBNAME = TclLibName
383 #ifndef TclLibDir
384 #if HasTcl
385 #define TclLibDir /usr/local/lib
386 #else
387 #define TclLibDir
388 #endif
389 #endif
390 TCLIBDIR = TclLibDir
391 #ifndef TclIncDir
392 #if HasTcl
393 #define TclIncDir /usr/local/include
394 #else
395 #define TclIncDir
396 #endif
397 #endif
398 #ifndef TclLibrary
399 #ifdef HasTcl
400 #define TclLibrary Concat(-L,$(TCLLIBDIR)) Concat(-l,$(TCLLIBNAME))
401 #else
402 #define TclLibrary
403 #endif
404 #endif
405 #ifndef NeedConstPrototypes
406 #define NeedConstPrototypes     NO
407 #endif
408 #ifndef NeedVarargsPrototypes
409 #define NeedVarargsPrototypes   NO
410 #endif
411 #ifndef NeedNestedPrototypes
412 #define NeedNestedPrototypes    NO
413 #endif
414 #ifndef NeedFunctionPrototypes
415 #define NeedFunctionPrototypes (NeedVarargsPrototypes || NeedNestedPrototypes)
416 #endif
417 #ifndef NeedWidePrototypes
418 #define NeedWidePrototypes      YES     /* mix and match ANSI-C, non-ANSI */
419 #endif
420
421 #ifndef StripInstalledPrograms
422 #define StripInstalledPrograms NO       /* leave symbol table just in case */
423 #endif
424 #ifndef UseCCMakeDepend                 /* use slow cc -E script */
425 #define UseCCMakeDepend NO
426 #endif
427 #ifndef UseGccMakeDepend                /* use slowish but correct gcc -M */
428 #define UseGccMakeDepend NO
429 #endif
430
431 /* DefaultUsrBin is independent of ProjectRoot.
432    This is a directory where programs will be found even if PATH
433    is not set, for example when coming in remotely via rsh. */
434 #ifndef DefaultUsrBin
435 #define DefaultUsrBin /usr/bin
436 #endif
437
438 #ifndef UsrLibDir
439 #ifdef ProjectRoot
440 #define UsrLibDir Concat(ProjectRoot,/lib)
441 #ifndef AlternateUsrLibDir
442 #define AlternateUsrLibDir YES
443 #endif
444 #else
445 #define UsrLibDir /usr/lib
446 #ifndef AlternateUsrLibDir
447 #define AlternateUsrLibDir NO
448 #endif
449 #endif
450 #else
451 #ifndef AlternateUsrLibDir
452 #define AlternateUsrLibDir YES
453 #endif
454 #endif
455 #ifndef VarLibDir
456 #ifdef ProjectVar
457 #define VarLibDir Concat(ProjectVar,/lib)
458 #else
459 #define VarLibDir /var/lib
460 #endif
461 #endif
462
463 #ifndef ShLibDir
464 #define ShLibDir UsrLibDir
465 #endif
466 #ifndef IncRoot
467 #ifdef ProjectRoot
468 #define IncRoot Concat(ProjectRoot,/include)
469 #ifndef AlternateIncRoot
470 #define AlternateIncRoot YES
471 #endif
472 #else
473 #define IncRoot /usr/include
474 #ifndef AlternateIncRoot
475 #define AlternateIncRoot NO
476 #endif
477 #endif
478 #else
479 #ifndef AlternateIncRoot
480 #define AlternateIncRoot YES
481 #endif
482 #endif
483 #ifndef LintlibDir
484 #define LintlibDir $(USRLIBDIR)/lint
485 #endif
486 #ifndef SystemManDirectory
487 #if SystemV4
488 #define SystemManDirectory /usr/share/man
489 #else
490 #define SystemManDirectory /usr/share/man
491 #endif
492 #endif
493 #ifndef ManDirectoryRoot
494 #ifdef ProjectRoot
495 #define ManDirectoryRoot Concat(ProjectRoot,/man)
496 #else
497 #define ManDirectoryRoot SystemManDirectory
498 #endif
499 #endif
500 #ifndef ManPath
501 #define ManPath ManDirectoryRoot
502 #endif
503 #ifndef ManSourcePath
504 #define ManSourcePath $(MANPATH)/man
505 #endif
506 #ifndef ManDir
507 #define ManDir $(MANSOURCEPATH)$(MANSUFFIX)
508 #endif
509 #ifndef LibmanDir
510 #define LibmanDir $(MANSOURCEPATH)$(LIBMANSUFFIX)
511 #endif
512 #ifndef FileManDir
513 #define FileManDir $(MANSOURCEPATH)$(FILEMANSUFFIX)
514 #endif
515 #ifndef ConfigSrc
516 #define ConfigSrc $(TOP)/config
517 #endif
518 #ifndef DependDir
519 #if UseCCMakeDepend || UseGccMakeDepend
520 #define DependDir $(CONFIGSRC)/util
521 #else
522 #define DependDir $(CONFIGSRC)/makedepend
523 #endif
524 #endif
525 #ifndef UNCOMPRESSPATH
526 #define UNCOMPRESSPATH /usr/ucb/uncompress
527 #endif
528 #ifndef OptimizedCDebugFlags
529 #define OptimizedCDebugFlags -O
530 #endif
531 #ifndef OptimizedCplusplusDebugFlags
532 #define OptimizedCplusplusDebugFlags OptimizedCDebugFlags
533 #endif
534 #ifndef DebuggableCDebugFlags
535 #define DebuggableCDebugFlags -g
536 #endif
537 #ifndef DebuggableCplusplusDebugFlags
538 #define DebuggableCplusplusDebugFlags DebuggableCDebugFlags
539 #endif
540 #ifndef ProfiledCDebugFlags
541 #define ProfiledCDebugFlags -pg
542 #endif
543 #ifndef ProfiledCplusplusDebugFlags
544 #define ProfiledCplusplusDebugFlags ProfiledCDebugFlags
545 #endif
546 #ifndef NoOpCDebugFlags
547 #define NoOpCDebugFlags /**/
548 #endif
549 #ifndef DefaultCDebugFlags
550 #define DefaultCDebugFlags OptimizedCDebugFlags
551 #endif
552 #ifndef DefaultCplusplusDebugFlags
553 #define DefaultCplusplusDebugFlags OptimizedCplusplusDebugFlags
554 #endif
555 #ifndef DefaultCCOptions
556 #define DefaultCCOptions /* floating point, etc. */
557 #endif
558 #ifndef DefaultCplusplusOptions
559 #define DefaultCplusplusOptions /* floating point, etc. */
560 #endif
561 #ifndef NoRConst
562 #define NoRConst NO /* YES if const for structs of funcs is bad */
563 #endif
564 #ifndef InstPgmFlags
565 #define InstPgmFlags -s
566 #endif
567 #ifndef InstBinFlags
568 #define InstBinFlags -m 0755
569 #endif
570 #ifndef InstUidFlags
571 #define InstUidFlags -m 4711
572 #endif
573 #ifndef InstLibFlags
574 #define InstLibFlags -m 0644
575 #endif
576 #ifndef InstIncFlags
577 #define InstIncFlags -m 0444
578 #endif
579 #ifndef InstManFlags
580 #define InstManFlags -m 0444
581 #endif
582 #ifndef InstDatFlags
583 #define InstDatFlags -m 0444
584 #endif
585 #ifndef InstKmemFlags     /* put -g kmem -m 2711 in site.def... */
586 #define InstKmemFlags InstUidFlags
587 #endif
588 #ifndef ParallelMakeFlags
589 #define ParallelMakeFlags /**/
590 #endif
591 #ifndef ArCmdBase
592 #define ArCmdBase ar
593 #endif
594 #ifndef ArCmd
595 #if HasLargeTmp || SystemV4
596 #define ArCmd ArCmdBase cq
597 #else
598 #define ArCmd ArCmdBase clq
599 #endif
600 #endif
601 #ifndef ArAddCmd
602 #if HasLargeTmp || SystemV4
603 #define ArAddCmd ArCmdBase ru
604 #else
605 #define ArAddCmd ArCmdBase rul
606 #endif
607 #endif
608 #ifndef ArExtCmd
609 #if HasLargeTmp || SystemV4
610 #define ArExtCmd ArCmdBase x
611 #else
612 #define ArExtCmd ArCmdBase xl
613 #endif
614 #endif
615 #ifndef BootstrapCFlags
616 #define BootstrapCFlags /**/
617 #endif
618 #ifndef HasGcc2
619 #define HasGcc2 NO
620 #endif
621 #ifndef HasGcc
622 #define HasGcc HasGcc2
623 #endif
624 #ifndef HasGcc2ForCplusplus
625 #define HasGcc2ForCplusplus NO
626 #endif
627 #ifndef HasCenterLineC
628 #define HasCenterLineC NO
629 #endif
630 #ifndef HasCenterLineCplusplus
631 #define HasCenterLineCplusplus NO
632 #endif
633 #ifndef CcCmd
634 #if HasGcc2
635 #define CcCmd gcc -fpcc-struct-return 
636 #else
637 #if HasGcc
638 #define CcCmd gcc -fstrength-reduce -fpcc-struct-return 
639 #else
640 #if HasCenterLineC
641 #define CcCmd clcc
642 #else
643 #define CcCmd cc
644 #endif
645 #endif
646 #endif
647 #endif
648 #ifndef CplusplusCmd
649 #if HasGcc2ForCplusplus
650 #define CplusplusCmd g++
651 #else
652 #define CplusplusCmd CC
653 #endif
654 #endif
655 #ifndef CplusplusFilt
656 # define CplusplusFilt  c++filt
657 #endif
658 #ifndef CplusplusLibC
659 #define CplusplusLibC /**/
660 #endif
661 #ifndef CplusplusStandardDefines
662 #define CplusplusStandardDefines StandardDefines
663 #endif
664 #ifndef CplusplusExtraDefines
665 #define CplusplusExtraDefines /**/
666 #endif
667 #ifndef CplusplusExtraIncludes
668 #define CplusplusExtraIncludes /**/
669 #endif
670 #ifndef CplusplusDependIncludes
671 #define CplusplusDependIncludes /**/
672 #endif
673 #ifndef CplusplusOptions
674 #define CplusplusOptions /**/
675 #endif
676 #ifndef CplusplusSpecialOptions
677 #define CplusplusSpecialOptions /**/
678 #endif
679 #if HasFortran
680 #ifndef FortranCmd
681 #define FortranCmd f77
682 #endif
683 #ifndef FortranFlags
684 #define FortranFlags /**/
685 #endif
686 #ifndef FortranDebugFlags       /* for -O or -g */
687 #define FortranDebugFlags /**/
688 #endif
689 #endif
690 #ifndef AsCmd
691 #define AsCmd as
692 #endif
693 #ifndef CompressCmd
694 #define CompressCmd compress
695 #endif
696 #ifndef GzipCmd
697 #define GzipCmd gzip
698 #endif
699 #ifndef CppCmd
700 #define CppCmd /lib/cpp
701 #endif
702 #ifndef CppNoLineInfoOption
703 #define CppNoLineInfoOption /**/
704 #endif
705 #ifndef PreProcessCmd
706 #define PreProcessCmd CcCmd -E
707 #endif
708 #ifndef InstallCmd              /* hack should be in project */
709 #if SystemV || SystemV4
710 #ifdef UseInstalled             /* assume BINDIR in path */
711 #define InstallCmd bsdinst
712 #else
713 #define InstallCmd $(SHELL) $(CONFIGSRC)/util/bsdinst.sh
714 #endif
715 #else
716 #define InstallCmd install
717 #endif
718 #endif
719 #ifndef InstallFlags
720 #define InstallFlags -c
721 #endif
722 #ifndef LdCmd
723 #define LdCmd ld
724 #endif
725 #ifndef LexCmd
726 #define LexCmd lex
727 #endif
728 #ifndef LexLib
729 #define LexLib -ll
730 #endif
731 #ifndef YaccCmd
732 #define YaccCmd yacc
733 #endif
734 #ifndef CplusplusYaccCmd
735 #define CplusplusYaccCmd YaccCmd
736 #endif
737 #ifndef LintCmd
738 #define LintCmd lint
739 #endif
740 #ifndef LintLibFlag
741 #if SystemV || SystemV4
742 #define LintLibFlag -o
743 #else
744 #define LintLibFlag -C
745 #endif
746 #endif
747 #ifndef LintOpts
748 #if SystemV || SystemV4
749 #define LintOpts -bh
750 #else
751 #define LintOpts -axz
752 #endif
753 #endif
754 #ifndef CpCmd
755 #define CpCmd cp
756 #endif
757 #ifndef LnCmd /* can use cp instead of ln if necessary */
758 #if HasSymLinks
759 #define LnCmd ln -s
760 #else
761 #define LnCmd ln
762 #endif
763 #endif
764 #ifndef MakeCmd
765 #define MakeCmd make
766 #endif
767 #ifndef MvCmd
768 #define MvCmd mv -f
769 #endif
770 #ifndef RanlibCmd
771 #define RanlibCmd ranlib
772 #endif
773 #ifndef RanlibInstFlags
774 #define RanlibInstFlags /**/
775 #endif
776 #ifndef RmCmd
777 #define RmCmd rm -f
778 #endif
779 #ifndef StandardIncludes        /* for platform-specifics */
780 #define StandardIncludes /**/
781 #endif
782 #ifndef StandardDefines
783 #if SystemV
784 #define StandardDefines -DSYSV
785 #else
786 #if SystemV4
787 #define StandardDefines -DSVR4
788 #else
789 #define StandardDefines /**/
790 #endif
791 #endif
792 #endif
793 #ifndef StandardCppDefines
794 #define StandardCppDefines StandardDefines
795 #endif
796 #ifndef Malloc0ReturnsNull
797 #if UseGnuMalloc
798 #define Malloc0ReturnsNull YES
799 #else
800 #define Malloc0ReturnsNull NO
801 #endif
802 #endif
803 #if Malloc0ReturnsNull
804 #ifndef Malloc0ReturnsNullDefines
805 #define Malloc0ReturnsNullDefines -DMALLOC_0_RETURNS_NULL
806 #endif
807 #endif
808 #ifndef ToolkitStringsABIOptions
809 #define ToolkitStringsABIOptions /**/
810 #endif
811 #ifndef NdbmDefines
812 #if HasNdbm
813 #define NdbmDefines -DNDBM
814 #else
815 #define NdbmDefines /**/
816 #endif
817 #endif
818 #ifndef LdPreLib
819 #if !defined(UseInstalled)
820 #define LdPreLib -L$(BUILDLIBDIR)
821 #else
822 #if AlternateUsrLibDir
823 #define LdPreLib -L$(USRLIBDIR)
824 #else
825 #define LdPreLib /**/
826 #endif
827 #endif
828 #endif
829 #ifndef LdPostLib
830 #if !defined(UseInstalled) && AlternateUsrLibDir && !HasLdRunPath
831 #define LdPostLib -L$(USRLIBDIR)
832 #else
833 #define LdPostLib /**/
834 #endif
835 #endif
836 #ifndef MathLibrary
837 #define MathLibrary -lm
838 #endif
839 #ifndef DBMLibrary
840 #define DBMLibrary -ldbm
841 #endif
842 #ifndef DlLibrary
843 #define DlLibrary -ldl
844 #endif
845 #ifndef ExtraLibraries
846 #if SystemV4
847 #if HasSockets
848 #define ExtraLibraries -lsocket -lnsl -lw
849 #else
850 #define ExtraLibraries -lnsl -lw
851 #endif
852 #else
853 #define ExtraLibraries /**/
854 #endif
855 #endif
856 #ifndef ExtraLoadOptions
857 #define ExtraLoadOptions /**/
858 #endif
859 #ifndef ExtraLoadFlags
860 #define ExtraLoadFlags /**/
861 #endif
862 #ifndef LdCombineFlags
863 #if SystemV4
864 #define LdCombineFlags -r
865 #else
866 #define LdCombineFlags -X -r
867 #endif
868 #endif
869 #ifndef LdStripFlags
870 #define LdStripFlags -x
871 #endif
872 #ifndef TagsCmd
873 #define TagsCmd ctags
874 #endif
875 #ifndef LoaderLibPrefix
876 #define LoaderLibPrefix /**/
877 #endif
878 #ifndef ImakeCmd
879 #ifdef UseInstalled             /* assume BINDIR in path */
880 #define ImakeCmd imake
881 #else
882 #define ImakeCmd $(IMAKESRC)/imake
883 #endif
884 #endif
885 #ifndef DependCmd
886 #if UseGccMakeDepend
887 #ifdef UseInstalled             /* assume BINDIR in path */
888 #define DependCmd gccmakedep
889 #else
890 #define DependCmd $(DEPENDSRC)/gccmakedep
891 #endif
892 #else
893 #ifdef UseInstalled             /* assume BINDIR in path */
894 #define DependCmd makedepend
895 #else
896 #define DependCmd $(DEPENDSRC)/makedepend
897 #endif
898 #endif
899 #endif
900 #ifndef DependFlags
901 #define DependFlags /**/
902 #endif
903 #ifndef DependFileName
904 #if !HasBsdMake
905 #define DependFileName Makefile.dep
906 #else
907 #define DependFileName .depend
908 #endif
909 #endif
910 #ifndef ExportListCmd
911 # ifndef ExportListGenSource
912 #  define ExportListCmd         /**/
913 # elif !defined(UseInstalled)
914 #  define ExportListCmd         $(CONFIGSRC)/util/exportlistgen
915 # else
916 #  define ExportListCmd         exportlistgen
917 # endif
918 #endif
919 #ifndef MkdirHierCmd
920 #ifdef UseInstalled             /* assume BINDIR in path */
921 #define MkdirHierCmd mkdirhier
922 #else
923 #define MkdirHierCmd $(SHELL) $(CONFIGSRC)/util/mkdirhier.sh
924 #endif
925 #endif
926 #ifndef TroffCmd
927 #define TroffCmd psroff
928 #endif
929 #ifndef NroffCmd
930 #define NroffCmd nroff
931 #endif
932 #ifndef MsMacros
933 #define MsMacros -ms
934 #endif
935 #ifndef ManMacros
936 #define ManMacros -man
937 #endif
938 #ifndef TblCmd
939 #define TblCmd tbl
940 #endif
941 #ifndef EqnCmd
942 #define EqnCmd eqn
943 #endif
944 #ifndef NeqnCmd
945 #define NeqnCmd neqn
946 #endif
947 #ifndef ColCmd
948 #define ColCmd col
949 #endif
950 #ifndef DvipsCmd
951 #define DvipsCmd dvips
952 #endif
953 #ifndef LatexCmd
954 #define LatexCmd latex
955 #endif
956 #if HasSentinel
957 #ifndef SentinelCmd
958 #define SentinelCmd sentinel
959 #endif
960 #ifndef SentinelOptions
961 #define SentinelOptions /**/
962 #endif
963 #endif
964 #if HasPurify
965 #ifndef PurifyCmd
966 #define PurifyCmd purify
967 #endif
968 #ifndef PurifyOptions
969 #define PurifyOptions /**/
970 #endif
971 #endif
972 #if HasTestCenter
973 #ifndef ProofCmd
974 #define ProofCmd proof
975 #endif
976 #ifndef ProofOptions
977 #define ProofOptions /**/
978 #endif
979 #endif
980 #ifndef PathSeparator
981 #define PathSeparator /
982 #endif
983 #ifndef Osuf
984 #define Osuf o
985 #endif
986 #ifndef CCsuf
987 #define CCsuf cc
988 #endif
989 #ifndef SHsuf
990 #define SHsuf sh
991 #endif
992 #ifndef ManSuffix
993 #define ManSuffix       n               /* use just one tab or cpp will die */
994 #endif
995 #ifndef LibManSuffix
996 #define LibManSuffix    3               /* use just one tab or cpp will die */
997 #endif
998 #ifndef FileManSuffix
999 #if SystemV || SystemV4 || defined(OSF1Architecture)
1000 #define FileManSuffix   4               /* use just one tab or cpp will die */
1001 #else
1002 #define FileManSuffix   5               /* use just one tab or cpp will die */
1003 #endif
1004 #endif
1005 #ifndef ExpandManNames
1006 #if SystemV
1007 #define ExpandManNames NO
1008 #else
1009 #define ExpandManNames YES
1010 #endif
1011 #endif
1012 #ifndef TOPDIR
1013 #define TOPDIR .
1014 #endif
1015 #ifndef CURDIR
1016 #define CURDIR .
1017 #endif
1018 #ifndef SiteIConfigFiles
1019 #define SiteIConfigFiles /**/
1020 #endif
1021 #ifndef OtherIConfigFiles
1022 #define OtherIConfigFiles /**/
1023 #endif
1024 #ifndef ExtraFilesToClean
1025 #define ExtraFilesToClean /**/
1026 #endif
1027 #ifndef FilesToClean
1028 #define FilesToClean *.CKP *.ln *.BAK *.bak *.Osuf core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut 
1029 #endif
1030
1031           PATHSEP = PathSeparator
1032             SHELL = BourneShell
1033
1034               TOP = TOPDIR
1035       CURRENT_DIR = CURDIR
1036
1037             IMAKE = ImakeCmd
1038            DEPEND = DependCmd
1039         MKDIRHIER = MkdirHierCmd
1040     EXPORTLISTGEN = ExportListCmd
1041         CONFIGSRC = ConfigSrc
1042          IMAKESRC = $(CONFIGSRC)/imake
1043         DEPENDSRC = DependDir
1044
1045           INCROOT = IncRoot             /* base of where to put header files */
1046         USRLIBDIR = UsrLibDir           /* nonshared libraries */
1047         VARLIBDIR = VarLibDir           /* xdm runtime files */
1048          SHLIBDIR = ShLibDir            /* shared libraries */
1049        LINTLIBDIR = LintlibDir          /* lint libraries */
1050           MANPATH = ManPath             /* top of manual page tree */
1051     MANSOURCEPATH = ManSourcePath       /* prefix for man page sources */
1052            MANDIR = ManDir              /* man pages for commands */
1053         LIBMANDIR = LibmanDir           /* man pages for library routines */
1054        FILEMANDIR = FileManDir          /* man pages for config files */
1055
1056                AR = ArCmd
1057   BOOTSTRAPCFLAGS = BootstrapCFlags     /* set if cpp does not have uniq sym */
1058                CC = CcCmd
1059                AS = AsCmd
1060 #if HasFortran
1061                FC = FortranCmd
1062       FDEBUGFLAGS = FortranDebugFlags
1063           FCFLAGS = FortranFlags $(FDEBUGFLAGS)
1064 #endif
1065 #if HasCplusplus
1066
1067 .SUFFIXES: .CCsuf
1068
1069               CXX = CplusplusCmd
1070           CXXFILT = CplusplusFilt
1071            CXXLIB = CplusplusLibC
1072     CXXDEBUGFLAGS = DefaultCplusplusDebugFlags
1073 CXXDEPENDINCLUDES = CplusplusDependIncludes
1074  CXXEXTRA_DEFINES = CplusplusExtraDefines
1075 CXXEXTRA_INCLUDES = CplusplusExtraIncludes
1076    CXXSTD_DEFINES = CplusplusStandardDefines $(CXXPROJECT_DEFINES)
1077        CXXOPTIONS = CplusplusOptions
1078       CXXINCLUDES = $(INCLUDES) $(TOP_INCLUDES) $(CXXEXTRA_INCLUDES) 
1079        CXXDEFINES = $(CXXINCLUDES) $(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(CXXEXTRA_DEFINES) $(DEFINES)
1080          CXXFLAGS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)
1081 #endif
1082          COMPRESS = CompressCmd
1083           GZIPCMD = GzipCmd
1084               CPP = CppCmd $(STD_CPP_DEFINES)           /* simple filters */
1085     PREPROCESSCMD = PreProcessCmd $(STD_CPP_DEFINES)    /* prefered; mdep */
1086           INSTALL = InstallCmd
1087      INSTALLFLAGS = InstallFlags
1088                LD = LdCmd
1089               LEX = LexCmd
1090            LEXLIB = LexLib
1091              YACC = YaccCmd
1092            CCYACC = CplusplusYaccCmd
1093              LINT = LintCmd
1094       LINTLIBFLAG = LintLibFlag
1095          LINTOPTS = LintOpts
1096                LN = LnCmd
1097              MAKE = MakeCmd
1098                MV = MvCmd
1099                CP = CpCmd
1100 #if DoRanlibCmd
1101            RANLIB = RanlibCmd
1102   RANLIBINSTFLAGS = RanlibInstFlags
1103 #endif
1104                RM = RmCmd
1105         MANSUFFIX = ManSuffix           /* suffix for command man pages */
1106      LIBMANSUFFIX = LibManSuffix        /* suffix for library man pages */
1107     FILEMANSUFFIX = FileManSuffix       /* suffix for config file man pages */
1108             TROFF = TroffCmd
1109             NROFF = NroffCmd
1110          MSMACROS = MsMacros
1111         MANMACROS = ManMacros
1112               TBL = TblCmd
1113               EQN = EqnCmd
1114              NEQN = NeqnCmd
1115               COL = ColCmd
1116 #if HasLatex
1117             DVIPS = DvipsCmd
1118             LATEX = LatexCmd
1119 #endif
1120 #if HasSentinel
1121          SENTINEL = SentinelCmd
1122   SENTINELOPTIONS = SentinelOptions
1123 #endif
1124 #if HasPurify
1125            PURIFY = PurifyCmd
1126     PURIFYOPTIONS = PurifyOptions
1127 #endif
1128 #if HasTestCenter
1129            PROOF = ProofCmd
1130     PROOFOPTIONS = ProofOptions
1131 #endif
1132      STD_INCLUDES = StandardIncludes
1133   STD_CPP_DEFINES = StandardCppDefines $(PROJECT_DEFINES)
1134       STD_DEFINES = StandardDefines $(PROJECT_DEFINES)
1135  EXTRA_LOAD_FLAGS = ExtraLoadFlags
1136   EXTRA_LDOPTIONS = ExtraLoadOptions
1137   EXTRA_LIBRARIES = MallocLibraries ExtraLibraries Krb5Libraries
1138              TAGS = TagsCmd
1139 #if ConstructMFLAGS
1140            MFLAGS = -$(MAKEFLAGS)
1141 #endif
1142 #if ConstructMAKEFLAGS
1143         MAKEFLAGS = $(MFLAGS)
1144 #endif
1145    PARALLELMFLAGS = ParallelMakeFlags
1146 #if HasSharedLibraries
1147     SHAREDCODEDEF = SharedCodeDef
1148          SHLIBDEF = SharedLibraryDef
1149 #ifdef SharedLibraryLoadFlags
1150      SHLIBLDFLAGS = SharedLibraryLoadFlags
1151 #endif
1152 /*
1153  * Here we set up flags needed to produce position-independent code 
1154  * when doing C and C++ compilation.  The default if you specify C
1155  * PIC flags without also specifying C++ PIC flags is to assume that 
1156  * the C flags work for both.  If your C++ compiler requires different
1157  * flags, specify them explicitly in PositionIndependentCplusplusFlags.
1158  */
1159 #ifdef PositionIndependentCFlags
1160          PICFLAGS = PositionIndependentCFlags
1161 #endif
1162 #ifdef PositionIndependentCplusplusFlags
1163       CXXPICFLAGS = PositionIndependentCplusplusFlags
1164 #else
1165 #ifdef PositionIndependentCFlags
1166       CXXPICFLAGS = PositionIndependentCFlags
1167 #endif
1168 #endif
1169 #endif
1170 #if !HasVoidSignalReturn
1171    SIGNAL_DEFINES = -DSIGNALRETURNSINT
1172 #endif
1173 /*
1174  * The following supports forcing of function prototypes
1175  */
1176 #if NeedFunctionPrototypes && NeedVarargsPrototypes && NeedConstPrototypes && NeedNestedPrototypes
1177 #define _funcprotodef -DFUNCPROTO=15
1178 #else
1179 #if NeedFunctionPrototypes && NeedVarargsPrototypes && NeedNestedPrototypes
1180 #define _funcprotodef -DFUNCPROTO=11
1181 #else
1182 #if NeedFunctionPrototypes && NeedNestedPrototypes
1183 #define _funcprotodef -DFUNCPROTO=9
1184 #else
1185 #if NeedFunctionPrototypes && NeedVarargsPrototypes && NeedConstPrototypes
1186 #define _funcprotodef -DFUNCPROTO=7
1187 #else
1188 #if NeedFunctionPrototypes && NeedConstPrototypes
1189 #define _funcprotodef -DFUNCPROTO=5
1190 #else
1191 #if NeedFunctionPrototypes && NeedVarargsPrototypes
1192 #define _funcprotodef -DFUNCPROTO=3
1193 #else
1194 #if NeedFunctionPrototypes
1195 #define _funcprotodef -DFUNCPROTO
1196 #else
1197 #define _funcprotodef /**/
1198 #endif
1199 #endif
1200 #endif
1201 #endif
1202 #endif
1203 #endif
1204 #endif
1205 #if NeedWidePrototypes
1206 #define _wideprotodef /**/
1207 #else
1208 #define _wideprotodef -DNARROWPROTO
1209 #endif
1210     PROTO_DEFINES = _funcprotodef _wideprotodef 
1211 #undef _funcprotodef
1212 #undef _wideprotodef
1213
1214 #if StripInstalledPrograms
1215      INSTPGMFLAGS = InstPgmFlags        /* install flags for stripping */
1216 #else
1217      INSTPGMFLAGS = 
1218 #endif
1219      INSTBINFLAGS = InstBinFlags        /* install flags for programs */
1220      INSTUIDFLAGS = InstUidFlags        /* install flags for setuid programs */
1221      INSTLIBFLAGS = InstLibFlags        /* install flags for libraries */
1222      INSTINCFLAGS = InstIncFlags        /* install flags for headers */
1223      INSTMANFLAGS = InstManFlags        /* install flags for man pages */
1224      INSTDATFLAGS = InstDatFlags        /* install flags for data files */
1225     INSTKMEMFLAGS = InstKmemFlags       /* install flags for /dev/kmem progs */
1226
1227 #ifdef ProjectRoot
1228       PROJECTROOT = ProjectRoot
1229 #endif
1230 #ifdef UseInstalled
1231 # if AlternateIncRoot
1232 #  define TopInclude    -I$(INCROOT)
1233 # else
1234 #  define TopInclude    /**/
1235 # endif
1236 #else
1237 # define TopInclude     -I$(TOP)
1238 #endif
1239       CDEBUGFLAGS = DefaultCDebugFlags
1240         CCOPTIONS = DefaultCCOptions    /* to distinguish from param flags */
1241 /*
1242  * STD_INCLUDES contains system-specific includes
1243  * TOP_INCLUDES specifies how to get to /usr/include or its build substitute
1244  * EXTRA_INCLUDES contains project-specific includes set in project incfiles
1245  * INCLUDES contains client-specific includes set in Imakefile
1246  * LOCAL_LDFLAGS contains client-specific ld flags flags set in Imakefile
1247  */
1248       ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
1249        ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(DEFINES)
1250            CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)
1251         LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
1252          LDPRELIB = LdPreLib
1253         LDPOSTLIB = LdPostLib
1254         LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS)  $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
1255      CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIBS)
1256
1257            LDLIBS = $(LDPOSTLIBS) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
1258 #if HasBrokenCCForLink
1259            CCLINK = LdCmd
1260 #else
1261 #if AlternateUsrLibDir && HasLdRunPath
1262        CCENVSETUP = LD_RUN_PATH=$(USRLIBDIRPATH)
1263            CCLINK = $(CCENVSETUP) $(CC)
1264 #else
1265            CCLINK = $(CC)
1266 #endif
1267 #endif
1268 #if AlternateUsrLibDir && HasLdRunPath
1269       CXXENVSETUP = LD_RUN_PATH=$(USRLIBDIRPATH)
1270           CXXLINK = $(CXXENVSETUP) $(CXX)
1271 #else
1272           CXXLINK = $(CXX)
1273 #endif
1274      LDSTRIPFLAGS = LdStripFlags
1275    LDCOMBINEFLAGS = LdCombineFlags
1276       DEPENDFLAGS = DependFlags
1277
1278 XCOMM Not sure this belongs here
1279          TKLIBDIR = TkLibDir
1280          TKINCDIR = TkIncDir
1281         TKLIBNAME = TkLibName
1282         TKLIBRARY = TkLibrary
1283         TCLLIBDIR = TclLibDir
1284         TCLINCDIR = TclIncDir
1285        TCLLIBNAME = TclLibName
1286        TCLLIBRARY = TclLibrary
1287
1288         MACROFILE = MacroFile
1289            RM_CMD = $(RM)
1290
1291     IMAKE_DEFINES = /* leave blank, for command line use only */
1292 #ifdef UseInstalled
1293          IRULESRC = $(CONFIGDIR)        /* used in rules file */
1294         IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
1295 #else
1296          IRULESRC = $(CONFIGSRC)/cf
1297         IMAKE_CMD = $(IMAKE) -I$(IRULESRC) $(IMAKE_DEFINES)
1298 #endif
1299 #if !HasClearmake
1300      /* clearmake records relevant defines and flags in the build script,
1301         so it knows when they change and we don't need this coarser-level
1302         dependency.  We also don't want it, since it prevents sharing if
1303         even one config file, say site.def or host.def, changes. */
1304      ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/X11.tmpl \
1305                         $(IRULESRC)/site.def $(IRULESRC)/$(MACROFILE) \
1306                         OtherIConfigFiles SiteIConfigFiles $(EXTRA_ICONFIGFILES)
1307 #endif
1308
1309 #ifndef TopLevelProject
1310 # define TopLevelProject        X11
1311 #endif
1312 #ifndef ProjectRulesFile
1313 # define ProjectRulesFile       Concat3(<,TopLevelProject,.rules>)
1314 #endif
1315 #include ProjectRulesFile
1316 #ifndef LocalRulesFile
1317 /* need this to make ANSI-style preprocessors happy */
1318 #define LocalRulesFile <noop.rules>
1319 #endif
1320 #include LocalRulesFile
1321
1322 /*
1323  * get project-specific configuration and rules
1324  */
1325 #ifndef ProjectTmplFile
1326 #define ProjectTmplFile         Concat3(<,TopLevelProject,.tmpl>)
1327 #endif
1328 #include ProjectTmplFile
1329 #ifndef LocalTmplFile
1330 /* need this to make ANSI-style preprocessors happy */
1331 #define LocalTmplFile <noop.rules>
1332 #endif
1333 #include LocalTmplFile
1334
1335 #ifdef FixupLibReferences
1336 FixupLibReferences()
1337 #endif
1338
1339 /* ConfigDir comes from X11.tmpl */
1340         CONFIGDIR = ConfigDir           /* build configuration information */
1341 #if HasClearmake
1342            OSNAME = OSName
1343 #endif
1344     USRLIBDIRPATH = UsrLibDirPath
1345         LDPRELIBS = LdPreLibs
1346        LDPOSTLIBS = LdPostLibs
1347      TOP_INCLUDES = TopIncludes
1348   PROJECT_DEFINES = ProjectDefines
1349 #if HasCplusplus
1350 CXXPROJECT_DEFINES = CplusplusProjectDefines
1351 #endif
1352
1353 XCOMM ----------------------------------------------------------------------
1354 XCOMM start of Imakefile
1355 #include INCLUDE_IMAKEFILE
1356
1357 XCOMM ----------------------------------------------------------------------
1358 XCOMM common rules for all Makefiles - do not edit
1359
1360 .c.i:
1361         CPPOnlyCompile($*.c,$(_NOOP_))
1362 /*
1363  * These need to be here so that rules in Imakefile occur first;  the blank
1364  * emptyrule is to make sure that an empty Imakefile does not default to make
1365  * clean.
1366  */
1367 emptyrule::
1368
1369 CleanTarget()
1370
1371 #ifndef IHaveSpecialMakefileTarget
1372 MakefileTarget()
1373 #endif
1374
1375 TagsTarget()
1376 #ifdef MakefileAdditions
1377 MakefileAdditions()
1378 #endif
1379
1380 CenterLoadTarget(debug_src,$(SRCS),NullParameter,$(ALLDEFINES))
1381
1382 CenterLoadTarget(debug_obj,$(OBJS),NullParameter,$(ALLDEFINES))
1383
1384 ManKeywordsTarget($(MANPATH))
1385
1386 #ifdef IHaveSubdirs
1387 XCOMM ----------------------------------------------------------------------
1388 XCOMM rules for building in SUBDIRS - do not edit
1389
1390 InstallSubdirs($(SUBDIRS))
1391 InstallManSubdirs($(SUBDIRS))
1392 InstallLinkKitSubdirs($(SUBDIRS))
1393 CleanSubdirs($(SUBDIRS))
1394 TagSubdirs($(SUBDIRS))
1395 MakefileSubdirs($(SUBDIRS))
1396 IncludesSubdirs($(SUBDIRS))
1397
1398 #endif
1399
1400 /* must be after all install.man rules that install anything */
1401 #if MakeManKeywords             /* typically only at top level */
1402 install.man:: man_keywords
1403 #endif
1404
1405 #ifndef IHaveSubdirs
1406 XCOMM ----------------------------------------------------------------------
1407 XCOMM empty rules for directories that do not have SUBDIRS - do not edit
1408
1409 install::
1410         @echo "install in $(CURRENT_DIR) done"
1411
1412 install.man::
1413         @echo "install.man in $(CURRENT_DIR) done"
1414
1415 install.linkkit::
1416         @echo "install.linkkit in $(CURRENT_DIR) done"
1417
1418 Makefiles::
1419
1420 includes::
1421
1422 depend::
1423
1424 #endif /* if subdirectory rules are needed */
1425
1426 XCOMM ----------------------------------------------------------------------
1427 XCOMM dependencies generated by makedepend
1428 IncludeMakefile(DependFileName)