The R Project SVN R

Rev

Rev 76788 | Rev 78015 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
67240 murdoch 1
R_HOME = ../..
2
 
51476 ripley 3
## first time through MkRules will not exist.
67240 murdoch 4
 
5
ifeq ($(wildcard MkRules?local),MkRules.local)
51476 ripley 6
include MkRules.local
67240 murdoch 7
endif
8
 
51476 ripley 9
include MkRules.rules
25426 ripley 10
include ../../share/make/vars.mk
8798 ripley 11
 
49840 ripley 12
MK = $(MAKE) --no-print-directory
13
 
27867 ripley 14
all:
53414 ripley 15
	@$(MK) MkRules
34417 ripley 16
	@if test -f  ../../SVN-REVISION ; then \
17
	  cp ../../SVN-REVISION ../../SVN-REVISION.bak ; \
18
	fi
49840 ripley 19
	@$(MK) rbuild
50910 ripley 20
	@$(MK) -C ../library -f Makefile.win all WIN=$(WIN)
49840 ripley 21
	@$(MK) -C ../library -f Makefile.win docs
52392 ripley 22
	@$(MK) NEWSdocs htmldocs docfiles
49840 ripley 23
	@$(MK)  -C ../../po -f Makefile.win
13613 ripley 24
 
54788 ripley 25
bytecode: bytecode-base bytecode-recommended
26
 
27
bytecode-base:
54785 ripley 28
	@$(MK) MkRules
29
	@if test -f  ../../SVN-REVISION ; then \
30
	  cp ../../SVN-REVISION ../../SVN-REVISION.bak ; \
31
	fi
32
	@$(MK) rbuild
33
	@$(MK) -C ../library -f Makefile.win bytecode WIN=$(WIN)
34
	@$(MK) -C ../library -f Makefile.win docs
35
	@$(MK) NEWSdocs htmldocs docfiles
36
	@$(MK)  -C ../../po -f Makefile.win
37
 
38
 
49544 ripley 39
rpackages:
67080 ripley 40
	@$(MK) -C ../library -f Makefile.win all WIN=$(WIN) EXT_LIBS="$(EXT_LIBS)"
49840 ripley 41
	@$(MK) -C ../library -f Makefile.win docs
49544 ripley 42
 
55667 ripley 43
 
55661 ripley 44
cairodevices:
76788 ligges 45
ifneq "$(USE_CAIRO)" ""
67130 ripley 46
	@$(MK) -C ../library/grDevices/src/cairo -f Makefile.win all \
76788 ligges 47
	  WIN=$(WIN) CAIRO_LIBS=$(CAIRO_LIBS) CAIRO_CPPFLAGS=$(CAIRO_CPPFLAGS)
55667 ripley 48
endif
55661 ripley 49
 
51490 ripley 50
ifeq ($(wildcard MkRules?local),MkRules.local)
51
MkRules: MkRules.local MkRules.rules
67240 murdoch 52
	@cat MkRules.local MkRules.rules > MkRules
51490 ripley 53
else
67240 murdoch 54
MkRules: MkRules.rules
55
	@cat MkRules.rules > MkRules
51490 ripley 56
endif
51476 ripley 57
 
67610 ripley 58
CFLAGS = -O3 -Wall -pedantic $(EOPTS)
76751 kalibera 59
FFLAGS = -O3 $(EOPTS) $(GF7OPTS)
60
 
8798 ripley 61
ifdef DEBUG
67610 ripley 62
 CFLAGS += $(G_FLAG)
63
 FFLAGS += $(G_FLAG)
64
 DLLFLAGS =
8798 ripley 65
else
67610 ripley 66
 DLLFLAGS = -s
8798 ripley 67
endif
38058 murdoch 68
 
8798 ripley 69
 
67610 ripley 70
R-DLLFLAGS = -mwindows
67143 ripley 71
LIBEXTRAS = -L"$(EXT_LIBS)"/lib$(R_ARCH) -lpcre -lz -lbz2 -llzma
49840 ripley 72
ifdef USE_ICU
67155 ripley 73
LIBEXTRAS += -L"$(ICU_PATH)"/lib$(R_ARCH) $(ICU_LIBS)
23314 ripley 74
endif
32475 murdoch 75
 
67130 ripley 76
dllversion-RESFLAGS = -I../include
53414 ripley 77
CSOURCES = \
67130 ripley 78
  console.c dynload.c editor.c embeddedR.c extra.c malloc.c \
41020 ripley 79
  opt.c pager.c preferences.c psignal.c rhome.c rt_complete.c \
