Rev 5137 | Rev 5197 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
include ../MkRulesMANOBJS= BATCH.Rd COMPILE.Rd INSTALL.Rd REMOVE.Rd RHOME.Rd SHLIB.Rd x11.Rdall: profiles fixh fixr fixRd fixbin fixmakeprofiles: ../../../library/base/R/Rprofile ../../../etc/Rprofile../../../library/base/R/Rprofile: ../../library/profile/Common.R ./profile/rprofile@$(ECHO) -------- Building $@ from $^--------mkdir -p ../../../library/base/R$(CAT) $^ > $@../../../etc/Rprofile: ./profile/rprofile.site$(MKDIR) -p ../../../etc$(CP) -p $^ $@SED0='/^\#/d'SED01='/Rsockfork/d'SED1='s/F77_SUBROUTINE(\(.*\))/int \1_();/'SED2='s/C_FUNCTION(\(.*\))/int \1();/'SED3='s/F77_SUBROUTINE(\(.*\))/ { "\1_", \1_},/'SED4='s/C_FUNCTION(\(.*\))/{ "\1", \1 },/'fixh: h/platform.h.in ../../../date-stamp ../../appl/ROUTINES$(CP) -p ./h/platform.h.in ../../include/Platform.hcp ../../include/Version.h.in ../../include/Version.hgawk -F/ '{ \printf "#define R_DAY\t\"%s\"\n", $$3; \printf "#define R_MONTH\t\"%s\"\n", $$2; \printf "#define R_YEAR\t\"%s\"\n", $$1 }' \../../../date-stamp >> ../../include/Version.h$(SED) -e $(SED0) -e $(SED01) -e $(SED1) -e $(SED2) ../../appl/ROUTINES > ../../include/FFDecl.h$(SED) -e $(SED0) -e $(SED01) -e $(SED3) -e $(SED4) ../../appl/ROUTINES > ../../include/FFTab.h$(ECHO) done > fixhfixbin: $(filter-out ./bin/CVS,$(wildcard ./bin/*))$(CP) -p $^ ../../../bin$(ECHO) done > fixbinfixr: $(wildcard ./r/*.r) ./r/zero.R $(wildcard ./r/*.html) \./profile/rconsole ./profile/rgb.txt ./profile/rdevga$(CP) -p ./r/*.gnw.r ../../library/base/R$(CP) -p ./r/zero.R ../../../demos/dynload/zero.R$(CP) -p ./r/*.html ../../../doc/html$(CP) -p ./profile/rconsole ../../../etc/Rconsole$(CP) -p ./profile/rdevga ../../../etc/Rdevga$(CP) -p ./profile/rgb.txt ../../../etc$(ECHO) done > fixrfixRd: $(wildcard man/*.Rd)$(CP) -p man/*.Rd ../../library/base/man-$(RM) $(foreach i, $(MANOBJS), ../../library/base/man/$i)$(ECHO) done > fixRdfixmake: ../../appl/Makefile ../../main/Makefile ../../nmath/Makefile../../appl/Makefile: make.appl$(CP) -p $^ $@../../main/Makefile: make.main$(CP) -p $^ $@../../nmath/Makefile: make.nmath$(CP) -p $^ $@clean:$(RM) *~ */*~ fixr fixh fixRd fixbin