The R Project SVN R

Rev

Rev 36348 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36348 Rev 37364
Line 1... Line 1...
1
include ../MkRules
1
include ../MkRules
2
 
2
 
3
Rchtml-CFLAGS= -I "$(HHWDIR)/include"
3
Rchtml-CFLAGS= -I "$(HHWDIR)/include"
4
Rchtml-DLLFLAGS= -s
-
 
5
Rchtml-DLLLIBS= -L. -lhhctrl
-
 
6
 
4
 
7
all: libhhctrl.a ../../../bin/Rchtml.dll
5
all: ../../../modules/Rchtml.dll
8
 
6
 
9
## need -k as hhctrl exports HtmlHelpA
7
## need -k as hhctrl exports HtmlHelpA
10
libhhctrl.a : MkChmDll
8
libhhctrl.a : MkChmDll
11
	$(ECHO) EXPORTS > hhctrl.def
9
	$(ECHO) EXPORTS > hhctrl.def
12
	$(ECHO) HtmlHelpA@16 >> hhctrl.def
10
	$(ECHO) HtmlHelpA@16 >> hhctrl.def
13
	$(DLLTOOL) -k --dllname hhctrl.ocx  --def hhctrl.def --output-lib libhhctrl.a
11
	$(DLLTOOL) -k --dllname hhctrl.ocx  --def hhctrl.def --output-lib libhhctrl.a
-
 
12
	$(RM) hhctrl.def
14
 
13
 
15
../../../bin/Rchtml.dll: Rchtml.dll
14
../../../modules/Rchtml.dll: Rchtml.o libhhctrl.a
16
	$(CP) $^ $@
15
	$(MKDIR) -p ../../../modules
17
 
-
 
18
Rchtml.dll : Rchtml.o
16
	$(DLL) -shared -s -o $@ Rchtml.o -L. -lhhctrl