44333 ripley 80
  rui.c run.c shext.c sys-win32.c system.c dos_wglob.c
67130 ripley 81
OBJS = $(CSOURCES:.c=.o) dllversion.o
53418 ripley 82
ifeq "$(WIN)" "32"
42609 ripley 83
 OBJS += e_pow.o
84
endif
29205 ripley 85
MAINLIBS = ../main/libmain.a ../appl/libappl.a ../nmath/libnmath.a
42529 ripley 86
EXTRALIBS = getline/gl.a ../extra/xdr/libxdr.a \
49609 ripley 87
   ../extra/intl/libintl.a ../extra/trio/libtrio.a ../extra/tzone/libtz.a \
67080 ripley 88
   ../extra/tre/libtre.a
8798 ripley 89
 
67143 ripley 90
R-DLLLIBS = $(OPENMP) -L. $(FLIBS) -lRblas -L../../$(IMPDIR) -lRgraphapp \
72855 kalibera 91
  -lRiconv -lcomctl32 -lwinmm -lversion $(LIBEXTRAS)
67080 ripley 92
 
67130 ripley 93
 
47698 ripley 94
.PHONY:  clean veryclean rlibs fixfiles front-ends rmodules
8798 ripley 95
 
96
 
42541 ripley 97
CPPFLAGS = -I../include -I. -I../extra -DHAVE_CONFIG_H -DR_DLL_BUILD
43425 ripley 98
extra-CPPFLAGS = -I../library/grDevices/src
8798 ripley 99
 
67240 murdoch 100
Rpwd.exe: front-ends/Rpwd.exe
101
	$(CP) $< $@
102
 
103
front-ends/Rpwd.exe:
104
	$(MK) -C front-ends Rpwd
105
 
17498 ripley 106
## watch out: R.dll and Rblas.dll depend on each other.
27867 ripley 107
rbuild:
49840 ripley 108
	@$(MK) fixfiles
109
	@$(MK) -C ../include -f Makefile.win
110
	@$(MK) -C ../scripts -f Makefile.win
111
ifdef USE_IMPLIBS
50898 ripley 112
	@$(MK) libRiconv.dll.a
42623 ripley 113
endif
49840 ripley 114
	@$(MK) libRblas.dll.a
51075 ripley 115
	@$(MK) ../../$(BINDIR)/R.dll
49840 ripley 116
ifdef USE_IMPLIBS
117
	@$(MK) implibs
42589 ripley 118
endif
49840 ripley 119
	@$(MK) Rblas
120
	@$(MK) front-ends COPYRIGHTS rmodules fixed/fixdesc
8798 ripley 121
 
47603 ripley 122
 
9372 ripley 123
rlibs:
53402 ripley 124
	$(MK) -C ../extra/intl CFLAGS='$(CFLAGS)' -f Makefile.win
53414 ripley 125
	$(MK) -C ../appl CFLAGS='$(CFLAGS)' FFLAGS='$(FFLAGS)' -f Makefile.win
53402 ripley 126
	$(MK) -C ../nmath CFLAGS='$(CFLAGS)' FFLAGS='${FFLAGS}' -f Makefile.win
53414 ripley 127
	$(MK) -C ../main CFLAGS='$(CFLAGS)' FFLAGS='$(FFLAGS)' malloc-DEFS='$(malloc-DEFS)' -f Makefile.win
53402 ripley 128
	$(MK) -C ./getline CFLAGS='$(CFLAGS)'
67080 ripley 129
	@for ex in graphapp xdr tre trio tzone win_iconv ; do \
53402 ripley 130
	  $(MK) -C ../extra/$${ex} CFLAGS='$(CFLAGS)' -f Makefile.win || exit 1; \
32750 ripley 131
	done
8798 ripley 132
 
26879 ripley 133
rmodules:
51029 ripley 134
	@$(MKDIR) -p ../../modules$(R_ARCH)
49840 ripley 135
	$(MK) -C ../modules -f Makefile.win \
53414 ripley 136
	  CFLAGS='$(CFLAGS)' FFLAGS='$(FFLAGS)'
8798 ripley 137
 
42629 ripley 138
COPYRIGHTS: ../../doc/COPYRIGHTS COPYRIGHTS.win
8798 ripley 139
	cat $^ > $@
140
 
141
 
67240 murdoch 142
fixfiles: Rpwd.exe
52579 ripley 143
	@$(MKDIR) -p ../../$(BINDIR)
