750 lines
26 KiB
Makefile
750 lines
26 KiB
Makefile
# unroll begin
|
|
|
|
.IF "$(LIB1TARGET)" != ""
|
|
.IF "$(LIB1ARCHIV)" != ""
|
|
|
|
$(LIB1ARCHIV) : $(LIB1TARGET)
|
|
@echo Making: $@
|
|
@-+$(RM) $@ >& $(NULLDEV)
|
|
.IF "$(GUI)"=="UNX"
|
|
@+-$(RM) $(MISC)$/$(LIB1ARCHIV:b).cmd
|
|
.IF "$(OS)" =="HPUX_FRAG_HR"
|
|
@+-$(RM) $(MISC)$/$(LIB1ARCHIV:b)_closetempl.cmd
|
|
@+echo $(LINK) +inst_close -c `cat $(LIB1TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB1ARCHIV:b)_closetempl.cmd
|
|
@cat $(MISC)$/$(LIB1ARCHIV:b)_closetempl.cmd
|
|
@source $(MISC)$/$(LIB1ARCHIV:b)_closetempl.cmd
|
|
.ENDIF
|
|
@+echo $(LIBMGR) $(LIB1FLAGS) $(LIBFLAGS) $(LIB1ARCHIV) `cat $(LIB1TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB1ARCHIV:b).cmd
|
|
.IF "$(OS)$(COM)"=="NETBSDGCC"
|
|
@+echo ranlib $(LIB1ARCHIV) >> $(MISC)$/$(LIB1ARCHIV:b).cmd
|
|
.ENDIF
|
|
@cat $(MISC)$/$(LIB1ARCHIV:b).cmd
|
|
@source $(MISC)$/$(LIB1ARCHIV:b).cmd
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
@echo just a dummy > $@
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(LIB1ARCHIV)" != ""
|
|
|
|
$(LIB1TARGET) : $(LIB1FILES) \
|
|
$(LIB1OBJFILES) \
|
|
$(LIB1DEPN)
|
|
@echo using: $(LIB1FILES)
|
|
@echo using: $(LIB1TARGET)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
.IF "$(GUI)"!="MAC"
|
|
.IF "$(GUI)"!="UNX"
|
|
@-+IF EXIST $@ del $@
|
|
.ENDIF
|
|
.ENDIF
|
|
.IF "$(GUI)"=="UNX"
|
|
@+$(RM) $@
|
|
@+echo $(LIB1OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)$/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB1FILES:s/.obj/.o/) | xargs -n 1 >> $@
|
|
@+$(RM) $(@:d)$(@:b).dump
|
|
.IF "$(OS)"=="MACOSX"
|
|
@-+nm `cat $(LIB1TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ELSE
|
|
@+nm `cat $(LIB1TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ENDIF
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(GUI)"=="MAC"
|
|
@+$(RM) $@
|
|
@+echo $(LIB1OBJFILES) | sed s\#$(PRJ:s/./\./)$/$(ROUT)\#$(ROUT)\#g | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB1FILES) | xargs -n 1 >> $@
|
|
.ELSE # "$(GUI)"=="MAC"
|
|
.IF "$(GUI)"=="WNT"
|
|
$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB1FILES) $(LIB1OBJFILES))
|
|
.IF "$(LIB1OBJFILES)"!=""
|
|
@-+echo $(LIB1OBJFILES) > $(null,$(LIB1OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
|
|
.ENDIF # "$(LIB1OBJFILES)"!=""
|
|
.IF "$(LIB1FILES)"!=""
|
|
@-$(TYPE) $(foreach,i,$(LIB1FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
|
|
.ENDIF # "$(LIB1FILES)"!=""
|
|
@+echo.
|
|
.ELSE # "$(GUI)"=="WNT"
|
|
@+-$(RM) $@
|
|
+echo $(LIBMGR) r $@ $(LIB1OBJFILES)
|
|
$(LIBMGR) r $@ $(LIB1OBJFILES) $(LIB1FILES) bla.lib
|
|
.ENDIF # "$(GUI)"=="WNT"
|
|
.ENDIF # "$(GUI)"=="MAC"
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(LIB1TARGET)" != ""
|
|
|
|
# Anweisungen fuer das LIBTARGETs
|
|
# unroll begin
|
|
|
|
.IF "$(LIB2TARGET)" != ""
|
|
.IF "$(LIB2ARCHIV)" != ""
|
|
|
|
$(LIB2ARCHIV) : $(LIB2TARGET)
|
|
@echo Making: $@
|
|
@-+$(RM) $@ >& $(NULLDEV)
|
|
.IF "$(GUI)"=="UNX"
|
|
@+-$(RM) $(MISC)$/$(LIB2ARCHIV:b).cmd
|
|
.IF "$(OS)" =="HPUX_FRAG_HR"
|
|
@+-$(RM) $(MISC)$/$(LIB2ARCHIV:b)_closetempl.cmd
|
|
@+echo $(LINK) +inst_close -c `cat $(LIB2TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB2ARCHIV:b)_closetempl.cmd
|
|
@cat $(MISC)$/$(LIB2ARCHIV:b)_closetempl.cmd
|
|
@source $(MISC)$/$(LIB2ARCHIV:b)_closetempl.cmd
|
|
.ENDIF
|
|
@+echo $(LIBMGR) $(LIB2FLAGS) $(LIBFLAGS) $(LIB2ARCHIV) `cat $(LIB2TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB2ARCHIV:b).cmd
|
|
.IF "$(OS)$(COM)"=="NETBSDGCC"
|
|
@+echo ranlib $(LIB2ARCHIV) >> $(MISC)$/$(LIB2ARCHIV:b).cmd
|
|
.ENDIF
|
|
@cat $(MISC)$/$(LIB2ARCHIV:b).cmd
|
|
@source $(MISC)$/$(LIB2ARCHIV:b).cmd
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
@echo just a dummy > $@
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(LIB2ARCHIV)" != ""
|
|
|
|
$(LIB2TARGET) : $(LIB2FILES) \
|
|
$(LIB2OBJFILES) \
|
|
$(LIB2DEPN)
|
|
@echo using: $(LIB2FILES)
|
|
@echo using: $(LIB2TARGET)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
.IF "$(GUI)"!="MAC"
|
|
.IF "$(GUI)"!="UNX"
|
|
@-+IF EXIST $@ del $@
|
|
.ENDIF
|
|
.ENDIF
|
|
.IF "$(GUI)"=="UNX"
|
|
@+$(RM) $@
|
|
@+echo $(LIB2OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)$/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB2FILES:s/.obj/.o/) | xargs -n 1 >> $@
|
|
@+$(RM) $(@:d)$(@:b).dump
|
|
.IF "$(OS)"=="MACOSX"
|
|
@-+nm `cat $(LIB2TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ELSE
|
|
@+nm `cat $(LIB2TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ENDIF
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(GUI)"=="MAC"
|
|
@+$(RM) $@
|
|
@+echo $(LIB2OBJFILES) | sed s\#$(PRJ:s/./\./)$/$(ROUT)\#$(ROUT)\#g | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB2FILES) | xargs -n 1 >> $@
|
|
.ELSE # "$(GUI)"=="MAC"
|
|
.IF "$(GUI)"=="WNT"
|
|
$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB2FILES) $(LIB2OBJFILES))
|
|
.IF "$(LIB2OBJFILES)"!=""
|
|
@-+echo $(LIB2OBJFILES) > $(null,$(LIB2OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
|
|
.ENDIF # "$(LIB2OBJFILES)"!=""
|
|
.IF "$(LIB2FILES)"!=""
|
|
@-$(TYPE) $(foreach,i,$(LIB2FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
|
|
.ENDIF # "$(LIB2FILES)"!=""
|
|
@+echo.
|
|
.ELSE # "$(GUI)"=="WNT"
|
|
@+-$(RM) $@
|
|
+echo $(LIBMGR) r $@ $(LIB2OBJFILES)
|
|
$(LIBMGR) r $@ $(LIB2OBJFILES) $(LIB2FILES) bla.lib
|
|
.ENDIF # "$(GUI)"=="WNT"
|
|
.ENDIF # "$(GUI)"=="MAC"
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(LIB2TARGET)" != ""
|
|
|
|
# Anweisungen fuer das LIBTARGETs
|
|
# unroll begin
|
|
|
|
.IF "$(LIB3TARGET)" != ""
|
|
.IF "$(LIB3ARCHIV)" != ""
|
|
|
|
$(LIB3ARCHIV) : $(LIB3TARGET)
|
|
@echo Making: $@
|
|
@-+$(RM) $@ >& $(NULLDEV)
|
|
.IF "$(GUI)"=="UNX"
|
|
@+-$(RM) $(MISC)$/$(LIB3ARCHIV:b).cmd
|
|
.IF "$(OS)" =="HPUX_FRAG_HR"
|
|
@+-$(RM) $(MISC)$/$(LIB3ARCHIV:b)_closetempl.cmd
|
|
@+echo $(LINK) +inst_close -c `cat $(LIB3TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB3ARCHIV:b)_closetempl.cmd
|
|
@cat $(MISC)$/$(LIB3ARCHIV:b)_closetempl.cmd
|
|
@source $(MISC)$/$(LIB3ARCHIV:b)_closetempl.cmd
|
|
.ENDIF
|
|
@+echo $(LIBMGR) $(LIB3FLAGS) $(LIBFLAGS) $(LIB3ARCHIV) `cat $(LIB3TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB3ARCHIV:b).cmd
|
|
.IF "$(OS)$(COM)"=="NETBSDGCC"
|
|
@+echo ranlib $(LIB3ARCHIV) >> $(MISC)$/$(LIB3ARCHIV:b).cmd
|
|
.ENDIF
|
|
@cat $(MISC)$/$(LIB3ARCHIV:b).cmd
|
|
@source $(MISC)$/$(LIB3ARCHIV:b).cmd
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
@echo just a dummy > $@
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(LIB3ARCHIV)" != ""
|
|
|
|
$(LIB3TARGET) : $(LIB3FILES) \
|
|
$(LIB3OBJFILES) \
|
|
$(LIB3DEPN)
|
|
@echo using: $(LIB3FILES)
|
|
@echo using: $(LIB3TARGET)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
.IF "$(GUI)"!="MAC"
|
|
.IF "$(GUI)"!="UNX"
|
|
@-+IF EXIST $@ del $@
|
|
.ENDIF
|
|
.ENDIF
|
|
.IF "$(GUI)"=="UNX"
|
|
@+$(RM) $@
|
|
@+echo $(LIB3OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)$/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB3FILES:s/.obj/.o/) | xargs -n 1 >> $@
|
|
@+$(RM) $(@:d)$(@:b).dump
|
|
.IF "$(OS)"=="MACOSX"
|
|
@-+nm `cat $(LIB3TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ELSE
|
|
@+nm `cat $(LIB3TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ENDIF
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(GUI)"=="MAC"
|
|
@+$(RM) $@
|
|
@+echo $(LIB3OBJFILES) | sed s\#$(PRJ:s/./\./)$/$(ROUT)\#$(ROUT)\#g | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB3FILES) | xargs -n 1 >> $@
|
|
.ELSE # "$(GUI)"=="MAC"
|
|
.IF "$(GUI)"=="WNT"
|
|
$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB3FILES) $(LIB3OBJFILES))
|
|
.IF "$(LIB3OBJFILES)"!=""
|
|
@-+echo $(LIB3OBJFILES) > $(null,$(LIB3OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
|
|
.ENDIF # "$(LIB3OBJFILES)"!=""
|
|
.IF "$(LIB3FILES)"!=""
|
|
@-$(TYPE) $(foreach,i,$(LIB3FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
|
|
.ENDIF # "$(LIB3FILES)"!=""
|
|
@+echo.
|
|
.ELSE # "$(GUI)"=="WNT"
|
|
@+-$(RM) $@
|
|
+echo $(LIBMGR) r $@ $(LIB3OBJFILES)
|
|
$(LIBMGR) r $@ $(LIB3OBJFILES) $(LIB3FILES) bla.lib
|
|
.ENDIF # "$(GUI)"=="WNT"
|
|
.ENDIF # "$(GUI)"=="MAC"
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(LIB3TARGET)" != ""
|
|
|
|
# Anweisungen fuer das LIBTARGETs
|
|
# unroll begin
|
|
|
|
.IF "$(LIB4TARGET)" != ""
|
|
.IF "$(LIB4ARCHIV)" != ""
|
|
|
|
$(LIB4ARCHIV) : $(LIB4TARGET)
|
|
@echo Making: $@
|
|
@-+$(RM) $@ >& $(NULLDEV)
|
|
.IF "$(GUI)"=="UNX"
|
|
@+-$(RM) $(MISC)$/$(LIB4ARCHIV:b).cmd
|
|
.IF "$(OS)" =="HPUX_FRAG_HR"
|
|
@+-$(RM) $(MISC)$/$(LIB4ARCHIV:b)_closetempl.cmd
|
|
@+echo $(LINK) +inst_close -c `cat $(LIB4TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB4ARCHIV:b)_closetempl.cmd
|
|
@cat $(MISC)$/$(LIB4ARCHIV:b)_closetempl.cmd
|
|
@source $(MISC)$/$(LIB4ARCHIV:b)_closetempl.cmd
|
|
.ENDIF
|
|
@+echo $(LIBMGR) $(LIB4FLAGS) $(LIBFLAGS) $(LIB4ARCHIV) `cat $(LIB4TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB4ARCHIV:b).cmd
|
|
.IF "$(OS)$(COM)"=="NETBSDGCC"
|
|
@+echo ranlib $(LIB4ARCHIV) >> $(MISC)$/$(LIB4ARCHIV:b).cmd
|
|
.ENDIF
|
|
@cat $(MISC)$/$(LIB4ARCHIV:b).cmd
|
|
@source $(MISC)$/$(LIB4ARCHIV:b).cmd
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
@echo just a dummy > $@
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(LIB4ARCHIV)" != ""
|
|
|
|
$(LIB4TARGET) : $(LIB4FILES) \
|
|
$(LIB4OBJFILES) \
|
|
$(LIB4DEPN)
|
|
@echo using: $(LIB4FILES)
|
|
@echo using: $(LIB4TARGET)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
.IF "$(GUI)"!="MAC"
|
|
.IF "$(GUI)"!="UNX"
|
|
@-+IF EXIST $@ del $@
|
|
.ENDIF
|
|
.ENDIF
|
|
.IF "$(GUI)"=="UNX"
|
|
@+$(RM) $@
|
|
@+echo $(LIB4OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)$/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB4FILES:s/.obj/.o/) | xargs -n 1 >> $@
|
|
@+$(RM) $(@:d)$(@:b).dump
|
|
.IF "$(OS)"=="MACOSX"
|
|
@-+nm `cat $(LIB4TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ELSE
|
|
@+nm `cat $(LIB4TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ENDIF
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(GUI)"=="MAC"
|
|
@+$(RM) $@
|
|
@+echo $(LIB4OBJFILES) | sed s\#$(PRJ:s/./\./)$/$(ROUT)\#$(ROUT)\#g | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB4FILES) | xargs -n 1 >> $@
|
|
.ELSE # "$(GUI)"=="MAC"
|
|
.IF "$(GUI)"=="WNT"
|
|
$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB4FILES) $(LIB4OBJFILES))
|
|
.IF "$(LIB4OBJFILES)"!=""
|
|
@-+echo $(LIB4OBJFILES) > $(null,$(LIB4OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
|
|
.ENDIF # "$(LIB4OBJFILES)"!=""
|
|
.IF "$(LIB4FILES)"!=""
|
|
@-$(TYPE) $(foreach,i,$(LIB4FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
|
|
.ENDIF # "$(LIB4FILES)"!=""
|
|
@+echo.
|
|
.ELSE # "$(GUI)"=="WNT"
|
|
@+-$(RM) $@
|
|
+echo $(LIBMGR) r $@ $(LIB4OBJFILES)
|
|
$(LIBMGR) r $@ $(LIB4OBJFILES) $(LIB4FILES) bla.lib
|
|
.ENDIF # "$(GUI)"=="WNT"
|
|
.ENDIF # "$(GUI)"=="MAC"
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(LIB4TARGET)" != ""
|
|
|
|
# Anweisungen fuer das LIBTARGETs
|
|
# unroll begin
|
|
|
|
.IF "$(LIB5TARGET)" != ""
|
|
.IF "$(LIB5ARCHIV)" != ""
|
|
|
|
$(LIB5ARCHIV) : $(LIB5TARGET)
|
|
@echo Making: $@
|
|
@-+$(RM) $@ >& $(NULLDEV)
|
|
.IF "$(GUI)"=="UNX"
|
|
@+-$(RM) $(MISC)$/$(LIB5ARCHIV:b).cmd
|
|
.IF "$(OS)" =="HPUX_FRAG_HR"
|
|
@+-$(RM) $(MISC)$/$(LIB5ARCHIV:b)_closetempl.cmd
|
|
@+echo $(LINK) +inst_close -c `cat $(LIB5TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB5ARCHIV:b)_closetempl.cmd
|
|
@cat $(MISC)$/$(LIB5ARCHIV:b)_closetempl.cmd
|
|
@source $(MISC)$/$(LIB5ARCHIV:b)_closetempl.cmd
|
|
.ENDIF
|
|
@+echo $(LIBMGR) $(LIB5FLAGS) $(LIBFLAGS) $(LIB5ARCHIV) `cat $(LIB5TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB5ARCHIV:b).cmd
|
|
.IF "$(OS)$(COM)"=="NETBSDGCC"
|
|
@+echo ranlib $(LIB5ARCHIV) >> $(MISC)$/$(LIB5ARCHIV:b).cmd
|
|
.ENDIF
|
|
@cat $(MISC)$/$(LIB5ARCHIV:b).cmd
|
|
@source $(MISC)$/$(LIB5ARCHIV:b).cmd
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
@echo just a dummy > $@
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(LIB5ARCHIV)" != ""
|
|
|
|
$(LIB5TARGET) : $(LIB5FILES) \
|
|
$(LIB5OBJFILES) \
|
|
$(LIB5DEPN)
|
|
@echo using: $(LIB5FILES)
|
|
@echo using: $(LIB5TARGET)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
.IF "$(GUI)"!="MAC"
|
|
.IF "$(GUI)"!="UNX"
|
|
@-+IF EXIST $@ del $@
|
|
.ENDIF
|
|
.ENDIF
|
|
.IF "$(GUI)"=="UNX"
|
|
@+$(RM) $@
|
|
@+echo $(LIB5OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)$/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB5FILES:s/.obj/.o/) | xargs -n 1 >> $@
|
|
@+$(RM) $(@:d)$(@:b).dump
|
|
.IF "$(OS)"=="MACOSX"
|
|
@-+nm `cat $(LIB5TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ELSE
|
|
@+nm `cat $(LIB5TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ENDIF
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(GUI)"=="MAC"
|
|
@+$(RM) $@
|
|
@+echo $(LIB5OBJFILES) | sed s\#$(PRJ:s/./\./)$/$(ROUT)\#$(ROUT)\#g | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB5FILES) | xargs -n 1 >> $@
|
|
.ELSE # "$(GUI)"=="MAC"
|
|
.IF "$(GUI)"=="WNT"
|
|
$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB5FILES) $(LIB5OBJFILES))
|
|
.IF "$(LIB5OBJFILES)"!=""
|
|
@-+echo $(LIB5OBJFILES) > $(null,$(LIB5OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
|
|
.ENDIF # "$(LIB5OBJFILES)"!=""
|
|
.IF "$(LIB5FILES)"!=""
|
|
@-$(TYPE) $(foreach,i,$(LIB5FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
|
|
.ENDIF # "$(LIB5FILES)"!=""
|
|
@+echo.
|
|
.ELSE # "$(GUI)"=="WNT"
|
|
@+-$(RM) $@
|
|
+echo $(LIBMGR) r $@ $(LIB5OBJFILES)
|
|
$(LIBMGR) r $@ $(LIB5OBJFILES) $(LIB5FILES) bla.lib
|
|
.ENDIF # "$(GUI)"=="WNT"
|
|
.ENDIF # "$(GUI)"=="MAC"
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(LIB5TARGET)" != ""
|
|
|
|
# Anweisungen fuer das LIBTARGETs
|
|
# unroll begin
|
|
|
|
.IF "$(LIB6TARGET)" != ""
|
|
.IF "$(LIB6ARCHIV)" != ""
|
|
|
|
$(LIB6ARCHIV) : $(LIB6TARGET)
|
|
@echo Making: $@
|
|
@-+$(RM) $@ >& $(NULLDEV)
|
|
.IF "$(GUI)"=="UNX"
|
|
@+-$(RM) $(MISC)$/$(LIB6ARCHIV:b).cmd
|
|
.IF "$(OS)" =="HPUX_FRAG_HR"
|
|
@+-$(RM) $(MISC)$/$(LIB6ARCHIV:b)_closetempl.cmd
|
|
@+echo $(LINK) +inst_close -c `cat $(LIB6TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB6ARCHIV:b)_closetempl.cmd
|
|
@cat $(MISC)$/$(LIB6ARCHIV:b)_closetempl.cmd
|
|
@source $(MISC)$/$(LIB6ARCHIV:b)_closetempl.cmd
|
|
.ENDIF
|
|
@+echo $(LIBMGR) $(LIB6FLAGS) $(LIBFLAGS) $(LIB6ARCHIV) `cat $(LIB6TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB6ARCHIV:b).cmd
|
|
.IF "$(OS)$(COM)"=="NETBSDGCC"
|
|
@+echo ranlib $(LIB6ARCHIV) >> $(MISC)$/$(LIB6ARCHIV:b).cmd
|
|
.ENDIF
|
|
@cat $(MISC)$/$(LIB6ARCHIV:b).cmd
|
|
@source $(MISC)$/$(LIB6ARCHIV:b).cmd
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
@echo just a dummy > $@
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(LIB6ARCHIV)" != ""
|
|
|
|
$(LIB6TARGET) : $(LIB6FILES) \
|
|
$(LIB6OBJFILES) \
|
|
$(LIB6DEPN)
|
|
@echo using: $(LIB6FILES)
|
|
@echo using: $(LIB6TARGET)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
.IF "$(GUI)"!="MAC"
|
|
.IF "$(GUI)"!="UNX"
|
|
@-+IF EXIST $@ del $@
|
|
.ENDIF
|
|
.ENDIF
|
|
.IF "$(GUI)"=="UNX"
|
|
@+$(RM) $@
|
|
@+echo $(LIB6OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)$/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB6FILES:s/.obj/.o/) | xargs -n 1 >> $@
|
|
@+$(RM) $(@:d)$(@:b).dump
|
|
.IF "$(OS)"=="MACOSX"
|
|
@-+nm `cat $(LIB6TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ELSE
|
|
@+nm `cat $(LIB6TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ENDIF
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(GUI)"=="MAC"
|
|
@+$(RM) $@
|
|
@+echo $(LIB6OBJFILES) | sed s\#$(PRJ:s/./\./)$/$(ROUT)\#$(ROUT)\#g | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB6FILES) | xargs -n 1 >> $@
|
|
.ELSE # "$(GUI)"=="MAC"
|
|
.IF "$(GUI)"=="WNT"
|
|
$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB6FILES) $(LIB6OBJFILES))
|
|
.IF "$(LIB6OBJFILES)"!=""
|
|
@-+echo $(LIB6OBJFILES) > $(null,$(LIB6OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
|
|
.ENDIF # "$(LIB6OBJFILES)"!=""
|
|
.IF "$(LIB6FILES)"!=""
|
|
@-$(TYPE) $(foreach,i,$(LIB6FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
|
|
.ENDIF # "$(LIB6FILES)"!=""
|
|
@+echo.
|
|
.ELSE # "$(GUI)"=="WNT"
|
|
@+-$(RM) $@
|
|
+echo $(LIBMGR) r $@ $(LIB6OBJFILES)
|
|
$(LIBMGR) r $@ $(LIB6OBJFILES) $(LIB6FILES) bla.lib
|
|
.ENDIF # "$(GUI)"=="WNT"
|
|
.ENDIF # "$(GUI)"=="MAC"
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(LIB6TARGET)" != ""
|
|
|
|
# Anweisungen fuer das LIBTARGETs
|
|
# unroll begin
|
|
|
|
.IF "$(LIB7TARGET)" != ""
|
|
.IF "$(LIB7ARCHIV)" != ""
|
|
|
|
$(LIB7ARCHIV) : $(LIB7TARGET)
|
|
@echo Making: $@
|
|
@-+$(RM) $@ >& $(NULLDEV)
|
|
.IF "$(GUI)"=="UNX"
|
|
@+-$(RM) $(MISC)$/$(LIB7ARCHIV:b).cmd
|
|
.IF "$(OS)" =="HPUX_FRAG_HR"
|
|
@+-$(RM) $(MISC)$/$(LIB7ARCHIV:b)_closetempl.cmd
|
|
@+echo $(LINK) +inst_close -c `cat $(LIB7TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB7ARCHIV:b)_closetempl.cmd
|
|
@cat $(MISC)$/$(LIB7ARCHIV:b)_closetempl.cmd
|
|
@source $(MISC)$/$(LIB7ARCHIV:b)_closetempl.cmd
|
|
.ENDIF
|
|
@+echo $(LIBMGR) $(LIB7FLAGS) $(LIBFLAGS) $(LIB7ARCHIV) `cat $(LIB7TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB7ARCHIV:b).cmd
|
|
.IF "$(OS)$(COM)"=="NETBSDGCC"
|
|
@+echo ranlib $(LIB7ARCHIV) >> $(MISC)$/$(LIB7ARCHIV:b).cmd
|
|
.ENDIF
|
|
@cat $(MISC)$/$(LIB7ARCHIV:b).cmd
|
|
@source $(MISC)$/$(LIB7ARCHIV:b).cmd
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
@echo just a dummy > $@
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(LIB7ARCHIV)" != ""
|
|
|
|
$(LIB7TARGET) : $(LIB7FILES) \
|
|
$(LIB7OBJFILES) \
|
|
$(LIB7DEPN)
|
|
@echo using: $(LIB7FILES)
|
|
@echo using: $(LIB7TARGET)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
.IF "$(GUI)"!="MAC"
|
|
.IF "$(GUI)"!="UNX"
|
|
@-+IF EXIST $@ del $@
|
|
.ENDIF
|
|
.ENDIF
|
|
.IF "$(GUI)"=="UNX"
|
|
@+$(RM) $@
|
|
@+echo $(LIB7OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)$/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB7FILES:s/.obj/.o/) | xargs -n 1 >> $@
|
|
@+$(RM) $(@:d)$(@:b).dump
|
|
.IF "$(OS)"=="MACOSX"
|
|
@-+nm `cat $(LIB7TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ELSE
|
|
@+nm `cat $(LIB7TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ENDIF
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(GUI)"=="MAC"
|
|
@+$(RM) $@
|
|
@+echo $(LIB7OBJFILES) | sed s\#$(PRJ:s/./\./)$/$(ROUT)\#$(ROUT)\#g | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB7FILES) | xargs -n 1 >> $@
|
|
.ELSE # "$(GUI)"=="MAC"
|
|
.IF "$(GUI)"=="WNT"
|
|
$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB7FILES) $(LIB7OBJFILES))
|
|
.IF "$(LIB7OBJFILES)"!=""
|
|
@-+echo $(LIB7OBJFILES) > $(null,$(LIB7OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
|
|
.ENDIF # "$(LIB7OBJFILES)"!=""
|
|
.IF "$(LIB7FILES)"!=""
|
|
@-$(TYPE) $(foreach,i,$(LIB7FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
|
|
.ENDIF # "$(LIB7FILES)"!=""
|
|
@+echo.
|
|
.ELSE # "$(GUI)"=="WNT"
|
|
@+-$(RM) $@
|
|
+echo $(LIBMGR) r $@ $(LIB7OBJFILES)
|
|
$(LIBMGR) r $@ $(LIB7OBJFILES) $(LIB7FILES) bla.lib
|
|
.ENDIF # "$(GUI)"=="WNT"
|
|
.ENDIF # "$(GUI)"=="MAC"
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(LIB7TARGET)" != ""
|
|
|
|
# Anweisungen fuer das LIBTARGETs
|
|
# unroll begin
|
|
|
|
.IF "$(LIB8TARGET)" != ""
|
|
.IF "$(LIB8ARCHIV)" != ""
|
|
|
|
$(LIB8ARCHIV) : $(LIB8TARGET)
|
|
@echo Making: $@
|
|
@-+$(RM) $@ >& $(NULLDEV)
|
|
.IF "$(GUI)"=="UNX"
|
|
@+-$(RM) $(MISC)$/$(LIB8ARCHIV:b).cmd
|
|
.IF "$(OS)" =="HPUX_FRAG_HR"
|
|
@+-$(RM) $(MISC)$/$(LIB8ARCHIV:b)_closetempl.cmd
|
|
@+echo $(LINK) +inst_close -c `cat $(LIB8TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB8ARCHIV:b)_closetempl.cmd
|
|
@cat $(MISC)$/$(LIB8ARCHIV:b)_closetempl.cmd
|
|
@source $(MISC)$/$(LIB8ARCHIV:b)_closetempl.cmd
|
|
.ENDIF
|
|
@+echo $(LIBMGR) $(LIB8FLAGS) $(LIBFLAGS) $(LIB8ARCHIV) `cat $(LIB8TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB8ARCHIV:b).cmd
|
|
.IF "$(OS)$(COM)"=="NETBSDGCC"
|
|
@+echo ranlib $(LIB8ARCHIV) >> $(MISC)$/$(LIB8ARCHIV:b).cmd
|
|
.ENDIF
|
|
@cat $(MISC)$/$(LIB8ARCHIV:b).cmd
|
|
@source $(MISC)$/$(LIB8ARCHIV:b).cmd
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
@echo just a dummy > $@
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(LIB8ARCHIV)" != ""
|
|
|
|
$(LIB8TARGET) : $(LIB8FILES) \
|
|
$(LIB8OBJFILES) \
|
|
$(LIB8DEPN)
|
|
@echo using: $(LIB8FILES)
|
|
@echo using: $(LIB8TARGET)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
.IF "$(GUI)"!="MAC"
|
|
.IF "$(GUI)"!="UNX"
|
|
@-+IF EXIST $@ del $@
|
|
.ENDIF
|
|
.ENDIF
|
|
.IF "$(GUI)"=="UNX"
|
|
@+$(RM) $@
|
|
@+echo $(LIB8OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)$/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB8FILES:s/.obj/.o/) | xargs -n 1 >> $@
|
|
@+$(RM) $(@:d)$(@:b).dump
|
|
.IF "$(OS)"=="MACOSX"
|
|
@-+nm `cat $(LIB8TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ELSE
|
|
@+nm `cat $(LIB8TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ENDIF
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(GUI)"=="MAC"
|
|
@+$(RM) $@
|
|
@+echo $(LIB8OBJFILES) | sed s\#$(PRJ:s/./\./)$/$(ROUT)\#$(ROUT)\#g | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB8FILES) | xargs -n 1 >> $@
|
|
.ELSE # "$(GUI)"=="MAC"
|
|
.IF "$(GUI)"=="WNT"
|
|
$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB8FILES) $(LIB8OBJFILES))
|
|
.IF "$(LIB8OBJFILES)"!=""
|
|
@-+echo $(LIB8OBJFILES) > $(null,$(LIB8OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
|
|
.ENDIF # "$(LIB8OBJFILES)"!=""
|
|
.IF "$(LIB8FILES)"!=""
|
|
@-$(TYPE) $(foreach,i,$(LIB8FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
|
|
.ENDIF # "$(LIB8FILES)"!=""
|
|
@+echo.
|
|
.ELSE # "$(GUI)"=="WNT"
|
|
@+-$(RM) $@
|
|
+echo $(LIBMGR) r $@ $(LIB8OBJFILES)
|
|
$(LIBMGR) r $@ $(LIB8OBJFILES) $(LIB8FILES) bla.lib
|
|
.ENDIF # "$(GUI)"=="WNT"
|
|
.ENDIF # "$(GUI)"=="MAC"
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(LIB8TARGET)" != ""
|
|
|
|
# Anweisungen fuer das LIBTARGETs
|
|
# unroll begin
|
|
|
|
.IF "$(LIB9TARGET)" != ""
|
|
.IF "$(LIB9ARCHIV)" != ""
|
|
|
|
$(LIB9ARCHIV) : $(LIB9TARGET)
|
|
@echo Making: $@
|
|
@-+$(RM) $@ >& $(NULLDEV)
|
|
.IF "$(GUI)"=="UNX"
|
|
@+-$(RM) $(MISC)$/$(LIB9ARCHIV:b).cmd
|
|
.IF "$(OS)" =="HPUX_FRAG_HR"
|
|
@+-$(RM) $(MISC)$/$(LIB9ARCHIV:b)_closetempl.cmd
|
|
@+echo $(LINK) +inst_close -c `cat $(LIB9TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB9ARCHIV:b)_closetempl.cmd
|
|
@cat $(MISC)$/$(LIB9ARCHIV:b)_closetempl.cmd
|
|
@source $(MISC)$/$(LIB9ARCHIV:b)_closetempl.cmd
|
|
.ENDIF
|
|
@+echo $(LIBMGR) $(LIB9FLAGS) $(LIBFLAGS) $(LIB9ARCHIV) `cat $(LIB9TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB9ARCHIV:b).cmd
|
|
.IF "$(OS)$(COM)"=="NETBSDGCC"
|
|
@+echo ranlib $(LIB9ARCHIV) >> $(MISC)$/$(LIB9ARCHIV:b).cmd
|
|
.ENDIF
|
|
@cat $(MISC)$/$(LIB9ARCHIV:b).cmd
|
|
@source $(MISC)$/$(LIB9ARCHIV:b).cmd
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
@echo just a dummy > $@
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(LIB9ARCHIV)" != ""
|
|
|
|
$(LIB9TARGET) : $(LIB9FILES) \
|
|
$(LIB9OBJFILES) \
|
|
$(LIB9DEPN)
|
|
@echo using: $(LIB9FILES)
|
|
@echo using: $(LIB9TARGET)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
.IF "$(GUI)"!="MAC"
|
|
.IF "$(GUI)"!="UNX"
|
|
@-+IF EXIST $@ del $@
|
|
.ENDIF
|
|
.ENDIF
|
|
.IF "$(GUI)"=="UNX"
|
|
@+$(RM) $@
|
|
@+echo $(LIB9OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)$/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB9FILES:s/.obj/.o/) | xargs -n 1 >> $@
|
|
@+$(RM) $(@:d)$(@:b).dump
|
|
.IF "$(OS)"=="MACOSX"
|
|
@-+nm `cat $(LIB9TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ELSE
|
|
@+nm `cat $(LIB9TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ENDIF
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(GUI)"=="MAC"
|
|
@+$(RM) $@
|
|
@+echo $(LIB9OBJFILES) | sed s\#$(PRJ:s/./\./)$/$(ROUT)\#$(ROUT)\#g | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB9FILES) | xargs -n 1 >> $@
|
|
.ELSE # "$(GUI)"=="MAC"
|
|
.IF "$(GUI)"=="WNT"
|
|
$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB9FILES) $(LIB9OBJFILES))
|
|
.IF "$(LIB9OBJFILES)"!=""
|
|
@-+echo $(LIB9OBJFILES) > $(null,$(LIB9OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
|
|
.ENDIF # "$(LIB9OBJFILES)"!=""
|
|
.IF "$(LIB9FILES)"!=""
|
|
@-$(TYPE) $(foreach,i,$(LIB9FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
|
|
.ENDIF # "$(LIB9FILES)"!=""
|
|
@+echo.
|
|
.ELSE # "$(GUI)"=="WNT"
|
|
@+-$(RM) $@
|
|
+echo $(LIBMGR) r $@ $(LIB9OBJFILES)
|
|
$(LIBMGR) r $@ $(LIB9OBJFILES) $(LIB9FILES) bla.lib
|
|
.ENDIF # "$(GUI)"=="WNT"
|
|
.ENDIF # "$(GUI)"=="MAC"
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(LIB9TARGET)" != ""
|
|
|
|
# Anweisungen fuer das LIBTARGETs
|
|
# unroll begin
|
|
|
|
.IF "$(LIB10TARGET)" != ""
|
|
.IF "$(LIB10ARCHIV)" != ""
|
|
|
|
$(LIB10ARCHIV) : $(LIB10TARGET)
|
|
@echo Making: $@
|
|
@-+$(RM) $@ >& $(NULLDEV)
|
|
.IF "$(GUI)"=="UNX"
|
|
@+-$(RM) $(MISC)$/$(LIB10ARCHIV:b).cmd
|
|
.IF "$(OS)" =="HPUX_FRAG_HR"
|
|
@+-$(RM) $(MISC)$/$(LIB10ARCHIV:b)_closetempl.cmd
|
|
@+echo $(LINK) +inst_close -c `cat $(LIB10TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB10ARCHIV:b)_closetempl.cmd
|
|
@cat $(MISC)$/$(LIB10ARCHIV:b)_closetempl.cmd
|
|
@source $(MISC)$/$(LIB10ARCHIV:b)_closetempl.cmd
|
|
.ENDIF
|
|
@+echo $(LIBMGR) $(LIB10FLAGS) $(LIBFLAGS) $(LIB10ARCHIV) `cat $(LIB10TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(MISC)$/$(LIB10ARCHIV:b).cmd
|
|
.IF "$(OS)$(COM)"=="NETBSDGCC"
|
|
@+echo ranlib $(LIB10ARCHIV) >> $(MISC)$/$(LIB10ARCHIV:b).cmd
|
|
.ENDIF
|
|
@cat $(MISC)$/$(LIB10ARCHIV:b).cmd
|
|
@source $(MISC)$/$(LIB10ARCHIV:b).cmd
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
@echo just a dummy > $@
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(LIB10ARCHIV)" != ""
|
|
|
|
$(LIB10TARGET) : $(LIB10FILES) \
|
|
$(LIB10OBJFILES) \
|
|
$(LIB10DEPN)
|
|
@echo using: $(LIB10FILES)
|
|
@echo using: $(LIB10TARGET)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
.IF "$(GUI)"!="MAC"
|
|
.IF "$(GUI)"!="UNX"
|
|
@-+IF EXIST $@ del $@
|
|
.ENDIF
|
|
.ENDIF
|
|
.IF "$(GUI)"=="UNX"
|
|
@+$(RM) $@
|
|
@+echo $(LIB10OBJFILES:s/.obj/.o/) | sed "s#$(PRJ:s/./\./)$/$(ROUT)#$(ROUT)#g" | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB10FILES:s/.obj/.o/) | xargs -n 1 >> $@
|
|
@+$(RM) $(@:d)$(@:b).dump
|
|
.IF "$(OS)"=="MACOSX"
|
|
@-+nm `cat $(LIB10TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ELSE
|
|
@+nm `cat $(LIB10TARGET) | sed s\#'^'$(ROUT)\#$(PRJ)$/$(ROUT)\#g` > $(@:d)$(@:b).dump
|
|
.ENDIF
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(GUI)"=="MAC"
|
|
@+$(RM) $@
|
|
@+echo $(LIB10OBJFILES) | sed s\#$(PRJ:s/./\./)$/$(ROUT)\#$(ROUT)\#g | xargs -n 1 > $@
|
|
@+cat /dev/null $(LIB10FILES) | xargs -n 1 >> $@
|
|
.ELSE # "$(GUI)"=="MAC"
|
|
.IF "$(GUI)"=="WNT"
|
|
$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(LIB10FILES) $(LIB10OBJFILES))
|
|
.IF "$(LIB10OBJFILES)"!=""
|
|
@-+echo $(LIB10OBJFILES) > $(null,$(LIB10OBJFILES) $(NULLDEV) $(@:s/.lib/.lin/))
|
|
.ENDIF # "$(LIB10OBJFILES)"!=""
|
|
.IF "$(LIB10FILES)"!=""
|
|
@-$(TYPE) $(foreach,i,$(LIB10FILES) $(i:s/.lib/.lin/)) >> $(@:s/.lib/.lin/)
|
|
.ENDIF # "$(LIB10FILES)"!=""
|
|
@+echo.
|
|
.ELSE # "$(GUI)"=="WNT"
|
|
@+-$(RM) $@
|
|
+echo $(LIBMGR) r $@ $(LIB10OBJFILES)
|
|
$(LIBMGR) r $@ $(LIB10OBJFILES) $(LIB10FILES) bla.lib
|
|
.ENDIF # "$(GUI)"=="WNT"
|
|
.ENDIF # "$(GUI)"=="MAC"
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(LIB10TARGET)" != ""
|
|
|
|
# Anweisungen fuer das LIBTARGETs
|