| 
            Last change
 on this file since 2460 was             2446, checked in by bird, 20 years ago           | 
        
        
          | 
             
serious restructuring in progress. 
 
           | 
        
        
          
            
              - 
Property                 cvs2svn:cvs-rev
 set to                 
1.8
               
              - 
Property                 svn:eol-style
 set to                 
native
               
              - 
Property                 svn:executable
 set to                 
*
               
              - 
Property                 svn:keywords
 set to                 
Author Date Id Revision
               
             
           | 
        
        
          | 
            File size:
            884 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [94] | 1 | # This submakefile is included when a module needs to build a library.
 | 
|---|
 | 2 | # For a list of additional variables that can be defined prior to including
 | 
|---|
 | 3 | # this submakefile see build.txt.
 | 
|---|
 | 4 | 
 | 
|---|
| [578] | 5 | # for opt builds we have our own install rules
 | 
|---|
 | 6 | ifeq ($(findstring prof,$(.TKIND)),)
 | 
|---|
 | 7 | ifneq ($(findstring aout,$(.TKIND)),)
 | 
|---|
 | 8 | ifeq ($(MODE),opt)
 | 
|---|
 | 9 | .NOINST := 1
 | 
|---|
 | 10 | endif
 | 
|---|
 | 11 | endif
 | 
|---|
 | 12 | endif
 | 
|---|
 | 13 | 
 | 
|---|
| [94] | 14 | include common.smak
 | 
|---|
 | 15 | 
 | 
|---|
| [236] | 16 | libs: $(.MODULE)
 | 
|---|
 | 17 | 
 | 
|---|
| [94] | 18 | # The rule for building an archive
 | 
|---|
| [1128] | 19 | ifneq ($(findstring aout,$(.TKIND)),)
 | 
|---|
 | 20 | $(eval $(call def_lib_ar))
 | 
|---|
 | 21 | else
 | 
|---|
| [894] | 22 | $(eval $(call def_lib))
 | 
|---|
| [1128] | 23 | endif
 | 
|---|
| [94] | 24 | 
 | 
|---|
| [578] | 25 | # Rule for stripping debug info.
 | 
|---|
 | 26 | ifdef .NOINST
 | 
|---|
 | 27 | INS.FILES += $(INS)$(.INSDIR)$(.TARGET)
 | 
|---|
 | 28 | $(INS)$(.INSDIR)$(.TARGET): $.$(.TARG)
 | 
|---|
 | 29 |         objcopy --strip-debug $< $@
 | 
|---|
 | 30 |         
 | 
|---|
 | 31 | INS.FILES += $(INS)$(.INSDIR)dbg/$(.TARGET)
 | 
|---|
 | 32 | $(INS)$(.INSDIR)dbg/$(.TARGET): $.$(.TARG)
 | 
|---|
 | 33 |         mkdir -p $(INS)$(.INSDIR)dbg
 | 
|---|
 | 34 |         $(call CP,$<,$@)
 | 
|---|
 | 35 | endif   
 | 
|---|
 | 36 | 
 | 
|---|
| [156] | 37 | include mkomflib.smak
 | 
|---|
| [94] | 38 | include comend.smak
 | 
|---|
| [578] | 39 | .NOINST :=
 | 
|---|
 | 40 | 
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.