Michael G Schwern <[EMAIL PROTECTED]> wrote on 01/04/2005 04:46:54 PM:
> > -$(INST_STATIC) : $(OBJECT) $(MYEXTLIB)
$(INST_ARCHAUTODIR)$(DFSEP).exists
> > +$(INST_STATIC) : $(OBJECT) $(MYEXTLIB)
> > ';
> > # If this extension has its own library (eg SDBM_File)
> > # then copy that to $(INST_STATIC) and add $(OBJECT) into it.
>
> Why would removing it as a dependency matter?
Because of the subsequent action command:
$ search descrip.mms "library/object/replace"/window
$(INST_STATIC) : $(OBJECT) $(MYEXTLIB)
If F$Search("$(MMS$TARGET)").eqs."" Then Library/Object/Create
$(MMS$TARGET)
Library/Object/Replace $(MMS$TARGET) $(MMS$SOURCE_LIST)
$(NOECHO) $(PERL) -e 1 >$(INST_ARCHAUTODIR)extralibs.ld
The library/object command knows when it is being
asked to insert a non *.OBJ file into an OLB library
because of the different file attributes that a text file
like .exists has.
Peter Prymmer