OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / cdrecord / original / man4 / makerules.4
1 . \" @(#)makerules.4    1.2 97/02/14 Copyr 1996 J. Schilling
2 . \" System Manual page for makefile system
3 . \"
4 .if t .ds a \v'-0.55m'\h'0.00n'\z.\h'0.40n'\z.\v'0.55m'\h'-0.40n'a
5 .if t .ds o \v'-0.55m'\h'0.00n'\z.\h'0.45n'\z.\v'0.55m'\h'-0.45n'o
6 .if t .ds u \v'-0.55m'\h'0.00n'\z.\h'0.40n'\z.\v'0.55m'\h'-0.40n'u
7 .if t .ds A \v'-0.77m'\h'0.25n'\z.\h'0.45n'\z.\v'0.77m'\h'-0.70n'A
8 .if t .ds O \v'-0.77m'\h'0.25n'\z.\h'0.45n'\z.\v'0.77m'\h'-0.70n'O
9 .if t .ds U \v'-0.77m'\h'0.30n'\z.\h'0.45n'\z.\v'0.77m'\h'-.75n'U
10 .if t .ds s \(*b
11 .if t .ds S SS
12 .if n .ds a ae
13 .if n .ds o oe
14 .if n .ds u ue
15 .if n .ds s sz
16 .TH makefiles 4L "14. February 1997" "J\*org Schilling" "Schily\'s FILE FORMATS"
17 .\".TH makerules 4L "14. February 1997" "J\*org Schilling" "GMD FOKUS FILE FORMATS"
18 .SH NAME
19 makerules \- system programmers guide for compiling projects on different platforms
20 .SH SYNOPSIS
21 .B "SRCROOT=    .\|.
22 .br
23 .B "RULESDIR=   RULES
24 .br
25 .B "include             $(SRCROOT)/$(RULESDIR)/rules.top
26 .br
27 .I "local defines are here
28 .br
29 .B "include             $(SRCROOT)/$(RULESDIR)/rules.*
30 .PP
31 See chapter CURRENTLY SUPPORTED TARGET TYPES for possible values of
32 .BR "rules.*" .
33
34 .SH DESCRIPTION
35 Makerules is a set of rules that allows compiling of structured
36 projects with small and uniformly structured makefiles.
37 All rules are located in a central directory.
38 Compiling the projects on different platforms can be done without
39 the need to modify any of the makefiles that are located
40 in the projects directories.
41 .PP
42 Three make programs are currently supported:
43 .IR "Sunpro make" , 
44 .I "GNU make"
45 and
46 .IR smake .
47 If you want to add support for other make programs, read the 
48 sections about the minimum requirements for a make program
49 and about the structure of the 
50 .B "make rule 
51 system.
52 .PP
53 This manual will help programmers who need to make modifications
54 on the make rule system itself. If you want to know something 
55 on how to use the 
56 .B "makefile system
57 have a look at 
58 .BR makefiles (4).
59 .PP
60 The main design goal was to have no definition on more than place
61 in the make rules. This implies that system programmers who
62 want to add or modify rules must follow this goal in order not to
63 destroy functionality in other places.
64 .PP
65 The visible result for the user is a set of small and easy to read
66 makefiles, each located in the project's leaf directory and therefore 
67 called
68 .IR leaf -makefile.
69 .PP
70 Each of these 
71 .IR leaf -makefiles,
72 in fact contains no rule at all. It simply defines some macros
73 for the 
74 .IR make -program
75 and includes two files from a central make rule depository.
76 These included files define the rules that are needed to compile
77 the project.
78 .PP
79 Each 
80 .IR leaf -makefile
81 is formed in a really simple way:
82 .TP
83 \(bu
84 It first defines two macros that define the relative location
85 of the project's root directory and the name of the directory
86 that contains the complete set of of rules and then includes
87 the rule file 
88 .I rules.top
89 from the directory that forms the central rule depository.
90 You only have to edit the macro
91 .I SRCROOT
92 to reflect the relative location of the project's root directory.
93 .TP
94 \(bu
95 The next part of a 
96 .IR leaf -makefile
97 defines macros that describe the target and the source.
98 You can only have one target per 
99 .IR leaf -makefile.
100 Of course, there may be many source files, that are needed to create
101 that target.
102 If you want to make more than one target in a specific directory,
103 you have to put more than one makefile into that directory.
104 This is the part of a makefile that describes a unique target.
105 Edit this part to contain all source files, all local include files
106 and all non global compile time flags that are needed for your target.
107 For a typical target this is as simple as filling in a form.
108 .TP
109 \(bu
110 Each
111 .IR leaf -makefile
112 finally includes a file from the rules directory that contains
113 rules for the appropriate type of target that is to be made
114 from this 
115 .IR leaf -makefile.
116 .PP
117 The makefile in each directory has to be called
118 .IR Makefile .
119 If you want to have more than one makefile in a specific directory,
120 you have to choose different names for the other makefiles.
121
122 .SH "Currently Supported Target Types
123 .PP
124 There are rules for the following type of targets:
125 .TP 20
126 commands
127 The make rules for user level commands like
128 .IR cat ", " ls 
129 etc. are located in the file 
130 .I rules.cmd
131 .TP
132 drivers
133 The make rules for device drivers
134 are located in the file 
135 .I rules.drv
136 .TP
137 libraries
138 The make rules for non shared libraries
139 are located in the file 
140 .I rules.lib
141 .TP
142 shared libraries
143 The make rules for shared libraries
144 are located in the file 
145 .I rules.shl
146 .TP
147 localized files
148 The make rules for localized files
149 are located in the file 
150 .I rules.loc
151 .TP
152 nonlocalized files
153 The make rules for non localized files
154 are located in the file 
155 .I rules.aux
156 .TP
157 shell scripts
158 The make rules for shell scripts (a variant of localized files)
159 are located in the file 
160 .I rules.scr
161 .TP
162 manual pages
163 The make rules for manual pages (a variant of localized files)
164 are located in the file 
165 .I rules.man
166 .TP
167 diverted makefiles
168 The make rules for projects that need to have more than
169 one makefile in a specific directory
170 are located in the file 
171 .I rules.mks
172 It contains a rule that diverts to the listed sub makefiles.
173 Each sub makefile may be of any type.
174 .TP
175 directories
176 The make rules for sub directories
177 are located in the file 
178 .I rules.dir
179
180 .SH "Minimum Requirements For A Make Program
181 The make rules currently have support for
182 .IR "Sunpro make" , 
183 .I "GNU make"
184 and
185 .IR smake .
186 If you like to add support for other make programs, 
187 they need to have some minimal features that go
188 beyond the capabilities of the standard 
189 .SM "UNIX
190 .B make
191 program.
192 .I BSDmake
193 could be supported if it supports pattern matching rules correctly.
194 .TP 20
195 include
196 The make program must be able to recursively include other files
197 from within a 
198 .I makefile.
199 The name if the file to include must be allowed to be a macro.
200 The make program must be able to do this in a way that
201 if the file that should be included may be a result of make rule.
202 e.g if the file to be included does not exist or is outdated,
203 it should be built before an attempt is made to actually include it.
204 .TP
205 appending to a macro
206 A macro reference of the form:
207 .sp
208 .B "macro += addval
209 .sp
210 should append
211 .B addval
212 to the string that is currently in
213 .BR macro .
214 .TP
215 suffix macro replacement
216 A macro reference of the form:
217 .sp
218 .B "out= $(macro\|:\|string1\|=\|string2)
219 .sp
220 should replace a suffix
221 .I string1
222 to
223 .I string2
224 in all words that are in
225 .BR macro ,
226 where string1 is either a suffix, or a word to be replaced
227 in the macro definition, and string2 is the replacement 
228 suffix or word.
229 .I String1
230 and
231 .I string2
232 must be replaced correctly even if they are macros themselves.
233 Words in a macro value are separated by SPACE, 
234 TAB, and escaped NEWLINE characters.
235 .TP
236 pattern macro replacement
237 A macro reference of the form:
238 .sp
239 .B "out= $(macro\|:\|op%os\|=\|np%ns)
240 .sp
241 should replace a central pattern in 
242 .BR macro ,
243 where 
244 .B op 
245 is the existing (old) prefix and 
246 .B os
247 is the existing
248 (old) suffix,
249 .B np 
250 and 
251 .B ns 
252 are the new prefix and new suffix,
253 respectively, and the pattern matched by % (a string of zero
254 or more characters), is carried forward from the value being
255 replaced.
256 For example:
257 .sp
258 .B "PROGRAM=fabricate
259 .br
260 .B "DEBUG= $(PROGRAM:%=tmp/%\-g)
261 .sp
262 sets the value of DEBUG to tmp/fabricate\-g.
263 .IR Op ", " os ", " 
264 .IR np " and " ns
265 must be replaced correctly even if they are macros themselves.
266
267 .SH "Understanding Basic Algorithms
268 One of the basic algorithms used in the make rule system
269 is needed to set an undefined macro to a guaranteed default value.
270 Because not all make programs have support for
271 .I "if then else
272 structures, a different method has to be used.
273 .PP
274 The method used in
275 .B "make rules
276 is implemented by using
277 .B "suffix macro replacement
278 and
279 .BR "pattern macro replacement" .
280 .PP
281 .ne 5
282 First, a macro that contains a unique suffix is defined:
283 .sp
284 .B " # Define magic unique cookie
285 .br
286 .B " _UNIQ=             .XxZzy\-
287 .sp
288 This macro is used for all places where it is necessary to have
289 a macro with a guaranteed default value.
290 The following example shows the basic algorithm that is used to
291 implement the phrase:
292 .B If 
293 .I $(MAKE_NAME)
294 contains a value, 
295 .B then
296 .I $(XMAKEPROG)
297 will be set to
298 .I $(MAKE_NAME)
299 .B else
300 .I $(XMAKEPROG)
301 will be set to
302 .IR $(MAKEPROG) .
303 .sp
304 .B " _MAKEPROG= $(_UNIQ)$(MAKE_NAME)
305 .br
306 .B " __MAKEPROG=        $(_MAKEPROG:$(_UNIQ)=$(MAKEPROG))
307 .br
308 .B " XMAKEPROG= $(__MAKEPROG:$(_UNIQ)%=%)
309 .sp
310 The first line in this example, sets the macro
311 .I _MAKEPROG
312 to the concatenation of the value of
313 .I MAKE_NAME
314 and
315 .BR .XxZzy\- .
316 If the macro
317 .I MAKE_NAME
318 is empty at this time, 
319 .I _MAKEPROG
320 will contain only 
321 .BR .XxZzy\- .
322 .PP
323 In the second line, 
324 .I __MAKEPROG
325 is set to the value of
326 .IR _MAKEPROG .
327 If 
328 .I _MAKEPROG
329 contains only 
330 .B .XxZzy\-
331 this implies, that
332 .B .XxZzy\-
333 is the suffix. This suffix is then replaced
334 by the value of
335 .IR MAKEPROG ,
336 in this case
337 .I __MAKEPROG
338 will contain the unmodified value of
339 .IR MAKEPROG .
340 If 
341 .I _MAKEPROG
342 contains a concatenation of
343 .B .XxZzy\-
344 and something else, 
345 .B .XxZzy\-
346 will not be a suffix, but a prefix of 
347 .I _MAKEPROG
348 and for this reason
349 .I __MAKEPROG
350 will contain the unmodified value of
351 .IR _MAKEPROG ,
352 which is a concatenation of
353 .B .XxZzy\-
354 and the value of
355 .IR MAKE_NAME .
356 .PP
357 In the third line, 
358 .I XMAKEPROG
359 is set to the value of
360 .IR __MAKEPROG .
361 If 
362 .I __MAKEPROG
363 has the prefix
364 .B .XxZzy\- 
365 at this time, 
366 .B .XxZzy\-
367 is stripped of.
368
369 .SH "The Structure in Make Macro names
370 .PP
371 The names used for 
372 .B "make macros
373 are structured in a way that allows to use 
374 .BR grep (1)
375 to look for the names in the 
376 .B make rules.
377 To allow this, no name must be a substring of another name.
378 .PP
379 If a command needs options that have to be specified
380 in macros, there is a 
381 .B "make macro
382 that is named
383 .I XXXFLAGS.
384 This is compliant to usual make file rules.
385 The are internal 
386 .B "make macros
387 called
388 .I XXXOPTS
389 and
390 .I XXXOPTX
391 that will be combined for 
392 .IR XXXFLAGS :
393 .sp
394 .B "LDFLAGS= $(LDOPTS) $(LDOPTX)
395 .sp
396 Where 
397 .I XXXOPTS
398 is the name of the macro that is used internally
399 and 
400 .I XXXOPTX
401 is the name of the macro that may be used from the
402 command line of the make program.
403 .I XXXOPTX
404 therefore is used to append to the content of 
405 .I XXXFLAGS
406 If the value of
407 .I XXXFLAGS
408 need to be overwritten, 
409 .I XXXOPTS
410 may be used within the command line flags of the make program.
411
412 .SH "The Structure Of The Make Rule System
413 .SH "The Structure Of The Basic Rules in rules.top
414 The file 
415 .B RULES/rules.top
416 first includes a rule file that depends on the 
417 make program that is used.
418 The name of this file is
419 .BI RULES/mk\- makeprog .id
420 where
421 .I makeprog
422 has to be replaced by the real name of
423 the makeprogram e.g.
424 .BR make ", " gmake ", " smake .
425 The purpose of this file is to set up a list of macros
426 that identify the system where the project is currently built.
427 These macros have values that contain only lower case letters and define:
428 .TP 28
429 the processor architecture
430 If two systems run the same operating system, this
431 is a unique value if a simple user level program will
432 not need to be recompiled in order to run on the other system.
433 Possible values are 
434 .BR sparc ", " mc68020 ", " pentium .
435 This is the output of
436 .BR "uname \-p" .
437 The value is stored in
438 .BR P_ARCH .
439 .TP
440 the kernel architecture
441 If two systems may use the same value for 
442 .B P_ARCH
443 but a heavily system dependent user level program
444 need to be recompiled in order to run on the other
445 system, These two systems have different 
446 kernel architectures.
447 This is the output of
448 .BR "uname \-m" .
449 Possible values are 
450 .BR sun3 ", " sun4c ", " sun4m .
451 The value is stored in
452 .BR K_ARCH .
453 .TP
454 the machine architecture
455 An outdated macro that is useful only on sun systems.
456 Do not use this, use 
457 .B P_ARCH 
458 instead.
459 This is the output of
460 .BR arch .
461 Possible values are 
462 .BR sun3 ", " sun4 .
463 The value is stored in
464 .BR M_ARCH .
465 .TP
466 the hostname
467 The name of the machine where the compilation takes place.
468 This is the output of
469 .BR "uname \-n" .
470 The value is stored in
471 .BR HOSTNAME .
472 .TP
473 the name of the operating system
474 This is the output of
475 .BR "uname \-s" .
476 Possible values are 
477 .BR sunos ", " dgux ", " hp\-ux ", " irix .
478 The value is stored in
479 .BR OSNAME .
480 .TP
481 the release of the operating system
482 This is the output of
483 .BR "uname \-r" .
484 Possible values are 
485 .BR 5.5 ", " 4.1.4 .
486 The value is stored in
487 .BR OSREL .
488 .PP
489 The next file to be included from
490 .B RULES/rules.top
491 is
492 .BI RULES/os\- "operating system" .id .
493 It defines the macros
494 .B O_ARCH
495 and
496 .B \-O_ARCH 
497 and may modify one of the macros that are defined
498 in
499 .BI RULES/mk\- makeprog .id .
500 The macros
501 .B O_ARCH
502 and
503 .B \-O_ARCH 
504 are used to distinguish between different operating systems.
505 The names of the compiler configuration files have
506 .B \-O_ARCH 
507 as a central part.
508 On some operating systems e.g. 
509 .B SunOS
510 and
511 .B DG\-UX
512 it is necessary to distinguish between 
513 .B "SunOS 4.x
514 and
515 .B "SunOS 5.x
516 or
517 .B "DG\-UX 3.x
518 and 
519 .B "DG\-UX 4.x.
520 .PP
521 The next file to be included from
522 .B RULES/rules.top
523 is
524 .BR Defaults .
525 It defines the macros
526 .B DEFCCOM
527 ,
528 .B DEFINCDIRS
529 ,
530 .B LDPATH
531 ,
532 .B RUNPATH
533 ,
534 .B INS_BASE
535 and 
536 .BR INS_KBASE .
537 If the definitions have to be different on
538 different systems, this file may contain a line int the form:
539 .sp
540 .BI include  " $(SRCROOT)" /Defaults. $(O_ARCH)
541 .sp
542 The actual definitions then have to be moved into
543 these files.
544 .PP
545 Next, after setting up some internal defaults,
546 .B RULES/rules.top
547 includes the compiler configuration file with
548 the name:
549 .sp
550 .I $(SRCROOT)/$(RULESDIR)/$(XARCH).rul
551 .sp
552 This file contains all necessary 
553 .B system dependent 
554 stuff that is needed to configure the C-compiler 
555 on the appropriate system.
556 It is a bad idea to create a new one from scratch.
557 Have a look at the other compiler configuration
558 files and modify a similar file for your needs.
559 Note that there are basically two criterias to
560 that are important in a compiler configuration file.
561 One is whether the system uses the
562 .I ELF
563 header format or not. 
564 The other is whether the system uses
565 .I shared libraries
566 or not.
567
568 .SH "The Structure Of The Application Specific Rules
569 .PP
570 The application specific rule files are designed in
571 such a way that they include all necessary stuff that
572 is needed for that specific task. The application specific
573 rule files are:
574 .TP 25
575 $(RULES)/rules.aux
576 Rules for installing non localized auxiliary files.
577 .TP
578 $(RULES)/rules.cmd
579 Rules for commands like 
580 .I sh.
581 .TP
582 $(RULES)/rules.dir
583 Rules for sub directories.
584 .TP
585 $(RULES)/rules.drv
586 Rules for lodable drivers.
587 .TP
588 $(RULES)/rules.lib
589 Rules for static libraries.
590 .TP
591 $(RULES)/rules.loc
592 Rules for installing localized auxiliary files.
593 .TP
594 $(RULES)/rules.man
595 Rules for installing localized manual pages.
596 .TP
597 $(RULES)/rules.mks
598 Rules for sub makefiles.
599 .TP
600 $(RULES)/rules.mod
601 Rules for lodable stream modules.
602 .TP
603 $(RULES)/rules.scr
604 Rules for installing localized shell scripts.
605 .TP
606 $(RULES)/rules.shl
607 Rules for shared libraries.
608
609 .SH "Understanding The Structure Of The Make Rule System
610 .PP
611 To understand the structure of the 
612 .B "make rule
613 system while doing changes, try to use the 
614 .B \-xM
615 flag
616 in the
617 .B smake
618 program.
619 This flag will print out the include dependency list
620 (i.e. a list that tell you which make rules is included
621 from which other rule).
622 .PP
623 Note that some of the rules are make program dependent.
624 If you want to make changes to these rules you may need to
625 place the definitions into separate rule files
626 each for the appropriate make program.
627 Have a look into the
628 .B RULES
629 directory
630 for some examples.
631
632 .SH FILES
633 \&.\|.\|./RULES/*
634 .br
635 \&.\|.\|./DEFAULTS/*
636 .br
637 \&.\|.\|./TARGETS/*
638 .br
639 \&.\|.\|./TEMPLATES/*
640
641 .SH "SEE ALSO"
642 .BR makefiles (4),
643 .BR make (1),
644 .BR gmake (1),
645 .BR smake (1).
646
647 .SH DIAGNOSTICS
648 Diagnostic messages depend on the make program.
649 Have a look at the appropriate man page.
650
651 .SH NOTES
652 .PP
653 The make rules
654 can be used with 
655 .IR "Sunpro make" ", " "Gnu make"
656 and 
657 .IR smake .
658 Although Gnu make runs on many platforms, it has no useful debug
659 output.
660 .PP
661 Use
662 .IR "Sunpro make" " or " "smake"
663 if you have problems with a makefile.
664 .IR "Sunpro make" " and " "smake" ,
665 both have a \-D flag, that allows you to watch the makefiles
666 after the first expansion. Use this option, if you are in doubt
667 if your makefile gets expanded the right way and if the right
668 rules are included.
669 There is also a \-d option that gives debugging output while 
670 make is running. If you want more output, use \-dd, \-ddd and so on.
671 .PP
672 .I Smake
673 has an option \-xM that shows you the include dependency for
674 make rules.
675
676 .SH BUGS
677
678 .SH "Source Tree Hierarchy
679 .LP
680 The following outline gives a quick tour through a typical
681 source hierarchy:
682 .LP
683 .na
684 .nh
685 .PD 0
686 .TP
687 .B .../
688 root directory of the source tree
689 .
690 .RS
691 .TP
692 .B Makefile
693 the top Makefile
694 .TP
695 .B Defaults
696 default definitions for that source tree. System dependent
697 definitions are in 
698 .B .../DEFAULTS/
699 .TP
700 .B Targetdirs
701 a file containing a list of directories that are needed
702 for that project.
703 If the system needs different target lists depending
704 on the target system architecture , use target specific files in
705 .B .../TARGETS/
706 .TP
707 \&.\|.\|.
708 .RE
709 .
710 .TP
711 .B .../RULES/
712 the location of makefiles (included rules)
713 .
714 .RS
715 .TP
716 .B rules.top
717 the mandatory include rules (needed to setup basic rules)
718 .TP
719 .B rules.aux
720 rules needed to install a non localized auxiliary file
721 .TP
722 .B rules.cmd
723 rules needed to make an ordinary command (like /bin/sh)
724 .TP
725 .B rules.drv
726 rules needed to make a device driver
727 .TP
728 .B rules.lib
729 rules needed to make a standard (nonshared) library
730 .TP
731 .B rules.loc
732 rules needed to install a localized auxiliary file
733 .TP
734 .B rules.man
735 rules needed to install a localized manual page
736 .TP
737 .B rules.scr
738 rules needed to install a localized shell script
739 .TP
740 .B rules.shl
741 rules needed to make a shared library
742 .TP
743 .B rules.mks
744 rules needed to make more than one target in a specific directory
745 .TP
746 .B rules.dir
747 rules needed to make targets that are located in sub directories
748 to the current directory
749 .TP
750 \&.\|.\|.
751 .RE
752 .
753 .TP
754 .B .../DEFAULTS/
755 default definitions for various target architectures are
756 located in this directory. Templates for some architectures can
757 be found in the
758 .I .../TEMPLATES/
759 directory.
760 .TP
761 .B .../TARGETS/
762 target list definitions for various target architectures are
763 located in this directory.
764 .TP
765 .B .../TEMPLATES/
766 templates that should be used inside the project
767 (rename to Makefile, if it is the only makefile on that directory, 
768 rename to
769 .I target.mk,
770 if there is more than one target in that directory)
771 .
772 .RS
773 .TP
774 .B Defaults
775 Defaults file for the source root directory
776 .TP
777 .B Defaults.linux
778 Defaults file for 
779 .IR linux .
780 This sould be installed in the 
781 .B .../DEFAULTS/
782 directory.
783 .TP
784 .B Makefile.root
785 Makefile for the source root directory
786 .TP
787 .B Makefile.aux
788 Makefile for a non localized auxiliary file
789 .TP
790 .B Makefile.cmd
791 Makefile for an ordinary command (like /bin/sh)
792 .TP
793 .B Makefile.lib
794 Makefile for a standard (nonshared) library
795 .TP
796 .B Makefile.loc
797 Makefile for a localized auxiliary file
798 .TP
799 .B Makefile.man
800 Makefile for a localized manual page
801 .TP
802 .B Makefile_de.man
803 Makefile for a localized manual page in the german locale
804 .TP
805 .B Makefile.scr
806 Makefile for a localized shell script
807 .TP
808 .B Makefile.shl
809 Makefile for a shared library
810 .TP
811 .B Makefile.drv
812 Makefile for a device driver
813 .TP
814 .B Makefile.mks
815 Makefile for more than one target in a specific directory
816 .TP
817 .B Makefile.dir
818 Makefile for targets that are located in sub directories
819 to the current directory
820 .TP
821 \&.\|.\|.
822 .RE
823 .
824 .TP
825 .B .../cmd/
826 source tree for normal commands
827 .
828 .RS
829 .TP
830 .B Makefile
831 the makefile for the 
832 .I cmd 
833 sub directory
834 .TP
835 .B Targetdirs.sun4m
836 a file containing a list of directories like 
837 .I myprog 
838 (see below) that are needed
839 for that specific architecture.
840 .TP
841 .B myprog/
842 directory where the sources for a specific command are located
843 .
844 .RS
845 .TP
846 Makefile
847 makefile for
848 .I myprog
849 .TP
850 Makefile.man
851 makefile for the manual page of
852 .I myprog
853 .TP
854 mprog.c
855 source for myprog
856 .TP
857 mprog.tr
858 troff source for the manual page of myprog
859 .TP
860 .B OBJ/
861 directory where system specific sub directories are located
862 .
863 .RS
864 .TP
865 .B sparc\-sunos5\-cc/
866 directory for binaries that belong to a specific system
867 .TP
868 \&.\|.\|.
869 .RE
870 .TP
871 \&.\|.\|.
872 .RE
873 .br
874 .TP
875 \&.\|.\|.
876 .RE
877 .br
878 .ne 5
879 .TP
880 .B .../lib/
881 directory where the sources for a libraries are located
882 .
883 .RS
884 .TP
885 .B Makefile
886 the makefile for the 
887 .I lib 
888 sub directory
889 .TP
890 .B Targetdirs.sun4m
891 a file containing a list of directories like 
892 .I libfoo
893 (see below) that are needed
894 for that specific architecture.
895 .TP
896 .B libfoo/
897 directory where all source files for libfoo are located
898 .TP
899 \&.\|.\|.
900 .RE
901 .
902 .TP
903 .B .../kernel
904 directory for kernel modules
905 .
906 .RS
907 .TP
908 .B Makefile
909 the makefile for the 
910 .I kernel
911 sub directory
912 .TP
913 .B Targetdirs.sun4m
914 a file containing a list of directories like 
915 .I drv 
916 (see below) that are needed
917 for that specific architecture.
918 .TP
919 .B drv/
920 directory where drivers are located
921 .
922 .RS
923 .TP
924 .B Makefile
925 the makefile for the 
926 .I drv
927 sub directory
928 .TP
929 .B Targetdirs.sun4m
930 a file containing a list of directories like 
931 .I mydrv
932 (see below) that are needed
933 for that specific architecture.
934 .TP
935 .B mydrv/
936 source for a specific driver
937 .TP
938 \&.\|.\|.
939 .RE
940 .
941 .TP
942 \&.\|.\|.
943 .RE
944 .
945 .TP
946 .B .../include
947 directory for global include files that are used in that project
948 .
949 .TP
950 .B .../bins
951 directory for binary programs that are created/needed while compiling
952 the project
953 .RS
954 .TP
955 .B sparc\-sunos5\-cc/
956 directory for binaries that belong to a specific system
957 .TP
958 \&.\|.\|.
959 .RE
960 .
961 .TP
962 .B .../libs
963 directory for libraries that are created/needed while compiling
964 the project
965 .RS
966 .TP
967 .B sparc\-sunos5\-cc/
968 directory for libraries that belong to a specific system
969 .TP
970 \&.\|.\|.
971 .RE
972 .
973 .TP
974 .B .../incs
975 directory for include files that are created/needed while compiling
976 the project
977 .RS
978 .TP
979 .B sparc\-sunos5\-cc/
980 directory for include files that belong to a specific system
981 .TP
982 \&.\|.\|.
983 .RE
984 .TP
985 \&.\|.\|.
986 .RE
987 .
988 .ad
989 .PD
990
991 .SH AUTHOR
992 .nf
993 J\*org Schilling
994 Seestr. 110
995 D-13353 Berlin
996 Germany
997 .fi
998 .PP
999 Mail bugs and suggestions to:
1000 .PP
1001 .B
1002 joerg@schily.isdn.cs.tu-berlin.de
1003 or
1004 .B
1005 js@cs.tu-berlin.de
1006 or
1007 .B
1008 jes@fokus.gmd.de