49840 ripley 144
	@$(MK) -C ./fixed
67494 ripley 145
ifdef USE_LIBCURL
146
	@if test -f "$(CURL_PATH)/etc/curl-ca-bundle.crt"; then \
147
	  $(CP) -p "$(CURL_PATH)/etc/curl-ca-bundle.crt" ../../etc; \
148
	fi
149
endif
8798 ripley 150
 
151
fixed/fixdesc:
59855 ripley 152
	@sh fixed/GETDESC $(R_PKGS_BASE) translations
8798 ripley 153
 
9058 ripley 154
dllversion.o: ../include/Rversion.h
155
 
59305 ripley 156
## Rdll.hide has decoration which 64-bit builds lack
157
ifeq "$(WIN)" "64"
67130 ripley 158
R.dll: $(OBJS) $(MAINLIBS) $(EXTRALIBS)
37906 ripley 159
	@$(ECHO) EXPORTS > R.def
66210 ripley 160
	@$(NM) $^ | $(SED) -n  $(SYMPAT) | LC_COLLATE=C $(SORT) | \
161
	  uniq $(NM_FILTER) > R0.def
60674 ripley 162
	@$(SED) -e's/@.*//' Rdll.hide | LC_COLLATE=C $(SORT) > R1.def
64261 murdoch 163
	@LC_COLLATE=C comm -23 R0.def R1.def >> R.def
37906 ripley 164
	$(DLL) -shared $(DLLFLAGS) $($*-DLLFLAGS) -o $@ R.def $^ $($*-DLLLIBS) $(DLLLIBS)
59305 ripley 165
	@$(RM) R.def R0.def R1.def
166
else
67130 ripley 167
R.dll: $(OBJS) $(MAINLIBS) $(EXTRALIBS)
59305 ripley 168
	@$(ECHO) EXPORTS > R.def
60674 ripley 169
	@$(NM) $^ | $(SED) -n  $(SYMPAT) | LC_COLLATE=C $(SORT) | uniq > R0.def
59305 ripley 170
	@LC_COLLATE=C $(SORT) Rdll.hide > R1.def
64261 murdoch 171
	@LC_COLLATE=C comm -23 R0.def R1.def >> R.def
59305 ripley 172
	$(DLL) -shared $(DLLFLAGS) $($*-DLLFLAGS) -o $@ R.def $^ $($*-DLLLIBS) $(DLLLIBS)
173
	@$(RM) R.def R0.def R1.def
174
endif
8798 ripley 175
 
67130 ripley 176
R.exp: $(OBJS) $(MAINLIBS) $(EXTRALIBS)
38794 ripley 177
	@$(ECHO) LIBRARY R.dll > R.exp
178
	@$(ECHO) EXPORTS >> R.exp
66210 ripley 179
	@$(NM) $^ | $(SED) -n $(SYMPAT) | LC_COLLATE=C $(SORT) | \
180
	  uniq $(NM_FILTER) > R0.def
64261 murdoch 181
	@LC_COLLATE=C comm -23 R0.def Rdll.hide >> R.exp
38794 ripley 182
	@$(RM) R0.def
183
 
184
 
51075 ripley 185
Rdll: makeMakedeps libRblas.dll.a ../../$(BINDIR)/R.dll
10657 ripley 186
 
51075 ripley 187
../../$(BINDIR)/R.dll: FORCE
49840 ripley 188
	@$(MK) fixfiles
189
	@$(MK) -C ../include -f Makefile.win
190
	@$(MK) rlibs
191
	@$(MK) makeMakedeps
192
	@$(MK) R.dll
51075 ripley 193
	@$(MKDIR) -p ../../$(BINDIR)
194
	$(CP) R.dll ../../$(BINDIR)
8798 ripley 195
 
31113 ripley 196
FORCE:
197
 
42589 ripley 198
implibs: libR.dll.a libRblas.dll.a
199
	@$(MKDIR) -p ../../lib
200
	@$(CP) $^ ../../lib
201
 
42588 ripley 202
libR.dll.a: R.exp
203
	$(DLLTOOL) $(DLLTOOLFLAGS) $(R-DLLTOOLFLAGS) --dllname R.dll \
204
	  --input-def $< --output-lib $@
205
 
50898 ripley 206
libRiconv.dll.a: unicode/iconv.def
207
	$(DLLTOOL) $(DLLTOOLFLAGS) $(R-DLLTOOLFLAGS) --dllname Riconv.dll \
42623 ripley 208
	  --input-def $< --output-lib $@
42588 ripley 209
 
