Rev 67553 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
#-*- Makefile -*-include ../../gnuwin32/MkRulesMODULE = internetall: makeMakedeps ../../../modules$(R_ARCH)/internet.dllCSOURCES = internet.c libcurl.c nanoftp.c nanohttp.c sockconn.c Rsock.c sock.c Rhttpd.cCPPFLAGS = -I../../include -I../../extra/graphapp -DHAVE_CONFIG_HEXTRA_LIBS = -lwininet -lws2_32ifdef USE_LIBCURLlibcurl-CPPFLAGS += -DHAVE_CURL_CURL_H -DCURL_STATICLIB -I"$(CURL_PATH)"/includeEXTRA_LIBS += -L"$(CURL_PATH)"/lib$(R_ARCH) $(CURL_LIBS)endif../../../modules$(R_ARCH)/internet.dll: internet.o libcurl.o nanoftp.o nanohttp.o sockconn.o Rhttpd.o Rsock.o sock.o dllversion.o@$(MKDIR) -p ../../../modules$(R_ARCH)@$(ECHO) "EXPORTS" > internet.def@$(ECHO) " R_init_internet" >> internet.def$(DLL) -shared -o $@ $^ internet.def -L../../../$(IMPDIR) -lR -lRgraphapp $(EXTRA_LIBS)@$(RM) internet.defclean:@$(RM) Makedeps *.d *.o *.def *.dll# Dependenciesdllversion.o: ../../include/Rversion.hDEPS = $(CSOURCES:.c=.d)makeMakedeps: $(DEPS)@$(RM) Makedeps@cat $(DEPS) >> Makedeps-include Makedeps