Print this page
4029 remove tonic build bits


 142 LDLIBS=         $(LDLIBS.lib)
 143 
 144 OBJS=           $(OBJECTS:%=objs/%)
 145 PICS=           $(OBJECTS:%=pics/%)
 146 
 147 # Declare that all library .o's can all be made in parallel.
 148 # The DUMMY target is for those instances where OBJS and PICS
 149 # are empty (to avoid an unconditional .PARALLEL declaration).
 150 .PARALLEL:      $(OBJS) $(PICS) DUMMY
 151 
 152 # default value for "portable" source
 153 SRCS=           $(OBJECTS:%.o=$(SRCDIR)/%.c)
 154 
 155 # default build of an archive and a shared object,
 156 # overridden locally when extra processing is needed
 157 BUILD.AR=       $(AR) $(ARFLAGS) $@ $(AROBJS)
 158 BUILD.SO=       $(CC) -o $@ $(GSHARED) $(DYNFLAGS) $(PICS) $(EXTPICS) $(LDLIBS)
 159 BUILDCCC.SO=    $(CCC) -o $@ $(GSHARED) $(DYNFLAGS) $(PICS) $(EXTPICS) $(LDLIBS)
 160 
 161 # default dynamic library symlink
 162 # IMPORTANT:: If you change INS.liblink OR INS.liblink64 here, then you 
 163 # MUST also change the corresponding override definitions in
 164 # $CLOSED/Makefile.tonic.
 165 #
 166 # If you do not do this, then the closedbins build for the OpenSolaris
 167 # community will break. PS, the gatekeepers will be upset too.
 168 #
 169 INS.liblink=    -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKS)$(VERS) $@
 170 INS.liblinkccc= -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKSCCC)$(VERS) $@
 171 
 172 # default 64-bit dynamic library symlink
 173 INS.liblink64=  -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKS)$(VERS) $@
 174 INS.liblinkccc64= -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKSCCC)$(VERS) $@
 175 
 176 #
 177 # If appropriate, augment POST_PROCESS_O and POST_PROCESS_SO to do CTF
 178 # processing.  We'd like to just conditionally append to POST_PROCESS_O and
 179 # POST_PROCESS_SO, but ParallelMake has a bug which causes the same value to
 180 # sometimes get appended more than once, which will cause ctfconvert to fail.
 181 # So, instead we introduce CTFCONVERT_POST and CTFMERGE_POST, which are always
 182 # appended to POST_PROCESS_O and POST_PROCESS_SO but are no-ops unless CTF
 183 # processing should be done.
 184 #
 185 CTFCONVERT_POST = :
 186 CTFMERGE_POST   = :
 187 POST_PROCESS_O += ; $(CTFCONVERT_POST)
 188 POST_PROCESS_SO += ; $(CTFMERGE_POST)




 142 LDLIBS=         $(LDLIBS.lib)
 143 
 144 OBJS=           $(OBJECTS:%=objs/%)
 145 PICS=           $(OBJECTS:%=pics/%)
 146 
 147 # Declare that all library .o's can all be made in parallel.
 148 # The DUMMY target is for those instances where OBJS and PICS
 149 # are empty (to avoid an unconditional .PARALLEL declaration).
 150 .PARALLEL:      $(OBJS) $(PICS) DUMMY
 151 
 152 # default value for "portable" source
 153 SRCS=           $(OBJECTS:%.o=$(SRCDIR)/%.c)
 154 
 155 # default build of an archive and a shared object,
 156 # overridden locally when extra processing is needed
 157 BUILD.AR=       $(AR) $(ARFLAGS) $@ $(AROBJS)
 158 BUILD.SO=       $(CC) -o $@ $(GSHARED) $(DYNFLAGS) $(PICS) $(EXTPICS) $(LDLIBS)
 159 BUILDCCC.SO=    $(CCC) -o $@ $(GSHARED) $(DYNFLAGS) $(PICS) $(EXTPICS) $(LDLIBS)
 160 
 161 # default dynamic library symlink







 162 INS.liblink=    -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKS)$(VERS) $@
 163 INS.liblinkccc= -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKSCCC)$(VERS) $@
 164 
 165 # default 64-bit dynamic library symlink
 166 INS.liblink64=  -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKS)$(VERS) $@
 167 INS.liblinkccc64= -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKSCCC)$(VERS) $@
 168 
 169 #
 170 # If appropriate, augment POST_PROCESS_O and POST_PROCESS_SO to do CTF
 171 # processing.  We'd like to just conditionally append to POST_PROCESS_O and
 172 # POST_PROCESS_SO, but ParallelMake has a bug which causes the same value to
 173 # sometimes get appended more than once, which will cause ctfconvert to fail.
 174 # So, instead we introduce CTFCONVERT_POST and CTFMERGE_POST, which are always
 175 # appended to POST_PROCESS_O and POST_PROCESS_SO but are no-ops unless CTF
 176 # processing should be done.
 177 #
 178 CTFCONVERT_POST = :
 179 CTFMERGE_POST   = :
 180 POST_PROCESS_O += ; $(CTFCONVERT_POST)
 181 POST_PROCESS_SO += ; $(CTFMERGE_POST)