forked from dscho/fiji
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFakefile
698 lines (608 loc) · 30.1 KB
/
Fakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
# This is a configuration file for Fiji mAKE ("fake")
#
# The syntax of a Fakefile is meant to be very simple.
#
# The first rule is the default rule.
#
# All rules are of the form
#
# target <- prerequisites
#
# before making "target", all prerequisites will be made (i.e. if there
# exists a rule, for an item on the right side, it will be executed before
# the current rule).
#
# Most rules have implicit actions: if the target is a .jar file, the items
# on the right side are packaged into the target, compiling them first, if
# they are .java files.
#
# If the last item on the right side is a .c file, the GNU C++ compiler
# will be invoked to make the target from it.
#
# If an item on the right side is a directory, and a Fakefile or a Makefile
# exists in that directory, "fake" or "make" will be called in that directory.
# The target will be simply copied from that directory after handling all
# dependencies.
#
# There is a special type of rule when "fake" does not know how to produce
# the target from the prerequisites: you can call a program with
#
# target[program] <- items
#
# This will check if the target is up-to-date, by checking the timestamps of the
# items (if there is no item, the target is deemed _not_ up-to-date). If the target
# is not up-to-date, "fake" will execute the program with all items as parameters.
#
# Variables are defined like this:
#
# VARIABLE=VALUE
#
# and their values can be accessed with "$VARIABLE" in most places.
#
# You can define variables depending on the platform, the target, and in some
# cases the prerequisite, by adding a tag in parentheses to the name:
#
# VARIABLE(target)=xyz
# VARIABLE(platform)=abc
# These variables are special, as they will be interpreted by "fake".
# Do not be verbose
verbose=false
# Usually not necessary
debug=false
# Compile .java files for this Java version
javaVersion=1.5
# Whether to show use of deprecated entities
showDeprecation=false
# If false, skips rebuilds triggered from newer Fakefile or fake.jar
# (see issues 40 & 45)
rebuildIfFakeIsNewer=true
# When building a .jar file, and a .config file of the same name is found in
# this directory, it will be included as "plugins.config".
pluginsConfigDirectory=staged-plugins
# When a prerequisite is a directory, but contains neither Fakefile nor
# Makefile, just ignore it
ignoreMissingFakefiles=true
# When a submodule could not be made, fall back to copying from this directory
precompiledDirectory=precompiled/
buildDir=build/
FIJI_JAVA_HOME(linux32)=java/linux/jdk1.6.0_24/jre
FIJI_JAVA_HOME(linux64)=java/linux-amd64/jdk1.6.0_24/jre
FIJI_JAVA_HOME(win32)=java/win32/jdk1.6.0_24/jre
FIJI_JAVA_HOME(win64)=java/win64/jdk1.6.0_24/jre
FIJI_JAVA_HOME(macosx)=java/macosx-java3d
FIJI_JAVA_HOME(freebsd)=/usr/local/jdk1.6.0/jre
JAVA_HOME=$FIJI_JAVA_HOME
ENVOVERRIDES(JAVA_HOME)=true
# Java 3D
FIJI_JAVA_EXT=$FIJI_JAVA_HOME/lib/ext
FIJI_JAVA_EXT(macosx)=$FIJI_JAVA_HOME/Home/lib/ext
JAVA3D_JARS=$FIJI_JAVA_EXT/j3dcore.jar:$FIJI_JAVA_EXT/j3dutils.jar:$FIJI_JAVA_EXT/vecmath.jar
# tools.jar
TOOLS_JAR=$JAVA_HOME/../lib/tools.jar
TOOLS_JAR(macosx)=/System/Library/Frameworks/JavaVM.framework/Classes/classes.jar
ENVOVERRIDES(TOOLS_JAR)=true
# the main target
SUBMODULE_TARGETS=\
jars/ij.jar \
plugins/loci_tools.jar \
jars/VectorString.jar \
plugins/TrakEM2_.jar \
plugins/mpicbg_.jar \
jars/clojure.jar \
plugins/ij-ImageIO_.jar \
jars/jacl.jar \
jars/batik.jar \
jars/junit.jar \
jars/rsyntaxtextarea.jar \
jars/autocomplete.jar \
jars/weka.jar \
jars/jython.jar \
jars/imglib.jar \
jars/imglib-algorithms.jar \
jars/imglib-ij.jar \
jars/imglib-io.jar \
jars/imglib2.jar \
jars/imglib2-algorithms.jar \
jars/imglib2-algorithms-gpl.jar \
jars/imglib2-ij.jar \
jars/imglib2-io.jar \
jars/imglib2-ui.jar \
jars/mpicbg.jar \
jars/commons-math.jar \
jars/javassist.jar \
jars/jsch.jar \
jars/imglib-scripting.jar \
plugins/Image_5D.jar \
jars/ij-app.jar \
PLUGIN_TARGETS=plugins/Jython_Interpreter.jar \
plugins/Clojure_Interpreter.jar \
plugins/JRuby_Interpreter.jar \
plugins/BeanShell_Interpreter.jar \
plugins/blockmatching_.jar \
plugins/bUnwarpJ_.jar \
plugins/register_virtual_stack_slices.jar \
plugins/Siox_Segmentation.jar \
plugins/registration_3d.jar \
plugins/IO_.jar \
plugins/CLI_.jar \
plugins/Javascript_.jar \
plugins/LSM_Toolbox.jar \
plugins/SplineDeformationGenerator_.jar \
plugins/level_sets.jar \
plugins/Analyze_Reader_Writer.jar \
plugins/Color_Histogram.jar \
plugins/Color_Inspector_3D.jar \
plugins/M_I_P.jar \
plugins/Interactive_3D_Surface_Plot.jar \
plugins/View5D_.jar \
plugins/Volume_Viewer.jar \
plugins/IJ_Robot.jar \
plugins/Fiji_Updater.jar \
plugins/Stitching_.jar \
plugins/LSM_Reader.jar \
plugins/AnalyzeSkeleton_.jar \
plugins/Skeletonize3D_.jar \
plugins/TurboReg_.jar \
plugins/Feature_Detection.jar \
plugins/Bug_Submitter.jar \
plugins/Fiji_Plugins.jar \
plugins/ToAST_.jar \
plugins/MTrack2_.jar \
plugins/Time_Stamper.jar \
plugins/Series_Labeler.jar \
plugins/Statistical_Region_Merging.jar \
plugins/Refresh_Javas.jar \
plugins/Auto_Threshold.jar \
plugins/Arrow_.jar \
plugins/Stack_Manipulation.jar \
plugins/FlowJ_.jar \
plugins/PIV_analyser.jar \
plugins/Record_Screen.jar \
plugins/Video_Editing.jar \
plugins/Sync_Win.jar \
plugins/Gray_Morphology.jar \
plugins/Colocalisation_Analysis.jar \
plugins/LocalThickness_.jar \
plugins/Fiji_Developer.jar \
plugins/Script_Editor.jar \
plugins/Manual_Tracking.jar \
plugins/Calculator_Plus.jar \
plugins/3D_Objects_Counter.jar \
plugins/Trainable_Segmentation.jar \
plugins/IsoData_Classifier.jar \
plugins/RATS_.jar \
plugins/Directionality_.jar \
jars/ij-launcher.jar \
plugins/Image_Expression_Parser.jar \
plugins/Algorithm_Launcher.jar \
plugins/VIB_.jar \
plugins/Anisotropic_Diffusion_2D.jar \
plugins/Simple_Neurite_Tracer.jar \
plugins/SPIM_Registration.jar \
plugins/QuickPALM_.jar \
plugins/3D_Viewer.jar \
plugins/CPU_Meter.jar \
plugins/Graph_Cut.jar \
plugins/TopoJ_.jar \
plugins/Differentials_.jar \
plugins/MosaicJ_.jar \
plugins/PointPicker_.jar \
plugins/SheppLogan_.jar \
plugins/StackReg_.jar \
plugins/UnwarpJ_.jar \
plugins/Snakuscule_.jar \
jars/imagescience.jar \
plugins/TransformJ_.jar \
plugins/FeatureJ_.jar \
plugins/RandomJ_.jar \
plugins/Linear_Kuwahara.jar \
plugins/Thread_Killer.jar \
plugins/Samples_.jar \
plugins/Lasso_and_Blow_Tool.jar \
jars/mij.jar \
jars/wavelets.jar \
jars/imageware.jar \
plugins/Extended_Depth_Field.jar \
plugins/panorama_.jar \
jars/weave_jy2java.jar \
plugins/3D_Blob_Segmentation.jar \
plugins/Kuwahara_Filter.jar \
plugins/Action_Bar.jar \
plugins/Multi_Kymograph.jar \
plugins/Colour_Deconvolution.jar \
plugins/Dichromacy_.jar \
plugins/Threshold_Colour.jar \
plugins/Helmholtz_Analysis.jar \
plugins/Descriptor_based_registration.jar \
plugins/SPIM_Opener.jar \
plugins/Reconstruct_Reader.jar \
plugins/FS_Align_TrakEM2.jar \
jars/fiji-compat.jar \
plugins/Fiji_Package_Maker.jar \
plugins/BalloonSegmentation_.jar
LEGACYLAUNCHER=fiji
all <- ImageJ $LEGACYLAUNCHER $SUBMODULE_TARGETS $PLUGIN_TARGETS
# The "run" rule just executes ./ImageJ (as long as the file "run" does not exist...)
# It has items on the right side, because these would be passed to the executable.
run[] <- all run-fiji
run-fiji[./ImageJ] <-
DEBUG_ARGS=-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n
dev[./ImageJ $DEBUG_ARGS] <-
# JDK
JDK=java/$PLATFORM
JDK(linux64)=java/linux-amd64
JDK(macosx)=java/macosx-java3d
# Call the Jython script to ensure that the JDK is checked out (from Git)
jdk[bin/checkout-jdk.py $JDK] <-
# Prebuilt (needed to unconfuse Fiji Build and analyze-dependencies)
jars/edu_mines_jtk.jar[] <-
jars/jcommon.jar[] <-
jars/jfreechart.jar[] <-
jars/jna.jar[] <-
jars/postgresql.jar[] <-
jars/jai_core.jar[] <-
jars/jai_codec.jar[] <-
jars/batik.jar[] <-
jars/jzlib.jar[] <-
# From submodules
jars/ij.jar <- jars/javac.jar modules/ImageJA/
CLASSPATH(plugins/mpicbg_.jar)=jars/ij.jar:jars/mpicbg.jar
plugins/mpicbg_.jar <- modules/mpicbg/
CLASSPATH(jars/mpicbg.jar)=jars/ij.jar:jars/Jama.jar
jars/mpicbg.jar <- modules/mpicbg/
CLASSPATH(jars/imglib.jar)=jars/mpicbg.jar
jars/imglib.jar <- modules/imglib/
CLASSPATH(jars/imglib-ij.jar)=jars/ij.jar:jars/imglib.jar:jars/mpicbg.jar
jars/imglib-ij.jar <- modules/imglib/
CLASSPATH(jars/imglib-io.jar)=plugins/loci_tools.jar:jars/imglib.jar:jars/imglib-ij.jar:jars/ij.jar
jars/imglib-io.jar <- modules/imglib/
CLASSPATH(jars/imglib-algorithms.jar)=jars/Jama.jar:jars/imglib.jar:jars/edu_mines_jtk.jar:jars/mpicbg.jar
jars/imglib-algorithms.jar <- modules/imglib/
CLASSPATH(jars/imglib-scripting.jar)=jars/ij.jar:jars/imglib.jar:jars/imglib-io.jars:jars/imglib-algorithms.jar:jars/imglib-ij.jar:plugins/loci_tools.jar:jars/mpicbg.jar:jars/jfreechart.jar:jars/jcommon.jar:$JAVA3D_JARS
jars/imglib-scripting.jar <- modules/imglib/
CLASSPATH(jars/imglib-ops.jar)=jars/imglib.jar
jars/imglib-ops.jar <- modules/imglib/
#CLASSPATH(jars/imglib2.jar)=jars/mpicbg.jar
jars/imglib2.jar <- modules/imglib/
#CLASSPATH(jars/imglib2-ij.jar)=jars/ij.jar:jars/imglib2.jar:jars/mpicbg.jar
CLASSPATH(jars/imglib2-ij.jar)=jars/ij.jar:jars/imglib2.jar:jars/mpicbg.jar
jars/imglib2-ij.jar <- modules/imglib/
CLASSPATH(jars/imglib2-io.jar)=plugins/loci_tools.jar:jars/imglib2.jar
jars/imglib2-io.jar <- modules/imglib/
CLASSPATH(jars/imglib2-algorithms.jar)=jars/imglib2.jar
jars/imglib2-algorithms.jar <- modules/imglib/
CLASSPATH(jars/imglib2-algorithms-gpl.jar)=jars/imglib2.jar:jars/imglib2-algorithms.jar:jars/edu_mines_jtk.jar:jars/mpicbg.jar
jars/imglib2-algorithms-gpl.jar <- modules/imglib/
CLASSPATH(jars/imglib2-scripting.jar)=jars/ij.jar:jars/imglib2.jar:jars/imglib2-io.jars:jars/imglib2-algorithms.jar:jars/imglib2-algorithms-gpl.jar:jars/imglib2-ij.jar:plugins/loci_tools.jar:jars/mpicbg.jar:jars/jfreechart.jar:jars/jcommon.jar:$JAVA3D_JARS
jars/imglib2-scripting.jar <- modules/imglib/
CLASSPATH(jars/imglib2-ops.jar)=jars/imglib2.jar
jars/imglib2-ops.jar <- modules/imglib/
CLASSPATH(jars/imglib2-ui.jar)=jars/imglib2.jar:jars/imglib2-io.jar:plugins/loci_tools.jar
jars/imglib2-ui.jar <- jars/imglib2-io.jar modules/imglib/
jars/clojure.jar <- ImageJ modules/clojure/
plugins/loci_tools.jar <- ImageJ modules/bio-formats/
CLASSPATH(plugins/loci_tools.jar)=jars/imglib2.jar
CLASSPATH(jars/VectorString.jar)=jars/ij.jar:jars/Jama.jar:$JAVA3D_JARS
jars/VectorString.jar <- modules/TrakEM2/
CLASSPATH(plugins/TrakEM2_.jar)=jars/ij.jar:jars/jai_core.jar:jars/jai_codec.jar:jars/VectorString.jar:jars/postgresql.jar:jars/jcommon.jar:jars/jfreechart.jar:jars/edu_mines_jtk.jar:jars/VIB-lib.jar:plugins/VIB_.jar:jars/mpicbg.jar:plugins/loci_tools.jar:plugins/bUnwarpJ_.jar:plugins/level_sets.jar:plugins/Fiji_Plugins.jar:jars/Jama.jar:jars/imglib.jar:jars/imglib-algorithms.jar:jars/imglib-ij.jar:plugins/Simple_Neurite_Tracer.jar:plugins/3D_Viewer.jar:plugins/Lasso_and_Blow_Tool.jar:$JAVA3D_JARS
plugins/TrakEM2_.jar <- modules/TrakEM2/
plugins/ij-ImageIO_.jar <- modules/ij-plugins/
jars/jacl.jar <- ImageJ modules/tcljava/
jars/batik.jar <- ImageJ modules/batik/
jars/junit.jar <- ImageJ modules/junit/
jars/rsyntaxtextarea.jar <- ImageJ modules/RSyntaxTextArea/
jars/autocomplete.jar <- ImageJ modules/AutoComplete/
jars/weka.jar <- ImageJ jars/fiji-compat.jar modules/weka/
jars/jython.jar <- ImageJ modules/jython/
jars/commons-math.jar <- ImageJ modules/commons-math/
jars/javassist.jar <- modules/javassist/
jars/jsch.jar <- modules/jsch/
COPYDEPENDENCIES(jars/ij-app.jar)=true
jars/ij-app.jar <- ImageJ jars/ij.jar jars/imglib2.jar modules/imagej2/
CLASSPATH(plugins/Image_5D.jar)=jars/ij.jar
plugins/Image_5D.jar <- modules/image5d/
# From source
libs[] <- jars/test-fiji.jar jars/zs.jar jars/VIB-lib.jar jars/Jama.jar \
jars/fiji-scripting.jar jars/fiji-lib.jar jars/jep.jar \
jars/pal-optimization.jar jars/Updater_Fix.jar plugins/JNI_Example.jar \
plugins/FFMPEG_IO.jar \
plugins/Record_Screen.jar <- src-plugins/Record_Screen/ src-plugins/Record_Screen/**/*
plugins/Trainable_Segmentation.jar <- src-plugins/Trainable_Segmentation/**/*java src-plugins/Trainable_Segmentation/trainableSegmentation/images/*png src-plugins/Trainable_Segmentation/*
mainClass(jars/ij-launcher.jar)=imagej.ClassLauncher
mainClass(jars/fiji-compat.jar)=fiji.Main
src-plugins/fiji-compat/icon.png[bin/copy-file.bsh $PRE $TARGET] <- images/icon.png
MAINCLASS(jars/javac.jar)=com.sun.tools.javac.Main
CLASSPATH(jars/fiji-scripting.jar)=jars/ij.jar:jars/jython.jar:jars/fiji-compat.jar:jars/bsh.jar:jars/js.jar
CLASSPATH(plugins/Refresh_Javas.jar)=jars/ij.jar:jars/fiji-scripting.jar:jars/fake.jar:jars/fiji-compat.jar
CLASSPATH(plugins/Jython_Interpreter.jar)=jars/ij.jar:jars/fiji-scripting.jar:jars/jython.jar
CLASSPATH(plugins/Clojure_Interpreter.jar)=jars/ij.jar:jars/fiji-scripting.jar:jars/clojure.jar
CLASSPATH(plugins/JRuby_Interpreter.jar)=jars/ij.jar:jars/fiji-scripting.jar:jars/jruby.jar
CLASSPATH(plugins/BeanShell_Interpreter.jar)=jars/ij.jar:jars/fiji-scripting.jar:jars/bsh.jar
CLASSPATH(plugins/Javascript_.jar)=jars/ij.jar:jars/fiji-scripting.jar:jars/js.jar
CLASSPATH(plugins/CLI_.jar)=jars/ij.jar:jars/fiji-scripting.jar
MAINCLASS(plugins/Script_Editor.jar)=fiji.scripting.Script_Editor
CLASSPATH(plugins/Script_Editor.jar)=jars/ij.jar:jars/rsyntaxtextarea.jar:jars/autocomplete.jar:plugins/Clojure_Interpreter.jar:plugins/JRuby_Interpreter.jar:plugins/Javascript_.jar:plugins/Jython_Interpreter.jar:plugins/Refresh_Javas.jar:plugins/BeanShell_Interpreter.jar:plugins/CLI_.jar:jars/fiji-scripting.jar:jars/fiji-compat.jar:jars/imglib.jar:jars/fiji-lib.jar:jars/fake.jar:$TOOLS_JAR:jars/jfreechart.jar:jars/imglib-ij.jar:jars/commons-math.jar
NO_COMPILE(plugins/Script_Editor.jar)=src-plugins/Script_Editor/templates/**/*
src-plugins/Script_Editor/icon.png[bin/copy-file.bsh $PRE $TARGET] <- images/icon.png
src-plugins/Script_Editor/var.png[bin/copy-file.bsh $PRE $TARGET] <- images/var.png
src-plugins/Script_Editor/function.png[bin/copy-file.bsh $PRE $TARGET] <- images/function.png
CLASSPATH(jars/zs.jar)=jars/Jama.jar
CLASSPATH(plugins/register_virtual_stack_slices.jar)=jars/ij.jar:plugins/TrakEM2_.jar:jars/mpicbg.jar:plugins/bUnwarpJ_.jar:jars/fiji-lib.jar
CLASSPATH(plugins/blockmatching_.jar)=jars/ij.jar:jars/mpicbg.jar:jars/imglib2.jar:jars/imglib2-ij.jar:plugins/TrakEM2_.jar
CLASSPATH(plugins/registration_3d.jar)=jars/ij.jar:jars/edu_mines_jtk.jar
CLASSPATH(plugins/Siox_Segmentation.jar)=jars/ij.jar:jars/fiji-lib.jar
CLASSPATH(plugins/Image_Expression_Parser.jar)=jars/ij.jar:jars/jep.jar:jars/imglib.jar:jars/junit.jar:jars/imglib-algorithms.jar:jars/imglib-ij.jar
CLASSPATH(plugins/Algorithm_Launcher.jar)=jars/ij.jar:jars/imglib.jar:jars/imglib-ij.jar
plugins/Algorithm_Launcher.jar <- \
src-plugins/Algorithm_Launcher/**/*.java \
src-plugins/Algorithm_Launcher/**/*.config
CLASSPATH(plugins/Directionality_.jar)=jars/ij.jar:jars/jfreechart.jar:jars/jcommon.jar
CLASSPATH(plugins/LSM_Toolbox.jar)=jars/ij.jar:plugins/LSM_Reader.jar
MAINCLASS(plugins/LSM_Toolbox.jar)=org.imagearchive.lsm.toolbox.gui.AboutDialog
MAINCLASS(plugins/Interactive_3D_Surface_Plot.jar)=Interactive_3D_Surface_Plot
CLASSPATH(plugins/Stitching_.jar)=jars/ij.jar:plugins/loci_tools.jar:jars/fiji-lib.jar:jars/imglib.jar:jars/imglib-algorithms.jar:jars/imglib-ij.jar:jars/edu_mines_jtk.jar:plugins/Fiji_Plugins.jar:jars/mpicbg.jar
CLASSPATH(plugins/Fiji_Plugins.jar)=jars/ij.jar:jars/jsch.jar:jars/fiji-lib.jar:jars/VIB-lib.jar
MAINCLASS(plugins/Fiji_Updater.jar)=fiji.updater.Main
CLASSPATH(plugins/Fiji_Updater.jar)=jars/ij.jar:jars/jsch.jar
CLASSPATH(plugins/IO_.jar)=jars/ij.jar:jars/batik.jar:jars/jpedalSTD.jar:jars/itextpdf.jar:jars/jzlib.jar
CLASSPATH(plugins/Sync_Win.jar)=jars/ij.jar:plugins/Image_5D.jar
CLASSPATH(plugins/Fiji_Developer.jar)=jars/ij.jar:plugins/Script_Editor.jar:plugins/Fiji_Plugins.jar:jars/rsyntaxtextarea.jar:plugins/3D_Viewer.jar:$JAVA3D_JARS
CLASSPATH(plugins/Trainable_Segmentation.jar)=jars/ij.jar:jars/weka.jar:plugins/Stitching_.jar:jars/fiji-lib.jar:plugins/Anisotropic_Diffusion_2D.jar:jars/Jama.jar:jars/VIB-lib.jar:jars/commons-math.jar:jars/imglib.jar:jars/imglib-ij.jar:jars/imglib-algorithms.jar:jars/imagescience.jar:$JAVA3D_JARS
CLASSPATH(plugins/VIB_.jar)=jars/ij.jar:$JAVA3D_JARS:jars/VIB-lib.jar:jars/pal-optimization.jar:plugins/3D_Viewer.jar:jars/imglib.jar:jars/fiji-lib.jar
CLASSPATH(jars/VIB-lib.jar)=jars/ij.jar:jars/Jama.jar:jars/junit.jar:jars/pal-optimization.jar:jars/jzlib.jar:jars/fiji-lib.jar
CLASSPATH(plugins/Simple_Neurite_Tracer.jar)=jars/ij.jar:$JAVA3D_JARS:jars/VIB-lib.jar:plugins/VIB_.jar:jars/pal-optimization.jar:jars/junit.jar:plugins/3D_Viewer.jar:jars/commons-math.jar:jars/jfreechart.jar:jars/jcommon.jar:jars/batik.jar:plugins/AnalyzeSkeleton_.jar:plugins/Skeletonize3D_.jar
CLASSPATH(plugins/SPIM_Opener.jar)=jars/ij.jar:jars/fiji-lib.jar:plugins/Fiji_Plugins.jar
CLASSPATH(plugins/3D_Viewer.jar)=jars/ij.jar:jars/VIB-lib.jar:jars/imglib.jar:jars/Jama.jar:$JAVA3D_JARS
CLASSPATH(jars/jep.jar)=jars/ij.jar:jars/Jama.jar:jars/junit.jar
CLASSPATH(plugins/SPIM_Registration.jar)=jars/ij.jar:$JAVA3D_JARS:jars/imglib.jar:jars/mpicbg.jar:plugins/3D_Viewer.jar:jars/weka.jar:jars/fiji-lib.jar:plugins/loci_tools.jar:plugins/Fiji_Plugins.jar:jars/VIB-lib.jar:jars/Jama.jar:jars/imglib-algorithms.jar:jars/imglib-ij.jar:jars/imglib-io.jar:jars/jfreechart.jar:jars/jcommon.jar:plugins/SPIM_Opener.jar
CLASSPATH(plugins/Descriptor_based_registration.jar)=jars/ij.jar:jars/imglib.jar:jars/mpicbg.jar:jars/fiji-lib.jar:plugins/Fiji_Plugins.jar:jars/VIB-lib.jar:jars/Jama.jar:jars/imglib-algorithms.jar:jars/imglib-ij.jar:jars/imglib-io.jar:plugins/SPIM_Registration.jar:plugins/Stitching_.jar:$JAVA3D_JARS
CLASSPATH(plugins/Bug_Submitter.jar)=jars/ij.jar:plugins/Fiji_Updater.jar
CLASSPATH(plugins/TopoJ_.jar)=jars/ij.jar:jars/Jama.jar
CLASSPATH(jars/imagescience.jar)=jars/ij.jar:plugins/Image_5D.jar
CLASSPATH(plugins/Arrow_.jar)=jars/ij.jar:jars/fiji-lib.jar
CLASSPATH(plugins/TransformJ_.jar)=jars/ij.jar:jars/imagescience.jar
CLASSPATH(plugins/FeatureJ_.jar)=jars/ij.jar:jars/imagescience.jar
CLASSPATH(plugins/RandomJ_.jar)=jars/ij.jar:jars/imagescience.jar
CLASSPATH(plugins/Auto_Threshold.jar)=jars/ij.jar
CLASSPATH(plugins/Colocalisation_Analysis.jar)=jars/ij.jar:jars/imglib.jar:jars/imglib-ij.jar:jars/imglib-algorithms.jar:jars/junit.jar:jars/itextpdf.jar:jars/fiji-lib.jar
CLASSPATH(plugins/Series_Labeler.jar)=jars/ij.jar
CLASSPATH(plugins/Gray_Morphology.jar)=jars/ij.jar
CLASSPATH(plugins/IsoData_Classifier.jar)=jars/ij.jar
CLASSPATH(plugins/ToAST_.jar)=jars/ij.jar
CLASSPATH(plugins/AnalyzeSkeleton_.jar)=jars/ij.jar
CLASSPATH(plugins/CPU_Meter.jar)=jars/jna.jar:jars/ij.jar
CLASSPATH(plugins/M_I_P.jar)=jars/ij.jar
CLASSPATH(plugins/level_sets.jar)=jars/ij.jar
CLASSPATH(plugins/Anisotropic_Diffusion_2D.jar)=jars/ij.jar
CLASSPATH(plugins/SplineDeformationGenerator_.jar)=jars/ij.jar
CLASSPATH(plugins/Manual_Tracking.jar)=jars/ij.jar:plugins/Image_5D.jar
CLASSPATH(plugins/IJ_Robot.jar)=jars/ij.jar
CLASSPATH(jars/autocomplete.jar)=jars/rsyntaxtextarea.jar
CLASSPATH(jars/jython.jar)=jars/junit.jar:jars/jna.jar
CLASSPATH(plugins/Video_Editing.jar)=jars/ij.jar
CLASSPATH(plugins/Statistical_Region_Merging.jar)=jars/ij.jar
CLASSPATH(plugins/PIV_analyser.jar)=jars/ij.jar
CLASSPATH(plugins/Skeletonize3D_.jar)=jars/ij.jar
CLASSPATH(plugins/Color_Inspector_3D.jar)=jars/ij.jar
CLASSPATH(plugins/MTrack2_.jar)=jars/ij.jar
CLASSPATH(plugins/Color_Histogram.jar)=jars/ij.jar
CLASSPATH(plugins/LSM_Reader.jar)=jars/ij.jar
CLASSPATH(plugins/loci_tools.jar)=jars/ij.jar
CLASSPATH(plugins/LocalThickness_.jar)=jars/ij.jar
CLASSPATH(plugins/Volume_Viewer.jar)=jars/ij.jar
CLASSPATH(jars/batik.jar)=jars/jacl.jar:plugins/loci_tools.jar:jars/jython.jar
CLASSPATH(plugins/Stack_Manipulation.jar)=jars/ij.jar
CLASSPATH(jars/fiji-compat.jar)=jars/ij-launcher.jar:jars/ij.jar:jars/javassist.jar
CLASSPATH(plugins/TurboReg_.jar)=jars/ij.jar
CLASSPATH(plugins/RATS_.jar)=jars/ij.jar
CLASSPATH(plugins/Interactive_3D_Surface_Plot.jar)=jars/ij.jar
CLASSPATH(jars/fiji-lib.jar)=jars/ij.jar
src-plugins/fiji-lib/help-cursor.gif[bin/copy-file.bsh $PRE $TARGET] <- images/help-cursor.gif
CLASSPATH(jars/ij.jar)=jars/javac.jar
CLASSPATH(plugins/Analyze_Reader_Writer.jar)=jars/ij.jar
CLASSPATH(plugins/Calculator_Plus.jar)=jars/ij.jar
CLASSPATH(plugins/bUnwarpJ_.jar)=jars/ij.jar
CLASSPATH(plugins/QuickPALM_.jar)=jars/ij.jar
CLASSPATH(plugins/ij-ImageIO_.jar)=jars/ij.jar:jars/jai_core.jar:jars/jai_codec.jar
CLASSPATH(plugins/FlowJ_.jar)=jars/ij.jar
CLASSPATH(plugins/View5D_.jar)=jars/ij.jar
CLASSPATH(plugins/Time_Stamper.jar)=jars/ij.jar
CLASSPATH(plugins/3D_Objects_Counter.jar)=jars/ij.jar
CLASSPATH(plugins/Snakuscule_.jar)=jars/ij.jar
CLASSPATH(plugins/UnwarpJ_.jar)=jars/ij.jar
CLASSPATH(plugins/Graph_Cut.jar)=jars/ij.jar:jars/imglib.jar:jars/imglib-ij.jar:jars/fiji-lib.jar
CLASSPATH(jars/mij.jar)=jars/ij.jar
CLASSPATH(plugins/Differentials_.jar)=jars/ij.jar
CLASSPATH(plugins/StackReg_.jar)=jars/ij.jar
CLASSPATH(plugins/PointPicker_.jar)=jars/ij.jar
CLASSPATH(plugins/Lasso_and_Blow_Tool.jar)=jars/ij.jar:jars/fiji-lib.jar
CLASSPATH(plugins/Linear_Kuwahara.jar)=jars/ij.jar
CLASSPATH(plugins/Thread_Killer.jar)=jars/ij.jar
CLASSPATH(plugins/MosaicJ_.jar)=jars/ij.jar
CLASSPATH(plugins/SheppLogan_.jar)=jars/ij.jar
CLASSPATH(jars/wavelets.jar)=jars/ij.jar
CLASSPATH(jars/imageware.jar)=jars/ij.jar
CLASSPATH(plugins/Extended_Depth_Field.jar)=jars/ij.jar:jars/imageware.jar:jars/wavelets.jar
CLASSPATH(plugins/panorama_.jar)=jars/ij.jar:jars/mpicbg.jar:/jars/mpicbg_.jar
CLASSPATH(jars/weave_jy2java.jar)=plugins/Refresh_Javas.jar:jars/fiji-scripting.jar:jars/fiji-compat.jar:jars/ij.jar:plugins/Script_Editor.jar
CLASSPATH(plugins/3D_Blob_Segmentation.jar)=jars/ij.jar:plugins/level_sets.jar:plugins/3D_Viewer.jar:jars/VIB-lib.jar:jars/imglib.jar:$JAVA3D_JARS
CLASSPATH(plugins/Feature_Detection.jar)=jars/ij.jar:jars/imglib-ij.jar:jars/imglib.jar:jars/imglib-algorithms.jar:jars/Jama.jar
LIBS(plugins/JNI_Example.jar)=-lm
CLASSPATH(plugins/JNI_Example.jar)=jars/ij.jar:jars/fiji-lib.jar
CLASSPATH(plugins/Kuwahara_Filter.jar)=jars/ij.jar
CLASSPATH(plugins/Action_Bar.jar)=jars/ij.jar
CLASSPATH(plugins/Multi_Kymograph.jar)=jars/ij.jar
CLASSPATH(plugins/Reconstruct_Reader.jar)=jars/ij.jar:plugins/TrakEM2_.jar
CLASSPATH(plugins/FS_Align_TrakEM2.jar)=jars/ij.jar:plugins/TrakEM2_.jar
CLASSPATH(plugins/Colour_Deconvolution.jar)=jars/ij.jar
CLASSPATH(plugins/Dichromacy_.jar)=jars/ij.jar
CLASSPATH(plugins/Threshold_Colour.jar)=jars/ij.jar
CLASSPATH(plugins/Helmholtz_Analysis.jar)=jars/ij.jar
CLASSPATH(plugins/Fiji_Package_Maker.jar)=jars/ij.jar:plugins/Fiji_Updater.jar:jars/fiji-lib.jar
CLASSPATH(plugins/BalloonSegmentation_.jar)=jars/ij.jar:jars/Jama.jar
# pom.xml sub-projects
jars/VIB-lib.jar <- src-plugins/VIB-lib/pom.xml
# pre-Java5 generics ;-)
src-plugins/VIB-lib/vib/FloatMatrix.java[src-plugins/VIB-lib/sed.py $PRE $TARGET] <- src-plugins/VIB-lib/vib/FastMatrix.java
src-plugins/VIB-lib/math3d/FloatMatrixN.java[src-plugins/VIB-lib/sed.py $PRE $TARGET] <- src-plugins/VIB-lib/math3d/FastMatrixN.java
src-plugins/VIB-lib/math3d/JacobiFloat.java[src-plugins/VIB-lib/sed.py $PRE $TARGET] <- src-plugins/VIB-lib/math3d/JacobiDouble.java
src-plugins/VIB-lib/math3d/Eigensystem3x3Float.java[src-plugins/VIB-lib/sed.py $PRE $TARGET] <- \
src-plugins/VIB-lib/math3d/Eigensystem3x3Double.java
src-plugins/VIB-lib/math3d/Eigensystem2x2Float.java[src-plugins/VIB-lib/sed.py $PRE $TARGET] <- \
src-plugins/VIB-lib/math3d/Eigensystem2x2Double.java
MAINCLASS(jars/test-fiji.jar)=fiji.Tests
CLASSPATH(jars/test-fiji.jar)=jars/junit.jar
MAINCLASS(jars/Updater_Fix.jar)=fiji.updater.Fix
# This also compiles lib/<platform>/<ffmpeg-library>
CLASSPATH(plugins/FFMPEG_IO.jar)=jars/ij.jar
plugins/FFMPEG_IO.jar[src-plugins/FFMPEG_IO/generate.bsh] <- src-plugins/FFMPEG_IO/**/*
# This compiles and cross-compiles lib/<platform>/<ffmpeg-library>
CLASSPATH(plugins/FFMPEG_IO.jar-cross)=jars/ij.jar
plugins/FFMPEG_IO.jar-cross[src-plugins/FFMPEG_IO/generate.bsh all] <- src-plugins/FFMPEG_IO/**/*
# the default rules
plugins/*.jar <- src-plugins/*/**/*
jars/*.jar <- src-plugins/*/**/*
# headless.jar
misc/headless.jar[bin/make-headless-jar.bsh] <- jars/fiji-compat.jar jars/javassist.jar jars/ij.jar
# ImageJ launcher
# The variables CFLAGS, LDFLAGS and LIBS will be used for compiling
# C and C++ programs.
COMMONCFLAGS=-Wall -Iincludes
WINOPTS=-mwindows -DMINGW32
CFLAGS(win32)=$COMMONCFLAGS $WINOPTS -mno-cygwin
CFLAGS(win64)=$COMMONCFLAGS $WINOPTS
# Include 64-bit architectures only in ./ImageJ (as opposed to ./ImageJ-tiger),
# and only on MacOSX
MACOPTS(osx10.3)=-I/System/Library/Frameworks/JavaVM.Framework/Headers -Iincludes \
-DMACOSX
MACOPTS(osx10.4)=$MACOPTS(osx10.3) -mmacosx-version-min=10.3 -arch i386 -arch ppc
MACOPTS(osx10.5)=$MACOPTS(osx10.3) -mmacosx-version-min=10.4 -arch i386 -arch x86_64
CFLAGS(macosx)=$MACOPTS
CFLAGS(linux32)=$COMMONCFLAGS -DIPV6_MAYBE_BROKEN -fno-stack-protector
CFLAGS(linux64)=$COMMONCFLAGS -DIPV6_MAYBE_BROKEN -fno-stack-protector -rdynamic -g
LDFLAGS(win32)=$LDFLAGS $WINOPTS
CFLAGS(freebsd)=$COMMONCFLAGS
CFLAGS(ImageJ)=$COMMONCFLAGS $MACOPTS
LDFLAGS(ImageJ)=$LDFLAGS $MACOPTS
LIBS(linux32)=-ldl -lpthread
LIBS(linux64)=-ldl -lpthread
LIBS(macosx)=-weak -framework CoreFoundation -framework ApplicationServices \
-framework JavaVM
CLASSPATH(ImageJ)=jars/ij-launcher.jar:jars/fiji-compat.jar:jars/ij.jar:jars/javassist.jar
ImageJ <- ImageJ.c
CFLAGS(ImageJ-macosx)=$COMMONCFLAGS $MACOPTS(osx10.5)
LDFLAGS(ImageJ-macosx)=$LDFLAGS $MACOPTS(osx10.5)
ImageJ-macosx <- ImageJ.c
CFLAGS(ImageJ-tiger)=$COMMONCFLAGS $MACOPTS(osx10.4)
LDFLAGS(ImageJ-tiger)=$LDFLAGS $MACOPTS(osx10.4)
ImageJ-tiger <- ImageJ.c
CFLAGS(ImageJ-panther)=$COMMONCFLAGS $MACOPTS(osx10.3)
LDFLAGS(ImageJ-panther)=$LDFLAGS $MACOPTS(osx10.3)
ImageJ-panther <- ImageJ.c
# Cross-compiling (works only on Linux64 so far)
all-cross[] <- cross-win32 cross-win64 cross-linux32 cross-macosx cross-tiger
# cross-tiger does not work yet
cross-tiger[bin/cross-compiler.bsh tiger \
$CFLAGS(ImageJ-panther) $LIBS(macosx)] <- ImageJ.c
cross-macosx[bin/cross-compiler.bsh macosx \
$CFLAGS(ImageJ-panther) $LIBS(macosx)] <- ImageJ.c
cross-*[bin/cross-compiler.bsh * $CFLAGS(*) $LDFLAGS(*) $LIBS(*)] <- ImageJ.c
# legacy launcher
fiji[bin/copy-file.bsh $PRE $TARGET] <- ImageJ
# Precompiled stuff
LAUNCHER(*)=precompiled/ImageJ-$PLATFORM
LAUNCHER(win32)=precompiled/ImageJ-win32.exe
LAUNCHER(win64)=precompiled/ImageJ-win64.exe
LAUNCHER(osx10.4)=precompiled/ImageJ-macosx
LAUNCHER(osx10.5)=precompiled/ImageJ-macosx precompiled/ImageJ-tiger
precompile-ImageJ[] <- $LAUNCHER
precompiled/ImageJ-tiger[bin/copy-file.bsh $PRE $TARGET] <- ImageJ-tiger
precompiled/ImageJ-macosx[bin/copy-file.bsh $PRE $TARGET] <- ImageJ-macosx
# this rule only matches precompiled/ImageJ-$PLATFORM
precompiled/ImageJ-*[bin/copy-file.bsh $PRE $TARGET] <- ImageJ
precompile-fake[] <- precompiled/fake.jar
precompiled/fake.jar <- jars/fake.jar
precompiled/javac.jar <- jars/javac.jar
precompiled/ij.jar <- jars/ij.jar
precompiled/mpicbg.jar <- jars/mpicbg.jar
precompiled/Image_5D.jar <- plugins/Image_5D.jar
precompiled/*[bin/copy-file.bsh $PRE $TARGET] <- *
precompile-submodules[] <- \
precompiled/ij.jar \
precompiled/loci_tools.jar \
precompiled/TrakEM2_.jar \
precompiled/mpicbg_.jar \
precompiled/mpicbg.jar \
precompiled/clojure.jar \
precompiled/ij-ImageIO_.jar \
precompiled/jacl.jar \
precompiled/batik.jar \
precompiled/junit.jar \
precompiled/rsyntaxtextarea.jar \
precompiled/autocomplete.jar \
precompiled/weka.jar \
precompiled/jython.jar \
precompiled/imglib.jar \
precompiled/commons-math.jar \
precompiled/imglib-algorithms.jar \
precompiled/javassist.jar \
precompiled/jsch.jar \
precompiled/ij.jar <- jars/ij.jar
precompiled/clojure.jar <- jars/clojure.jar
precompiled/jacl.jar <- jars/jacl.jar
precompiled/batik.jar <- jars/batik.jar
precompiled/junit.jar <- jars/junit.jar
precompiled/rsyntaxtextarea.jar <- jars/rsyntaxtextarea.jar
precompiled/autocomplete.jar <- jars/autocomplete.jar
precompiled/weka.jar <- jars/weka.jar
precompiled/jython.jar <- jars/jython.jar
precompiled/imglib.jar <- jars/imglib.jar
precompiled/imglib-algorithms.jar <- jars/imglib-algorithms.jar
precompiled/imglib-ij.jar <- jars/imglib-ij.jar
precompiled/imglib-io.jar <- jars/imglib-io.jar
precompiled/imglib-scripting.jar <- jars/imglib-scripting.jar
precompiled/commons-math.jar <- jars/commons-math.jar
precompiled/javassist.jar <- jars/javassist.jar
precompiled/jsch.jar <- jars/jsch.jar
precompiled/* <- plugins/*
precompile[] <- precompile-ImageJ precompile-fake precompile-submodules
# precompiled fall back
missingPrecompiledFallBack[./ImageJ --update update $TARGET] <- ImageJ \
jars/ij-launcher.jar jars/fiji-compat.jar plugins/Fiji_Updater.jar
# Portable application/.app
all-apps[] <- app-macosx app-linux32 app-linux64 app-win32 app-win64
MACOSX_TIGER_LAUNCHER(macosx)=ImageJ-tiger
app-*[bin/make-app.py * $PLATFORM] <- all $MACOSX_TIGER_LAUNCHER
app-all[bin/make-app.py all $PLATFORM] <- all
app-nojre[bin/make-app.py nojre $PLATFORM] <- all
all-dmgs[] <- fiji-macosx.dmg
fiji-*.dmg[bin/make-dmg.py] <- app-* Fiji.app \
resources/install-fiji.jpg
dmg[] <- fiji-macosx.dmg
resources/install-fiji.jpg[./fiji bin/generate-finder-background.py] <- \
bin/generate-finder-background.py
all-tars[] <- fiji-linux32.tar.bz2 fiji-linux64.tar.bz2 \
fiji-all.tar.bz2 fiji-nojre.tar.bz2
fiji-*.tar.bz2[bin/make-tar.py $TARGET Fiji.app] <- app-* Fiji.app
tar[] <- fiji-$PLATFORM.tar.bz2
all-zips[] <- fiji-linux32.zip fiji-linux64.zip fiji-win32.zip fiji-win64.zip \
fiji-all.zip fiji-nojre.zip
fiji-*.zip[bin/make-zip.py $TARGET Fiji.app] <- app-* Fiji.app
zip[] <- fiji-$PLATFORM.zip
all-isos[] <- fiji-linux32.iso fiji-linux64.iso fiji-win32.iso fiji-win64.iso \
fiji-macosx.iso fiji-all.iso fiji-nojre.iso
fiji-*.iso[genisoimage -J -V Fiji -o $TARGET Fiji.app] <- app-*
all-7zs[] <- fiji-linux32.7z fiji-linux64.7z fiji-win32.7z fiji-win64.7z \
fiji-macosx.7z fiji-all.7z fiji-nojre.7z
fiji-*.7z[bin/make-7z.py $TARGET Fiji.app] <- app-*
# Checks
check[] <- check-launchers check-submodules
LAUNCHERS=$LAUNCHER(linux32) $LAUNCHER(linux64) \
$LAUNCHER(win32) $LAUNCHER(win64) $LAUNCHER(macosx)
check-launchers[bin/up-to-date-check.py ImageJ.c $LAUNCHERS] <-
check-submodules[] <- check-ij check-TrakEM2 check-mpicbg
check-ij[bin/up-to-date-check.py ImageJA precompiled/ij.jar] <-
check-*[bin/up-to-date-check.py * precompiled/*_.jar] <-
# Fake itself
MAINCLASS(jars/fake.jar)=fiji.build.Fake
jars/fake.jar <- src-plugins/fake/**/*.java