1 DIAGRAMS
=llp.dia tool.dia model.dia output.dia data.dia xrsl_file.dia fcon.dia nonmem.dia moshog_client.dia
3 DIAGRAMS
=$(addprefix diagrams
/,$(DIAGRAMS
))
5 BIN
=bootstrap cdd execute llp scm
7 HTML_STUBS
=_synopsis.php _description.php _options.php _examples.php
9 DOCUMENTS
=$(foreach pre
,$(BIN
),$(foreach suff
,$(HTML_STUBS
),$(addprefix html
/$(pre
),$(suff
))))
12 FILLSCRIPT
=perl .
/bin
/fill_diacode.pl
15 PERLDIRS
=-I
/home
/pontus
/perl
24 output
/problem
/subproblem.pm \
27 grid
/nordugrid
/xrsl_file.pm \
31 model
/problem
/record
/option.pm \
32 model
/problem
/record
/init_option.pm \
33 model
/problem
/record
/theta_option.pm \
34 model
/problem
/record.pm \
35 model
/problem
/code_record.pm \
36 model
/problem
/init_record.pm \
37 model
/problem
/abbreviated.pm \
38 model
/problem
/aes.pm \
39 model
/problem
/aesinit.pm \
40 model
/problem
/contr.pm \
41 model
/problem
/covariance.pm \
42 model
/problem
/data.pm \
43 model
/problem
/des.pm \
44 model
/problem
/error.pm \
45 model
/problem
/estimation.pm \
46 model
/problem
/infn.pm \
47 model
/problem
/input.pm \
48 model
/problem
/msfi.pm \
49 model
/problem
/mix.pm \
50 model
/problem
/model.pm \
51 model
/problem
/nonparametric.pm \
52 model
/problem
/omega.pm \
54 model
/problem
/problem.pm \
55 model
/problem
/pred.pm \
56 model
/problem
/scatter.pm \
57 model
/problem
/sigma.pm \
58 model
/problem
/simulation.pm \
59 model
/problem
/subroutine.pm \
60 model
/problem
/table.pm \
61 model
/problem
/theta.pm \
62 model
/problem
/tol.pm \
63 model
/cwres_module.pm \
64 model
/mirror_plot_module.pm \
65 model
/iofv_module.pm \
66 model
/shrinkage_module.pm \
67 model
/nonparametric_module.pm \
74 tool
/cdd
/jackknife.pm \
79 tool
/scm
/config_file.pm \
84 PERLFILES
=$(addprefix lib
/,$(LIBFILES
))
86 RELFILES
=$(addprefix PsN-Source
/lib
/,$(LIBFILES
)) \
87 $(addprefix PsN-Source
/, \
89 lib
/common_options.pm \
93 lib
/ext
/Math
/SigFigs.pm \
94 lib
/ext
/Math
/MatrixReal.pm \
95 lib
/ext
/Statistics
/Distributions.pm \
96 lib
/ext
/Parallel
/ForkManager.pm \
97 lib
/ext
/Config
/Tiny.pm \
98 lib
/ext
/Color
/Output.pm \
99 lib
/ext
/File
/HomeDir.pm \
100 lib
/ext
/IPC
/Run3.pm \
102 lib
/matlab
/histograms.m \
103 lib
/matlab
/profiles.m \
104 lib
/R-scripts
/llp.R \
105 lib
/R-scripts
/cdd.R \
106 lib
/R-scripts
/bootstrap.R \
118 bin
/single_valued_columns \
119 bin
/check_termination \
120 bin
/create_extra_data_model \
121 bin
/create_cont_model \
122 bin
/create_cont_data \
129 doc
/SSE_userguide.pdf \
130 doc
/NPC_VPC_userguide.pdf \
134 GENFILES
=$(addprefix libgen
/,$(LIBFILES
))
136 all: libgen
$(PERLFILES
)
138 .PRECIOUS
: $(GENFILES
)
143 lib
/%.pm
: libgen
/%.pm lib
/%_subs.pm
144 @ cp libgen
/$*.pm libgen
/$*_temp.pm
145 @
$(FILLSCRIPT
) libgen
/$*_temp.pm lib
/$*_subs.pm
146 @ cp libgen
/$*_temp.pm
$@
147 @ perl
$(PERLDIRS
) -I.
/$(@D
) -I.
/lib
-c
$@
-W
-t
-T||
(rm $@
&& false
)
152 @
-rm -rf
$(PERLFILES
) $(DOCUMENTS
) libgen PsN-Source
154 libgen
/debug.pm
: diagrams
/debug.dia
155 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/debug.dia
157 libgen
/ui.pm
: diagrams
/ui.dia
158 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/ui.dia
160 libgen
/status_bar.pm
: diagrams
/status_bar.dia
161 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/status_bar.dia
163 libgen
/nonmem.pm
: diagrams
/nonmem.dia
164 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/nonmem.dia
166 libgen
/moshog_client.pm
: diagrams
/moshog_client.dia
167 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/moshog_client.dia
169 libgen
/file.pm
: diagrams
/file.dia
170 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/file.dia
172 libgen
/tool
/modelfit.pm
: diagrams
/modelfit.dia
173 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/modelfit.dia
175 libgen
/tool
/llp.pm
: diagrams
/llp.dia
176 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/llp.dia
178 libgen
/tool
/cdd
/jackknife.pm libgen
/tool
/cdd.pm
: diagrams
/cdd.dia
179 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/cdd.dia
181 libgen
/tool
/sse.pm
: diagrams
/sse.dia
182 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/sse.dia
184 libgen
/tool
/npc.pm
: diagrams
/npc.dia
185 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/npc.dia
187 libgen
/tool
/pind.pm
: diagrams
/pind.dia
188 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/pind.dia
190 libgen
/tool
/bootstrap.pm
: diagrams
/bootstrap.dia
191 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/bootstrap.dia
193 libgen
/tool
/scm
/config_file.pm libgen
/tool
/scm.pm
: diagrams
/scm.dia
194 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/scm.dia
196 libgen
/tool
/xv_step.pm libgen
/tool
/xv.pm
: diagrams
/xv.dia
197 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/xv.dia
199 libgen
/tool.pm
: diagrams
/tool.dia
200 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/tool.dia
202 libgen
/table_file.pm libgen
/extra_data.pm libgen
/model
%.pm
: diagrams
/model.dia
203 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/model.dia
205 libgen
/output
%.pm
: diagrams
/output.dia
206 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/output.dia
208 libgen
/data
%.pm
: diagrams
/data.dia
209 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/data.dia
211 libgen
/grid
/nordugrid
/xrsl_file.pm
: diagrams
/xrsl_file.dia
212 $(DIA2CODE
) -t perl
-d
$(DIRPM
) diagrams
/xrsl_file.dia
214 libgen
/fcon.pm
: diagrams
/fcon.dia
215 $(DIA2CODE
) -nd
-t perl
-d
$(DIRPM
) diagrams
/fcon.dia
217 documents
: $(DOCUMENTS
)
219 $(addprefix html
/bootstrap
,$(HTML_STUBS
)) : bin
/bootstrap lib
/common_options.pm
220 perl
$< --help
--html
222 $(addprefix html
/cdd
,$(HTML_STUBS
)) : bin
/cdd lib
/common_options.pm
223 perl
$< --help
--html
225 $(addprefix html
/execute
,$(HTML_STUBS
)) : bin
/execute lib
/common_options.pm
226 perl
$< --help
--html
228 $(addprefix html
/llp
,$(HTML_STUBS
)) : bin
/llp lib
/common_options.pm
229 perl
$< --help
--html
231 $(addprefix html
/scm
,$(HTML_STUBS
)) : bin
/scm lib
/common_options.pm
232 perl
$< --help
--html
235 release
: libgen rel_dir
$(RELFILES
) documents
236 @ cp
-ar modules
/Math-Random \
237 modules
/Math-Random-Win \
238 modules
/Storable PsN-Source
/modules
239 @ zip
-r PsN-Source PsN-Source
/
240 @
tar czf PsN-Source.
tar.gz PsN-Source
/
242 PsN-Source
/setup.pl
: bin
/setup.pl
245 PsN-Source
/lib
/matlab
/% : matlab
/%
248 PsN-Source
/lib
/R-scripts
/% : R-scripts
/%
255 @mkdir
-p
$(sort $(dir $(RELFILES
))) PsN-Source
/modules