The R Project SVN R

Rev

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

Rev 44934 Rev 46407
Line 6... Line 6...
6
 
6
 
7
## keep these in step with ./Makefile.in
7
## keep these in step with ./Makefile.in
8
SRC_HEADERS = R.h S.h Rdefines.h Rembedded.h Rinternals.h
8
SRC_HEADERS = R.h S.h Rdefines.h Rembedded.h Rinternals.h
9
## this deliberately does not include Rinterfaces.h, which is Unix-only
9
## this deliberately does not include Rinterfaces.h, which is Unix-only
10
OBJ_HEADERS = Rconfig.h Rmath.h Rversion.h
10
OBJ_HEADERS = Rconfig.h Rmath.h Rversion.h
11
GW32_HEADERS = iconv.h psignal.h
11
W32_HEADERS = iconv.h psignal.h
12
RPROXY_HEADERS = SC_proxy.h SC_system.h rproxy.h bdx.h bdx_SEXP.h bdx_com.h bdx_util.h com_util.h
-
 
13
 
12
 
14
all: fixh config.h
13
all: fixh config.h
15
	@echo 'installing C headers'
14
	@echo 'installing C headers'
16
	@mkdir -p $(R_HOME)/include/R_ext
15
	@mkdir -p $(R_HOME)/include/R_ext
17
	@cp -p $(SRC_HEADERS) $(OBJ_HEADERS) $(RPROXY_HEADERS) iconv.h $(R_HOME)/include
16
	@cp -p $(SRC_HEADERS) $(OBJ_HEADERS) iconv.h $(R_HOME)/include
18
	@cp -p R_ext/*.h $(R_HOME)/include/R_ext
17
	@cp -p R_ext/*.h $(R_HOME)/include/R_ext
19
	@cp -p ../extra/graphapp/graphapp.h ../extra/graphapp/ga.h \
18
	@cp -p ../extra/graphapp/graphapp.h ../extra/graphapp/ga.h \
20
	  $(R_HOME)/include
19
	  $(R_HOME)/include
21
 
20
 
22
version: Rversion.h
21
version: Rversion.h
23
 
22
 
24
fixh: $(GW32_HEADERS) $(OBJ_HEADERS) $(RPROXY_HEADERS)
23
fixh: $(GW32_HEADERS) $(OBJ_HEADERS)
25
	@$(ECHO) done > fixh
24
	@$(ECHO) done > fixh
26
 
25
 
27
ifeq ($(strip $(WIN)),64)
26
ifeq ($(strip $(WIN)),64)
28
config.h: ../gnuwin32/fixed/h/config64.h ../../VERSION
27
config.h: ../gnuwin32/fixed/h/config64.h ../../VERSION
29
	@$(SED) 's/@VERSION@/$(VER)/' $< > $@
28
	@$(SED) 's/@VERSION@/$(VER)/' $< > $@
Line 120... Line 119...
120
	fi 
119
	fi 
121
	@rm -f svn-tmp $(R_HOME)/SVN-REVISION.bak
120
	@rm -f svn-tmp $(R_HOME)/SVN-REVISION.bak
122
 
121
 
123
distclean:
122
distclean:
124
	$(RM) -f Rmath.h0 fixh
123
	$(RM) -f Rmath.h0 fixh
125
	$(RM) $(RPROXY_HEADERS)
-