The R Project SVN R

Rev

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

Rev 53401 Rev 53402
Line 12... Line 12...
12
 
12
 
13
../../../modules$(R_ARCH)/internet.dll: internet.o nanoftp.o nanohttp.o sockconn.o Rhttpd.o Rsock.o sock.o dllversion.o
13
../../../modules$(R_ARCH)/internet.dll: internet.o nanoftp.o nanohttp.o sockconn.o Rhttpd.o Rsock.o sock.o dllversion.o
14
	@$(MKDIR) -p ../../../modules$(R_ARCH)
14
	@$(MKDIR) -p ../../../modules$(R_ARCH)
15
	@$(ECHO) "EXPORTS" > internet.def
15
	@$(ECHO) "EXPORTS" > internet.def
16
	@$(ECHO) " R_init_internet" >> internet.def
16
	@$(ECHO) " R_init_internet" >> internet.def
17
	$(DLL) -shared  -o $@ $^ internet.def -L../../../$(IMPDIR) -lR $(GRAPHAPP_LIB) $(WSOCK)
17
	$(DLL) -shared  -o $@ $^ internet.def -L../../../$(IMPDIR) -lR -lRgraphapp $(WSOCK)
18
	@$(RM) internet.def
18
	@$(RM) internet.def
19
 
19
 
20
../../../modules$(R_ARCH)/internet2.dll: internet2.o sockconn.o Rhttpd.o Rsock.o sock.o dllversion.o
20
../../../modules$(R_ARCH)/internet2.dll: internet2.o sockconn.o Rhttpd.o Rsock.o sock.o dllversion.o
21
	@$(MKDIR) -p ../../../modules$(R_ARCH)
21
	@$(MKDIR) -p ../../../modules$(R_ARCH)
22
	@$(ECHO) "EXPORTS" > internet2.def
22
	@$(ECHO) "EXPORTS" > internet2.def
23
	@$(ECHO) " R_init_internet2" >> internet2.def
23
	@$(ECHO) " R_init_internet2" >> internet2.def
24
	$(DLL) -shared  -o $@ $^ internet2.def -L../../../$(IMPDIR) -lR $(GRAPHAPP_LIB) -lwininet $(WSOCK) 
24
	$(DLL) -shared  -o $@ $^ internet2.def -L../../../$(IMPDIR) -lR -lRgraphapp -lwininet $(WSOCK) 
25
	@$(RM) internet2.def
25
	@$(RM) internet2.def
26
 
26
 
27
internet2.o: internet.c
27
internet2.o: internet.c
28
	@$(CC) $(CPPFLAGS) $(CFLAGS) -DUSE_WININET -c $< -o $@
28
	@$(CC) $(CPPFLAGS) $(CFLAGS) -DUSE_WININET -c $< -o $@
29
 
29