42623 ripley 210
 
37054 ripley 211
front-ends:
49840 ripley 212
	$(MK) -C front-ends
8798 ripley 213
 
49609 ripley 214
../extra/tre/libtre.a:
49840 ripley 215
	$(MK) -C ../extra/tre -f Makefile.win
49609 ripley 216
 
37901 ripley 217
../extra/trio/libtrio.a:
49840 ripley 218
	$(MK) -C ../extra/trio -f Makefile.win
19859 ripley 219
 
52391 ripley 220
NEWSdocs:
221
	@$(MK) -C ../../doc -f Makefile.win
49816 ripley 222
 
30790 ripley 223
htmldocs:
21888 ripley 224
	@$(ECHO)
225
	@$(ECHO) "------ Making HTML documentation ------"
49840 ripley 226
	@$(MK) -C ../../doc/manual -f Makefile.win html
10088 ripley 227
 
14648 ripley 228
 
17498 ripley 229
#                          ===== BLAS ======
230
 
38753 ripley 231
Rblas:
76787 ligges 232
	@$(MK) -C ../extra/blas -f Makefile.win FFLAGS='-O2 $(EOPTS)'
17498 ripley 233
 
234
Rblas-clean:
49840 ripley 235
	@$(MK) -C ../extra/blas -f Makefile.win clean
17498 ripley 236
 
38753 ripley 237
libRblas.dll.a:  ../extra/blas/Rblas.def
42468 ripley 238
	@$(DLLTOOL) $(DLLTOOLFLAGS) --dllname Rblas.dll \
239
	  --input-def $< --output-lib $@
17498 ripley 240
 
27884 ripley 241
 
10088 ripley 242
#                          ===== cleaning ======
243
 
47696 ripley 244
## used in installer/Makefile
67610 ripley 245
PKGDIR = ../library
47694 ripley 246
pkgclean-%:
47698 ripley 247
	@(cd $(PKGDIR)/$*/src; rm -f *.d *.o *.dll *_res.rc Makedeps)
47694 ripley 248
 
67143 ripley 249
EXTRA_DIRS = blas graphapp intl tre trio tzone xdr win_iconv
47696 ripley 250
 
251
clean: cleanwin
252
	@$(MAKE) -C ../library -f Makefile.win clean
29205 ripley 253
	$(RM) -f ../*/*.o ../*/*.a *.a ../*/*.d ../*/Makedeps fixed/fixdesc
38816 ripley 254
	@for d in $(EXTRA_DIRS); do \
255
	  $(MAKE) -C ../extra/$${d} -f Makefile.win clean; \
256
	done
49840 ripley 257
	-$(MK) -C ../../doc/manual -f Makefile.win distclean
258
	-$(MK) -C ../nmath/standalone -f Makefile.win distclean
259
	-$(MK) -C ../modules -f Makefile.win clean
260
	-$(MK) -C ../../tests -f Makefile.win clean
261
	-$(MK) -C ../library/Recommended -f Makefile.win clean
68027 ripley 262
	$(RM) -f ../library/methods/all.R ../../etc/curl-ca-bundle.crt
8798 ripley 263
 
47557 ripley 264
distclean: clean
38816 ripley 265
	@for d in $(EXTRA_DIRS); do \
266
	  $(MAKE) -C ../extra/$${d} -f Makefile.win distclean; \
267
	done
53414 ripley 268
	@$(MAKE) -C ../../tests -f Makefile.win distclean
62626 ripley 269
	$(RM) -R ../../bin ../../include ../../lib ../../library ../../modules
32482 ripley 270
	$(RM) ../include/config.h ../include/iconv.h ../include/psignal.h \
32891 ripley 271
	../include/Rconfig.h ../include/Rversion.h ../include/Rmath.h \
67837 murdoch 272
	../include/libintl.h ../include/trioremap.h
14648 ripley 273
	$(RM) ../library/*/src/*.o ../library/*/src/*.a
21222 ripley 274
	$(RM) ../library/*/src/*.d ../library/*/src/Makedeps
14648 ripley 275
	$(RM) ../library/*/src/*.dll
61815 murdoch 276
	$(RM) ../library/*/src/windows/*.o ../library/*/src/windows/*.a
277
	$(RM) ../library/*/src/windows/*.d ../library/*/src/windows/Makedeps
278
	$(RM) ../library/*/src/windows/*.dll
62626 ripley 279
	$(RM) -R ../library/*/check
