Rev 52536 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
## ${R_HOME}/share/make/winshlib.mkall: $(SHLIB)BASE = $(shell basename $(SHLIB) .dll)## do it with explicit rules as packages might add dependencies to this target## (attempts to do this GNUishly failed for parallel makes,## but we do want the link targets echoed)$(SHLIB): $(OBJECTS)@if test "z$(OBJECTS)" != "z"; then \if test -e "$(BASE)-win.def"; then \echo $(SHLIB_LD) -shared $(DLLFLAGS) -o $@ $(BASE)-win.def $(OBJECTS) $(ALL_LIBS); \$(SHLIB_LD) -shared $(DLLFLAGS) -o $@ $(BASE)-win.def $(OBJECTS) $(ALL_LIBS); \else \echo EXPORTS > tmp.def; \$(NM) $^ | $(SED) -n $(SYMPAT) >> tmp.def; \echo $(SHLIB_LD) -shared $(DLLFLAGS) -o $@ tmp.def $(OBJECTS) $(ALL_LIBS); \$(SHLIB_LD) -shared $(DLLFLAGS) -o $@ tmp.def $(OBJECTS) $(ALL_LIBS); \$(RM) tmp.def; \fi \fi.PHONY: all shlib-cleanshlib-clean:@rm -f $(OBJECTS)