| Line 10... |
Line 10... |
| 10 |
CFLAGS=$(OPTFLAGS)
|
10 |
CFLAGS=$(OPTFLAGS)
|
| 11 |
|
11 |
|
| 12 |
WSOCK=-lws2_32
|
12 |
WSOCK=-lws2_32
|
| 13 |
|
13 |
|
| 14 |
../../../modules$(R_ARCH)/internet.dll: internet.o nanoftp.o nanohttp.o sockconn.o Rhttpd.o Rsock.o sock.o dllversion.o
|
14 |
../../../modules$(R_ARCH)/internet.dll: internet.o nanoftp.o nanohttp.o sockconn.o Rhttpd.o Rsock.o sock.o dllversion.o
|
| 15 |
$(MKDIR) -p ../../../modules
|
15 |
@$(MKDIR) -p ../../../modules$(R_ARCH)
|
| 16 |
@$(ECHO) "EXPORTS" > internet.def
|
16 |
@$(ECHO) "EXPORTS" > internet.def
|
| 17 |
@$(ECHO) " R_init_internet" >> internet.def
|
17 |
@$(ECHO) " R_init_internet" >> internet.def
|
| 18 |
$(DLL) -shared -o $@ $^ internet.def -L../../../$(IMPDIR) -lR $(GRAPHAPP_LIB) $(WSOCK)
|
18 |
$(DLL) -shared -o $@ $^ internet.def -L../../../$(IMPDIR) -lR $(GRAPHAPP_LIB) $(WSOCK)
|
| 19 |
@$(RM) internet.def
|
19 |
@$(RM) internet.def
|
| 20 |
|
20 |
|
| 21 |
../../../modules$(R_ARCH)/internet2.dll: internet2.o sockconn.o Rhttpd.o Rsock.o sock.o dllversion.o
|
21 |
../../../modules$(R_ARCH)/internet2.dll: internet2.o sockconn.o Rhttpd.o Rsock.o sock.o dllversion.o
|
| 22 |
$(MKDIR) -p ../../../modules
|
22 |
@$(MKDIR) -p ../../../modules$(R_ARCH)
|
| 23 |
@$(ECHO) "EXPORTS" > internet2.def
|
23 |
@$(ECHO) "EXPORTS" > internet2.def
|
| 24 |
@$(ECHO) " R_init_internet2" >> internet2.def
|
24 |
@$(ECHO) " R_init_internet2" >> internet2.def
|
| 25 |
$(DLL) -shared -o $@ $^ internet2.def -L../../../$(IMPDIR) -lR $(GRAPHAPP_LIB) -lwininet $(WSOCK)
|
25 |
$(DLL) -shared -o $@ $^ internet2.def -L../../../$(IMPDIR) -lR $(GRAPHAPP_LIB) -lwininet $(WSOCK)
|
| 26 |
@$(RM) internet2.def
|
26 |
@$(RM) internet2.def
|
| 27 |
|
27 |
|