61818 ripley 280
	$(RM) ../library/*/tests/*.ps ../library/*/tests/*.pdf
21917 ripley 281
	$(RM) ../library/tcltk/src/tcl$(TCL_VERSION).def \
282
	../library/tcltk//src/tk$(TCL_VERSION).def
37045 ripley 283
	$(RM) R.exp COPYRIGHTS
49489 ripley 284
	$(RM) ../../doc/html/index.html \
10088 ripley 285
	../../doc/html/packages.html ../../doc/html/rwin.html \
52441 ripley 286
	../../doc/html/rw-FAQ.html ../../doc/html/NEWS.html \
65556 ripley 287
	../../doc/NEWS.rds ../../doc/NEWS ../../doc/NEWS.pdf \
52488 murdoch 288
	../../doc/CHANGES.rds ../../doc/html/CHANGES.html
39675 ripley 289
	$(RM) ../../etc/Makeconf ../../etc/Rconsole ../../etc/Rdevga \
45328 ripley 290
	../../etc/Rprofile.site ../../etc/rgb.txt ../../etc/Rcmd_environ \
39675 ripley 291
	../../tests/*.Rout ../../tests/*.Rout.fail
62626 ripley 292
	$(RM) -R ../../etc/i386 ../../etc/x64 # do both sub-archs
293
	$(RM) -R ../../share/zoneinfo
15811 ripley 294
	$(MAKE) -C fixed distclean
30054 ripley 295
	$(MAKE) -C ../include -f Makefile.win distclean
21085 ripley 296
	-$(MAKE) -C installer distclean
61825 ripley 297
	@for pkg in $(R_PKGS_BASE) translations; do \
17201 ripley 298
	  $(RM) ../library/$${pkg}/DESCRIPTION; \
299
	done
37040 ripley 300
	$(RM) ../../SVN-REVISION.bak
61819 ripley 301
	$(RM) ../../doc/manual/rw-FAQ
51898 ripley 302
	$(MAKE) -C cran clean
62626 ripley 303
	$(RM) -R ../library/.vignettes # it gets left behind if there is an error
304
	$(RM) -R ../../share/locale # relic of earlier versions
51476 ripley 305
	$(RM) MkRules Rpwd.exe # do this last of all
8798 ripley 306
 
37040 ripley 307
veryclean: distclean
52394 ripley 308
	$(RM) ../../doc/FAQ ../../doc/RESOURCES ../../doc/NEWS.rds \
309
	  ../../doc/html/resources.html ../../doc/html/NEWS.html \
37040 ripley 310
	  ../../SVN-REVISION # not in SVN sources
311
 
54283 ripley 312
cleanwin: MkRules fixfiles
38816 ripley 313
	$(RM) *.o *.dll *.a *~ \#*\# .RData .Rhistory Makedeps *.d
42524 ripley 314
	$(MAKE) -C ../extra/graphapp -f Makefile.win clean
8798 ripley 315
	$(MAKE) -C fixed clean
316
	$(MAKE) -C getline clean
317
	$(MAKE) -C front-ends clean
56001 ripley 318
	$(MAKE) -C ../library/grDevices/src/cairo -f Makefile.win clean WIN=$(WIN)
21085 ripley 319
	-$(MAKE) -C installer clean
8798 ripley 320
 
8982 ripley 321
 
10088 ripley 322
#                          ===== testing ======
323
 
49472 ripley 324
check check-devel check-all check-recommended:
53414 ripley 325
	@$(MK) -C ../../tests -f Makefile.win $@
8982 ripley 326
 
10088 ripley 327
#                          ===== documentation ======
328
 
30790 ripley 329
pdfdocs manuals:
53414 ripley 330
	@$(MK) -C ../../doc/manual -f Makefile.win clean
331
	@$(MK) -C ../../doc/manual -f Makefile.win
8982 ripley 332
 
77228 maechler 333
R_EXE = ../../$(BINDIR)/Rterm.exe --vanilla --no-echo
51898 ripley 334
 
55661 ripley 335
## must come after recommended
28724 ripley 336
vignettes:
55217 ripley 337
	@$(MK) -C ../library -f Makefile.win vignettes
8982 ripley 338
 
43129 ripley 339
 
10088 ripley 340
## ===================== Maintainer targets ========================
8982 ripley 341
 
33970 ripley 342
RVER-PAT = $(shell version=`cut -d' ' -f1 ../../VERSION | sed -n 1p`; if test "`cut -f2 -d' ' ../../VERSION`" = "Patched"; then version=`echo $${version} | sed 's/\.[0-9]*$$//'`; echo "$${version}-patched"; else echo "$${version}"; fi)
8982 ripley 343
 
33970 ripley 344
CRANREC = cran.r-project.org::CRAN/src/contrib/$(RVER-PAT)/Recommended
17847 ripley 345
 
33970 ripley 346
## Use -c here to avoid re-downloading the same versions of files
49841 ripley 347
## A recent rsync seems to need -p
21129 ripley 348
rsync-recommended:
21675 ripley 349
	@(cd ../library; \
49841 ripley 350
	  rsync --timeout=60 -rcvpC --delete \
47763 ripley 351
	    --exclude=Makefile.in --exclude=Makefile.win --exclude=.cvsignore \
49882 ripley 352
	    --include=*.tar.gz --exclude=*.tgz --exclude=*.ts \
353
	    --exclude=".svn" $(CRANREC) . )
47763 ripley 354
	@$(RM) ../library/Recommended/*.tgz
48493 ripley 355
	@(cd ../library/Recommended; for i in ${R_PKGS_RECOMMENDED}; do cp -p $${i}*.tar.gz $${i}.tgz ; done)
20838 ripley 356
 
48108 ripley 357
link-recommended:
358
	@$(RM) ../library/Recommended/*.tgz
48493 ripley 359
	@(cd ../library/Recommended; for i in ${R_PKGS_RECOMMENDED} ; do cp -p $${i}*.tar.gz $${i}.tgz ; done)
30632 ripley 360
 
48108 ripley 361
 
47557 ripley 362
recommended:
30757 ripley 363
	@$(ECHO) "--- Making recommended packages"
53414 ripley 364
	@$(MK) -C ../library/Recommended -f Makefile.win
30749 ripley 365
 
71598 luke 366
## Note that R_COMPILER_SUPPRESS_ALL is now on by default
54785 ripley 367
bytecode-recommended:
368
	@$(ECHO) "--- Making and compiling recommended packages"
54800 ripley 369
	@rm ../library/Recommended/*.ts
54785 ripley 370
	@R_COMPILE_PKGS=1 R_COMPILER_SUPPRESS_ALL=1 \
371
	  $(MK) -C ../library/Recommended -f Makefile.win
372
 
67240 murdoch 373
RVER-MAJOR-MINOR = $(shell echo `cut -d'.' -f1,2 ../../VERSION`)
374
CRANEXT = cran.r-project.org::CRAN/bin/windows/extsoft/$(RVER-MAJOR-MINOR)/
375
 
376
rsync-extsoft:
377
	($(MKDIR) -p ../../extsoft; \
378
	cd ../../extsoft; \
379
	rsync --timeout=60 -rcvp --delete $(CRANEXT) . ) 
380
 
381
 
51898 ripley 382
docfiles:
61819 ripley 383
	@$(MK) -C ../../doc/manual -f Makefile.win FAQ
51898 ripley 384
 
385
 
32005 ripley 386
EXTRA_PKGS=
23587 ripley 387
rinstaller:
32007 ripley 388
	@$(MAKE) -C installer EXTRA_PKGS='$(EXTRA_PKGS)'
389
	@$(MAKE) -C installer clean
23378 murdoch 390
 
391
crandir:
53418 ripley 392
ifeq "$(WIN)" "64"
51898 ripley 393
	$(MAKE) -C cran all
51982 ripley 394
endif
31454 ripley 395
 
23587 ripley 396
distribution:
49840 ripley 397
	@$(MK) all
55661 ripley 398
	@$(MK) cairodevices
49840 ripley 399
	@$(MK) recommended
400
	@$(MK) vignettes
401
	@$(MK) manuals
402
	@$(MK) rinstaller
403
	@$(MK) crandir
53414 ripley 404
	@$(RM) -f ../../SVN-REVISION.bak
20825 ripley 405
 
56069 ripley 406
## Builds what is needed in a 32-bit build to copy to 64/32-bit installer
407
32-bit:
408
	@$(MK) all
409
	@$(MK) cairodevices
410
	@$(MK) recommended
23587 ripley 411
 
56069 ripley 412
 
8982 ripley 413
## ============= End of maintainer targets ========================
8798 ripley 414
 
53414 ripley 415
# Dependencies: malloc.c doesn't have any
67610 ripley 416
DEPS = $(CSOURCES:.c=.d)
8798 ripley 417
 
418
makeMakedeps: $(DEPS)
419
	@$(RM) Makedeps
420
	@cat $(DEPS) >> Makedeps
421
 
422
-include Makedeps