Rev 46491 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
#-*- Makefile -*-include ../../gnuwin32/MkRulesMODULE=internetall: makeMakedeps ../../../modules/internet.dll ../../../modules/internet2.dllCSOURCES=internet.c nanoftp.c nanohttp.c sockconn.c Rsock.c sock.cCPPFLAGS=-I../../include -I../../extra/graphapp -DHAVE_CONFIG_HCFLAGS=$(OPTFLAGS)WSOCK=-lws2_32../../../modules/internet.dll: internet.o nanoftp.o nanohttp.o sockconn.o Rsock.o sock.o dllversion.o$(MKDIR) -p ../../../modules@$(ECHO) "EXPORTS" > internet.def@$(ECHO) " R_init_internet" >> internet.def$(DLL) -shared -o $@ $^ internet.def -L../../../$(IMPDIR) -lR $(GRAPHAPP_LIB) $(WSOCK)@$(RM) internet.def../../../modules/internet2.dll: internet2.o sockconn.o Rsock.o sock.o dllversion.o$(MKDIR) -p ../../../modules@$(ECHO) "EXPORTS" > internet2.def@$(ECHO) " R_init_internet2" >> internet2.def$(DLL) -shared -o $@ $^ internet2.def -L../../../$(IMPDIR) -lR $(GRAPHAPP_LIB) -lwininet $(WSOCK)@$(RM) internet2.definternet2.o: internet.c@$(CC) $(CPPFLAGS) $(CFLAGS) -DUSE_WININET -c $< -o $@clean:@$(RM) Makedeps *.d *.o *.def *.dll# Dependenciesdllversion.o: ../../include/Rversion.hDEPS=$(CSOURCES:.c=.d) internet2.dinternet2.d: internet.c@echo "making $@ from $<"@$(CC) $(DEPARG) $(CPPFLAGS) -DUSE_WININET -c $< -o foo@sed -e 's/internet.o/internet2.o/' foo > internet2.d@rm foomakeMakedeps: $(DEPS)@$(RM) Makedeps@cat $(DEPS) >> Makedeps-include Makedeps