The R Project SVN R

Rev

Rev 51796 | Rev 52549 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 51796 Rev 52518
Line 80... Line 80...
80
%.exe:
80
%.exe:
81
	$(LINKER) $(LINKFLAGS) $($*-LINKFLAGS) -o $@ $^ $($*-LIBS) $(LIBS)
81
	$(LINKER) $(LINKFLAGS) $($*-LINKFLAGS) -o $@ $^ $($*-LIBS) $(LIBS)
82
 
82
 
83
%.dll:
83
%.dll:
84
	@$(ECHO) EXPORTS > $*.def
84
	@$(ECHO) EXPORTS > $*.def
85
	@$(NM) $^ | $(SED) -n 's/^.* [BCDRT] _/ /p' >> $*.def
85
	@$(NM) $^ | $(SED) -n $(SYMPAT) >> $*.def
86
	$(DLL) -shared $(DLLFLAGS) $($*-DLLFLAGS) -o $@ $*.def $^ $($*-DLLLIBS) $(DLLLIBS)
86
	$(DLL) -shared $(DLLFLAGS) $($*-DLLFLAGS) -o $@ $*.def $^ $($*-DLLLIBS) $(DLLLIBS)
87
	@$(RM) $*.def
87
	@$(RM) $*.def
88
 
88
 
89
lib%.dll.a: %.def
89
lib%.dll.a: %.def
90
	$(DLLTOOL) $(DLLTOOLFLAGS) $($*-DLLTOOLFLAGS) --dllname $*.dll --input-def $*.def --output-lib $@
90
	$(DLLTOOL) $(DLLTOOLFLAGS) $($*-DLLTOOLFLAGS) --dllname $*.dll --input-def $*.def --output-lib $@