The R Project SVN R

Rev

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

Rev 4409 Rev 4605
Line 2... Line 2...
2
 
2
 
3
include MkRules
3
include MkRules
4
 
4
 
5
HELP=YES
5
HELP=YES
6
 
6
 
-
 
7
ifdef DEBUG
-
 
8
 OPTFLAGS=-g -O2 -Wall
-
 
9
 DLLFLAGS=
-
 
10
else
7
OPTFLAGS=-O2 -Wall
11
 OPTFLAGS=-O2 -Wall
-
 
12
 DLLFLAGS=-s 
-
 
13
endif
8
CFLAGS=$(OPTFLAGS) -I../include
14
CFLAGS=$(OPTFLAGS) -I../include
9
FFLAGS=$(OPTFLAGS)
15
FFLAGS=$(OPTFLAGS)
10
 
16
 
11
libR.a:  R.exp
17
libR.a:  R.exp
12
	$(DLLTOOL) $(DLLTOOLFLAGS) $(R-DLLTOOLFLAGS) --dllname R.dll --def R.exp --output-lib libR.a
18
	$(DLLTOOL) $(DLLTOOLFLAGS) $(R-DLLTOOLFLAGS) --dllname R.dll --def R.exp --output-lib libR.a
Line 19... Line 25...
19
	$(MAKE) -C ./help $($*-HELP)help-$*
25
	$(MAKE) -C ./help $($*-HELP)help-$*
20
	$(MAKE) -C ./help contents-$*
26
	$(MAKE) -C ./help contents-$*
21
endif
27
endif
22
 
28
 
23
pkgcheck-%:
29
pkgcheck-%:
-
 
30
	-mkdir -p ../library/$*/check
24
	$(MAKE) -C ../library/$* PKG=$* -f ../../gnuwin32/check/PkgCheck
31
	$(MAKE) -C ../library/$*/check PKG=$* -f ../../../gnuwin32/check/PkgCheck
-
 
32
 
25
 
33
 
26
ziphelp-%:
34
ziphelp-%:
27
	$(MAKE) -C ./help ziphelp-$*
35
	$(MAKE) -C ./help ziphelp-$*
28
	$(MAKE) -C ./help contents-$*
36
	$(MAKE) -C ./help contents-$*
29
 
37