The R Project SVN R

Rev

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

Rev 27897 Rev 27902
Line 9... Line 9...
9
WINHELP = NO # Use one of NO, CHM
9
WINHELP = NO # Use one of NO, CHM
10
 
10
 
11
## must be absolute and space-free paths
11
## must be absolute and space-free paths
12
ifneq ($(strip $(BUILD)),CROSS)
12
ifneq ($(strip $(BUILD)),CROSS)
13
RHOME = $(shell ./Rpwd.exe ../..)
13
RHOME = $(shell ./Rpwd.exe ../..)
14
PKGD = $(shell ./Rpwd.exe $(PKGDIR))
14
PKGD = $(shell ./Rpwd.exe "$(PKGDIR)")
15
else
15
else
16
RHOME = $(shell perl pwd.pl ../..)
16
RHOME = $(shell perl pwd.pl ../..)
17
PKGD = $(shell perl pwd.pl $(PKGDIR))
17
PKGD = $(shell perl pwd.pl $(PKGDIR))
18
endif
18
endif
19
 
19
 
Line 57... Line 57...
57
bundle-%:
57
bundle-%:
58
	@+$(PERL) fixed/dobundle.pl $* $(PKGD) $(RLIB)
58
	@+$(PERL) fixed/dobundle.pl $* $(PKGD) $(RLIB)
59
 
59
 
60
pkg-%:
60
pkg-%:
61
	@$(MAKE) --no-print-directory DLLNM=$($*-DLLNM)  FLIBS="$(FLIBS)" BUILD=$(BUILD) \
61
	@$(MAKE) --no-print-directory DLLNM=$($*-DLLNM)  FLIBS="$(FLIBS)" BUILD=$(BUILD) \
62
	  -C $(PKGDIR)/$* PKG=$* RHOME=$(RHOME) RLIB=$(RLIB) RVER=$(RVER) \
62
	  -C $(PKGD)/$* PKG=$* RHOME=$(RHOME) RLIB=$(RLIB) RVER=$(RVER) \
63
	  -f $(RHOME)/src/gnuwin32/MakePkg
63
	  -f $(RHOME)/src/gnuwin32/MakePkg
64
	@if test -d $(RLIB)/$*/data ; then \
64
	@if test -d $(RLIB)/$*/data ; then \
65
	  $(MAKE) --no-print-directory $($*-ZIPDATA)data-$* ; \
65
	  $(MAKE) --no-print-directory $($*-ZIPDATA)data-$* ; \
66
	fi
66
	fi
67
ifeq ($(strip $(HELP)),YES)
67
ifeq ($(strip $(HELP)),YES)
Line 79... Line 79...
79
	@$(MAKE) --no-print-directory -C ./help -s RHOME=$(RHOME) PKGDIR=$(PKGD) RLIB=$(RLIB) DPKG=$(DPKG) $($*-HELP)help-$*
79
	@$(MAKE) --no-print-directory -C ./help -s RHOME=$(RHOME) PKGDIR=$(PKGD) RLIB=$(RLIB) DPKG=$(DPKG) $($*-HELP)help-$*
80
    endif
80
    endif
81
  endif
81
  endif
82
endif
82
endif
83
	@$(MAKE) --no-print-directory BUILD=$(BUILD) \
83
	@$(MAKE) --no-print-directory BUILD=$(BUILD) \
84
	  -C $(PKGDIR)/$* PKG=$* RHOME=$(RHOME) RLIB=$(RLIB)  \
84
	  -C $(PKGD)/$* PKG=$* RHOME=$(RHOME) RLIB=$(RLIB)  \
85
	  -f $(RHOME)/src/gnuwin32/MakePkg md5sums
85
	  -f $(RHOME)/src/gnuwin32/MakePkg md5sums
86
 
86
 
87
pkgclean-%:
87
pkgclean-%:
88
	$(MAKE) --no-print-directory DLLNM=$($*-DLLNM) RHOME=$(RHOME) BUILD=$(BUILD) \
88
	$(MAKE) --no-print-directory DLLNM=$($*-DLLNM) RHOME=$(RHOME) BUILD=$(BUILD) \
89
	  -C $(PKGDIR)/$* PKG=$* -f $(RHOME)/src/gnuwin32/MakePkg clean
89
	  -C $(PKGD)/$* PKG=$* -f $(RHOME)/src/gnuwin32/MakePkg clean
90
 
90
 
91
pkgcheck-%:
91
pkgcheck-%:
92
	@$(ECHO) -------- Testing package $* --------
92
	@$(ECHO) -------- Testing package $* --------
93
	-@$(MKDIR) -p $(PKGDIR)/$*/check
93
	-@$(MKDIR) -p $(PKGDIR)/$*/check
94
	@$(MAKE) --no-print-directory -C $(PKGDIR)/$*/check PKG=$* RHOME=$(RHOME) RLIB=$(RLIB) \
94
	@$(MAKE) --no-print-directory -C $(PKGDIR)/$*/check PKG=$* RHOME=$(RHOME) RLIB=$(RLIB) \