Merge lp:~kumbarov/ubuntu/trusty/phylip/phylip-fix-1440240 into lp:ubuntu/trusty/phylip

Proposed by Kumbarov
Status: Rejected
Rejected by: Sebastien Bacher
Proposed branch: lp:~kumbarov/ubuntu/trusty/phylip/phylip-fix-1440240
Merge into: lp:ubuntu/trusty/phylip
Diff against target: 17857 lines (+6107/-8488)
328 files modified
.pc/01_src_phylip_h/src/phylip.h (+29/-16)
.pc/applied-patches (+2/-0)
.pc/do_not_install_jar_files.patch/src/Makefile.unx (+615/-0)
.pc/hardening.patch/src/Makefile.unx (+44/-70)
.pc/install_fonts_data.patch/src/Makefile.unx (+43/-69)
.pc/soname.patch/src/Makefile.unx (+613/-0)
debian/README.debian (+0/-6)
debian/README.source (+0/-4)
debian/bash_completion/phylip (+17/-0)
debian/bin/drawgram (+3/-0)
debian/bin/drawtree (+3/-0)
debian/build.xml (+57/-0)
debian/changelog (+18/-0)
debian/control (+8/-6)
debian/copyright (+49/-35)
debian/patches/01_src_phylip_h (+3/-3)
debian/patches/do_not_install_jar_files.patch (+20/-0)
debian/patches/hardening.patch (+5/-5)
debian/patches/install_fonts_data.patch (+9/-9)
debian/patches/series (+2/-0)
debian/patches/soname.patch (+24/-0)
debian/phylip-doc.install (+2/-2)
debian/phylip.examples (+1/-1)
debian/phylip.install (+5/-4)
debian/phylip.jlibs (+1/-0)
debian/phylip.lintian-overrides (+5/-53)
debian/phylip.postinst (+13/-0)
debian/phylip.postrm (+13/-0)
debian/rules (+19/-2)
debian/source/lintian-overrides (+0/-3)
debian/watch (+2/-2)
doc/clique.html (+3/-5)
doc/consense.html (+3/-5)
doc/contchar.html (+3/-5)
doc/contml.html (+3/-5)
doc/contrast.html (+3/-5)
doc/discrete.html (+3/-5)
doc/distance.html (+3/-5)
doc/dnacomp.html (+3/-5)
doc/dnadist.html (+1/-1)
doc/dnainvar.html (+3/-5)
doc/dnaml.html (+3/-5)
doc/dnamlk.html (+3/-5)
doc/dnamove.html (+3/-5)
doc/dnapars.html (+3/-5)
doc/dnapenny.html (+3/-5)
doc/dollop.html (+3/-5)
doc/dolmove.html (+3/-5)
doc/dolpenny.html (+3/-5)
doc/draw.html (+4/-5)
doc/drawgram.html (+4/-5)
doc/drawtree.html (+3/-4)
doc/factor.html (+3/-5)
doc/fitch.html (+3/-5)
doc/gendist.html (+3/-5)
doc/kitsch.html (+4/-6)
doc/main.html (+39/-26)
doc/mix.html (+3/-5)
doc/move.html (+4/-6)
doc/neighbor.html (+3/-5)
doc/pars.html (+3/-5)
doc/penny.html (+4/-6)
doc/proml.html (+4/-6)
doc/promlk.html (+3/-5)
doc/protdist.html (+3/-5)
doc/protpars.html (+3/-5)
doc/restdist.html (+3/-5)
doc/restml.html (+3/-5)
doc/retree.html (+3/-5)
doc/seqboot.html (+3/-5)
doc/sequence.html (+3/-5)
doc/treedist.html (+3/-5)
phylip.html (+1/-1)
src/COPYRIGHT (+24/-12)
src/Makefile.cyg (+0/-741)
src/Makefile.osx (+0/-678)
src/Makefile.unx (+49/-77)
src/clique.c (+28/-5)
src/consense.c (+27/-4)
src/cont.c (+27/-3)
src/cont.h (+28/-3)
src/contml.c (+27/-3)
src/contrast.c (+29/-9)
src/disc.c (+28/-3)
src/disc.h (+27/-3)
src/discrete.c (+27/-3)
src/discrete.h (+27/-3)
src/dist.c (+28/-3)
src/dist.h (+27/-3)
src/dnacomp.c (+27/-3)
src/dnadist.c (+28/-4)
src/dnainvar.c (+27/-3)
src/dnaml.c (+29/-5)
src/dnamlk.c (+28/-4)
src/dnamove.c (+27/-3)
src/dnapars.c (+28/-3)
src/dnapenny.c (+27/-3)
src/dollo.c (+28/-3)
src/dollo.h (+28/-3)
src/dollop.c (+27/-3)
src/dolmove.c (+28/-3)
src/dolpenny.c (+27/-3)
src/drawgram.c (+34/-15)
src/drawtree.c (+32/-13)
src/factor.c (+29/-3)
src/fitch.c (+27/-3)
src/gendist.c (+28/-3)
src/icons/clique.rc (+0/-2)
src/icons/clique.rcb (+0/-1)
src/icons/consense.rc (+0/-1)
src/icons/consense.rcb (+0/-1)
src/icons/contml.rc (+0/-1)
src/icons/contml.rcb (+0/-1)
src/icons/contrast.rc (+0/-1)
src/icons/contrast.rcb (+0/-1)
src/icons/dnacomp.rc (+0/-1)
src/icons/dnacomp.rcb (+0/-1)
src/icons/dnadist.rc (+0/-1)
src/icons/dnadist.rcb (+0/-1)
src/icons/dnainvar.rc (+0/-1)
src/icons/dnainvar.rcb (+0/-1)
src/icons/dnaml.rc (+0/-1)
src/icons/dnaml.rcb (+0/-1)
src/icons/dnamlk.rc (+0/-1)
src/icons/dnamlk.rcb (+0/-1)
src/icons/dnamove.rc (+0/-1)
src/icons/dnamove.rcb (+0/-1)
src/icons/dnapars.rc (+0/-1)
src/icons/dnapars.rcb (+0/-1)
src/icons/dnapenny.rc (+0/-1)
src/icons/dnapenny.rcb (+0/-1)
src/icons/dollop.rc (+0/-1)
src/icons/dollop.rcb (+0/-1)
src/icons/dolmove.rc (+0/-1)
src/icons/dolmove.rcb (+0/-1)
src/icons/dolpenny.rc (+0/-1)
src/icons/dolpenny.rcb (+0/-1)
src/icons/drawgram.rc (+0/-36)
src/icons/drawgram.rcb (+0/-33)
src/icons/drawtree.rc (+0/-36)
src/icons/drawtree.rcb (+0/-34)
src/icons/factor.rc (+0/-1)
src/icons/factor.rcb (+0/-1)
src/icons/fitch.rc (+0/-1)
src/icons/fitch.rcb (+0/-1)
src/icons/gendist.rc (+0/-1)
src/icons/gendist.rcb (+0/-1)
src/icons/kitsch.rc (+0/-1)
src/icons/kitsch.rcb (+0/-1)
src/icons/mix.rc (+0/-1)
src/icons/mix.rcb (+0/-1)
src/icons/move.rc (+0/-1)
src/icons/move.rcb (+0/-1)
src/icons/neighbor.rc (+0/-1)
src/icons/neighbor.rcb (+0/-1)
src/icons/pars.rc (+0/-1)
src/icons/pars.rcb (+0/-1)
src/icons/penny.rc (+0/-1)
src/icons/penny.rcb (+0/-1)
src/icons/proml.rc (+0/-1)
src/icons/proml.rcb (+0/-1)
src/icons/promlk.rc (+0/-1)
src/icons/promlk.rcb (+0/-1)
src/icons/protdist.rc (+0/-1)
src/icons/protdist.rcb (+0/-1)
src/icons/protpars.rc (+0/-1)
src/icons/protpars.rcb (+0/-1)
src/icons/restdist.rc (+0/-1)
src/icons/restdist.rcb (+0/-1)
src/icons/restml.rc (+0/-1)
src/icons/restml.rcb (+0/-1)
src/icons/retree.rc (+0/-1)
src/icons/retree.rcb (+0/-1)
src/icons/seqboot.rc (+0/-1)
src/icons/seqboot.rcb (+0/-1)
src/icons/treedist.rc (+0/-1)
src/icons/treedist.rcb (+0/-1)
src/infile2 (+61/-0)
src/interface.c (+0/-554)
src/interface.h (+0/-51)
src/javajars/DrawGramJava.bat (+0/-2)
src/javajars/DrawGramJava.unx (+0/-4)
src/javajars/DrawTreeJava.bat (+0/-2)
src/javajars/DrawTreeJava.unx (+0/-4)
src/javasrc/drawgram/DrawgramInterface.java (+123/-0)
src/javasrc/drawgram/DrawgramUserInterface.java (+693/-0)
src/javasrc/drawtree/DrawtreeInterface.java (+122/-0)
src/javasrc/drawtree/DrawtreeUserInterface.java (+909/-0)
src/javasrc/util/DisplayProgress.java (+49/-0)
src/javasrc/util/DrawPreview.java (+460/-0)
src/javasrc/util/LabelData.java (+25/-0)
src/javasrc/util/PhylipFileDialog.java (+130/-0)
src/javasrc/util/PlotData.java (+13/-0)
src/javasrc/util/SectionData.java (+19/-0)
src/javasrc/util/TestFileNames.java (+85/-0)
src/kitsch.c (+28/-3)
src/mac/Info.plist.in (+0/-37)
src/mac/command.in (+0/-20)
src/macface.c (+0/-90)
src/macface.h (+0/-25)
src/mix.c (+28/-3)
src/mlclock.c (+28/-5)
src/move.c (+28/-3)
src/neighbor.c (+27/-3)
src/newmove.c (+0/-2579)
src/pars.c (+27/-3)
src/penny.c (+27/-3)
src/phylip.c (+27/-7)
src/phylip.h (+29/-16)
src/phylip.html (+105/-0)
src/proml.c (+27/-3)
src/promlk.c (+28/-5)
src/protdist.c (+28/-3)
src/protpars.c (+28/-3)
src/restdist.c (+27/-3)
src/restml.c (+28/-3)
src/retree.c (+29/-4)
src/seq.c (+28/-3)
src/seq.h (+28/-3)
src/seqboot.c (+28/-3)
src/testdata/clique/cliqueinfile.txt (+0/-6)
src/testdata/clique/cliqueoutfile.txt (+0/-31)
src/testdata/clique/cliqueouttree.txt (+0/-1)
src/testdata/consense/consenseintree.txt (+0/-9)
src/testdata/consense/consenseoutfile.txt (+0/-77)
src/testdata/consense/consenseouttree.txt (+0/-2)
src/testdata/contml/contmlinfile.txt (+0/-12)
src/testdata/contml/contmloutfile.txt (+0/-30)
src/testdata/contml/contmlouttree.txt (+0/-2)
src/testdata/contrast/contrastinfile.txt (+0/-6)
src/testdata/contrast/contrastintree.txt (+0/-1)
src/testdata/contrast/contrastoutfile.txt (+0/-41)
src/testdata/dnacomp/dnacompinfile.txt (+0/-6)
src/testdata/dnacomp/dnacompoutfile.txt (+0/-23)
src/testdata/dnacomp/dnacompouttree.txt (+0/-1)
src/testdata/dnadist/dnadistinfile.txt (+0/-6)
src/testdata/dnadist/dnadistoutfile.txt (+0/-33)
src/testdata/dnainvar/dnainvarinfile.txt (+0/-5)
src/testdata/dnainvar/dnainvaroutfile.txt (+0/-120)
src/testdata/dnaml/dnamlcats.txt (+0/-1)
src/testdata/dnaml/dnamlinfile.txt (+0/-6)
src/testdata/dnaml/dnamloutfile.txt (+0/-69)
src/testdata/dnaml/dnamlouttree.txt (+0/-2)
src/testdata/dnaml/dnamlweights.txt (+0/-1)
src/testdata/dnamlk/dnamlkcats.txt (+0/-1)
src/testdata/dnamlk/dnamlkinfile.txt (+0/-6)
src/testdata/dnamlk/dnamlkoutfile.txt (+0/-71)
src/testdata/dnamlk/dnamlkouttree.txt (+0/-2)
src/testdata/dnamlk/dnamlkweights.txt (+0/-1)
src/testdata/dnamove/dnamoveinfile.txt (+0/-6)
src/testdata/dnapars/dnaparsinfile.txt (+0/-6)
src/testdata/dnapars/dnaparsoutfile.txt (+0/-65)
src/testdata/dnapars/dnaparsouttree.txt (+0/-2)
src/testdata/dnapenny/dnapennyinfile.txt (+0/-9)
src/testdata/dnapenny/dnapennyoutfile.txt (+0/-12)
src/testdata/dollop/dollopinfile.txt (+0/-6)
src/testdata/dollop/dollopoutfile.txt (+0/-56)
src/testdata/dollop/dollopouttree.txt (+0/-1)
src/testdata/dolmove/dolmoveinfile.txt (+0/-6)
src/testdata/dolpenny/dolpennyinfile.txt (+0/-8)
src/testdata/dolpenny/dolpennyoutfile.txt (+0/-148)
src/testdata/dolpenny/dolpennyouttree.txt (+0/-3)
src/testdata/drawgram/14tip.txt (+0/-2)
src/testdata/drawgram/ape1.txt (+0/-3)
src/testdata/drawgram/ape2.txt (+0/-4)
src/testdata/drawgram/cats.txt (+0/-4)
src/testdata/drawgram/mammal.txt (+0/-3)
src/testdata/drawtree/14tip.txt (+0/-2)
src/testdata/drawtree/ape1.txt (+0/-3)
src/testdata/drawtree/ape2.txt (+0/-4)
src/testdata/drawtree/cats.txt (+0/-4)
src/testdata/drawtree/mammal.txt (+0/-3)
src/testdata/factor/factorancfile.txt (+0/-1)
src/testdata/factor/factorinfile.txt (+0/-11)
src/testdata/factor/factoroutfile.txt (+0/-8)
src/testdata/factor/factorsfactfile.txt (+0/-1)
src/testdata/fitch/fitchinfile.txt (+0/-8)
src/testdata/fitch/fitchoutfile.txt (+0/-69)
src/testdata/fitch/fitchouttree.txt (+0/-2)
src/testdata/gendist/gendistinfile.txt (+0/-12)
src/testdata/gendist/gendistoutfile.txt (+0/-7)
src/testdata/kitsch/kitschinfile.txt (+0/-8)
src/testdata/kitsch/kitschoutfile.txt (+0/-68)
src/testdata/kitsch/kitschouttree.txt (+0/-2)
src/testdata/mix/mixinfile.txt (+0/-6)
src/testdata/mix/mixoutfile.txt (+0/-169)
src/testdata/mix/mixouttree.txt (+0/-4)
src/testdata/move/moveinfile.txt (+0/-6)
src/testdata/neighbor/neighborinfile.txt (+0/-8)
src/testdata/neighbor/neighboroutfile.txt (+0/-62)
src/testdata/neighbor/neighborouttree.txt (+0/-2)
src/testdata/pars/parsinfile.txt (+0/-6)
src/testdata/pars/parsoutfile.txt (+0/-61)
src/testdata/pars/parsouttree.txt (+0/-2)
src/testdata/penny/pennyinfile.txt (+0/-8)
src/testdata/penny/pennyoutfile.txt (+0/-151)
src/testdata/penny/pennyouttree.txt (+0/-3)
src/testdata/proml/promlcats.txt (+0/-1)
src/testdata/proml/promlinfile.txt (+0/-6)
src/testdata/proml/promloutfile.txt (+0/-61)
src/testdata/proml/promlouttree.txt (+0/-2)
src/testdata/proml/promlweights.txt (+0/-1)
src/testdata/promlk/promlkcats.txt (+0/-1)
src/testdata/promlk/promlkinfile.txt (+0/-6)
src/testdata/promlk/promlkoutfile.txt (+0/-64)
src/testdata/promlk/promlkouttree.txt (+0/-2)
src/testdata/promlk/promlkweights.txt (+0/-1)
src/testdata/protdist/protdistcats.txt (+0/-1)
src/testdata/protdist/protdistinfile.txt (+0/-6)
src/testdata/protdist/protdistoutfile.txt (+0/-26)
src/testdata/protdist/protdistweights.txt (+0/-1)
src/testdata/protpars/protparsinfile.txt (+0/-6)
src/testdata/protpars/protparsoutfile.txt (+0/-131)
src/testdata/protpars/protparsouttree.txt (+0/-3)
src/testdata/restdist/restdistinfile.txt (+0/-6)
src/testdata/restdist/restdistoutfile.txt (+0/-23)
src/testdata/restml/restmlinfile.txt (+0/-6)
src/testdata/restml/restmloutfile.txt (+0/-23)
src/testdata/retree/retreeintree.txt (+0/-1)
src/testdata/seqboot/seqbootinfile.txt (+0/-6)
src/testdata/seqboot/seqbootoutfile.txt (+0/-618)
src/testdata/treedist/treedistintree1.txt (+0/-12)
src/testdata/treedist/treedistintree2.txt (+0/-24)
src/testdata/treedist/treedistoutfile1.txt (+0/-11)
src/testdata/treedist/treedistoutfile2.txt (+0/-11)
src/treedist.c (+28/-3)
src/wagner.c (+29/-3)
src/wagner.h (+27/-3)
To merge this branch: bzr merge lp:~kumbarov/ubuntu/trusty/phylip/phylip-fix-1440240
Reviewer Review Type Date Requested Status
Sebastien Bacher Needs Fixing
Review via email: mp+255230@code.launchpad.net

Description of the change

The CFLAGS variable in the make file is left empty which results in compiling the source code without optimization flags. I uncommented the line which sets the optimization flags. By compiling the source with optimisation flags, the program executes twice as fast.

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

thanks, the change is in wily now, it could be backported to trusty but somebody needs to follow the SRU instructions on https://wiki.ubuntu.com/StableReleaseUpdates

the current changes need work, the diff include a new version which is not required to fix the issue, ideally somebody would backport the debian change with a changelog explaining what is done

review: Needs Fixing

Unmerged revisions

9. By Kumbarov

Use optimization flags by default when compiling

8. By Andreas Tille

* New upstream version now with free license
* cme fix dpkg-control
* removed redundant README.source
* d/copyright:
   - DEP5 now with BSD-2-Clause license
   - exclude some binaries without source which are not needed
* Add bash_completion

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.pc/01_src_phylip_h/src/phylip.h'
2--- .pc/01_src_phylip_h/src/phylip.h 2013-08-07 22:17:03 +0000
3+++ .pc/01_src_phylip_h/src/phylip.h 2015-04-04 21:58:41 +0000
4@@ -1,13 +1,37 @@
5 #ifndef _PHYLIP_H_
6 #define _PHYLIP_H_
7
8-/* version 3.6. (c) Copyright 1993-2004 by the University of Washington.
9+/* version 3.696.
10 Written by Joseph Felsenstein, Akiko Fuseki, Sean Lamont, Andrew Keeffe,
11 Mike Palczewski, Doug Buxton and Dan Fineman.
12- Permission is granted to copy and use this program provided no fee is
13- charged for it and provided that this copyright notice is not removed. */
14-
15-#define VERSION "3.695"
16+
17+ Copyright (c) 1980-2014, Joseph Felsenstein
18+ All rights reserved.
19+
20+ Redistribution and use in source and binary forms, with or without
21+ modification, are permitted provided that the following conditions are met:
22+
23+ 1. Redistributions of source code must retain the above copyright notice,
24+ this list of conditions and the following disclaimer.
25+
26+ 2. Redistributions in binary form must reproduce the above copyright notice,
27+ this list of conditions and the following disclaimer in the documentation
28+ and/or other materials provided with the distribution.
29+
30+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
31+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
32+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
33+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
34+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
35+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
36+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
37+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
38+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
39+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
40+ POSSIBILITY OF SUCH DAMAGE.
41+*/
42+
43+#define VERSION "3.696"
44
45 /* Debugging options */
46 /* Define this to disable assertions */
47@@ -199,17 +223,6 @@
48 #include <math.h>
49 #include <ctype.h>
50
51-/*
52-#ifdef MAC
53-#ifdef DRAW
54-#include "interface.h"
55-#else
56-#include "macface.h"
57-#endif
58-#define getch gettch
59-#endif
60-*/
61-
62 /* directory delimiters */
63 #ifdef MAC
64 #define DELIMITER ':'
65
66=== modified file '.pc/applied-patches'
67--- .pc/applied-patches 2013-08-07 22:17:03 +0000
68+++ .pc/applied-patches 2015-04-04 21:58:41 +0000
69@@ -1,3 +1,5 @@
70 install_fonts_data.patch
71 hardening.patch
72 01_src_phylip_h
73+do_not_install_jar_files.patch
74+soname.patch
75
76=== added directory '.pc/do_not_install_jar_files.patch'
77=== added directory '.pc/do_not_install_jar_files.patch/src'
78=== added file '.pc/do_not_install_jar_files.patch/src/Makefile.unx'
79--- .pc/do_not_install_jar_files.patch/src/Makefile.unx 1970-01-01 00:00:00 +0000
80+++ .pc/do_not_install_jar_files.patch/src/Makefile.unx 2015-04-04 21:58:41 +0000
81@@ -0,0 +1,615 @@
82+# Makefile
83+#
84+# Unix Makefile for PHYLIP 3.696
85+
86+PACKAGE=phylip
87+VERSION=3.696
88+
89+# We use GNU's version of the make utility. It may be called "gmake" on
90+# your system.
91+#
92+# If you're using a RedHat Linux system with default locations for
93+# gcc libraries, you probably don't need to change anything. You might
94+# might change the first noncomment statement below to redefine $(EXEDIR)
95+# if you'd like your executables installed in a different location than
96+# our default.
97+#
98+# Users with systems that differ substantially from ours may need to set
99+# the following variables: $(CC) $(CFLAGS) $(DFLAGS) $(LIBS) $(DLIBS)
100+#
101+# When uncompressed and extracted, the tar archive phylip-3.6x.tar.gz
102+# produces the following directory structure:
103+#
104+# phylip-3.6x/src -- the source code, including this Makefile
105+# phylip-3.6x/exe -- executables, changed by changing $(EXEDIR) value
106+# phylip-3.6x/doc -- html documentation
107+#
108+# To use the PHYLIP v3.6 Makefile, type from the phylip-3.6x/src directory:
109+#
110+# make install to compile the whole package and install
111+# the executables in $(EXEDIR), and then
112+# remove the object files to save space
113+#
114+# make all to compile the whole package but not install it
115+# or remove the object files.
116+#
117+# make put to move the executables into $(EXEDIR)
118+#
119+# make clean to remove all object files and executables from the
120+# current directory
121+#
122+# make dnaml to compile and link one program, (in this example,
123+# DnaML) and leave the executable and object files
124+# in the current directory (where the source code is).
125+# You will have to move the executable into the
126+# executables directory (e.g. "mv dnaml ../exe")
127+# Note that the program name should be lower case.
128+#
129+# ----------------------------------------------------------------------------
130+# (Starting here is the section where you may want to change things)
131+# ----------------------------------------------------------------------------
132+#
133+# the following specifies the directory where the executables will be placed
134+EXEDIR = ../exe
135+DATADIR = ../exe
136+#
137+# ----------------------------------------------------------------------------
138+#
139+# The following statements set these variables:
140+#
141+# CC -- the name (and, optionally, location) of your C compiler
142+# CFLAGS -- compiler directives needed to compile most programs
143+# DFLAGS -- compiler directives needed to compile draw programs
144+# LIBS -- non-default system libraries needed to compile most programs
145+# DLIBS -- non-default system libraries needed to compile draw programs
146+#
147+# We've provided a set of possible values for each variable.
148+#
149+# The value used is the one without a "#" at the beginning of the line.
150+#
151+# To try an alternate value, make sure the one you want has no "#"
152+# as its first character and that all other possibilities have "#" for
153+# their first character.
154+#
155+# Advanced users may need to further edit one of the alternatives in
156+# order to correctly compile on their system.
157+#
158+# ----------------------------------------------------------------------------
159+#
160+# The next two assignments are the invocations of the compiler
161+#
162+# This one specifies the "cc" C compiler
163+#CC = cc
164+#
165+# To use GCC instead:
166+CC = gcc
167+#
168+# ----------------------------------------------------------------------------
169+#
170+# This is the CFLAGS statement. It specifies compiler behavior.
171+#
172+# Here are some possible CFLAGS statements:
173+#
174+#
175+#A minimal one
176+CFLAGS =
177+#
178+# A basic one for debugging
179+#CFLAGS = -g
180+#
181+# An optimized one for gcc
182+#CFLAGS = -O3 -DUNX -fomit-frame-pointer
183+#
184+# For some serious debugging using Gnu gcc
185+#
186+#CFLAGS=-g -DUNX -Wall -Wmain -Wmissing-prototypes -Wreturn-type -Wstrict-prototypes -Wunused -Werror -Wredundant-decls -Waggregate-return -Wcast-align -Wcomment
187+#
188+# For doing code coverage with gcov
189+#
190+#CFLAGS = -ggdb -DUNX -fprofile-arcs -ftest-coverage
191+#CFLAGS = -pg -DUNX
192+#
193+# For Digital Alpha systems with Compaq Tru64 Unix
194+# (however, be aware that this may cause floating-point problems in programs
195+# like Dnaml owing to not using IEEE floating point standards).
196+#CFLAGS = -fast -DUNX
197+#
198+# ----------------------------------------------------------------------------
199+#
200+# This is the DFLAGS statement. It specifies compiler behavior for the
201+# programs drawgram and drawtree. It adds additional information to
202+# the $(CFLAGS) value if needed.
203+#
204+DFLAGS = $(CFLAGS)
205+#
206+# ----------------------------------------------------------------------------
207+#
208+# Most of the programs need only the math libraries, specified like this;
209+#
210+LIBS = -lm $(LDFLAGS)
211+#
212+# The drawing programs may also need access to the graphics libraries. This is
213+# specified with the DLIBS variable.
214+DLIBS = $(LIBS)
215+#
216+# ----------------------------------------------------------------------------
217+# (After this point there should not be any reason to change anything)
218+# ----------------------------------------------------------------------------
219+#
220+#
221+# the list of programs
222+# draw programs are listed last since they are the most likely to cause
223+# compilation or linking problems
224+
225+PROGS = clique \
226+ consense \
227+ contml \
228+ contrast \
229+ dnacomp \
230+ dnadist \
231+ dnainvar \
232+ dnaml \
233+ dnamlk \
234+ dnamove \
235+ dnapars \
236+ dnapenny \
237+ dolmove \
238+ dollop \
239+ dolpenny \
240+ factor \
241+ fitch \
242+ gendist \
243+ kitsch \
244+ mix \
245+ move \
246+ neighbor \
247+ pars \
248+ penny \
249+ proml \
250+ promlk \
251+ protdist \
252+ protpars \
253+ restdist \
254+ restml \
255+ retree \
256+ seqboot \
257+ treedist \
258+ drawgram \
259+ drawtree
260+
261+DYLIBS = libdrawgram.so \
262+ libdrawtree.so
263+
264+JARS = javajars/DrawGram.jar \
265+ javajars/DrawTree.jar \
266+ javajars/DrawGramJava.unx\
267+ javajars/DrawTreeJava.unx
268+#
269+# general commands
270+#
271+
272+# The first target it executed if you just type "make". It tells you how to
273+# use the Makefile.
274+#
275+help:
276+ @echo ""
277+ @echo " To use the PHYLIP v3.6 Makefile, type"
278+ @echo " make install to compile the whole package and install"
279+ @echo " the executables in $(EXEDIR), and then"
280+ @echo " remove the object files to save space"
281+ @echo " make all to compile the whole package but not install it"
282+ @echo " or remove the object files"
283+ @echo " make put to move the executables into $(EXEDIR)"
284+ @echo " make clean to remove all object files and executables from the"
285+ @echo " current directory"
286+ @echo " make dnaml to compile and link one program, (in this example,"
287+ @echo " Dnaml) and leave the executable and object files"
288+ @echo " in the current directory (where the source code is)."
289+ @echo " You will have to move the executable into the"
290+ @echo " executables directory (e.g. \"mv dnaml $(EXEDIR)\")"
291+ @echo " Note that the program name should be lower case."
292+ @echo " "
293+
294+introduce:
295+ @echo "Building PHYLIP version $(VERSION)"
296+
297+all: introduce $(PROGS) $(DYLIBS)
298+ @echo "Finished compiling."
299+ @echo ""
300+
301+install: all put clean
302+ @echo "Done."
303+ @echo ""
304+
305+put:
306+ @echo "Installing PHYLIP v3.6 binaries in $(EXEDIR)"
307+ @mkdir -p $(EXEDIR)
308+ @cp $(PROGS) $(EXEDIR)
309+ @echo "Installing dynamic libraries in $(EXEDIR)"
310+ @cp $(DYLIBS) $(EXEDIR)
311+ @echo "Installing jar files in $(EXEDIR)"
312+ @cp $(JARS) $(EXEDIR)
313+ @echo "Installing font files in $(DATADIR)"
314+ @mkdir -p $(DATADIR)
315+ @cp font* $(DATADIR)
316+ @cd $(DATADIR) && ln -s font1 fontfile
317+ @echo "Finished installation."
318+ @echo ""
319+
320+clean:
321+ @echo "Removing object files to save space"
322+ @rm -f *.o
323+ @echo "Finished removing object files. Now will remove"
324+ @echo "executable files from the current directory, but not from the"
325+ @echo "executables directory. (If some are not here, the makefile"
326+ @echo "will terminate with an error message but this is not a problem)"
327+ @echo ""
328+ @echo "Removing executables from this directory"
329+ @rm -f $(PROGS)
330+ @echo "Finished cleanup."
331+ @echo ""
332+
333+distclean: clean
334+ @echo "Removing executables"
335+ @rm -rf $(EXEDIR)/* $(DATADIR)/*
336+ @echo "Finaly removed all executable files."
337+ @echo ""
338+
339+#
340+# compile object files shared between programs
341+# (make's implicit rule for %.o will take care of these)
342+#
343+
344+phylip.o: phylip.h
345+seq.o: phylip.h seq.h
346+disc.o: phylip.h disc.h
347+discrete.o: phylip.h discrete.h
348+dollo.o: phylip.h dollo.h
349+wagner.o: phylip.h wagner.h
350+dist.o: phylip.h dist.h
351+cont.o: phylip.h cont.h
352+mlclock.o: phylip.h mlclock.h
353+moves.o: phylip.h moves.h
354+printree.o: phylip.h printree.h
355+
356+#
357+# compile the individual programs
358+#
359+
360+clique.o: clique.c disc.h phylip.h
361+
362+clique: clique.o disc.o phylip.o
363+ $(CC) $(CFLAGS) clique.o disc.o phylip.o $(LIBS) -o clique
364+
365+cons.o: cons.c cons.h phylip.h
366+
367+consense.o: consense.c cons.h phylip.h
368+
369+consense: consense.o phylip.o cons.o
370+ $(CC) $(CFLAGS) consense.o phylip.o cons.o $(LIBS) -o consense
371+
372+contml.o: contml.c cont.h phylip.h
373+
374+contml: contml.o cont.o phylip.o
375+ $(CC) $(CFLAGS) contml.o cont.o phylip.o $(LIBS) -o contml
376+
377+contrast.o: contrast.c cont.h phylip.h
378+
379+contrast: contrast.o cont.o phylip.o
380+ $(CC) $(CFLAGS) contrast.o cont.o phylip.o $(LIBS) -o contrast
381+
382+dnacomp.o: dnacomp.c seq.h phylip.h
383+
384+dnacomp: dnacomp.o seq.o phylip.o
385+ $(CC) $(CFLAGS) dnacomp.o seq.o phylip.o $(LIBS) -o dnacomp
386+
387+dnadist.o: dnadist.c seq.h phylip.h
388+
389+dnadist: dnadist.o seq.o phylip.o
390+ $(CC) $(CFLAGS) dnadist.o seq.o phylip.o $(LIBS) -o dnadist
391+
392+dnainvar.o: dnainvar.c seq.h phylip.h
393+
394+dnainvar: dnainvar.o seq.o phylip.o
395+ $(CC) $(CFLAGS) dnainvar.o seq.o phylip.o $(LIBS) -o dnainvar
396+
397+dnaml.o: dnaml.c seq.h phylip.h
398+
399+dnaml: dnaml.o seq.o phylip.o
400+ $(CC) $(CFLAGS) dnaml.o seq.o phylip.o $(LIBS) -o dnaml
401+
402+dnamlk.o: dnamlk.c seq.h phylip.h mlclock.h printree.h
403+
404+dnamlk: dnamlk.o seq.o phylip.o mlclock.o printree.o
405+ $(CC) $(CFLAGS) dnamlk.o seq.o phylip.o mlclock.o printree.o $(LIBS) -o dnamlk
406+
407+dnamove.o: dnamove.c seq.h moves.h phylip.h
408+
409+dnamove: dnamove.o seq.o moves.o phylip.o
410+ $(CC) $(CFLAGS) dnamove.o seq.o moves.o phylip.o $(LIBS) -o dnamove
411+
412+dnapenny.o: dnapenny.c seq.h phylip.h
413+
414+dnapenny: dnapenny.o seq.o phylip.o
415+ $(CC) $(CFLAGS) dnapenny.o seq.o phylip.o $(LIBS) -o dnapenny
416+
417+dnapars.o: dnapars.c seq.h phylip.h
418+
419+dnapars: dnapars.o seq.o phylip.o
420+ $(CC) $(CFLAGS) dnapars.o seq.o phylip.o $(LIBS) -o dnapars
421+
422+dolmove.o: dolmove.c disc.h moves.h dollo.h phylip.h
423+
424+dolmove: dolmove.o disc.o moves.o dollo.o phylip.o
425+ $(CC) $(CFLAGS) dolmove.o disc.o moves.o dollo.o phylip.o $(LIBS) -o dolmove
426+
427+dollop.o: dollop.c disc.h dollo.h phylip.h
428+
429+dollop: dollop.o disc.o dollo.o phylip.o
430+ $(CC) $(CFLAGS) dollop.o disc.o dollo.o phylip.o $(LIBS) -o dollop
431+
432+dolpenny.o: dolpenny.c disc.h dollo.h phylip.h
433+
434+dolpenny: dolpenny.o disc.o dollo.o phylip.o
435+ $(CC) $(CFLAGS) dolpenny.o disc.o dollo.o phylip.o $(LIBS) -o dolpenny
436+
437+draw.o: draw.c draw.h phylip.h
438+ $(CC) $(DFLAGS) -c draw.c
439+
440+draw2.o: draw2.c draw.h phylip.h
441+ $(CC) $(DFLAGS) -c draw2.c
442+
443+drawgram.o: drawgram.c draw.h phylip.h
444+ $(CC) $(DFLAGS) -c drawgram.c
445+
446+drawgram: drawgram.o draw.o draw2.o phylip.o
447+ $(CC) $(DFLAGS) draw.o draw2.o drawgram.o phylip.o $(DLIBS) -o drawgram
448+
449+# needed by java
450+libdrawgram.so: drawgram.o draw.o draw2.o phylip.o
451+ $(CC) $(CFLAGS) -o libdrawgram.so -shared -fPIC drawgram.c draw.c draw2.c phylip.c $(CLIBS) $(LDFLAGS)
452+
453+drawtree.o: drawtree.c draw.h phylip.h
454+ $(CC) $(DFLAGS) -shared -fPIC -c drawtree.c
455+
456+drawtree: drawtree.o draw.o draw2.o phylip.o
457+ $(CC) $(DFLAGS) draw.o draw2.o drawtree.o phylip.o $(DLIBS) -o drawtree
458+
459+# needed by java
460+libdrawtree.so: drawtree.o draw.o draw2.o phylip.o
461+ $(CC) $(CFLAGS) -o libdrawtree.so -shared -fPIC drawtree.c draw.c draw2.c phylip.c $(CLIBS) $(LDFLAGS)
462+
463+factor.o: factor.c phylip.h
464+
465+factor: factor.o phylip.o
466+ $(CC) $(CFLAGS) factor.o phylip.o $(LIBS) -o factor
467+
468+fitch.o: fitch.c dist.h phylip.h
469+
470+fitch: fitch.o dist.o phylip.o
471+ $(CC) $(CFLAGS) fitch.o dist.o phylip.o $(LIBS) -o fitch
472+
473+gendist.o: gendist.c phylip.h
474+
475+gendist: gendist.o phylip.o
476+ $(CC) $(CFLAGS) gendist.o phylip.o $(LIBS) -o gendist
477+
478+kitsch.o: kitsch.c dist.h phylip.h
479+
480+kitsch: kitsch.o dist.o phylip.o
481+ $(CC) $(CFLAGS) kitsch.o dist.o phylip.o $(LIBS) -o kitsch
482+
483+mix.o: mix.c disc.h wagner.h phylip.h
484+
485+mix: mix.o disc.o wagner.o phylip.o
486+ $(CC) $(CFLAGS) mix.o disc.o wagner.o phylip.o $(LIBS) -o mix
487+
488+move.o: move.c disc.h moves.h wagner.h phylip.h
489+
490+move: move.o disc.o moves.o wagner.o phylip.o
491+ $(CC) $(CFLAGS) move.o disc.o moves.o wagner.o phylip.o $(LIBS) -o move
492+
493+neighbor.o: neighbor.c dist.h phylip.h
494+
495+neighbor: neighbor.o dist.o phylip.o
496+ $(CC) $(CFLAGS) neighbor.o dist.o phylip.o $(LIBS) -o neighbor
497+
498+pars.o: pars.c discrete.h phylip.h
499+
500+pars: pars.o discrete.o phylip.o
501+ $(CC) $(CFLAGS) pars.o discrete.o phylip.o $(LIBS) -o pars
502+
503+penny.o: penny.c disc.h wagner.h phylip.h
504+
505+penny: penny.o disc.o wagner.o phylip.o
506+ $(CC) $(CFLAGS) penny.o disc.o wagner.o phylip.o $(LIBS) -o penny
507+
508+proml.o: proml.c seq.h phylip.h
509+
510+proml: proml.o seq.o phylip.o
511+ $(CC) $(CFLAGS) proml.o seq.o phylip.o $(LIBS) -o proml
512+
513+promlk.o: promlk.c seq.h phylip.h mlclock.h printree.h
514+
515+promlk: promlk.o seq.o phylip.o mlclock.o printree.o
516+ $(CC) $(CFLAGS) promlk.o seq.o phylip.o mlclock.o printree.o $(LIBS) -o promlk
517+
518+protdist.o: protdist.c seq.h phylip.h
519+
520+protdist: protdist.o seq.o phylip.o
521+ $(CC) $(CFLAGS) protdist.o seq.o phylip.o $(LIBS) -o protdist
522+
523+protpars.o: protpars.c seq.h phylip.h
524+
525+protpars: protpars.o seq.o phylip.o
526+ $(CC) $(CFLAGS) protpars.o seq.o phylip.o $(LIBS) -o protpars
527+
528+restdist.o: restdist.c seq.h phylip.h
529+
530+restdist: restdist.o seq.o phylip.o
531+ $(CC) $(CFLAGS) restdist.o seq.o phylip.o $(LIBS) -o restdist
532+
533+restml.o: restml.c seq.h phylip.h
534+
535+restml: restml.o seq.o phylip.o
536+ $(CC) $(CFLAGS) restml.o seq.o phylip.o $(LIBS) -o restml
537+
538+retree.o: retree.c moves.h phylip.h
539+
540+retree: retree.o moves.o phylip.o
541+ $(CC) $(CFLAGS) retree.o moves.o phylip.o $(LIBS) -o retree
542+
543+seqboot.o: seqboot.c phylip.h
544+
545+seqboot: seqboot.o seq.o phylip.o
546+ $(CC) $(CFLAGS) seqboot.o seq.o phylip.o $(LIBS) -o seqboot
547+
548+treedist.o: treedist.c cons.h phylip.h
549+
550+treedist: treedist.o phylip.o cons.o
551+ $(CC) $(CFLAGS) treedist.o cons.o phylip.o $(LIBS) -o treedist
552+
553+
554+# ----------------------------------------------------------------------------
555+# The following section is used to build a PHYLIP distribution. All sources
556+# and other files except the documentation files must be placed in the
557+# current directory. The HTML documentation files must be in folder "doc"
558+# within this, the Mac icons in folder "mac", and the Windows icons and
559+# resource files must be in folder "icons"
560+#
561+# Usage:
562+# make distdir - Build the distribution dir phylip-<vers>/
563+# make dist - Make a tarred and gzipped phylip-<vers>.tar.gz
564+# ----------------------------------------------------------------------------
565+
566+DIST_COMMON = phylip.html
567+
568+DOCS= doc/clique.html doc/consense.html doc/contchar.html doc/contml.html \
569+ doc/contrast.html doc/discrete.html doc/distance.html doc/dnacomp.html \
570+ doc/dnadist.html doc/dnainvar.html doc/dnaml.html doc/dnamlk.html \
571+ doc/dnamove.html doc/dnapars.html doc/dnapenny.html doc/dollop.html \
572+ doc/dolmove.html doc/dolpenny.html doc/drawgram.html doc/draw.html \
573+ doc/drawtree.html doc/factor.html doc/fitch.html doc/gendist.html \
574+ doc/kitsch.html doc/main.html doc/mix.html doc/move.html \
575+ doc/neighbor.html doc/pars.html doc/penny.html doc/proml.html \
576+ doc/promlk.html doc/protdist.html doc/protpars.html doc/restdist.html \
577+ doc/restml.html doc/retree.html doc/seqboot.html doc/sequence.html \
578+ doc/treedist.html doc/phylip.gif
579+
580+SOURCES= COPYRIGHT Makefile Makefile.cyg Makefile.osx Makefile.unx linkmac \
581+ clique.c cons.c consense.c cons.h cont.c \
582+ cont.h contml.c contrast.c disc.c disc.h discrete.c discrete.h dist.c \
583+ dist.h dnacomp.c dnadist.c dnainvar.c dnaml.c dnamlk.c dnamove.c \
584+ dnapars.c dnapenny.c dollo.c dollo.h dollop.c dolmove.c dolpenny.c \
585+ draw2.c draw.c drawgram.c draw.h drawtree.c \
586+ factor.c fitch.c gendist.c \
587+ kitsch.c mix.c move.c \
588+ moves.c moves.h neighbor.c pars.c penny.c \
589+ phylip.c phylip.h proml.c promlk.c protdist.c protpars.c restdist.c \
590+ restml.c retree.c seqboot.c seq.c seq.h treedist.c wagner.c wagner.h \
591+ mlclock.c mlclock.h printree.c printree.h
592+
593+MAC= \
594+ Info.plist.in boot.icns clique.icns command.in consense.icns \
595+ contml.icns contrast.icns disc.icns dist.icns dna.icns dnacomp.icns \
596+ dnadist.icns dnainvar.icns dnaml.icns dnamlk.icns dnamove.icns \
597+ dnapars.icns dnapenny.icns dollo.icns dollop.icns dolmove.icns \
598+ dolpenny.icns drawgram.icns drawtree.icns factor.icns fitch.icns \
599+ gendist.icns kitsch.icns mac.sit mix.icns move.icns neighbor.icns \
600+ pars.icns penny.icns proml.icns promlk.icns protdist.icns protein.icns \
601+ protpars.icns restdist.icns restml.icns restrict.icns retree.icns \
602+ seqboot.icns treedist.icns
603+
604+ICONS= boot.ico clique.ico clique.rc clique.rcb consense.ico \
605+ consense.rc consense.rcb contml.ico contml.rc contml.rcb \
606+ contrast.ico contrast.rc contrast.rcb disc.ico dist.ico dna.ico \
607+ dnacomp.rc dnacomp.rcb dnadist.rc dnadist.rcb dnainvar.rc \
608+ dnainvar.rcb dnaml.rc dnaml.rcb dnamlk.rc dnamlk.rcb dnamove.rc \
609+ dnamove.rcb dnapars.rc dnapars.rcb dnapenny.rc dnapenny.rcb \
610+ dollo.ico dollop.rc dollop.rcb dolmove.rc dolmove.rcb \
611+ dolpenny.rc dolpenny.rcb drawgram.ico drawgram.rc drawgram.rcb \
612+ drawtree.ico drawtree.rc drawtree.rcb factor.rc factor.rcb \
613+ fitch.rc fitch.rcb gendist.ico gendist.rc gendist.rcb kitsch.rc \
614+ kitsch.rcb mix.rc mix.rcb move.rc move.rcb neighbor.rc \
615+ neighbor.rcb pars.rc pars.rcb penny.rc penny.rcb proml.rc \
616+ proml.rcb promlk.rc promlk.rcb protdist.rc protdist.rcb \
617+ protein.ico protpars.rc protpars.rcb restdist.rc restdist.rcb \
618+ restml.rc restml.rcb restrict.ico retree.ico retree.rc \
619+ retree.rcb seqboot.rc seqboot.rcb treedist.ico treedist.rc \
620+ treedist.rcb
621+
622+FONTS= font1 font2 font3 font4 font5 font6
623+
624+TESTDIR= clique consense contml contrast dnacomp \
625+ dnadist dnainvar dnaml dnamlk dnamove dnapars dnapenny dollop \
626+ dolmove dolpenny drawgram drawtree factor fitch gendist \
627+ kitsch mix move neighbor pars penny proml promlk \
628+ protdist protpars restdist restml retree seqboot treedist
629+
630+JARAJAR= javajars/DrawGram.jar javajars/DrawTree.jar \
631+ javajars/DrawGramJava.bat javajars/DrawTreeJava.bat \
632+ javajars/DrawGramJava.exe javajars/DrawTreeJava.exe \
633+ javajars/DrawGramJava.unx javajars/DrawTreeJava.unx
634+
635+DISTDIR=$(PACKAGE)-$(VERSION)
636+dist_SRCDIR=$(DISTDIR)/src
637+dist_DOCDIR=$(DISTDIR)/doc
638+dist_EXEDIR=$(DISTDIR)/exe
639+dist_JAVADIR=$(DISTDIR)/src/javajars
640+MACICONDIR=src/mac
641+
642+SHELL=bash
643+
644+# We use this target to create a tarred and gzipped distribution of PHYLIP
645+dist: distdir
646+ -chmod -R a+r $(DISTDIR)
647+ tar chozf $(DISTDIR).tar.gz $(DISTDIR)
648+ -rm -rf $(DISTDIR)
649+
650+# This target creates the distribution directory
651+distdir: $(DIST_COMMON) $(DOCS) $(SOURCES)
652+ -rm -rf $(DISTDIR)
653+ mkdir $(DISTDIR) && \
654+ mkdir $(dist_EXEDIR) && \
655+ mkdir $(dist_DOCDIR) && \
656+ mkdir $(dist_SRCDIR) && \
657+ mkdir $(dist_JAVADIR)
658+ mkdir $(dist_SRCDIR)/mac
659+ mkdir $(dist_SRCDIR)/icons
660+ mkdir $(dist_EXEDIR)/testdata
661+ for i in $(TESTDIR); do \
662+ mkdir $(dist_EXEDIR)/testdata/$$i; \
663+ cp TestData/$$i/*.txt $(dist_EXEDIR)/testdata/$$i; \
664+ done
665+ for i in $(DIST_COMMON) ; do \
666+ cp -r $$i $(DISTDIR) ; \
667+ done
668+ for i in $(DOCS) ; do \
669+ cp -r $$i $(dist_DOCDIR) ; \
670+ done
671+ for i in $(SOURCES) ; do \
672+ cp -r $$i $(dist_SRCDIR) ; \
673+ done
674+ for i in $(MAC) ; do \
675+ cp -r mac/$$i $(dist_SRCDIR)/mac ; \
676+ done
677+ for i in $(ICONS) ; do \
678+ cp -r icons/$$i $(dist_SRCDIR)/icons ; \
679+ done
680+ for i in $(FONTS) ; do \
681+ cp -r $$i $(dist_SRCDIR) ; \
682+ done
683+ for i in $(JARAJAR) ; do \
684+ cp $$i $(dist_JAVADIR) ; \
685+ done
686+
687+# This target untars the dist and checks that it can be compiled and remade
688+distcheck: dist
689+ -rm -rf $(DISTDIR)
690+ tar xzf $(DISTDIR).tar.gz
691+ cd $(DISTDIR)/$(SRCDIR) \
692+ && make all
693+ -rm -rf $(DISTDIR)
694+ @echo "$(DISTDIR).tar.gz is ready for distribution"
695+
696+# Makefile
697
698=== modified file '.pc/hardening.patch/src/Makefile.unx' (properties changed: +x to -x)
699--- .pc/hardening.patch/src/Makefile.unx 2013-08-07 22:17:03 +0000
700+++ .pc/hardening.patch/src/Makefile.unx 2015-04-04 21:58:41 +0000
701@@ -1,9 +1,9 @@
702 # Makefile
703 #
704-# Unix Makefile for PHYLIP 3.695
705+# Unix Makefile for PHYLIP 3.696
706
707 PACKAGE=phylip
708-VERSION=3.695
709+VERSION=3.696
710
711 # We use GNU's version of the make utility. It may be called "gmake" on
712 # your system.
713@@ -20,11 +20,11 @@
714 # When uncompressed and extracted, the tar archive phylip-3.6x.tar.gz
715 # produces the following directory structure:
716 #
717-# phylip-3.6x/source -- the source code, including this Makefile
718+# phylip-3.6x/src -- the source code, including this Makefile
719 # phylip-3.6x/exe -- executables, changed by changing $(EXEDIR) value
720 # phylip-3.6x/doc -- html documentation
721 #
722-# To use the PHYLIP v3.6 Makefile, type from the phylip-3.6x/source directory:
723+# To use the PHYLIP v3.6 Makefile, type from the phylip-3.6x/src directory:
724 #
725 # make install to compile the whole package and install
726 # the executables in $(EXEDIR), and then
727@@ -92,10 +92,10 @@
728 #
729 #
730 #A minimal one
731-#CFLAGS =
732+CFLAGS =
733 #
734 # A basic one for debugging
735-CFLAGS = -g
736+#CFLAGS = -g
737 #
738 # An optimized one for gcc
739 #CFLAGS = -O3 -DUNX -fomit-frame-pointer
740@@ -180,17 +180,10 @@
741 DYLIBS = libdrawgram.so \
742 libdrawtree.so
743
744-JARS = javajars/DrawGram.jar \
745+JARS = javajars/DrawGram.jar \
746 javajars/DrawTree.jar \
747 javajars/DrawGramJava.unx\
748 javajars/DrawTreeJava.unx
749-
750-TESTDIR = clique consense contml contrast dnacomp \
751- dnadist dnainvar dnaml dnamlk dnamove dnapars dnapenny dollop \
752- dolmove dolpenny drawgram drawtree factor fitch gendist \
753- kitsch mix move neighbor pars penny proml promlk \
754- protdist protpars restdist restml retree seqboot treedist
755-
756 #
757 # general commands
758 #
759@@ -229,7 +222,7 @@
760 @echo ""
761
762 put:
763- @echo "Installing PHYLIP v$(VERSION) binaries in $(EXEDIR)"
764+ @echo "Installing PHYLIP v3.6 binaries in $(EXEDIR)"
765 @mkdir -p $(EXEDIR)
766 @cp $(PROGS) $(EXEDIR)
767 @echo "Installing dynamic libraries in $(EXEDIR)"
768@@ -240,12 +233,6 @@
769 @mkdir -p $(DATADIR)
770 @cp font* $(DATADIR)
771 @cd $(DATADIR) && ln -s font1 fontfile
772- @echo "Copying testdata files to $(EXEDIR)/testdata/..."
773- mkdir $(EXEDIR)/testdata
774- for i in $(TESTDIR); do \
775- mkdir $(EXEDIR)/testdata/$$i; \
776- cp testdata/$$i/*.txt $(EXEDIR)/testdata/$$i; \
777- done
778 @echo "Finished installation."
779 @echo ""
780
781@@ -264,7 +251,7 @@
782
783 distclean: clean
784 @echo "Removing executables"
785- @rm -rf $(EXEDIR) $(DATADIR)
786+ @rm -rf $(EXEDIR)/* $(DATADIR)/*
787 @echo "Finaly removed all executable files."
788 @echo ""
789
790@@ -495,39 +482,29 @@
791 # make dist - Make a tarred and gzipped phylip-<vers>.tar.gz
792 # ----------------------------------------------------------------------------
793
794-DIST_COMMON = ../phylip.html
795-
796-DOC_DIR = ../doc
797-
798-IMG_DIR = ../doc/images
799-
800-TEST_DIR = ../src/testdata
801-
802-DOCS= clique.html consense.html contchar.html contml.html \
803- contrast.html discrete.html distance.html dnacomp.html \
804- dnadist.html dnainvar.html dnaml.html dnamlk.html \
805- dnamove.html dnapars.html dnapenny.html dollop.html \
806- dolmove.html dolpenny.html drawgram.html draw.html \
807- drawtree.html factor.html fitch.html gendist.html \
808- kitsch.html main.html mix.html move.html \
809- neighbor.html pars.html penny.html proml.html \
810- promlk.html protdist.html protpars.html restdist.html \
811- restml.html retree.html seqboot.html sequence.html \
812- treedist.html phylip.gif
813-
814-IMAGES= DrawGramCat.png DrawGramControls.png \
815- DrawTreeCat.png DrawTreeControls.png \
816- InputTree.png
817-
818-SOURCES= COPYRIGHT Makefile.cyg Makefile.osx Makefile.unx linkmac \
819+DIST_COMMON = phylip.html
820+
821+DOCS= doc/clique.html doc/consense.html doc/contchar.html doc/contml.html \
822+ doc/contrast.html doc/discrete.html doc/distance.html doc/dnacomp.html \
823+ doc/dnadist.html doc/dnainvar.html doc/dnaml.html doc/dnamlk.html \
824+ doc/dnamove.html doc/dnapars.html doc/dnapenny.html doc/dollop.html \
825+ doc/dolmove.html doc/dolpenny.html doc/drawgram.html doc/draw.html \
826+ doc/drawtree.html doc/factor.html doc/fitch.html doc/gendist.html \
827+ doc/kitsch.html doc/main.html doc/mix.html doc/move.html \
828+ doc/neighbor.html doc/pars.html doc/penny.html doc/proml.html \
829+ doc/promlk.html doc/protdist.html doc/protpars.html doc/restdist.html \
830+ doc/restml.html doc/retree.html doc/seqboot.html doc/sequence.html \
831+ doc/treedist.html doc/phylip.gif
832+
833+SOURCES= COPYRIGHT Makefile Makefile.cyg Makefile.osx Makefile.unx linkmac \
834 clique.c cons.c consense.c cons.h cont.c \
835 cont.h contml.c contrast.c disc.c disc.h discrete.c discrete.h dist.c \
836 dist.h dnacomp.c dnadist.c dnainvar.c dnaml.c dnamlk.c dnamove.c \
837 dnapars.c dnapenny.c dollo.c dollo.h dollop.c dolmove.c dolpenny.c \
838 draw2.c draw.c drawgram.c draw.h drawtree.c \
839 factor.c fitch.c gendist.c \
840- interface.c interface.h io.h kitsch.c macface.c macface.h mix.c move.c \
841- moves.c moves.h neighbor.c newmove.c pars.c penny.c \
842+ kitsch.c mix.c move.c \
843+ moves.c moves.h neighbor.c pars.c penny.c \
844 phylip.c phylip.h proml.c promlk.c protdist.c protpars.c restdist.c \
845 restml.c retree.c seqboot.c seq.c seq.h treedist.c wagner.c wagner.h \
846 mlclock.c mlclock.h printree.c printree.h
847@@ -562,6 +539,12 @@
848 treedist.rcb
849
850 FONTS= font1 font2 font3 font4 font5 font6
851+
852+TESTDIR= clique consense contml contrast dnacomp \
853+ dnadist dnainvar dnaml dnamlk dnamove dnapars dnapenny dollop \
854+ dolmove dolpenny drawgram drawtree factor fitch gendist \
855+ kitsch mix move neighbor pars penny proml promlk \
856+ protdist protpars restdist restml retree seqboot treedist
857
858 JARAJAR= javajars/DrawGram.jar javajars/DrawTree.jar \
859 javajars/DrawGramJava.bat javajars/DrawTreeJava.bat \
860@@ -571,7 +554,6 @@
861 DISTDIR=$(PACKAGE)-$(VERSION)
862 dist_SRCDIR=$(DISTDIR)/src
863 dist_DOCDIR=$(DISTDIR)/doc
864-dist_IMGDIR=$(DISTDIR)/doc/images
865 dist_EXEDIR=$(DISTDIR)/exe
866 dist_JAVADIR=$(DISTDIR)/src/javajars
867 MACICONDIR=src/mac
868@@ -585,33 +567,29 @@
869 -rm -rf $(DISTDIR)
870
871 # This target creates the distribution directory
872-distdir: $(DIST_COMMON) $(SOURCES) $(TESTDIR) $(JAVAJAR) $(DYLIBS)
873+distdir: $(DIST_COMMON) $(DOCS) $(SOURCES)
874 -rm -rf $(DISTDIR)
875- mkdir $(DISTDIR)
876- mkdir $(dist_EXEDIR)
877- mkdir $(dist_DOCDIR)
878- mkdir $(dist_IMGDIR)
879- mkdir $(dist_SRCDIR)
880+ mkdir $(DISTDIR) && \
881+ mkdir $(dist_EXEDIR) && \
882+ mkdir $(dist_DOCDIR) && \
883+ mkdir $(dist_SRCDIR) && \
884 mkdir $(dist_JAVADIR)
885 mkdir $(dist_SRCDIR)/mac
886 mkdir $(dist_SRCDIR)/icons
887- mkdir $(dist_SRCDIR)/testdata
888+ mkdir $(dist_EXEDIR)/testdata
889 for i in $(TESTDIR); do \
890- mkdir $(dist_SRCDIR)/testdata/$$i; \
891- cp $(TEST_DIR)/$$i/*.txt $(dist_SRCDIR)/testdata/$$i; \
892- done
893+ mkdir $(dist_EXEDIR)/testdata/$$i; \
894+ cp TestData/$$i/*.txt $(dist_EXEDIR)/testdata/$$i; \
895+ done
896 for i in $(DIST_COMMON) ; do \
897 cp -r $$i $(DISTDIR) ; \
898 done
899+ for i in $(DOCS) ; do \
900+ cp -r $$i $(dist_DOCDIR) ; \
901+ done
902 for i in $(SOURCES) ; do \
903 cp -r $$i $(dist_SRCDIR) ; \
904 done
905- for i in $(DOCS) ; do \
906- cp -r $(DOC_DIR)/$$i $(dist_DOCDIR) ; \
907- done
908- for i in $(IMAGES) ; do \
909- cp -r $(IMG_DIR)/$$i $(dist_IMGDIR) ; \
910- done
911 for i in $(MAC) ; do \
912 cp -r mac/$$i $(dist_SRCDIR)/mac ; \
913 done
914@@ -625,10 +603,6 @@
915 cp $$i $(dist_JAVADIR) ; \
916 done
917
918-disttest:
919- cd phylip-3.695/src; \
920- ls
921-
922 # This target untars the dist and checks that it can be compiled and remade
923 distcheck: dist
924 -rm -rf $(DISTDIR)
925
926=== modified file '.pc/install_fonts_data.patch/src/Makefile.unx' (properties changed: +x to -x)
927--- .pc/install_fonts_data.patch/src/Makefile.unx 2013-08-07 22:17:03 +0000
928+++ .pc/install_fonts_data.patch/src/Makefile.unx 2015-04-04 21:58:41 +0000
929@@ -1,9 +1,9 @@
930 # Makefile
931 #
932-# Unix Makefile for PHYLIP 3.695
933+# Unix Makefile for PHYLIP 3.696
934
935 PACKAGE=phylip
936-VERSION=3.695
937+VERSION=3.696
938
939 # We use GNU's version of the make utility. It may be called "gmake" on
940 # your system.
941@@ -20,11 +20,11 @@
942 # When uncompressed and extracted, the tar archive phylip-3.6x.tar.gz
943 # produces the following directory structure:
944 #
945-# phylip-3.6x/source -- the source code, including this Makefile
946+# phylip-3.6x/src -- the source code, including this Makefile
947 # phylip-3.6x/exe -- executables, changed by changing $(EXEDIR) value
948 # phylip-3.6x/doc -- html documentation
949 #
950-# To use the PHYLIP v3.6 Makefile, type from the phylip-3.6x/source directory:
951+# To use the PHYLIP v3.6 Makefile, type from the phylip-3.6x/src directory:
952 #
953 # make install to compile the whole package and install
954 # the executables in $(EXEDIR), and then
955@@ -91,10 +91,10 @@
956 #
957 #
958 #A minimal one
959-#CFLAGS =
960+CFLAGS =
961 #
962 # A basic one for debugging
963-CFLAGS = -g
964+#CFLAGS = -g
965 #
966 # An optimized one for gcc
967 #CFLAGS = -O3 -DUNX -fomit-frame-pointer
968@@ -179,17 +179,10 @@
969 DYLIBS = libdrawgram.so \
970 libdrawtree.so
971
972-JARS = javajars/DrawGram.jar \
973+JARS = javajars/DrawGram.jar \
974 javajars/DrawTree.jar \
975 javajars/DrawGramJava.unx\
976 javajars/DrawTreeJava.unx
977-
978-TESTDIR = clique consense contml contrast dnacomp \
979- dnadist dnainvar dnaml dnamlk dnamove dnapars dnapenny dollop \
980- dolmove dolpenny drawgram drawtree factor fitch gendist \
981- kitsch mix move neighbor pars penny proml promlk \
982- protdist protpars restdist restml retree seqboot treedist
983-
984 #
985 # general commands
986 #
987@@ -228,7 +221,7 @@
988 @echo ""
989
990 put:
991- @echo "Installing PHYLIP v$(VERSION) binaries in $(EXEDIR)"
992+ @echo "Installing PHYLIP v3.6 binaries in $(EXEDIR)"
993 @mkdir -p $(EXEDIR)
994 @cp $(PROGS) $(EXEDIR)
995 @echo "Installing dynamic libraries in $(EXEDIR)"
996@@ -237,12 +230,6 @@
997 @cp $(JARS) $(EXEDIR)
998 @echo "Installing font files in $(EXEDIR)"
999 @cp font* $(EXEDIR)
1000- @echo "Copying testdata files to $(EXEDIR)/testdata/..."
1001- mkdir $(EXEDIR)/testdata
1002- for i in $(TESTDIR); do \
1003- mkdir $(EXEDIR)/testdata/$$i; \
1004- cp testdata/$$i/*.txt $(EXEDIR)/testdata/$$i; \
1005- done
1006 @echo "Finished installation."
1007 @echo ""
1008
1009@@ -486,39 +473,29 @@
1010 # make dist - Make a tarred and gzipped phylip-<vers>.tar.gz
1011 # ----------------------------------------------------------------------------
1012
1013-DIST_COMMON = ../phylip.html
1014-
1015-DOC_DIR = ../doc
1016-
1017-IMG_DIR = ../doc/images
1018-
1019-TEST_DIR = ../src/testdata
1020-
1021-DOCS= clique.html consense.html contchar.html contml.html \
1022- contrast.html discrete.html distance.html dnacomp.html \
1023- dnadist.html dnainvar.html dnaml.html dnamlk.html \
1024- dnamove.html dnapars.html dnapenny.html dollop.html \
1025- dolmove.html dolpenny.html drawgram.html draw.html \
1026- drawtree.html factor.html fitch.html gendist.html \
1027- kitsch.html main.html mix.html move.html \
1028- neighbor.html pars.html penny.html proml.html \
1029- promlk.html protdist.html protpars.html restdist.html \
1030- restml.html retree.html seqboot.html sequence.html \
1031- treedist.html phylip.gif
1032-
1033-IMAGES= DrawGramCat.png DrawGramControls.png \
1034- DrawTreeCat.png DrawTreeControls.png \
1035- InputTree.png
1036-
1037-SOURCES= COPYRIGHT Makefile.cyg Makefile.osx Makefile.unx linkmac \
1038+DIST_COMMON = phylip.html
1039+
1040+DOCS= doc/clique.html doc/consense.html doc/contchar.html doc/contml.html \
1041+ doc/contrast.html doc/discrete.html doc/distance.html doc/dnacomp.html \
1042+ doc/dnadist.html doc/dnainvar.html doc/dnaml.html doc/dnamlk.html \
1043+ doc/dnamove.html doc/dnapars.html doc/dnapenny.html doc/dollop.html \
1044+ doc/dolmove.html doc/dolpenny.html doc/drawgram.html doc/draw.html \
1045+ doc/drawtree.html doc/factor.html doc/fitch.html doc/gendist.html \
1046+ doc/kitsch.html doc/main.html doc/mix.html doc/move.html \
1047+ doc/neighbor.html doc/pars.html doc/penny.html doc/proml.html \
1048+ doc/promlk.html doc/protdist.html doc/protpars.html doc/restdist.html \
1049+ doc/restml.html doc/retree.html doc/seqboot.html doc/sequence.html \
1050+ doc/treedist.html doc/phylip.gif
1051+
1052+SOURCES= COPYRIGHT Makefile Makefile.cyg Makefile.osx Makefile.unx linkmac \
1053 clique.c cons.c consense.c cons.h cont.c \
1054 cont.h contml.c contrast.c disc.c disc.h discrete.c discrete.h dist.c \
1055 dist.h dnacomp.c dnadist.c dnainvar.c dnaml.c dnamlk.c dnamove.c \
1056 dnapars.c dnapenny.c dollo.c dollo.h dollop.c dolmove.c dolpenny.c \
1057 draw2.c draw.c drawgram.c draw.h drawtree.c \
1058 factor.c fitch.c gendist.c \
1059- interface.c interface.h io.h kitsch.c macface.c macface.h mix.c move.c \
1060- moves.c moves.h neighbor.c newmove.c pars.c penny.c \
1061+ kitsch.c mix.c move.c \
1062+ moves.c moves.h neighbor.c pars.c penny.c \
1063 phylip.c phylip.h proml.c promlk.c protdist.c protpars.c restdist.c \
1064 restml.c retree.c seqboot.c seq.c seq.h treedist.c wagner.c wagner.h \
1065 mlclock.c mlclock.h printree.c printree.h
1066@@ -553,6 +530,12 @@
1067 treedist.rcb
1068
1069 FONTS= font1 font2 font3 font4 font5 font6
1070+
1071+TESTDIR= clique consense contml contrast dnacomp \
1072+ dnadist dnainvar dnaml dnamlk dnamove dnapars dnapenny dollop \
1073+ dolmove dolpenny drawgram drawtree factor fitch gendist \
1074+ kitsch mix move neighbor pars penny proml promlk \
1075+ protdist protpars restdist restml retree seqboot treedist
1076
1077 JARAJAR= javajars/DrawGram.jar javajars/DrawTree.jar \
1078 javajars/DrawGramJava.bat javajars/DrawTreeJava.bat \
1079@@ -562,7 +545,6 @@
1080 DISTDIR=$(PACKAGE)-$(VERSION)
1081 dist_SRCDIR=$(DISTDIR)/src
1082 dist_DOCDIR=$(DISTDIR)/doc
1083-dist_IMGDIR=$(DISTDIR)/doc/images
1084 dist_EXEDIR=$(DISTDIR)/exe
1085 dist_JAVADIR=$(DISTDIR)/src/javajars
1086 MACICONDIR=src/mac
1087@@ -576,33 +558,29 @@
1088 -rm -rf $(DISTDIR)
1089
1090 # This target creates the distribution directory
1091-distdir: $(DIST_COMMON) $(SOURCES) $(TESTDIR) $(JAVAJAR) $(DYLIBS)
1092+distdir: $(DIST_COMMON) $(DOCS) $(SOURCES)
1093 -rm -rf $(DISTDIR)
1094- mkdir $(DISTDIR)
1095- mkdir $(dist_EXEDIR)
1096- mkdir $(dist_DOCDIR)
1097- mkdir $(dist_IMGDIR)
1098- mkdir $(dist_SRCDIR)
1099+ mkdir $(DISTDIR) && \
1100+ mkdir $(dist_EXEDIR) && \
1101+ mkdir $(dist_DOCDIR) && \
1102+ mkdir $(dist_SRCDIR) && \
1103 mkdir $(dist_JAVADIR)
1104 mkdir $(dist_SRCDIR)/mac
1105 mkdir $(dist_SRCDIR)/icons
1106- mkdir $(dist_SRCDIR)/testdata
1107+ mkdir $(dist_EXEDIR)/testdata
1108 for i in $(TESTDIR); do \
1109- mkdir $(dist_SRCDIR)/testdata/$$i; \
1110- cp $(TEST_DIR)/$$i/*.txt $(dist_SRCDIR)/testdata/$$i; \
1111- done
1112+ mkdir $(dist_EXEDIR)/testdata/$$i; \
1113+ cp TestData/$$i/*.txt $(dist_EXEDIR)/testdata/$$i; \
1114+ done
1115 for i in $(DIST_COMMON) ; do \
1116 cp -r $$i $(DISTDIR) ; \
1117 done
1118+ for i in $(DOCS) ; do \
1119+ cp -r $$i $(dist_DOCDIR) ; \
1120+ done
1121 for i in $(SOURCES) ; do \
1122 cp -r $$i $(dist_SRCDIR) ; \
1123 done
1124- for i in $(DOCS) ; do \
1125- cp -r $(DOC_DIR)/$$i $(dist_DOCDIR) ; \
1126- done
1127- for i in $(IMAGES) ; do \
1128- cp -r $(IMG_DIR)/$$i $(dist_IMGDIR) ; \
1129- done
1130 for i in $(MAC) ; do \
1131 cp -r mac/$$i $(dist_SRCDIR)/mac ; \
1132 done
1133@@ -616,10 +594,6 @@
1134 cp $$i $(dist_JAVADIR) ; \
1135 done
1136
1137-disttest:
1138- cd phylip-3.695/src; \
1139- ls
1140-
1141 # This target untars the dist and checks that it can be compiled and remade
1142 distcheck: dist
1143 -rm -rf $(DISTDIR)
1144
1145=== added directory '.pc/soname.patch'
1146=== added directory '.pc/soname.patch/src'
1147=== added file '.pc/soname.patch/src/Makefile.unx'
1148--- .pc/soname.patch/src/Makefile.unx 1970-01-01 00:00:00 +0000
1149+++ .pc/soname.patch/src/Makefile.unx 2015-04-04 21:58:41 +0000
1150@@ -0,0 +1,613 @@
1151+# Makefile
1152+#
1153+# Unix Makefile for PHYLIP 3.696
1154+
1155+PACKAGE=phylip
1156+VERSION=3.696
1157+
1158+# We use GNU's version of the make utility. It may be called "gmake" on
1159+# your system.
1160+#
1161+# If you're using a RedHat Linux system with default locations for
1162+# gcc libraries, you probably don't need to change anything. You might
1163+# might change the first noncomment statement below to redefine $(EXEDIR)
1164+# if you'd like your executables installed in a different location than
1165+# our default.
1166+#
1167+# Users with systems that differ substantially from ours may need to set
1168+# the following variables: $(CC) $(CFLAGS) $(DFLAGS) $(LIBS) $(DLIBS)
1169+#
1170+# When uncompressed and extracted, the tar archive phylip-3.6x.tar.gz
1171+# produces the following directory structure:
1172+#
1173+# phylip-3.6x/src -- the source code, including this Makefile
1174+# phylip-3.6x/exe -- executables, changed by changing $(EXEDIR) value
1175+# phylip-3.6x/doc -- html documentation
1176+#
1177+# To use the PHYLIP v3.6 Makefile, type from the phylip-3.6x/src directory:
1178+#
1179+# make install to compile the whole package and install
1180+# the executables in $(EXEDIR), and then
1181+# remove the object files to save space
1182+#
1183+# make all to compile the whole package but not install it
1184+# or remove the object files.
1185+#
1186+# make put to move the executables into $(EXEDIR)
1187+#
1188+# make clean to remove all object files and executables from the
1189+# current directory
1190+#
1191+# make dnaml to compile and link one program, (in this example,
1192+# DnaML) and leave the executable and object files
1193+# in the current directory (where the source code is).
1194+# You will have to move the executable into the
1195+# executables directory (e.g. "mv dnaml ../exe")
1196+# Note that the program name should be lower case.
1197+#
1198+# ----------------------------------------------------------------------------
1199+# (Starting here is the section where you may want to change things)
1200+# ----------------------------------------------------------------------------
1201+#
1202+# the following specifies the directory where the executables will be placed
1203+EXEDIR = ../exe
1204+DATADIR = ../exe
1205+#
1206+# ----------------------------------------------------------------------------
1207+#
1208+# The following statements set these variables:
1209+#
1210+# CC -- the name (and, optionally, location) of your C compiler
1211+# CFLAGS -- compiler directives needed to compile most programs
1212+# DFLAGS -- compiler directives needed to compile draw programs
1213+# LIBS -- non-default system libraries needed to compile most programs
1214+# DLIBS -- non-default system libraries needed to compile draw programs
1215+#
1216+# We've provided a set of possible values for each variable.
1217+#
1218+# The value used is the one without a "#" at the beginning of the line.
1219+#
1220+# To try an alternate value, make sure the one you want has no "#"
1221+# as its first character and that all other possibilities have "#" for
1222+# their first character.
1223+#
1224+# Advanced users may need to further edit one of the alternatives in
1225+# order to correctly compile on their system.
1226+#
1227+# ----------------------------------------------------------------------------
1228+#
1229+# The next two assignments are the invocations of the compiler
1230+#
1231+# This one specifies the "cc" C compiler
1232+#CC = cc
1233+#
1234+# To use GCC instead:
1235+CC = gcc
1236+#
1237+# ----------------------------------------------------------------------------
1238+#
1239+# This is the CFLAGS statement. It specifies compiler behavior.
1240+#
1241+# Here are some possible CFLAGS statements:
1242+#
1243+#
1244+#A minimal one
1245+CFLAGS =
1246+#
1247+# A basic one for debugging
1248+#CFLAGS = -g
1249+#
1250+# An optimized one for gcc
1251+#CFLAGS = -O3 -DUNX -fomit-frame-pointer
1252+#
1253+# For some serious debugging using Gnu gcc
1254+#
1255+#CFLAGS=-g -DUNX -Wall -Wmain -Wmissing-prototypes -Wreturn-type -Wstrict-prototypes -Wunused -Werror -Wredundant-decls -Waggregate-return -Wcast-align -Wcomment
1256+#
1257+# For doing code coverage with gcov
1258+#
1259+#CFLAGS = -ggdb -DUNX -fprofile-arcs -ftest-coverage
1260+#CFLAGS = -pg -DUNX
1261+#
1262+# For Digital Alpha systems with Compaq Tru64 Unix
1263+# (however, be aware that this may cause floating-point problems in programs
1264+# like Dnaml owing to not using IEEE floating point standards).
1265+#CFLAGS = -fast -DUNX
1266+#
1267+# ----------------------------------------------------------------------------
1268+#
1269+# This is the DFLAGS statement. It specifies compiler behavior for the
1270+# programs drawgram and drawtree. It adds additional information to
1271+# the $(CFLAGS) value if needed.
1272+#
1273+DFLAGS = $(CFLAGS)
1274+#
1275+# ----------------------------------------------------------------------------
1276+#
1277+# Most of the programs need only the math libraries, specified like this;
1278+#
1279+LIBS = -lm $(LDFLAGS)
1280+#
1281+# The drawing programs may also need access to the graphics libraries. This is
1282+# specified with the DLIBS variable.
1283+DLIBS = $(LIBS)
1284+#
1285+# ----------------------------------------------------------------------------
1286+# (After this point there should not be any reason to change anything)
1287+# ----------------------------------------------------------------------------
1288+#
1289+#
1290+# the list of programs
1291+# draw programs are listed last since they are the most likely to cause
1292+# compilation or linking problems
1293+
1294+PROGS = clique \
1295+ consense \
1296+ contml \
1297+ contrast \
1298+ dnacomp \
1299+ dnadist \
1300+ dnainvar \
1301+ dnaml \
1302+ dnamlk \
1303+ dnamove \
1304+ dnapars \
1305+ dnapenny \
1306+ dolmove \
1307+ dollop \
1308+ dolpenny \
1309+ factor \
1310+ fitch \
1311+ gendist \
1312+ kitsch \
1313+ mix \
1314+ move \
1315+ neighbor \
1316+ pars \
1317+ penny \
1318+ proml \
1319+ promlk \
1320+ protdist \
1321+ protpars \
1322+ restdist \
1323+ restml \
1324+ retree \
1325+ seqboot \
1326+ treedist \
1327+ drawgram \
1328+ drawtree
1329+
1330+DYLIBS = libdrawgram.so \
1331+ libdrawtree.so
1332+
1333+JARS = javajars/DrawGram.jar \
1334+ javajars/DrawTree.jar \
1335+ javajars/DrawGramJava.unx\
1336+ javajars/DrawTreeJava.unx
1337+#
1338+# general commands
1339+#
1340+
1341+# The first target it executed if you just type "make". It tells you how to
1342+# use the Makefile.
1343+#
1344+help:
1345+ @echo ""
1346+ @echo " To use the PHYLIP v3.6 Makefile, type"
1347+ @echo " make install to compile the whole package and install"
1348+ @echo " the executables in $(EXEDIR), and then"
1349+ @echo " remove the object files to save space"
1350+ @echo " make all to compile the whole package but not install it"
1351+ @echo " or remove the object files"
1352+ @echo " make put to move the executables into $(EXEDIR)"
1353+ @echo " make clean to remove all object files and executables from the"
1354+ @echo " current directory"
1355+ @echo " make dnaml to compile and link one program, (in this example,"
1356+ @echo " Dnaml) and leave the executable and object files"
1357+ @echo " in the current directory (where the source code is)."
1358+ @echo " You will have to move the executable into the"
1359+ @echo " executables directory (e.g. \"mv dnaml $(EXEDIR)\")"
1360+ @echo " Note that the program name should be lower case."
1361+ @echo " "
1362+
1363+introduce:
1364+ @echo "Building PHYLIP version $(VERSION)"
1365+
1366+all: introduce $(PROGS) $(DYLIBS)
1367+ @echo "Finished compiling."
1368+ @echo ""
1369+
1370+install: all put clean
1371+ @echo "Done."
1372+ @echo ""
1373+
1374+put:
1375+ @echo "Installing PHYLIP v3.6 binaries in $(EXEDIR)"
1376+ @mkdir -p $(EXEDIR)
1377+ @cp $(PROGS) $(EXEDIR)
1378+ #@cp $(DYLIBS) $(EXEDIR)
1379+ #@cp $(JARS) $(EXEDIR)
1380+ @echo "Installing font files in $(DATADIR)"
1381+ @mkdir -p $(DATADIR)
1382+ @cp font* $(DATADIR)
1383+ @cd $(DATADIR) && ln -s font1 fontfile
1384+ @echo "Finished installation."
1385+ @echo ""
1386+
1387+clean:
1388+ @echo "Removing object files to save space"
1389+ @rm -f *.o
1390+ @echo "Finished removing object files. Now will remove"
1391+ @echo "executable files from the current directory, but not from the"
1392+ @echo "executables directory. (If some are not here, the makefile"
1393+ @echo "will terminate with an error message but this is not a problem)"
1394+ @echo ""
1395+ @echo "Removing executables from this directory"
1396+ @rm -f $(PROGS)
1397+ @echo "Finished cleanup."
1398+ @echo ""
1399+
1400+distclean: clean
1401+ @echo "Removing executables"
1402+ @rm -rf $(EXEDIR)/* $(DATADIR)/*
1403+ @echo "Finaly removed all executable files."
1404+ @echo ""
1405+
1406+#
1407+# compile object files shared between programs
1408+# (make's implicit rule for %.o will take care of these)
1409+#
1410+
1411+phylip.o: phylip.h
1412+seq.o: phylip.h seq.h
1413+disc.o: phylip.h disc.h
1414+discrete.o: phylip.h discrete.h
1415+dollo.o: phylip.h dollo.h
1416+wagner.o: phylip.h wagner.h
1417+dist.o: phylip.h dist.h
1418+cont.o: phylip.h cont.h
1419+mlclock.o: phylip.h mlclock.h
1420+moves.o: phylip.h moves.h
1421+printree.o: phylip.h printree.h
1422+
1423+#
1424+# compile the individual programs
1425+#
1426+
1427+clique.o: clique.c disc.h phylip.h
1428+
1429+clique: clique.o disc.o phylip.o
1430+ $(CC) $(CFLAGS) clique.o disc.o phylip.o $(LIBS) -o clique
1431+
1432+cons.o: cons.c cons.h phylip.h
1433+
1434+consense.o: consense.c cons.h phylip.h
1435+
1436+consense: consense.o phylip.o cons.o
1437+ $(CC) $(CFLAGS) consense.o phylip.o cons.o $(LIBS) -o consense
1438+
1439+contml.o: contml.c cont.h phylip.h
1440+
1441+contml: contml.o cont.o phylip.o
1442+ $(CC) $(CFLAGS) contml.o cont.o phylip.o $(LIBS) -o contml
1443+
1444+contrast.o: contrast.c cont.h phylip.h
1445+
1446+contrast: contrast.o cont.o phylip.o
1447+ $(CC) $(CFLAGS) contrast.o cont.o phylip.o $(LIBS) -o contrast
1448+
1449+dnacomp.o: dnacomp.c seq.h phylip.h
1450+
1451+dnacomp: dnacomp.o seq.o phylip.o
1452+ $(CC) $(CFLAGS) dnacomp.o seq.o phylip.o $(LIBS) -o dnacomp
1453+
1454+dnadist.o: dnadist.c seq.h phylip.h
1455+
1456+dnadist: dnadist.o seq.o phylip.o
1457+ $(CC) $(CFLAGS) dnadist.o seq.o phylip.o $(LIBS) -o dnadist
1458+
1459+dnainvar.o: dnainvar.c seq.h phylip.h
1460+
1461+dnainvar: dnainvar.o seq.o phylip.o
1462+ $(CC) $(CFLAGS) dnainvar.o seq.o phylip.o $(LIBS) -o dnainvar
1463+
1464+dnaml.o: dnaml.c seq.h phylip.h
1465+
1466+dnaml: dnaml.o seq.o phylip.o
1467+ $(CC) $(CFLAGS) dnaml.o seq.o phylip.o $(LIBS) -o dnaml
1468+
1469+dnamlk.o: dnamlk.c seq.h phylip.h mlclock.h printree.h
1470+
1471+dnamlk: dnamlk.o seq.o phylip.o mlclock.o printree.o
1472+ $(CC) $(CFLAGS) dnamlk.o seq.o phylip.o mlclock.o printree.o $(LIBS) -o dnamlk
1473+
1474+dnamove.o: dnamove.c seq.h moves.h phylip.h
1475+
1476+dnamove: dnamove.o seq.o moves.o phylip.o
1477+ $(CC) $(CFLAGS) dnamove.o seq.o moves.o phylip.o $(LIBS) -o dnamove
1478+
1479+dnapenny.o: dnapenny.c seq.h phylip.h
1480+
1481+dnapenny: dnapenny.o seq.o phylip.o
1482+ $(CC) $(CFLAGS) dnapenny.o seq.o phylip.o $(LIBS) -o dnapenny
1483+
1484+dnapars.o: dnapars.c seq.h phylip.h
1485+
1486+dnapars: dnapars.o seq.o phylip.o
1487+ $(CC) $(CFLAGS) dnapars.o seq.o phylip.o $(LIBS) -o dnapars
1488+
1489+dolmove.o: dolmove.c disc.h moves.h dollo.h phylip.h
1490+
1491+dolmove: dolmove.o disc.o moves.o dollo.o phylip.o
1492+ $(CC) $(CFLAGS) dolmove.o disc.o moves.o dollo.o phylip.o $(LIBS) -o dolmove
1493+
1494+dollop.o: dollop.c disc.h dollo.h phylip.h
1495+
1496+dollop: dollop.o disc.o dollo.o phylip.o
1497+ $(CC) $(CFLAGS) dollop.o disc.o dollo.o phylip.o $(LIBS) -o dollop
1498+
1499+dolpenny.o: dolpenny.c disc.h dollo.h phylip.h
1500+
1501+dolpenny: dolpenny.o disc.o dollo.o phylip.o
1502+ $(CC) $(CFLAGS) dolpenny.o disc.o dollo.o phylip.o $(LIBS) -o dolpenny
1503+
1504+draw.o: draw.c draw.h phylip.h
1505+ $(CC) $(DFLAGS) -c draw.c
1506+
1507+draw2.o: draw2.c draw.h phylip.h
1508+ $(CC) $(DFLAGS) -c draw2.c
1509+
1510+drawgram.o: drawgram.c draw.h phylip.h
1511+ $(CC) $(DFLAGS) -c drawgram.c
1512+
1513+drawgram: drawgram.o draw.o draw2.o phylip.o
1514+ $(CC) $(DFLAGS) draw.o draw2.o drawgram.o phylip.o $(DLIBS) -o drawgram
1515+
1516+# needed by java
1517+libdrawgram.so: drawgram.o draw.o draw2.o phylip.o
1518+ $(CC) $(CFLAGS) -o libdrawgram.so -shared -fPIC drawgram.c draw.c draw2.c phylip.c $(CLIBS) $(LDFLAGS)
1519+
1520+drawtree.o: drawtree.c draw.h phylip.h
1521+ $(CC) $(DFLAGS) -shared -fPIC -c drawtree.c
1522+
1523+drawtree: drawtree.o draw.o draw2.o phylip.o
1524+ $(CC) $(DFLAGS) draw.o draw2.o drawtree.o phylip.o $(DLIBS) -o drawtree
1525+
1526+# needed by java
1527+libdrawtree.so: drawtree.o draw.o draw2.o phylip.o
1528+ $(CC) $(CFLAGS) -o libdrawtree.so -shared -fPIC drawtree.c draw.c draw2.c phylip.c $(CLIBS) $(LDFLAGS)
1529+
1530+factor.o: factor.c phylip.h
1531+
1532+factor: factor.o phylip.o
1533+ $(CC) $(CFLAGS) factor.o phylip.o $(LIBS) -o factor
1534+
1535+fitch.o: fitch.c dist.h phylip.h
1536+
1537+fitch: fitch.o dist.o phylip.o
1538+ $(CC) $(CFLAGS) fitch.o dist.o phylip.o $(LIBS) -o fitch
1539+
1540+gendist.o: gendist.c phylip.h
1541+
1542+gendist: gendist.o phylip.o
1543+ $(CC) $(CFLAGS) gendist.o phylip.o $(LIBS) -o gendist
1544+
1545+kitsch.o: kitsch.c dist.h phylip.h
1546+
1547+kitsch: kitsch.o dist.o phylip.o
1548+ $(CC) $(CFLAGS) kitsch.o dist.o phylip.o $(LIBS) -o kitsch
1549+
1550+mix.o: mix.c disc.h wagner.h phylip.h
1551+
1552+mix: mix.o disc.o wagner.o phylip.o
1553+ $(CC) $(CFLAGS) mix.o disc.o wagner.o phylip.o $(LIBS) -o mix
1554+
1555+move.o: move.c disc.h moves.h wagner.h phylip.h
1556+
1557+move: move.o disc.o moves.o wagner.o phylip.o
1558+ $(CC) $(CFLAGS) move.o disc.o moves.o wagner.o phylip.o $(LIBS) -o move
1559+
1560+neighbor.o: neighbor.c dist.h phylip.h
1561+
1562+neighbor: neighbor.o dist.o phylip.o
1563+ $(CC) $(CFLAGS) neighbor.o dist.o phylip.o $(LIBS) -o neighbor
1564+
1565+pars.o: pars.c discrete.h phylip.h
1566+
1567+pars: pars.o discrete.o phylip.o
1568+ $(CC) $(CFLAGS) pars.o discrete.o phylip.o $(LIBS) -o pars
1569+
1570+penny.o: penny.c disc.h wagner.h phylip.h
1571+
1572+penny: penny.o disc.o wagner.o phylip.o
1573+ $(CC) $(CFLAGS) penny.o disc.o wagner.o phylip.o $(LIBS) -o penny
1574+
1575+proml.o: proml.c seq.h phylip.h
1576+
1577+proml: proml.o seq.o phylip.o
1578+ $(CC) $(CFLAGS) proml.o seq.o phylip.o $(LIBS) -o proml
1579+
1580+promlk.o: promlk.c seq.h phylip.h mlclock.h printree.h
1581+
1582+promlk: promlk.o seq.o phylip.o mlclock.o printree.o
1583+ $(CC) $(CFLAGS) promlk.o seq.o phylip.o mlclock.o printree.o $(LIBS) -o promlk
1584+
1585+protdist.o: protdist.c seq.h phylip.h
1586+
1587+protdist: protdist.o seq.o phylip.o
1588+ $(CC) $(CFLAGS) protdist.o seq.o phylip.o $(LIBS) -o protdist
1589+
1590+protpars.o: protpars.c seq.h phylip.h
1591+
1592+protpars: protpars.o seq.o phylip.o
1593+ $(CC) $(CFLAGS) protpars.o seq.o phylip.o $(LIBS) -o protpars
1594+
1595+restdist.o: restdist.c seq.h phylip.h
1596+
1597+restdist: restdist.o seq.o phylip.o
1598+ $(CC) $(CFLAGS) restdist.o seq.o phylip.o $(LIBS) -o restdist
1599+
1600+restml.o: restml.c seq.h phylip.h
1601+
1602+restml: restml.o seq.o phylip.o
1603+ $(CC) $(CFLAGS) restml.o seq.o phylip.o $(LIBS) -o restml
1604+
1605+retree.o: retree.c moves.h phylip.h
1606+
1607+retree: retree.o moves.o phylip.o
1608+ $(CC) $(CFLAGS) retree.o moves.o phylip.o $(LIBS) -o retree
1609+
1610+seqboot.o: seqboot.c phylip.h
1611+
1612+seqboot: seqboot.o seq.o phylip.o
1613+ $(CC) $(CFLAGS) seqboot.o seq.o phylip.o $(LIBS) -o seqboot
1614+
1615+treedist.o: treedist.c cons.h phylip.h
1616+
1617+treedist: treedist.o phylip.o cons.o
1618+ $(CC) $(CFLAGS) treedist.o cons.o phylip.o $(LIBS) -o treedist
1619+
1620+
1621+# ----------------------------------------------------------------------------
1622+# The following section is used to build a PHYLIP distribution. All sources
1623+# and other files except the documentation files must be placed in the
1624+# current directory. The HTML documentation files must be in folder "doc"
1625+# within this, the Mac icons in folder "mac", and the Windows icons and
1626+# resource files must be in folder "icons"
1627+#
1628+# Usage:
1629+# make distdir - Build the distribution dir phylip-<vers>/
1630+# make dist - Make a tarred and gzipped phylip-<vers>.tar.gz
1631+# ----------------------------------------------------------------------------
1632+
1633+DIST_COMMON = phylip.html
1634+
1635+DOCS= doc/clique.html doc/consense.html doc/contchar.html doc/contml.html \
1636+ doc/contrast.html doc/discrete.html doc/distance.html doc/dnacomp.html \
1637+ doc/dnadist.html doc/dnainvar.html doc/dnaml.html doc/dnamlk.html \
1638+ doc/dnamove.html doc/dnapars.html doc/dnapenny.html doc/dollop.html \
1639+ doc/dolmove.html doc/dolpenny.html doc/drawgram.html doc/draw.html \
1640+ doc/drawtree.html doc/factor.html doc/fitch.html doc/gendist.html \
1641+ doc/kitsch.html doc/main.html doc/mix.html doc/move.html \
1642+ doc/neighbor.html doc/pars.html doc/penny.html doc/proml.html \
1643+ doc/promlk.html doc/protdist.html doc/protpars.html doc/restdist.html \
1644+ doc/restml.html doc/retree.html doc/seqboot.html doc/sequence.html \
1645+ doc/treedist.html doc/phylip.gif
1646+
1647+SOURCES= COPYRIGHT Makefile Makefile.cyg Makefile.osx Makefile.unx linkmac \
1648+ clique.c cons.c consense.c cons.h cont.c \
1649+ cont.h contml.c contrast.c disc.c disc.h discrete.c discrete.h dist.c \
1650+ dist.h dnacomp.c dnadist.c dnainvar.c dnaml.c dnamlk.c dnamove.c \
1651+ dnapars.c dnapenny.c dollo.c dollo.h dollop.c dolmove.c dolpenny.c \
1652+ draw2.c draw.c drawgram.c draw.h drawtree.c \
1653+ factor.c fitch.c gendist.c \
1654+ kitsch.c mix.c move.c \
1655+ moves.c moves.h neighbor.c pars.c penny.c \
1656+ phylip.c phylip.h proml.c promlk.c protdist.c protpars.c restdist.c \
1657+ restml.c retree.c seqboot.c seq.c seq.h treedist.c wagner.c wagner.h \
1658+ mlclock.c mlclock.h printree.c printree.h
1659+
1660+MAC= \
1661+ Info.plist.in boot.icns clique.icns command.in consense.icns \
1662+ contml.icns contrast.icns disc.icns dist.icns dna.icns dnacomp.icns \
1663+ dnadist.icns dnainvar.icns dnaml.icns dnamlk.icns dnamove.icns \
1664+ dnapars.icns dnapenny.icns dollo.icns dollop.icns dolmove.icns \
1665+ dolpenny.icns drawgram.icns drawtree.icns factor.icns fitch.icns \
1666+ gendist.icns kitsch.icns mac.sit mix.icns move.icns neighbor.icns \
1667+ pars.icns penny.icns proml.icns promlk.icns protdist.icns protein.icns \
1668+ protpars.icns restdist.icns restml.icns restrict.icns retree.icns \
1669+ seqboot.icns treedist.icns
1670+
1671+ICONS= boot.ico clique.ico clique.rc clique.rcb consense.ico \
1672+ consense.rc consense.rcb contml.ico contml.rc contml.rcb \
1673+ contrast.ico contrast.rc contrast.rcb disc.ico dist.ico dna.ico \
1674+ dnacomp.rc dnacomp.rcb dnadist.rc dnadist.rcb dnainvar.rc \
1675+ dnainvar.rcb dnaml.rc dnaml.rcb dnamlk.rc dnamlk.rcb dnamove.rc \
1676+ dnamove.rcb dnapars.rc dnapars.rcb dnapenny.rc dnapenny.rcb \
1677+ dollo.ico dollop.rc dollop.rcb dolmove.rc dolmove.rcb \
1678+ dolpenny.rc dolpenny.rcb drawgram.ico drawgram.rc drawgram.rcb \
1679+ drawtree.ico drawtree.rc drawtree.rcb factor.rc factor.rcb \
1680+ fitch.rc fitch.rcb gendist.ico gendist.rc gendist.rcb kitsch.rc \
1681+ kitsch.rcb mix.rc mix.rcb move.rc move.rcb neighbor.rc \
1682+ neighbor.rcb pars.rc pars.rcb penny.rc penny.rcb proml.rc \
1683+ proml.rcb promlk.rc promlk.rcb protdist.rc protdist.rcb \
1684+ protein.ico protpars.rc protpars.rcb restdist.rc restdist.rcb \
1685+ restml.rc restml.rcb restrict.ico retree.ico retree.rc \
1686+ retree.rcb seqboot.rc seqboot.rcb treedist.ico treedist.rc \
1687+ treedist.rcb
1688+
1689+FONTS= font1 font2 font3 font4 font5 font6
1690+
1691+TESTDIR= clique consense contml contrast dnacomp \
1692+ dnadist dnainvar dnaml dnamlk dnamove dnapars dnapenny dollop \
1693+ dolmove dolpenny drawgram drawtree factor fitch gendist \
1694+ kitsch mix move neighbor pars penny proml promlk \
1695+ protdist protpars restdist restml retree seqboot treedist
1696+
1697+JARAJAR= javajars/DrawGram.jar javajars/DrawTree.jar \
1698+ javajars/DrawGramJava.bat javajars/DrawTreeJava.bat \
1699+ javajars/DrawGramJava.exe javajars/DrawTreeJava.exe \
1700+ javajars/DrawGramJava.unx javajars/DrawTreeJava.unx
1701+
1702+DISTDIR=$(PACKAGE)-$(VERSION)
1703+dist_SRCDIR=$(DISTDIR)/src
1704+dist_DOCDIR=$(DISTDIR)/doc
1705+dist_EXEDIR=$(DISTDIR)/exe
1706+dist_JAVADIR=$(DISTDIR)/src/javajars
1707+MACICONDIR=src/mac
1708+
1709+SHELL=bash
1710+
1711+# We use this target to create a tarred and gzipped distribution of PHYLIP
1712+dist: distdir
1713+ -chmod -R a+r $(DISTDIR)
1714+ tar chozf $(DISTDIR).tar.gz $(DISTDIR)
1715+ -rm -rf $(DISTDIR)
1716+
1717+# This target creates the distribution directory
1718+distdir: $(DIST_COMMON) $(DOCS) $(SOURCES)
1719+ -rm -rf $(DISTDIR)
1720+ mkdir $(DISTDIR) && \
1721+ mkdir $(dist_EXEDIR) && \
1722+ mkdir $(dist_DOCDIR) && \
1723+ mkdir $(dist_SRCDIR) && \
1724+ mkdir $(dist_JAVADIR)
1725+ mkdir $(dist_SRCDIR)/mac
1726+ mkdir $(dist_SRCDIR)/icons
1727+ mkdir $(dist_EXEDIR)/testdata
1728+ for i in $(TESTDIR); do \
1729+ mkdir $(dist_EXEDIR)/testdata/$$i; \
1730+ cp TestData/$$i/*.txt $(dist_EXEDIR)/testdata/$$i; \
1731+ done
1732+ for i in $(DIST_COMMON) ; do \
1733+ cp -r $$i $(DISTDIR) ; \
1734+ done
1735+ for i in $(DOCS) ; do \
1736+ cp -r $$i $(dist_DOCDIR) ; \
1737+ done
1738+ for i in $(SOURCES) ; do \
1739+ cp -r $$i $(dist_SRCDIR) ; \
1740+ done
1741+ for i in $(MAC) ; do \
1742+ cp -r mac/$$i $(dist_SRCDIR)/mac ; \
1743+ done
1744+ for i in $(ICONS) ; do \
1745+ cp -r icons/$$i $(dist_SRCDIR)/icons ; \
1746+ done
1747+ for i in $(FONTS) ; do \
1748+ cp -r $$i $(dist_SRCDIR) ; \
1749+ done
1750+ for i in $(JARAJAR) ; do \
1751+ cp $$i $(dist_JAVADIR) ; \
1752+ done
1753+
1754+# This target untars the dist and checks that it can be compiled and remade
1755+distcheck: dist
1756+ -rm -rf $(DISTDIR)
1757+ tar xzf $(DISTDIR).tar.gz
1758+ cd $(DISTDIR)/$(SRCDIR) \
1759+ && make all
1760+ -rm -rf $(DISTDIR)
1761+ @echo "$(DISTDIR).tar.gz is ready for distribution"
1762+
1763+# Makefile
1764
1765=== modified file 'debian/README.debian'
1766--- debian/README.debian 2008-07-22 15:51:33 +0000
1767+++ debian/README.debian 2015-04-04 21:58:41 +0000
1768@@ -21,9 +21,3 @@
1769
1770 http://evolution.genetics.washington.edu/phylip.html
1771
1772-The original packaging was done by:
1773- Dr. Guenter Bechly <gbechly@debian.org>, Sat, 7 Apr 2001 16:00:14 +0200
1774-
1775-The current Debian Maintainer is:
1776- Andreas Tille <tille@debian.org> Tue, 23 Oct 2001 12:35:14 +0200
1777-
1778\ No newline at end of file
1779
1780=== removed file 'debian/README.source'
1781--- debian/README.source 2009-09-11 08:00:10 +0000
1782+++ debian/README.source 1970-01-01 00:00:00 +0000
1783@@ -1,4 +0,0 @@
1784-This packages uses the quilt patch system. Please read
1785-/usr/share/doc/quilt/README.source for more information.
1786-
1787- -- Andreas Tille <tille@debian.org> Mon, 31 Aug 2009 14:50:19 +0200
1788
1789=== added directory 'debian/bash_completion'
1790=== added file 'debian/bash_completion/phylip'
1791--- debian/bash_completion/phylip 1970-01-01 00:00:00 +0000
1792+++ debian/bash_completion/phylip 2015-04-04 21:58:41 +0000
1793@@ -0,0 +1,17 @@
1794+_phylip()
1795+{
1796+ local cur prev opts
1797+ COMPREPLY=()
1798+ cur="${COMP_WORDS[COMP_CWORD]}"
1799+ prev="${COMP_WORDS[COMP_CWORD-1]}"
1800+
1801+ opts=$(ls /usr/lib/phylip/bin)
1802+
1803+ case $prev in
1804+ phylip)
1805+ COMPREPLY=( $(compgen -f -W "${opts}" -- "$cur") )
1806+ ;;
1807+ esac
1808+ return 0
1809+}
1810+complete -F _phylip -o default phylip
1811
1812=== added file 'debian/bin/drawgram'
1813--- debian/bin/drawgram 1970-01-01 00:00:00 +0000
1814+++ debian/bin/drawgram 2015-04-04 21:58:41 +0000
1815@@ -0,0 +1,3 @@
1816+#!/bin/sh
1817+export PATH=/usr/lib/phylip/bin:$PATH
1818+java -cp DrawTree.jar drawgram.DrawgramUserInterface
1819
1820=== added file 'debian/bin/drawtree'
1821--- debian/bin/drawtree 1970-01-01 00:00:00 +0000
1822+++ debian/bin/drawtree 2015-04-04 21:58:41 +0000
1823@@ -0,0 +1,3 @@
1824+#!/bin/sh
1825+export PATH=/usr/lib/phylip/bin:$PATH
1826+java -cp DrawTree.jar drawtree.DrawtreeUserInterface
1827
1828=== added file 'debian/build.xml'
1829--- debian/build.xml 1970-01-01 00:00:00 +0000
1830+++ debian/build.xml 2015-04-04 21:58:41 +0000
1831@@ -0,0 +1,57 @@
1832+<?xml version="1.0" ?>
1833+<project name="drawtree" default="jar" basedir=".">
1834+ <!-- Directory structure -->
1835+ <property name="build.dir" location="build"/>
1836+ <property name="dist.dir" location="dist"/>
1837+ <property name="src.dir" location="src/javasrc"/>
1838+ <property name="lib.dir" location="/usr/share/java"/>
1839+ <property name="class.dir" location="${build.dir}/classes"/>
1840+
1841+ <property name="project.name" value="drawphylip"/>
1842+ <property name="debug" value="true"/>
1843+ <property name="optimized" value="true"/>
1844+ <property name="project.version" value="3.696"/>
1845+ <property environment="env"/>
1846+ <property name="project.jarfile.name" value="DrawTree.jar"/>
1847+
1848+ <property name="class.path" value="jna.jar"/>
1849+
1850+ <path id="compile.classpath">
1851+ <fileset dir="${lib.dir}">
1852+ </fileset>
1853+ <fileset dir="${dist.dir}">
1854+ <include name="*.jar"/>
1855+ </fileset>
1856+ </path>
1857+
1858+
1859+ <target name="clean">
1860+ <echo level="info">Cleaning build directories</echo>
1861+ <delete verbose="true" includeEmptyDirs="true">
1862+ <fileset dir="${build.dir}" includes="**"/>
1863+ <fileset dir="${dist.dir}" includes="${project.name}*.jar"/>
1864+ </delete>
1865+ </target>
1866+
1867+ <target name="compile">
1868+ <mkdir dir="${class.dir}"/>
1869+ <mkdir dir="${dist.dir}"/>
1870+ <javac srcdir="${src.dir}" destdir="${class.dir}" classpathref="compile.classpath" debug="${debug}" optimize="${optimized}" nowarn="true" source="1.6" target="1.6">
1871+ </javac>
1872+ </target>
1873+
1874+ <target name="jar" depends="compile">
1875+ <jar destfile="${dist.dir}/${project.jarfile.name}" basedir="${class.dir}" >
1876+ <manifest>
1877+ <attribute name="Built-By" value="Debian-Med team"/>
1878+ <attribute name="Main-Class" value="drawtree"/>
1879+ <attribute name="Class-Path" value="${class.path}"/>
1880+ <attribute name="Specification-Title" value="drawtree"/>
1881+ <attribute name="Specification-Version" value="${project.version}"/>
1882+ </manifest>
1883+ </jar>
1884+ </target>
1885+
1886+</project>
1887+
1888+
1889
1890=== modified file 'debian/changelog'
1891--- debian/changelog 2013-08-07 22:17:03 +0000
1892+++ debian/changelog 2015-04-04 21:58:41 +0000
1893@@ -1,3 +1,21 @@
1894+phylip (1:3.696+dfsg-1ubuntu0.1) trusty-proposed; urgency=medium
1895+
1896+ * Use optimization flags by default when compiling
1897+
1898+ -- Atanas <atanas@marash> Sat, 04 Apr 2015 23:43:16 +0200
1899+
1900+phylip (1:3.696+dfsg-1) unstable; urgency=medium
1901+
1902+ * New upstream version now with free license
1903+ * cme fix dpkg-control
1904+ * removed redundant README.source
1905+ * d/copyright:
1906+ - DEP5 now with BSD-2-Clause license
1907+ - exclude some binaries without source which are not needed
1908+ * Add bash_completion
1909+
1910+ -- Andreas Tille <tille@debian.org> Wed, 17 Sep 2014 19:35:06 +0200
1911+
1912 phylip (1:3.695-1) unstable; urgency=low
1913
1914 * New upstream version
1915
1916=== modified file 'debian/control'
1917--- debian/control 2013-08-07 22:17:03 +0000
1918+++ debian/control 2015-04-04 21:58:41 +0000
1919@@ -2,17 +2,20 @@
1920 Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
1921 Uploaders: Andreas Tille <tille@debian.org>,
1922 Manuel Prinz <manuel@debian.org>
1923-Section: non-free/science
1924+Section: science
1925 Priority: optional
1926 Build-Depends: debhelper (>= 9),
1927 libx11-dev,
1928 libxt-dev,
1929- libxaw7-dev
1930-Standards-Version: 3.9.4
1931+ libxaw7-dev,
1932+ ant,
1933+ default-jdk,
1934+ libjna-java,
1935+ javahelper
1936+Standards-Version: 3.9.5
1937 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/phylip/trunk/
1938 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/phylip/trunk/
1939 Homepage: http://evolution.genetics.washington.edu/phylip.html
1940-XS-Autobuild: yes
1941
1942 Package: phylip
1943 Architecture: any
1944@@ -30,7 +33,7 @@
1945
1946 Package: phylip-doc
1947 Architecture: all
1948-Section: non-free/doc
1949+Section: doc
1950 Depends: ${misc:Depends}
1951 Suggests: phylip
1952 Description: package of programs for inferring phylogenies (documentation)
1953@@ -43,4 +46,3 @@
1954 characters.
1955 .
1956 This package contains the HTML documentation
1957-
1958
1959=== modified file 'debian/copyright'
1960--- debian/copyright 2008-02-12 18:29:32 +0000
1961+++ debian/copyright 2015-04-04 21:58:41 +0000
1962@@ -1,35 +1,49 @@
1963-This package was debianized by Andreas Tille <tille@debian.org> on
1964-Tue, 30 Oct 2001 07:09:09 +0100
1965-
1966-It was downloaded from
1967- ftp://evolution.genetics.washington.edu/pub/phylip
1968-
1969-The home page is:
1970- http://evolution.genetics.washington.edu/phylip.html
1971-Further Information on:
1972- http://evolution.genetics.washington.edu/phylip/software.html
1973-
1974-Upstream author:
1975-
1976-Joe Felsenstein <joe@genetics.washington.edu>
1977-http://evolution.genetics.washington.edu/phylip/felsenstein.html
1978-
1979-
1980-Copyright Notice for PHYLIP
1981- http://evolution.genetics.washington.edu/phylip/doc/main.html#copyright
1982-
1983-The following copyright notice is intended to cover all source code, all
1984-documentation, and all executable programs of the PHYLIP package.
1985-
1986-© Copyright 1980-2004. University of Washington and Joseph Felsenstein. All
1987-rights reserved. Permission is granted to reproduce, perform, and modify these
1988-programs and documentation files. Permission is granted to distribute or
1989-provide access to these programs provided that this copyright notice is not
1990-removed, the programs are not integrated with or called by any product or
1991-service that generates revenue, and that your distribution of these
1992-documentation files and programs are free. Any modified versions of these
1993-materials that are distributed or accessible shall indicate that they are based
1994-on these program. Institutions of higher education are granted permission to
1995-distribute this material to their students and staff for a fee to recover
1996-distribution costs. Permission requests for any other distribution of this
1997-program should be directed to license @ u.washington.edu .
1998+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1999+Upstream-Name: PHYLIP
2000+Upstream-Contact: Joe Felsenstein <joe@gs.washington.edu>
2001+Source: http://evolution.gs.washington.edu/phylip/download/
2002+Files-Excluded: *.exe
2003+ *.jar
2004+ *.so
2005+ src/buildDmg.sh
2006+ src/mac
2007+ src/javajars
2008+ src/icons
2009+ src/Makefile.osx
2010+ src/Makefile.cyg
2011+ src/javasrc/util/CVS
2012+
2013+Files: *
2014+Copyright: 1980-2014 Joe Felsenstein <joe@gs.washington.edu>,
2015+ Jerry Shurman, Hisashi Horino, Akiko Fuseki,
2016+ Sean Lamont, and Andrew Keeffe
2017+License: BSD-2-clause
2018+
2019+Files: debian/*
2020+Copyright: 1998-1999 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
2021+ 2001 Dr. Guenter Bechly <gbechly@debian.org>
2022+ 2001-2014 Andreas Tille <tille@debian.org>
2023+License: BSD-2-clause
2024+
2025+License: BSD-2-clause
2026+ Redistribution and use in source and binary forms, with or without
2027+ modification, are permitted provided that the following conditions are met:
2028+ .
2029+ 1. Redistributions of source code must retain the above copyright notice,
2030+ this list of conditions and the following disclaimer.
2031+ .
2032+ 2. Redistributions in binary form must reproduce the above copyright notice,
2033+ this list of conditions and the following disclaimer in the documentation
2034+ and/or other materials provided with the distribution.
2035+ .
2036+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
2037+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2038+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2039+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
2040+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2041+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2042+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2043+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2044+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2045+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2046+ POSSIBILITY OF SUCH DAMAGE.
2047
2048=== modified file 'debian/patches/01_src_phylip_h'
2049--- debian/patches/01_src_phylip_h 2013-08-07 22:17:03 +0000
2050+++ debian/patches/01_src_phylip_h 2015-04-04 21:58:41 +0000
2051@@ -2,9 +2,9 @@
2052 Forwarded: No
2053 Description: Debian keeps the font files in a different location than normal installer
2054 License: see debian/copyright
2055---- a/src/phylip.h
2056-+++ b/src/phylip.h
2057-@@ -72,7 +72,7 @@ void phyFillScreenColor(void);
2058+--- phylip-3.696.orig/src/phylip.h
2059++++ phylip-3.696/src/phylip.h
2060+@@ -96,7 +96,7 @@
2061 #define EBCDIC false
2062 #define INFILE "infile"
2063 #define OUTFILE "outfile"
2064
2065=== added file 'debian/patches/do_not_install_jar_files.patch'
2066--- debian/patches/do_not_install_jar_files.patch 1970-01-01 00:00:00 +0000
2067+++ debian/patches/do_not_install_jar_files.patch 2015-04-04 21:58:41 +0000
2068@@ -0,0 +1,20 @@
2069+Author: Andreas Tille <tille@debian.org>
2070+Last-Update: Wed, 17 Sep 2014 19:35:06 +0200
2071+Description: The binary JAR files without source are stripped from the
2072+ source tarball so do not try to install these files
2073+
2074+--- a/src/Makefile.unx
2075++++ b/src/Makefile.unx
2076+@@ -225,10 +225,8 @@ put:
2077+ @echo "Installing PHYLIP v3.6 binaries in $(EXEDIR)"
2078+ @mkdir -p $(EXEDIR)
2079+ @cp $(PROGS) $(EXEDIR)
2080+- @echo "Installing dynamic libraries in $(EXEDIR)"
2081+- @cp $(DYLIBS) $(EXEDIR)
2082+- @echo "Installing jar files in $(EXEDIR)"
2083+- @cp $(JARS) $(EXEDIR)
2084++ #@cp $(DYLIBS) $(EXEDIR)
2085++ #@cp $(JARS) $(EXEDIR)
2086+ @echo "Installing font files in $(DATADIR)"
2087+ @mkdir -p $(DATADIR)
2088+ @cp font* $(DATADIR)
2089
2090=== modified file 'debian/patches/hardening.patch'
2091--- debian/patches/hardening.patch 2013-08-07 22:17:03 +0000
2092+++ debian/patches/hardening.patch 2015-04-04 21:58:41 +0000
2093@@ -2,9 +2,9 @@
2094 LastChanged: Wed, 07 Aug 2013 22:17:03 +0200
2095 Description: Let hardening flags sneek in
2096
2097---- a/src/Makefile.unx
2098-+++ b/src/Makefile.unx
2099-@@ -126,7 +126,7 @@ DFLAGS = $(CFLAGS)
2100+--- phylip-3.696.orig/src/Makefile.unx
2101++++ phylip-3.696/src/Makefile.unx
2102+@@ -126,7 +126,7 @@
2103 #
2104 # Most of the programs need only the math libraries, specified like this;
2105 #
2106@@ -13,7 +13,7 @@
2107 #
2108 # The drawing programs may also need access to the graphics libraries. This is
2109 # specified with the DLIBS variable.
2110-@@ -380,7 +380,7 @@ drawgram: drawgram.o draw.o draw2.o
2111+@@ -367,7 +367,7 @@
2112
2113 # needed by java
2114 libdrawgram.so: drawgram.o draw.o draw2.o phylip.o
2115@@ -22,7 +22,7 @@
2116
2117 drawtree.o: drawtree.c draw.h phylip.h
2118 $(CC) $(DFLAGS) -shared -fPIC -c drawtree.c
2119-@@ -390,7 +390,7 @@ drawtree: drawtree.o draw.o draw2.o
2120+@@ -377,7 +377,7 @@
2121
2122 # needed by java
2123 libdrawtree.so: drawtree.o draw.o draw2.o phylip.o
2124
2125=== modified file 'debian/patches/install_fonts_data.patch'
2126--- debian/patches/install_fonts_data.patch 2013-08-07 22:17:03 +0000
2127+++ debian/patches/install_fonts_data.patch 2015-04-04 21:58:41 +0000
2128@@ -3,9 +3,9 @@
2129 Description: Debian keeps the font files in a different location than normal installer;
2130 distclean target makes sure everything will be cleaned up
2131
2132---- a/src/Makefile.unx
2133-+++ b/src/Makefile.unx
2134-@@ -51,6 +51,7 @@ VERSION=3.695
2135+--- phylip-3.696.orig/src/Makefile.unx
2136++++ phylip-3.696/src/Makefile.unx
2137+@@ -51,6 +51,7 @@
2138 #
2139 # the following specifies the directory where the executables will be placed
2140 EXEDIR = ../exe
2141@@ -13,7 +13,7 @@
2142 #
2143 # ----------------------------------------------------------------------------
2144 #
2145-@@ -235,8 +236,10 @@ put:
2146+@@ -228,8 +229,10 @@
2147 @cp $(DYLIBS) $(EXEDIR)
2148 @echo "Installing jar files in $(EXEDIR)"
2149 @cp $(JARS) $(EXEDIR)
2150@@ -23,16 +23,16 @@
2151 + @mkdir -p $(DATADIR)
2152 + @cp font* $(DATADIR)
2153 + @cd $(DATADIR) && ln -s font1 fontfile
2154- @echo "Copying testdata files to $(EXEDIR)/testdata/..."
2155- mkdir $(EXEDIR)/testdata
2156- for i in $(TESTDIR); do \
2157-@@ -259,6 +262,12 @@ clean:
2158+ @echo "Finished installation."
2159+ @echo ""
2160+
2161+@@ -246,6 +249,12 @@
2162 @echo "Finished cleanup."
2163 @echo ""
2164
2165 +distclean: clean
2166 + @echo "Removing executables"
2167-+ @rm -rf $(EXEDIR) $(DATADIR)
2168++ @rm -rf $(EXEDIR)/* $(DATADIR)/*
2169 + @echo "Finaly removed all executable files."
2170 + @echo ""
2171 +
2172
2173=== modified file 'debian/patches/series'
2174--- debian/patches/series 2013-08-07 22:17:03 +0000
2175+++ debian/patches/series 2015-04-04 21:58:41 +0000
2176@@ -1,3 +1,5 @@
2177 install_fonts_data.patch
2178 hardening.patch
2179 01_src_phylip_h
2180+do_not_install_jar_files.patch
2181+soname.patch
2182
2183=== added file 'debian/patches/soname.patch'
2184--- debian/patches/soname.patch 1970-01-01 00:00:00 +0000
2185+++ debian/patches/soname.patch 2015-04-04 21:58:41 +0000
2186@@ -0,0 +1,24 @@
2187+Author: Andreas Tille <tille@debian.org>
2188+Last-Update: Wed, 17 Sep 2014 19:35:06 +0200
2189+Description: Add soname to shared libraries
2190+
2191+--- a/src/Makefile.unx
2192++++ b/src/Makefile.unx
2193+@@ -365,7 +365,7 @@ drawgram: drawgram.o draw.o draw2.o
2194+
2195+ # needed by java
2196+ libdrawgram.so: drawgram.o draw.o draw2.o phylip.o
2197+- $(CC) $(CFLAGS) -o libdrawgram.so -shared -fPIC drawgram.c draw.c draw2.c phylip.c $(CLIBS) $(LDFLAGS)
2198++ $(CC) $(CFLAGS) -o libdrawgram.so -Wl,-soname,libdrawgram.so -shared -fPIC drawgram.c draw.c draw2.c phylip.c $(DLIBS)
2199+
2200+ drawtree.o: drawtree.c draw.h phylip.h
2201+ $(CC) $(DFLAGS) -shared -fPIC -c drawtree.c
2202+@@ -375,7 +375,7 @@ drawtree: drawtree.o draw.o draw2.o
2203+
2204+ # needed by java
2205+ libdrawtree.so: drawtree.o draw.o draw2.o phylip.o
2206+- $(CC) $(CFLAGS) -o libdrawtree.so -shared -fPIC drawtree.c draw.c draw2.c phylip.c $(CLIBS) $(LDFLAGS)
2207++ $(CC) $(CFLAGS) -o libdrawtree.so -Wl,-soname,libdrawtree.so -shared -fPIC drawtree.c draw.c draw2.c phylip.c $(DLIBS)
2208+
2209+ factor.o: factor.c phylip.h
2210+
2211
2212=== modified file 'debian/phylip-doc.install'
2213--- debian/phylip-doc.install 2006-09-01 23:30:58 +0000
2214+++ debian/phylip-doc.install 2015-04-04 21:58:41 +0000
2215@@ -1,2 +1,2 @@
2216-doc usr/share/doc/phylip/html
2217-phylip.* usr/share/doc/phylip/html
2218+doc usr/share/doc/phylip/html
2219+phylip.html usr/share/doc/phylip/html
2220
2221=== modified file 'debian/phylip.examples'
2222--- debian/phylip.examples 2013-08-07 22:17:03 +0000
2223+++ debian/phylip.examples 2015-04-04 21:58:41 +0000
2224@@ -1,2 +1,2 @@
2225 debian/examples/*
2226-src/testdata
2227\ No newline at end of file
2228+# src/testdata
2229\ No newline at end of file
2230
2231=== modified file 'debian/phylip.install'
2232--- debian/phylip.install 2013-08-07 22:17:03 +0000
2233+++ debian/phylip.install 2015-04-04 21:58:41 +0000
2234@@ -1,4 +1,5 @@
2235-exe/[a-su-z]* usr/lib/phylip/bin
2236-exe/t[a-df-z]* usr/lib/phylip/bin
2237-fonts/* usr/share/phylip
2238-debian/bin/phylip usr/bin
2239+exe/* usr/lib/phylip/bin
2240+src/lib*.so* usr/lib
2241+fonts/* usr/share/phylip
2242+debian/bin/* usr/bin
2243+debian/bash_completion/* etc/bash_completion.d
2244
2245=== added file 'debian/phylip.jlibs'
2246--- debian/phylip.jlibs 1970-01-01 00:00:00 +0000
2247+++ debian/phylip.jlibs 2015-04-04 21:58:41 +0000
2248@@ -0,0 +1,1 @@
2249+dist/*.jar
2250
2251=== modified file 'debian/phylip.lintian-overrides'
2252--- debian/phylip.lintian-overrides 2013-08-07 22:17:03 +0000
2253+++ debian/phylip.lintian-overrides 2015-04-04 21:58:41 +0000
2254@@ -1,54 +1,6 @@
2255 # Seems to be false positives - options are properly set
2256-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/clique
2257-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/consense
2258-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/contml
2259-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/contrast
2260-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/dnacomp
2261-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/dnadist
2262-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/dnainvar
2263-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/dnaml
2264-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/dnamlk
2265-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/dnamove
2266-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/dnapars
2267-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/dnapenny
2268-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/dollop
2269-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/dolmove
2270-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/dolpenny
2271-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/drawgram
2272-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/drawtree
2273-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/factor
2274-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/fitch
2275-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/gendist
2276-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/kitsch
2277-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/libdrawgram.so
2278-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/libdrawtree.so
2279-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/mix
2280-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/move
2281-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/neighbor
2282-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/pars
2283-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/penny
2284-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/proml
2285-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/promlk
2286-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/protdist
2287-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/protpars
2288-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/restdist
2289-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/restml
2290-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/retree
2291-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/seqboot
2292-phylip: hardening-no-fortify-functions usr/lib/phylip/bin/treedist
2293-# No idea why upstream is providing duplicated files - they are small in any case
2294-phylip: duplicate-files usr/share/doc/phylip/examples/testdata/dollop/dollopinfile.txt usr/share/doc/phylip/examples/testdata/mix/mixinfile.txt usr/share/doc/phylip/examples/testdata/pars/parsinfile.txt
2295-phylip: duplicate-files usr/share/doc/phylip/examples/testdata/fitch/fitchinfile.txt usr/share/doc/phylip/examples/testdata/kitsch/kitschinfile.txt usr/share/doc/phylip/examples/testdata/neighbor/neighborinfile.txt
2296-phylip: duplicate-files usr/share/doc/phylip/examples/testdata/dnacomp/dnacompinfile.txt usr/share/doc/phylip/examples/testdata/dnapars/dnaparsinfile.txt
2297-phylip: duplicate-files usr/share/doc/phylip/examples/testdata/drawgram/mammal.txt usr/share/doc/phylip/examples/testdata/drawtree/mammal.txt
2298-phylip: duplicate-files usr/share/doc/phylip/examples/testdata/drawgram/14tip.txt usr/share/doc/phylip/examples/testdata/drawtree/14tip.txt
2299-phylip: duplicate-files usr/share/doc/phylip/examples/testdata/dnaml/dnamlcats.txt usr/share/doc/phylip/examples/testdata/dnamlk/dnamlkcats.txt usr/share/doc/phylip/examples/testdata/proml/promlcats.txt usr/share/doc/phylip/examples/testdata/promlk/promlkcats.txt usr/share/doc/phylip/examples/testdata/protdist/protdistcats.txt
2300-phylip: duplicate-files usr/share/doc/phylip/examples/testdata/drawgram/ape2.txt usr/share/doc/phylip/examples/testdata/drawtree/ape2.txt
2301-phylip: duplicate-files usr/share/doc/phylip/examples/testdata/dnaml/dnamlweights.txt usr/share/doc/phylip/examples/testdata/dnamlk/dnamlkweights.txt usr/share/doc/phylip/examples/testdata/proml/promlweights.txt usr/share/doc/phylip/examples/testdata/promlk/promlkweights.txt usr/share/doc/phylip/examples/testdata/protdist/protdistweights.txt
2302-phylip: duplicate-files usr/share/doc/phylip/examples/testdata/contml/contmlinfile.txt usr/share/doc/phylip/examples/testdata/gendist/gendistinfile.txt
2303-phylip: duplicate-files usr/share/doc/phylip/examples/testdata/dnaml/dnamlinfile.txt usr/share/doc/phylip/examples/testdata/dnamlk/dnamlkinfile.txt usr/share/doc/phylip/examples/testdata/proml/promlinfile.txt usr/share/doc/phylip/examples/testdata/promlk/promlkinfile.txt
2304-phylip: duplicate-files usr/share/doc/phylip/examples/testdata/restdist/restdistoutfile.txt usr/share/doc/phylip/examples/testdata/restml/restmloutfile.txt
2305-phylip: duplicate-files usr/share/doc/phylip/examples/testdata/clique/cliqueinfile.txt usr/share/doc/phylip/examples/testdata/dolmove/dolmoveinfile.txt usr/share/doc/phylip/examples/testdata/move/moveinfile.txt
2306-phylip: duplicate-files usr/share/doc/phylip/examples/testdata/drawgram/cats.txt usr/share/doc/phylip/examples/testdata/drawtree/cats.txt
2307-phylip: duplicate-files usr/share/doc/phylip/examples/testdata/drawgram/ape1.txt usr/share/doc/phylip/examples/testdata/drawtree/ape1.txt
2308-phylip: duplicate-files usr/share/doc/phylip/examples/testdata/restdist/restdistinfile.txt usr/share/doc/phylip/examples/testdata/restml/restmlinfile.txt
2309+phylip: hardening-no-fortify-functions usr/lib/phylip/bin/*
2310+phylip: hardening-no-fortify-functions usr/lib/libdraw*.so
2311+phylip: package-name-doesnt-match-sonames libdrawgram libdrawtree
2312+phylip: shlib-without-versioned-soname usr/lib/libdraw*.so libdraw*.so
2313+phylip: no-symbols-control-file usr/lib/libdraw*.so
2314
2315=== added file 'debian/phylip.postinst'
2316--- debian/phylip.postinst 1970-01-01 00:00:00 +0000
2317+++ debian/phylip.postinst 2015-04-04 21:58:41 +0000
2318@@ -0,0 +1,13 @@
2319+#!/bin/sh
2320+
2321+set -e
2322+
2323+case "$1" in
2324+ configure)
2325+ ldconfig
2326+ ;;
2327+ *)
2328+ ;;
2329+esac
2330+
2331+#DEBHELPER#
2332
2333=== added file 'debian/phylip.postrm'
2334--- debian/phylip.postrm 1970-01-01 00:00:00 +0000
2335+++ debian/phylip.postrm 2015-04-04 21:58:41 +0000
2336@@ -0,0 +1,13 @@
2337+#!/bin/sh
2338+
2339+set -e
2340+
2341+case "$1" in
2342+ remove)
2343+ ldconfig
2344+ ;;
2345+ *)
2346+ ;;
2347+esac
2348+
2349+#DEBHELPER#
2350
2351=== modified file 'debian/rules'
2352--- debian/rules 2013-08-07 22:17:03 +0000
2353+++ debian/rules 2015-04-04 21:58:41 +0000
2354@@ -2,14 +2,24 @@
2355 # debian/rules for phylip using dh
2356 # Andreas Tille <tille@debian.org>, GPL
2357
2358+DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
2359+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
2360+LIBDIR := $(CURDIR)/debian/$(DEBPKGNAME)/usr/lib/ # $(DEB_HOST_MULTIARCH)
2361+
2362+export JAVA_HOME=/usr/lib/jvm/default-java
2363+
2364 %:
2365- dh $@
2366+ dh $@ --with javahelper
2367
2368 override_dh_auto_build:
2369 dh_auto_build --sourcedirectory=src --buildsystem=makefile -- -f Makefile.unx all
2370+ cp debian/build.xml build.xml
2371+ ant
2372
2373 override_dh_auto_install:
2374 dh_auto_install --sourcedirectory=src --buildsystem=makefile -- -f Makefile.unx install DATADIR=../fonts
2375+# mkdir -p $(LIBDIR)
2376+# cp -a src/lib*.so* $(LIBDIR)
2377
2378 override_dh_installexamples:
2379 dh_installexamples
2380@@ -17,4 +27,11 @@
2381
2382 override_dh_auto_clean:
2383 dh_auto_clean --sourcedirectory=src --buildsystem=makefile -- -f Makefile.unx clean
2384- rm -fr exe/* fonts/ src/*.so
2385+ rm -fr exe/* fonts/ src/*.so*
2386+ if [ -e build.xml ] ; then \
2387+ ant clean ; \
2388+ rm -rf dist build.xml ; \
2389+ fi
2390+
2391+get-orig-source:
2392+ uscan --verbose --force-download --repack --compress xz
2393
2394=== removed file 'debian/source/lintian-overrides'
2395--- debian/source/lintian-overrides 2013-08-07 22:17:03 +0000
2396+++ debian/source/lintian-overrides 1970-01-01 00:00:00 +0000
2397@@ -1,3 +0,0 @@
2398-# The package is non-free anyway - so why bothering touching the source
2399-phylip: source-contains-prebuilt-windows-binary src/javajars/DrawGramJava.exe
2400-phylip: source-contains-prebuilt-windows-binary src/javajars/DrawTreeJava.exe
2401
2402=== modified file 'debian/watch'
2403--- debian/watch 2009-09-11 08:00:10 +0000
2404+++ debian/watch 2015-04-04 21:58:41 +0000
2405@@ -1,3 +1,3 @@
2406 version=3
2407-
2408-http://evolution.gs.washington.edu/phylip/download/phylip-(.*)\.tar\.gz
2409+opts=uversionmangle=s/$/+dfsg/ \
2410+ http://evolution.gs.washington.edu/phylip/download/phylip-(.*)\.tar\.gz
2411
2412=== modified file 'doc/clique.html'
2413--- doc/clique.html 2009-09-11 08:00:10 +0000
2414+++ doc/clique.html 2015-04-04 21:58:41 +0000
2415@@ -10,17 +10,15 @@
2416 </HEAD>
2417 <BODY BGCOLOR="#ccffff">
2418 <DIV ALIGN=RIGHT>
2419-version 3.69
2420+version 3.696
2421 </DIV>
2422 <P>
2423 <DIV ALIGN=CENTER>
2424 <H1>Clique -- Compatibility Program</H1>
2425 </DIV>
2426 <P>
2427-&#169; Copyright 1986-2008 by the University of
2428-Washington. Written by Joseph Felsenstein. Permission is granted to copy
2429-this document provided that no fee is charged for it and that this copyright
2430-notice is not removed.
2431+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2432+License terms <a href="main.html#copyright">here</a>.
2433 <P>
2434 This program uses the compatibility method for unrooted two-state
2435 characters to obtain the largest cliques of characters and the trees
2436
2437=== modified file 'doc/consense.html'
2438--- doc/consense.html 2009-09-11 08:00:10 +0000
2439+++ doc/consense.html 2015-04-04 21:58:41 +0000
2440@@ -10,17 +10,15 @@
2441 </HEAD>
2442 <BODY BGCOLOR="#ccffff">
2443 <DIV ALIGN=RIGHT>
2444-version 3.69
2445+version 3.696
2446 </DIV>
2447 <P>
2448 <DIV ALIGN=CENTER>
2449 <H1>Consense -- Consensus tree program</H1>
2450 </DIV>
2451 <P>
2452-&#169; Copyright 1986-2008 by The University of
2453-Washington. Written by Joseph Felsenstein. Permission is granted to copy
2454-this document provided that no fee is charged for it and that this copyright
2455-notice is not removed.
2456+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2457+License terms <a href="main.html#copyright">here</a>.
2458 <P>
2459 Consense reads a file of computer-readable trees and prints
2460 out (and may also write out onto a file) a consensus tree. At the moment
2461
2462=== modified file 'doc/contchar.html'
2463--- doc/contchar.html 2009-09-11 08:00:10 +0000
2464+++ doc/contchar.html 2015-04-04 21:58:41 +0000
2465@@ -10,17 +10,15 @@
2466 </HEAD>
2467 <BODY BGCOLOR="#ccffff">
2468 <DIV ALIGN=RIGHT>
2469-version 3.69
2470+version 3.696
2471 </DIV>
2472 <P>
2473 <DIV ALIGN=CENTER>
2474 <H1>Gene Frequencies and Continuous Character Data Programs</H1>
2475 </DIV>
2476 <P>
2477-&#169; Copyright 1986-2008 by the University of
2478-Washington. Written by Joseph Felsenstein. Permission is granted to copy
2479-this document provided that no fee is charged for it and that this copyright
2480-notice is not removed.
2481+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2482+License terms <a href="main.html#copyright">here</a>.
2483 <P>
2484 The programs in this group
2485 use gene frequencies and quantitative character values. One (Contml)
2486
2487=== modified file 'doc/contml.html'
2488--- doc/contml.html 2009-09-11 08:00:10 +0000
2489+++ doc/contml.html 2015-04-04 21:58:41 +0000
2490@@ -10,17 +10,15 @@
2491 </HEAD>
2492 <BODY BGCOLOR="#ccffff">
2493 <DIV ALIGN=RIGHT>
2494-version 3.69
2495+version 3.696
2496 </DIV>
2497 <P>
2498 <DIV ALIGN=CENTER>
2499 <H1>Contml - Gene Frequencies and Continuous Characters Maximum Likelihood method</H1>
2500 </DIV>
2501 <P>
2502-&#169; Copyright 1986-2008 by the University of
2503-Washington. Written by Joseph Felsenstein. Permission is granted to copy
2504-this document provided that no fee is charged for it and that this copyright
2505-notice is not removed.
2506+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2507+License terms <a href="main.html#copyright">here</a>.
2508 <P>
2509 This program estimates phylogenies by the restricted maximum likelihood method
2510 based on the Brownian motion model. It is based on the model of Edwards and
2511
2512=== modified file 'doc/contrast.html'
2513--- doc/contrast.html 2009-09-11 08:00:10 +0000
2514+++ doc/contrast.html 2015-04-04 21:58:41 +0000
2515@@ -10,7 +10,7 @@
2516 </HEAD>
2517 <BODY BGCOLOR="#ccffff">
2518 <DIV ALIGN=RIGHT>
2519-version 3.69
2520+version 3.696
2521 </DIV>
2522 <P>
2523 <DIV ALIGN=CENTER>
2524@@ -20,10 +20,8 @@
2525 <PRE>
2526 </PRE>
2527 <P>
2528-&#169; Copyright 1991-2008 by the University of
2529-Washington. Written by Joseph Felsenstein. Permission is granted to copy
2530-this document provided that no fee is charged for it and that this copyright
2531-notice is not removed.
2532+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2533+License terms <a href="main.html#copyright">here</a>.
2534 <P>
2535 This program implements the contrasts calculation described in my 1985
2536 paper on the comparative method (Felsenstein, 1985d). It reads in a
2537
2538=== modified file 'doc/discrete.html'
2539--- doc/discrete.html 2009-09-11 08:00:10 +0000
2540+++ doc/discrete.html 2015-04-04 21:58:41 +0000
2541@@ -10,17 +10,15 @@
2542 </HEAD>
2543 <BODY BGCOLOR="#ccffff">
2544 <DIV ALIGN=RIGHT>
2545-version 3.69
2546+version 3.696
2547 </DIV>
2548 <P>
2549 <DIV ALIGN=CENTER>
2550 <H1>DOCUMENTATION FOR (0,1) DISCRETE CHARACTER PROGRAMS</H1>
2551 </DIV>
2552 <P>
2553-&#169; Copyright 1986-2008 by the University of
2554-Washington. Written by Joseph Felsenstein. Permission is granted to copy
2555-this document provided that no fee is charged for it and that this copyright
2556-notice is not removed.
2557+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2558+License terms <a href="main.html#copyright">here</a>.
2559 <P>
2560 These programs are intended for the use of morphological
2561 systematists who are dealing with discrete characters,
2562
2563=== modified file 'doc/distance.html'
2564--- doc/distance.html 2009-09-11 08:00:10 +0000
2565+++ doc/distance.html 2015-04-04 21:58:41 +0000
2566@@ -10,17 +10,15 @@
2567 </HEAD>
2568 <BODY BGCOLOR="#ccffff">
2569 <DIV ALIGN=RIGHT>
2570-version 3.69
2571+version 3.696
2572 </DIV>
2573 <P>
2574 <DIV ALIGN=CENTER>
2575 <H1>Distance matrix programs</H1>
2576 </DIV>
2577 <P>
2578-&#169; Copyright 1986-2008 by the University of Washington. Written by Joseph
2579-Felsenstein. Permission is granted to copy
2580-this document provided that no fee is charged for it and that this copyright
2581-notice is not removed.
2582+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2583+License terms <a href="main.html#copyright">here</a>.
2584 <P>
2585 The programs Fitch, Kitsch, and Neighbor are for dealing with data which
2586 comes in the form of a matrix of pairwise distances between all pairs of taxa,
2587
2588=== modified file 'doc/dnacomp.html'
2589--- doc/dnacomp.html 2009-09-11 08:00:10 +0000
2590+++ doc/dnacomp.html 2015-04-04 21:58:41 +0000
2591@@ -10,17 +10,15 @@
2592 </HEAD>
2593 <BODY BGCOLOR="#ccffff">
2594 <DIV ALIGN=RIGHT>
2595-version 3.69
2596+version 3.696
2597 </DIV>
2598 <P>
2599 <DIV ALIGN=CENTER>
2600 <H1>Dnacomp -- DNA Compatibility Program</H1>
2601 </DIV>
2602 <P>
2603-&#169; Copyright 1986-2008 by the University of
2604-Washington. Written by Joseph Felsenstein. Permission is granted to copy
2605-this document provided that no fee is charged for it and that this copyright
2606-notice is not removed.
2607+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2608+License terms <a href="main.html#copyright">here</a>.
2609 <P>
2610 </EM>
2611 This program implements the compatibility method for DNA sequence
2612
2613=== modified file 'doc/dnadist.html'
2614--- doc/dnadist.html 2009-09-11 08:00:10 +0000
2615+++ doc/dnadist.html 2015-04-04 21:58:41 +0000
2616@@ -10,7 +10,7 @@
2617 </HEAD>
2618 <BODY BGCOLOR="#ccffff">
2619 <DIV ALIGN=RIGHT>
2620-version 3.69
2621+version 3.696
2622 </DIV>
2623 <P>
2624 <DIV ALIGN=CENTER>
2625
2626=== modified file 'doc/dnainvar.html'
2627--- doc/dnainvar.html 2009-09-11 08:00:10 +0000
2628+++ doc/dnainvar.html 2015-04-04 21:58:41 +0000
2629@@ -10,7 +10,7 @@
2630 </HEAD>
2631 <BODY BGCOLOR="#ccffff">
2632 <DIV ALIGN=RIGHT>
2633-version 3.69
2634+version 3.696
2635 </DIV>
2636 <P>
2637 <DIV ALIGN=CENTER>
2638@@ -18,10 +18,8 @@
2639 phylogenetic invariants from nucleotide sequences</H1>
2640 </DIV>
2641 <P>
2642-&#169; Copyright 1986-2008 by the University of Washington.
2643-Written by Joseph Felsenstein. Permission is granted to copy
2644-this document provided that no fee is charged for it and that this copyright
2645-notice is not removed.
2646+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2647+License terms <a href="main.html#copyright">here</a>.
2648 <P>
2649 This program reads in nucleotide sequences for four species and computes
2650 the phylogenetic invariants discovered by James Cavender (Cavender and
2651
2652=== modified file 'doc/dnaml.html'
2653--- doc/dnaml.html 2009-09-11 08:00:10 +0000
2654+++ doc/dnaml.html 2015-04-04 21:58:41 +0000
2655@@ -10,17 +10,15 @@
2656 </HEAD>
2657 <BODY BGCOLOR="#ccffff">
2658 <DIV ALIGN=RIGHT>
2659-version 3.69
2660+version 3.696
2661 </DIV>
2662 <P>
2663 <DIV ALIGN=CENTER>
2664 <H1>Dnaml -- DNA Maximum Likelihood program</H1>
2665 </DIV>
2666 <P>
2667-&#169; Copyright 1986-2008 by the University of
2668-Washington. Written by Joseph Felsenstein. Permission is granted to copy
2669-this document provided that no fee is charged for it and that this copyright
2670-notice is not removed.
2671+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2672+License terms <a href="main.html#copyright">here</a>.
2673 <P>
2674 This program implements the maximum likelihood method for DNA
2675 sequences. The
2676
2677=== modified file 'doc/dnamlk.html'
2678--- doc/dnamlk.html 2009-09-11 08:00:10 +0000
2679+++ doc/dnamlk.html 2015-04-04 21:58:41 +0000
2680@@ -10,17 +10,15 @@
2681 </HEAD>
2682 <BODY BGCOLOR="#ccffff">
2683 <DIV ALIGN=RIGHT>
2684-version 3.69
2685+version 3.696
2686 </DIV>
2687 <P>
2688 <DIV ALIGN=CENTER>
2689 <H1>Dnamlk -- DNA Maximum Likelihood program<BR>with molecular clock</H1>
2690 </DIV>
2691 <P>
2692-&#169; Copyright 1986-2008 by the University of
2693-Washington. Written by Joseph Felsenstein. Permission is granted to copy
2694-this document provided that no fee is charged for it and that this copyright
2695-notice is not removed.
2696+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2697+License terms <a href="main.html#copyright">here</a>.
2698 <P>
2699 This program implements the maximum likelihood method for DNA
2700 sequences under the constraint that the trees estimated must be
2701
2702=== modified file 'doc/dnamove.html'
2703--- doc/dnamove.html 2009-09-11 08:00:10 +0000
2704+++ doc/dnamove.html 2015-04-04 21:58:41 +0000
2705@@ -10,17 +10,15 @@
2706 </HEAD>
2707 <BODY BGCOLOR="#ccffff">
2708 <DIV ALIGN=RIGHT>
2709-version 3.69
2710+version 3.696
2711 </DIV>
2712 <P>
2713 <DIV ALIGN=CENTER>
2714 <H1>Dnamove - Interactive DNA parsimony</H1>
2715 </DIV>
2716 <P>
2717-&#169; Copyright 1986-2008 by the University of
2718-Washington. Written by Joseph Felsenstein. Permission is granted to copy
2719-this document provided that no fee is charged for it and that this copyright
2720-notice is not removed.
2721+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2722+License terms <a href="main.html#copyright">here</a>.
2723 <P>
2724 Dnamove is an interactive DNA parsimony program, inspired by Wayne Maddison and
2725 David and Wayne Maddison's marvellous program MacClade, which is written for
2726
2727=== modified file 'doc/dnapars.html'
2728--- doc/dnapars.html 2009-09-11 08:00:10 +0000
2729+++ doc/dnapars.html 2015-04-04 21:58:41 +0000
2730@@ -11,17 +11,15 @@
2731 <BODY BGCOLOR="#ccffff">
2732 <P>
2733 <DIV ALIGN=RIGHT>
2734-version 3.69
2735+version 3.696
2736 </DIV>
2737 <P>
2738 <DIV ALIGN=CENTER>
2739 <H1>Dnapars -- DNA Parsimony Program</H1>
2740 </DIV>
2741 <P>
2742-&#169; Copyright 1986-2008 by The University of
2743-Washington. Written by Joseph Felsenstein. Permission is granted to copy
2744-this document provided that no fee is charged for it and that this copyright
2745-notice is not removed.
2746+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2747+License terms <a href="main.html#copyright">here</a>.
2748 <P>
2749 This program carries out unrooted parsimony (analogous to Wagner
2750 trees) (Eck and Dayhoff, 1966; Kluge and Farris, 1969) on DNA
2751
2752=== modified file 'doc/dnapenny.html'
2753--- doc/dnapenny.html 2009-09-11 08:00:10 +0000
2754+++ doc/dnapenny.html 2015-04-04 21:58:41 +0000
2755@@ -10,7 +10,7 @@
2756 </HEAD>
2757 <BODY BGCOLOR="#ccffff">
2758 <DIV ALIGN=RIGHT>
2759-version 3.69
2760+version 3.696
2761 </DIV>
2762 <P>
2763 <DIV ALIGN=CENTER>
2764@@ -19,10 +19,8 @@
2765 for nucleic acid sequence parsimony criteria</H1>
2766 </DIV>
2767 <P>
2768-&#169; Copyright 1986-2008 by The University of
2769-Washington. Written by Joseph Felsenstein. Permission is granted to copy
2770-this document provided that no fee is charged for it and that this copyright
2771-notice is not removed.
2772+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2773+License terms <a href="main.html#copyright">here</a>.
2774 <P>
2775 Dnapenny is a program that will find all of the most parsimonious trees
2776 implied by your data when the nucleic acid sequence parsimony criterion is
2777
2778=== modified file 'doc/dollop.html'
2779--- doc/dollop.html 2009-09-11 08:00:10 +0000
2780+++ doc/dollop.html 2015-04-04 21:58:41 +0000
2781@@ -10,17 +10,15 @@
2782 </HEAD>
2783 <BODY BGCOLOR="#ccffff">
2784 <DIV ALIGN=RIGHT>
2785-version 3.69
2786+version 3.696
2787 </DIV>
2788 <P>
2789 <DIV ALIGN=CENTER>
2790 <H1>Dollop -- Dollo and Polymorphism Parsimony Program</H1>
2791 </DIV>
2792 <P>
2793-&#169; Copyright 1986-2008 by the University of
2794-Washington. Written by Joseph Felsenstein. Permission is granted to copy
2795-this document provided that no fee is charged for it and that this copyright
2796-notice is not removed.
2797+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2798+License terms <a href="main.html#copyright">here</a>.
2799 <P>
2800 This program carries out the Dollo and polymorphism parsimony methods. The
2801 Dollo parsimony method was
2802
2803=== modified file 'doc/dolmove.html'
2804--- doc/dolmove.html 2009-09-11 08:00:10 +0000
2805+++ doc/dolmove.html 2015-04-04 21:58:41 +0000
2806@@ -10,7 +10,7 @@
2807 </HEAD>
2808 <BODY BGCOLOR="#ccffff">
2809 <DIV ALIGN=RIGHT>
2810-version 3.69
2811+version 3.696
2812 </DIV>
2813 <P>
2814 <DIV ALIGN=CENTER>
2815@@ -18,10 +18,8 @@
2816 </DIV>
2817 </PRE>
2818 <P>
2819-&#169; Copyright 1986-2008 by the University of
2820-Washington. Written by Joseph Felsenstein. Permission is granted to copy
2821-this document provided that no fee is charged for it and that this copyright
2822-notice is not removed.
2823+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2824+License terms <a href="main.html#copyright">here</a>.
2825 <P>
2826 Dolmove is an interactive parsimony program which uses the Dollo and
2827 Polymorphism parsimony criteria. It was inspired by Wayne Maddison and
2828
2829=== modified file 'doc/dolpenny.html'
2830--- doc/dolpenny.html 2009-09-11 08:00:10 +0000
2831+++ doc/dolpenny.html 2015-04-04 21:58:41 +0000
2832@@ -10,7 +10,7 @@
2833 </HEAD>
2834 <BODY BGCOLOR="#ccffff">
2835 <DIV ALIGN=RIGHT>
2836-version 3.69
2837+version 3.696
2838 </DIV>
2839 <P>
2840 <DIV ALIGN=CENTER>
2841@@ -18,10 +18,8 @@
2842 for Dollo, polymorphism parsimony criteria</H1>
2843 </DIV>
2844 <P>
2845-&#169; Copyright 1986-2008 by the University of
2846-Washington. Written by Joseph Felsenstein. Permission is granted to copy
2847-this document provided that no fee is charged for it and that this copyright
2848-notice is not removed.
2849+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2850+License terms <a href="main.html#copyright">here</a>.
2851 <P>
2852 Dolpenny is a program that will find all of the most parsimonious trees
2853 implied by your data when the Dollo or polymorphism parsimony criteria are
2854
2855=== modified file 'doc/draw.html'
2856--- doc/draw.html 2013-08-07 22:17:03 +0000
2857+++ doc/draw.html 2015-04-04 21:58:41 +0000
2858@@ -10,17 +10,16 @@
2859 </HEAD>
2860 <BODY BGCOLOR="#ccffff">
2861 <DIV ALIGN=RIGHT>
2862-version 3.695
2863+version 3.696
2864 </DIV>
2865 <P>
2866 <DIV ALIGN=CENTER>
2867 <H1>Drawtree and Drawgram</H1>
2868 </DIV>
2869 <P>
2870-&#169; Copyright 1986-2013 by The University of
2871-Washington. Written by Joseph Felsenstein. Permission is granted to copy
2872-this document provided that no fee is charged for it and that this copyright
2873-notice is not removed.
2874+Written by Joseph Felsenstein and James McGill.<br>
2875+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2876+License terms <a href="main.html#copyright">here</a>.
2877 <P>
2878 Drawtree and Drawgram are interactive tree-plotting programs that take a
2879 tree description in a file and read it, and then let you interactively make
2880
2881=== modified file 'doc/drawgram.html'
2882--- doc/drawgram.html 2013-08-07 22:17:03 +0000
2883+++ doc/drawgram.html 2015-04-04 21:58:41 +0000
2884@@ -10,17 +10,16 @@
2885 </HEAD>
2886 <BODY BGCOLOR="#ccffff">
2887 <DIV ALIGN=RIGHT>
2888-version 3.695
2889+version 3.696
2890 </DIV>
2891 <P>
2892 <DIV ALIGN=CENTER>
2893 <H1>Drawgram</H1>
2894 </DIV>
2895 <P>
2896-&#169; Copyright 1990-2013 by The University of
2897-Washington. Written by Joseph Felsenstein and Jim McGill. Permission is granted to copy
2898-this document provided that no fee is charged for it and that this copyright
2899-notice is not removed.
2900+Written by Joseph Felsenstein and James McGill.<br>
2901+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2902+License terms <a href="main.html#copyright">here</a>.
2903 </P>
2904 <P>
2905 Drawgram interactively plots a cladogram- or phenogram-like rooted tree
2906
2907=== modified file 'doc/drawtree.html'
2908--- doc/drawtree.html 2013-08-07 22:17:03 +0000
2909+++ doc/drawtree.html 2015-04-04 21:58:41 +0000
2910@@ -18,10 +18,9 @@
2911 </DIV>
2912 </p>
2913 <P>
2914-&#169; Copyright 1990-2013 by The University of
2915-Washington. Written by Joseph Felsenstein and Jim McGill. Permission is granted to copy
2916-this document provided that no fee is charged for it and that this copyright
2917-notice is not removed.
2918+Written by Joseph Felsenstein and James McGill.<br>
2919+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2920+License terms <a href="main.html#copyright">here</a>.
2921 </P>
2922 <P>
2923 Drawtree interactively plots an unrooted tree diagram, with many options
2924
2925=== modified file 'doc/factor.html'
2926--- doc/factor.html 2009-09-11 08:00:10 +0000
2927+++ doc/factor.html 2015-04-04 21:58:41 +0000
2928@@ -10,17 +10,15 @@
2929 </HEAD>
2930 <BODY BGCOLOR="#ccffff">
2931 <DIV ALIGN=RIGHT>
2932-version 3.69
2933+version 3.696
2934 </DIV>
2935 <P>
2936 <DIV ALIGN=CENTER>
2937 <H1>Factor - Program to factor multistate characters.</H1>
2938 </DIV>
2939 <P>
2940-&#169; Copyright 1986-2008 by The University of Washington. Written by
2941-Christopher Meacham and Joseph Felsenstein. Permission is granted
2942-to copy this document provided that no fee is charged for it and that this
2943-copyright notice is not removed.
2944+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2945+License terms <a href="main.html#copyright">here</a>.
2946 <P>
2947 This program factors a data set that contains multistate
2948 characters, creating a data set consisting entirely of binary (0,1)
2949
2950=== modified file 'doc/fitch.html'
2951--- doc/fitch.html 2009-09-11 08:00:10 +0000
2952+++ doc/fitch.html 2015-04-04 21:58:41 +0000
2953@@ -10,17 +10,15 @@
2954 </HEAD>
2955 <BODY BGCOLOR="#ccffff">
2956 <DIV ALIGN=RIGHT>
2957-version 3.69
2958+version 3.696
2959 </DIV>
2960 <P>
2961 <DIV ALIGN=CENTER>
2962 <H1>Fitch -- Fitch-Margoliash and Least-Squares Distance Methods</H1>
2963 </DIV>
2964 <P>
2965-&#169; Copyright 1986-2008 by the University of
2966-Washington. Written by Joseph Felsenstein. Permission is granted to copy
2967-this document provided that no fee is charged for it and that this copyright
2968-notice is not removed.
2969+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2970+License terms <a href="main.html#copyright">here</a>.
2971 <P>
2972 This program carries out Fitch-Margoliash, Least Squares,
2973 and a number of similar methods as described in the documentation
2974
2975=== modified file 'doc/gendist.html'
2976--- doc/gendist.html 2009-09-11 08:00:10 +0000
2977+++ doc/gendist.html 2015-04-04 21:58:41 +0000
2978@@ -10,17 +10,15 @@
2979 </HEAD>
2980 <BODY BGCOLOR="#ccffff">
2981 <DIV ALIGN=RIGHT>
2982-version 3.69
2983+version 3.696
2984 </DIV>
2985 <P>
2986 <DIV ALIGN=CENTER>
2987 <H1>Gendist - Compute genetic distances from gene frequencies</H1>
2988 </DIV>
2989 <P>
2990-&#169; Copyright 1986-2008 by the University of
2991-Washington. Written by Joseph Felsenstein. Permission is granted to copy
2992-this document provided that no fee is charged for it and that this copyright
2993-notice is not removed.
2994+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
2995+License terms <a href="main.html#copyright">here</a>.
2996 <P>
2997 This program computes any one of three measures of genetic distance from a set
2998 of gene frequencies in different populations (or species). The three are
2999
3000=== modified file 'doc/kitsch.html'
3001--- doc/kitsch.html 2009-09-11 08:00:10 +0000
3002+++ doc/kitsch.html 2015-04-04 21:58:41 +0000
3003@@ -10,7 +10,7 @@
3004 </HEAD>
3005 <BODY BGCOLOR="#ccffff">
3006 <DIV ALIGN=RIGHT>
3007-version 3.69
3008+version 3.696
3009 </DIV>
3010 <P>
3011 <DIV ALIGN=CENTER>
3012@@ -18,10 +18,8 @@
3013 with Evolutionary Clock</H1>
3014 </DIV>
3015 <P>
3016-&#169; Copyright 1986-2008 by the University of
3017-Washington. Written by Joseph Felsenstein. Permission is granted to copy
3018-this document provided that no fee is charged for it and that this copyright
3019-notice is not removed.
3020+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
3021+License terms <a href="main.html#copyright">here</a>.
3022 <P>
3023 This program carries out the Fitch-Margoliash and Least Squares methods,
3024 plus a variety of others of the same family, with the assumption that all
3025@@ -38,7 +36,7 @@
3026 <TABLE><TR><TD BGCOLOR=white>
3027 <PRE>
3028
3029-Fitch-Margoliash method with contemporary tips, version 3.69
3030+Fitch-Margoliash method with contemporary tips, version 3.696
3031
3032 Settings for this run:
3033 D Method (F-M, Minimum Evolution)? Fitch-Margoliash
3034
3035=== modified file 'doc/main.html'
3036--- doc/main.html 2013-08-07 22:17:03 +0000
3037+++ doc/main.html 2015-04-04 21:58:41 +0000
3038@@ -16,9 +16,9 @@
3039 <P>
3040 <IMG SRC="phylip.gif" ALT="PHYLIP Logo">
3041 <P>
3042-<H3>Version 3.695</H3>
3043+<H3>Version 3.696</H3>
3044 <P>
3045-<H3>April, 2013</H3>
3046+<H3>September, 2014</H3>
3047 <P>
3048 <H2>by Joseph Felsenstein</H2>
3049 <P>
3050@@ -260,23 +260,36 @@
3051 <DIV ALIGN="CENTER">
3052 <H2>Copyright Notice for PHYLIP</H2></DIV>
3053 <P>
3054-The following copyright notice is intended to cover all source code, all
3055-documentation, and all executable programs of the PHYLIP package.
3056-<P>
3057-&#169; Copyright 1980-2013. University of Washington. All
3058-rights reserved. Permission is granted to reproduce, perform, and modify
3059-these programs and documentation files. Permission is granted to distribute
3060-or provide access to these
3061-programs provided that this copyright notice is not removed, the programs are
3062-not integrated with or called by any product or service that generates
3063-revenue, and that your distribution of these documentation files and programs
3064-are free. Any modified
3065-versions of these materials that are distributed or accessible shall indicate
3066-that they are based on these programs. Institutions of higher education are
3067-granted permission to distribute this material to their students and staff
3068-for a fee to recover distribution costs. Permission requests for any other
3069-distribution of these programs should be directed to <TT>&nbsp;license<!deathtospam>&nbsp;(at)&nbsp;<!deathtospam>u.washington.edu&nbsp;</TT>.
3070-<BR>
3071+The following copyright notice given below is intended to cover all source code, all
3072+documentation, and all executable programs of the PHYLIP package. This is
3073+a "BSD 2-Clause License" which is open source. It is not a GNU license and
3074+does not insist that other materials distributed with PHYLIP be under a similar
3075+license.
3076+<P>
3077+&#169; Copyright 1980-2014, Joseph Felsenstein<BR>
3078+All rights reserved.
3079+<P>
3080+Redistribution and use in source and binary forms, with or without
3081+modification, are permitted provided that the following conditions are met:
3082+<P>
3083+1. Redistributions of source code must retain the above copyright notice, this
3084+list of conditions and the following disclaimer.
3085+<P>
3086+2. Redistributions in binary form must reproduce the above copyright notice,
3087+this list of conditions and the following disclaimer in the documentation
3088+and/or other materials provided with the distribution.
3089+<P>
3090+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
3091+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
3092+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
3093+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
3094+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
3095+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
3096+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
3097+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
3098+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3099+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3100+<P>
3101 </TD></TR></TABLE></DIV>
3102
3103 <BR>
3104@@ -1431,7 +1444,7 @@
3105 <P>
3106 <TABLE><TR><TD BGCOLOR=white>
3107 <PRE>
3108-DNA parsimony algorithm, version 3.7a
3109+DNA parsimony algorithm, version 3.695
3110
3111 Setting for this run:
3112 U Search for best tree? Yes
3113@@ -3532,7 +3545,7 @@
3114 instructions will work for it.
3115 <P>
3116 After you have finished unpacking the Documentation and Source Code
3117-archive, you will find that you have created a folder <TT>phylip-3.7a</TT>
3118+archive, you will find that you have created a folder <TT>phylip-3.6</TT>
3119 in which there are three
3120 folders, called <TT>exe</TT>, <TT>src</TT>, and <TT>doc</TT>.
3121 There is also an HTML web page, <TT>phylip.html</TT>. The <TT>exe</TT>
3122@@ -3595,7 +3608,7 @@
3123 by <TT>gcc</TT>. You would then need to edit the Makefile to reflect this
3124 (see below for comments on that process).
3125 <P>
3126-A typical Unix or Linux installation would put the directory <TT>phylip-3.7a</TT>
3127+A typical Unix or Linux installation would put the directory <TT>phylip-3.6</TT>
3128 in <TT>/usr/local</TT>. The name of the executables directory <TT>EXEDIR</TT>
3129 could be changed to be <TT>/usr/local/bin</TT>, so that the <TT>make install</TT>
3130 command puts the executables there. If the users have <TT>/usr/local/bin</TT>
3131@@ -3708,7 +3721,7 @@
3132 "fred" on a Windows xp system, and have extracted our self-extracting
3133 archive of the Sources and Documentation files onto your desktop,
3134 you will want to change folders by typing the command
3135- <tt>&nbsp;&nbsp;cd C:/"Documents and Settings"/fred/phylip3.7a&nbsp;&nbsp;</tt>
3136+ <tt>&nbsp;&nbsp;cd C:/"Documents and Settings"/fred/phylip3.6&nbsp;&nbsp;</tt>
3137 <P>
3138 <LI> Make sure that there is a folder there called <tt>exe</tt> as well as
3139 one called <tt>src</tt>. The former is where the executables will be
3140@@ -4040,7 +4053,7 @@
3141 <A NAME="vax"><H3>VMS VAX systems</H3></a>
3142 <P>
3143 VMS VAX systems have almost disappeared, so
3144-we have not tried to compile version 3.7a on an OpenVMS system. The
3145+we have not tried to compile version 3.695 on an OpenVMS system. The
3146 following instructions should work.
3147 On the OpenVMS operating system with DEC VAX VMS C the programs will compile
3148 without alteration. The commands for compiling a typical program
3149@@ -4330,7 +4343,7 @@
3150 There is no executable program
3151 named <TT>PHYLIP</TT> in the PHYLIP package! But in some cases
3152 (especially the Windows distribution) there is a file called
3153-<TT>phylip-3.7a.exe</TT>.
3154+<TT>phylip-3.695.exe</TT>.
3155 That file is an archive of documentation and source code. Once you have
3156 run it and extracted the files in it, so that they are in the folder,
3157 running it again will just do the extraction again, which is unnecessary.
3158@@ -4749,7 +4762,7 @@
3159 writing?"</STRONG>
3160 <DD>One way is like this:
3161 <P>
3162-Felsenstein, J. 2009. PHYLIP (Phylogeny Inference Package) version 3.7a.
3163+Felsenstein, J. 2009. PHYLIP (Phylogeny Inference Package) version 3.695.
3164 <I>Distributed by the author. Department of Genome Sciences, University of
3165 Washington, Seattle.</I>
3166 <P>
3167
3168=== modified file 'doc/mix.html'
3169--- doc/mix.html 2009-09-11 08:00:10 +0000
3170+++ doc/mix.html 2015-04-04 21:58:41 +0000
3171@@ -10,17 +10,15 @@
3172 </HEAD>
3173 <BODY BGCOLOR="#ccffff">
3174 <DIV ALIGN=RIGHT>
3175-version 3.69
3176+version 3.696
3177 </DIV>
3178 <P>
3179 <DIV ALIGN=CENTER>
3180 <H1>Mix - Mixed method discrete characters parsimony</H1>
3181 </DIV>
3182 <P>
3183-&#169; Copyright 1986-2008 by the University of
3184-Washington. Written by Joseph Felsenstein. Permission is granted to copy
3185-this document provided that no fee is charged for it and that this copyright
3186-notice is not removed.
3187+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
3188+License terms <a href="main.html#copyright">here</a>.
3189 <P>
3190 Mix is a general parsimony program which carries out the Wagner and
3191 Camin-Sokal parsimony methods in mixture, where each character can have
3192
3193=== modified file 'doc/move.html'
3194--- doc/move.html 2009-09-11 08:00:10 +0000
3195+++ doc/move.html 2015-04-04 21:58:41 +0000
3196@@ -10,17 +10,15 @@
3197 </HEAD>
3198 <BODY BGCOLOR="#ccffff">
3199 <DIV ALIGN=RIGHT>
3200-version 3.69
3201+version 3.696
3202 </DIV>
3203 <P>
3204 <DIV ALIGN=CENTER>
3205 <H1>Move - Interactive mixed method parsimony</H1>
3206 </DIV>
3207 <P>
3208-&#169; Copyright 1986-2008 by the University of
3209-Washington. Written by Joseph Felsenstein. Permission is granted to copy
3210-this document provided that no fee is charged for it and that this copyright
3211-notice is not removed.
3212+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
3213+License terms <a href="main.html#copyright">here</a>.
3214 <P>
3215 Move is an interactive parsimony program, inspired by Wayne Maddison and
3216 David Maddison's marvellous program MacClade, which was written for
3217@@ -55,7 +53,7 @@
3218 <TABLE><TR><TD BGCOLOR=white>
3219 <PRE>
3220
3221-Interactive mixed parsimony algorithm, version 3.69
3222+Interactive mixed parsimony algorithm, version 3.696
3223
3224 Settings for this run:
3225 X Use Mixed method? No
3226
3227=== modified file 'doc/neighbor.html'
3228--- doc/neighbor.html 2013-08-07 22:17:03 +0000
3229+++ doc/neighbor.html 2015-04-04 21:58:41 +0000
3230@@ -10,17 +10,15 @@
3231 </HEAD>
3232 <BODY BGCOLOR="#ccffff">
3233 <DIV ALIGN=RIGHT>
3234-version 3.69
3235+version 3.696
3236 </DIV>
3237 <P>
3238 <DIV ALIGN=CENTER>
3239 <H1>Neighbor -- Neighbor-Joining and UPGMA methods</H1>
3240 </DIV>
3241 <P>
3242-&#169; Copyright 1991-2012 by the University of
3243-Washington. Written by Joseph Felsenstein. Permission is granted to copy
3244-this document provided that no fee is charged for it and that this copyright
3245-notice is not removed.
3246+&#169; Copyright 1991-2014 by Joseph Felsenstein. All rights reserved.
3247+License terms <a href="main.html#copyright">here</a>.
3248 <P>
3249 This program implements the Neighbor-Joining method of Saitou and Nei (1987)
3250 and the UPGMA method of clustering. The program was written by Mary Kuhner
3251
3252=== modified file 'doc/pars.html'
3253--- doc/pars.html 2009-09-11 08:00:10 +0000
3254+++ doc/pars.html 2015-04-04 21:58:41 +0000
3255@@ -10,17 +10,15 @@
3256 </HEAD>
3257 <BODY BGCOLOR="#ccffff">
3258 <DIV ALIGN=RIGHT>
3259-version 3.69
3260+version 3.696
3261 </DIV>
3262 <P>
3263 <DIV ALIGN=CENTER>
3264 <H1>Pars - Discrete character parsimony</H1>
3265 </DIV>
3266 <P>
3267-&#169; Copyright 1986-2008 by the University of
3268-Washington. Written by Joseph Felsenstein. Permission is granted to copy
3269-this document provided that no fee is charged for it and that this copyright
3270-notice is not removed.
3271+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
3272+License terms <a href="main.html#copyright">here</a>.
3273 <P>
3274 Pars is a general parsimony program which carries out the Wagner
3275 parsimony method with multiple states. Wagner parsimony
3276
3277=== modified file 'doc/penny.html'
3278--- doc/penny.html 2009-09-11 08:00:10 +0000
3279+++ doc/penny.html 2015-04-04 21:58:41 +0000
3280@@ -10,17 +10,15 @@
3281 </HEAD>
3282 <BODY BGCOLOR="#ccffff">
3283 <DIV ALIGN=RIGHT>
3284-version 3.69
3285+version 3.696
3286 </DIV>
3287 <P>
3288 <DIV ALIGN=CENTER>
3289 <H1>Penny - Branch and bound to find<BR>all most parsimonious trees</H1>
3290 </DIV>
3291 <P>
3292-&#169; Copyright 1986-2008 by the University of
3293-Washington. Written by Joseph Felsenstein. Permission is granted to copy
3294-this document provided that no fee is charged for it and that this copyright
3295-notice is not removed.
3296+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
3297+License terms <a href="main.html#copyright">here</a>.
3298 <P>
3299 Penny is a program that will find all of the most parsimonious trees
3300 implied by your data. It does so not by examining all possible trees,
3301@@ -253,7 +251,7 @@
3302 <TABLE><TR><TD BGCOLOR=white>
3303 <PRE>
3304
3305-Penny algorithm, version 3.69
3306+Penny algorithm, version 3.696
3307 branch-and-bound to find all most parsimonious trees
3308
3309 Settings for this run:
3310
3311=== modified file 'doc/proml.html'
3312--- doc/proml.html 2009-09-11 08:00:10 +0000
3313+++ doc/proml.html 2015-04-04 21:58:41 +0000
3314@@ -10,17 +10,15 @@
3315 </HEAD>
3316 <BODY BGCOLOR="#ccffff">
3317 <DIV ALIGN=RIGHT>
3318-version 3.69
3319+version 3.696
3320 </DIV>
3321 <P>
3322 <DIV ALIGN=CENTER>
3323 <H1>Proml -- Protein Maximum Likelihood program</H1>
3324 </DIV>
3325 <P>
3326-&#169; Copyright 1986-2008 by the University of
3327-Washington. Written by Joseph Felsenstein. Permission is granted to copy
3328-this document provided that no fee is charged for it and that this copyright
3329-notice is not removed.
3330+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
3331+License terms <a href="main.html#copyright">here</a>.
3332 <P>
3333 This program implements the maximum likelihood method for protein
3334 amino acid sequences.
3335@@ -127,7 +125,7 @@
3336 <TABLE><TR><TD BGCOLOR=white>
3337 <PRE>
3338
3339-Amino acid sequence Maximum Likelihood method, version 3.69
3340+Amino acid sequence Maximum Likelihood method, version 3.696
3341
3342 Settings for this run:
3343 U Search for best tree? Yes
3344
3345=== modified file 'doc/promlk.html'
3346--- doc/promlk.html 2009-09-11 08:00:10 +0000
3347+++ doc/promlk.html 2015-04-04 21:58:41 +0000
3348@@ -10,17 +10,15 @@
3349 </HEAD>
3350 <BODY BGCOLOR="#ccffff">
3351 <DIV ALIGN=RIGHT>
3352-version 3.69
3353+version 3.696
3354 </DIV>
3355 <P>
3356 <DIV ALIGN=CENTER>
3357 <H1>Promlk -- Protein maximum likelihood program<BR>with molecular clock</H1>
3358 </DIV>
3359 <P>
3360-&#169; Copyright 2000-2008 by the University of
3361-Washington. Written by Joseph Felsenstein. Permission is granted to copy
3362-this document provided that no fee is charged for it and that this copyright
3363-notice is not removed.
3364+&#169; Copyright 2000-2014 by Joseph Felsenstein. All rights reserved.
3365+License terms <a href="main.html#copyright">here</a>.
3366 <P>
3367 This program implements the maximum likelihood method for protein amino
3368 acid sequences under the constraint that the trees estimated must be
3369
3370=== modified file 'doc/protdist.html'
3371--- doc/protdist.html 2009-09-11 08:00:10 +0000
3372+++ doc/protdist.html 2015-04-04 21:58:41 +0000
3373@@ -9,7 +9,7 @@
3374 </HEAD>
3375 <BODY BGCOLOR="#ccffff">
3376 <DIV ALIGN=RIGHT>
3377-version 3.69
3378+version 3.696
3379 </DIV>
3380 <P>
3381 <DIV ALIGN=CENTER>
3382@@ -17,10 +17,8 @@
3383 from protein sequences</H1>
3384 </DIV>
3385 <P>
3386-&#169; Copyright 1993, 2000-2008 by the University of Washington. Permission
3387-is granted to copy
3388-this document provided that no fee is charged for it and that this copyright
3389-notice is not removed.
3390+&#169; Copyright 1983, 2000-2014 by Joseph Felsenstein. All rights reserved.
3391+License terms <a href="main.html#copyright">here</a>.
3392 <P>
3393 This program uses protein sequences to compute a distance matrix, under
3394 four different models of amino acid replacement. It can also
3395
3396=== modified file 'doc/protpars.html'
3397--- doc/protpars.html 2009-09-11 08:00:10 +0000
3398+++ doc/protpars.html 2015-04-04 21:58:41 +0000
3399@@ -10,17 +10,15 @@
3400 </HEAD>
3401 <BODY BGCOLOR="#ccffff">
3402 <DIV ALIGN=RIGHT>
3403-version 3.69
3404+version 3.696
3405 </DIV>
3406 <P>
3407 <DIV ALIGN=CENTER>
3408 <H1>Protpars -- Protein Sequence Parsimony Method</H1>
3409 </DIV>
3410 <P>
3411-&#169; Copyright 1986-2008 by the University of
3412-Washington. Written by Joseph Felsenstein. Permission is granted to copy
3413-this document provided that no fee is charged for it and that this copyright
3414-notice is not removed.
3415+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
3416+License terms <a href="main.html#copyright">here</a>.
3417 <P>
3418 </EM>
3419 <P>
3420
3421=== modified file 'doc/restdist.html'
3422--- doc/restdist.html 2009-09-11 08:00:10 +0000
3423+++ doc/restdist.html 2015-04-04 21:58:41 +0000
3424@@ -10,17 +10,15 @@
3425 </HEAD>
3426 <BODY BGCOLOR="#ccffff">
3427 <DIV ALIGN=RIGHT>
3428-version 3.69
3429+version 3.696
3430 </DIV>
3431 <P>
3432 <DIV ALIGN=CENTER>
3433 <H1>Restdist -- Program to compute distance matrix<BR>from restriction sites or fragments</H1>
3434 </DIV>
3435 <P>
3436-&#169; Copyright 2000-2008 by the University of
3437-Washington. Written by Joseph Felsenstein. Permission is granted to copy
3438-this document provided that no fee is charged for it and that this copyright
3439-notice is not removed.
3440+&#169; Copyright 2000-2014 by Joseph Felsenstein. All rights reserved.
3441+License terms <a href="main.html#copyright">here</a>.
3442 <P>
3443 Restdist reads the same restriction sites format as Restml and
3444 computes a restriction sites distance. It can also compute a restriction
3445
3446=== modified file 'doc/restml.html'
3447--- doc/restml.html 2009-09-11 08:00:10 +0000
3448+++ doc/restml.html 2015-04-04 21:58:41 +0000
3449@@ -10,17 +10,15 @@
3450 </HEAD>
3451 <BODY BGCOLOR="#ccffff">
3452 <DIV ALIGN=RIGHT>
3453-version 3.69
3454+version 3.696
3455 </DIV>
3456 <P>
3457 <DIV ALIGN=CENTER>
3458 <H1>Restml -- Restriction sites Maximum Likelihood program</H1>
3459 </DIV>
3460 <P>
3461-&#169; Copyright 1986-2008 by The University of
3462-Washington. Written by Joseph Felsenstein. Permission is granted to copy
3463-this document provided that no fee is charged for it and that this copyright
3464-notice is not removed.
3465+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
3466+License terms <a href="main.html#copyright">here</a>.
3467 <P>
3468 This program implements a maximum likelihood method for restriction sites
3469 data (not restriction fragment data). This program is one of the slowest
3470
3471=== modified file 'doc/retree.html'
3472--- doc/retree.html 2009-09-11 08:00:10 +0000
3473+++ doc/retree.html 2015-04-04 21:58:41 +0000
3474@@ -10,17 +10,15 @@
3475 </HEAD>
3476 <BODY BGCOLOR="#ccffff">
3477 <DIV ALIGN=RIGHT>
3478-version 3.69
3479+version 3.696
3480 </DIV>
3481 <P>
3482 <DIV ALIGN=CENTER>
3483 <H1>Retree -- Interactive Tree Rearrangement</H1>
3484 </DIV>
3485 <P>
3486-&#169; Copyright 1993-2008 by The University of
3487-Washington. Written by Joseph Felsenstein. Permission is granted to copy
3488-this document provided that no fee is charged for it and that this copyright
3489-notice is not removed.
3490+&#169; Copyright 1993-2014 by Joseph Felsenstein. All rights reserved.
3491+License terms <a href="main.html#copyright">here</a>.
3492 <P>
3493 Retree is a tree editor. It reads in a tree,
3494 or allows the user to construct one, and
3495
3496=== modified file 'doc/seqboot.html'
3497--- doc/seqboot.html 2009-09-11 08:00:10 +0000
3498+++ doc/seqboot.html 2015-04-04 21:58:41 +0000
3499@@ -10,7 +10,7 @@
3500 </HEAD>
3501 <BODY BGCOLOR="#ccffff">
3502 <DIV ALIGN=RIGHT>
3503-version 3.69
3504+version 3.696
3505 </DIV>
3506 <P>
3507 <DIV ALIGN=CENTER>
3508@@ -19,10 +19,8 @@
3509 Gene Frequency or Character Data</H1>
3510 </DIV>
3511 <P>
3512-&#169; Copyright 1991-2008 by the University of Washington.
3513-Written by Joseph Felsenstein. Permission is granted to copy
3514-this document provided that no fee is charged for it and that this copyright
3515-notice is not removed.
3516+&#169; Copyright 1991-2014 by Joseph Felsenstein. All rights reserved.
3517+License terms <a href="main.html#copyright">here</a>.
3518 <P>
3519 Seqboot is a general bootstrapping and data set translation tool. It is intended to allow you to
3520 generate multiple data sets that are resampled versions of the input data
3521
3522=== modified file 'doc/sequence.html'
3523--- doc/sequence.html 2009-09-11 08:00:10 +0000
3524+++ doc/sequence.html 2015-04-04 21:58:41 +0000
3525@@ -10,16 +10,14 @@
3526 </HEAD>
3527 <BODY BGCOLOR="#ccffff">
3528 <DIV ALIGN=RIGHT>
3529-version 3.69
3530+version 3.696
3531 </DIV>
3532 <DIV ALIGN=CENTER>
3533 <H1>Molecular Sequence Programs</H1>
3534 </DIV>
3535 <P>
3536-(c) Copyright 1986-2008 by The University of
3537-Washington. Written by Joseph Felsenstein. Permission is granted to copy
3538-this document provided that no fee is charged for it and that this copyright
3539-notice is not removed.
3540+&#169; Copyright 1986-2014 by Joseph Felsenstein. All rights reserved.
3541+License terms <a href="main.html#copyright">here</a>.
3542 <P>
3543 These programs estimate phylogenies from protein
3544 sequence or nucleic acid sequence data. Protpars uses a parsimony method
3545
3546=== modified file 'doc/treedist.html'
3547--- doc/treedist.html 2009-09-11 08:00:10 +0000
3548+++ doc/treedist.html 2015-04-04 21:58:41 +0000
3549@@ -10,17 +10,15 @@
3550 </HEAD>
3551 <BODY BGCOLOR="#ccffff">
3552 <DIV ALIGN=RIGHT>
3553-version 3.69
3554+version 3.696
3555 </DIV>
3556 <P>
3557 <DIV ALIGN=CENTER>
3558 <H1>Treedist -- distances between trees</H1>
3559 </DIV>
3560 <P>
3561-&#169; Copyright 2000-2008 by The University of
3562-Washington. Written by Joseph Felsenstein. Permission is granted to copy
3563-this document provided that no fee is charged for it and that this copyright
3564-notice is not removed.
3565+&#169; Copyright 2000-2014 by Joseph Felsenstein. All rights reserved.
3566+License terms <a href="main.html#copyright">here</a>.
3567 <P>
3568 This program computes distances between trees. Two distances are computed,
3569 the Branch Score Distance of Kuhner and Felsenstein (1994), and
3570
3571=== modified file 'phylip.html'
3572--- phylip.html 2006-09-01 23:30:58 +0000
3573+++ phylip.html 2015-04-04 21:58:41 +0000
3574@@ -11,7 +11,7 @@
3575 <BODY BGCOLOR="#ccffff">
3576 <P>
3577 <DIV ALIGN=RIGHT>
3578-v3.6
3579+v3.696
3580 </DIV>
3581 <P>
3582 <DIV ALIGN=CENTER>
3583
3584=== modified file 'src/COPYRIGHT'
3585--- src/COPYRIGHT 2013-08-07 22:17:03 +0000
3586+++ src/COPYRIGHT 2015-04-04 21:58:41 +0000
3587@@ -3,15 +3,27 @@
3588 The following copyright notice is intended to cover all source code, all
3589 documentation, and all executable programs of the PHYLIP package.
3590
3591-© Copyright 1980-2012 by the University of Washington. All rights reserved.
3592-Permission is granted to reproduce, perform, and modify these programs and
3593-documentation files. Permission is granted to distribute or provide access to
3594-these programs provided that this copyright notice is not removed, the programs
3595-are not integrated with or called by any product or service that generates
3596-revenue, and that your distribution of these documentation files and programs
3597-are free. Any modified versions of these materials that are distributed or
3598-accessible shall indicate that they are based on these programs. Institutions
3599-of higher education are granted permission to distribute this material to their
3600-students and staff for a fee to recover distribution costs. Permission requests
3601-for any other distribution of these program should be directed to license (at)
3602-u.washington.edu .
3603+Copyright (c) 1980-2014, Joseph Felsenstein
3604+All rights reserved.
3605+
3606+Redistribution and use in source and binary forms, with or without
3607+modification, are permitted provided that the following conditions are met:
3608+
3609+1. Redistributions of source code must retain the above copyright notice, this
3610+list of conditions and the following disclaimer.
3611+
3612+2. Redistributions in binary form must reproduce the above copyright notice,
3613+this list of conditions and the following disclaimer in the documentation
3614+and/or other materials provided with the distribution.
3615+
3616+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
3617+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
3618+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
3619+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
3620+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
3621+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
3622+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
3623+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
3624+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3625+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3626+
3627
3628=== removed file 'src/Makefile.cyg'
3629--- src/Makefile.cyg 2013-08-07 22:17:03 +0000
3630+++ src/Makefile.cyg 1970-01-01 00:00:00 +0000
3631@@ -1,741 +0,0 @@
3632-# Makefile
3633-#
3634-# Gnu Cygwin Makefile for PHYLIP 3.695
3635-# This builds the Windows executables
3636-
3637-PACKAGE=phylip
3638-VERSION=3.695
3639-
3640-# We use GNU's version of the make utility. It may be called "gmake" on
3641-# your system.
3642-#
3643-# If you're using a RedHat Linux system with default locations for
3644-# gcc libraries, you probably don't need to change anything. You might
3645-# might change the first noncomment statement below to redefine $(EXEDIR)
3646-# if you'd like your executables installed in a different location than
3647-# our default.
3648-#
3649-# Users with systems that differ substantially from ours may need to set
3650-# the following variables: $(CC) $(CFLAGS) $(DFLAGS) $(LIBS) $(S)
3651-#
3652-# When uncompressed and extracted, the tar archive phylip-3.6x.tar.gz
3653-# produces the following directory structure:
3654-#
3655-# phylip-3.6x/source -- the source code, including this Makefile
3656-# phylip-3.6x/exe -- executables, changed by changing $(EXEDIR) value
3657-# phylip-3.6x/doc -- html documentation
3658-#
3659-# To use the PHYLIP v3.6 Makefile, type from the phylip-3.6x/src directory:
3660-# cp Makefile Makefile.unix
3661-# cp Makefile.cyg Makefile
3662-# and then do one of the following. (You can skip the copying steps
3663-# above and use "make -f Makefile.cyg ..." instead if you like.)
3664-#
3665-# make install to compile the whole package and install
3666-# the executables in $(EXEDIR), and then
3667-# remove the object files to save space
3668-#
3669-# make all to compile the whole package but not install it
3670-# or remove the object files.
3671-#
3672-# make put to move the executables into $(EXEDIR)
3673-#
3674-# make clean to remove all object files and executables from the
3675-# current directory
3676-#
3677-# make dnaml to compile and link one program, (in this example,
3678-# DnaML) and leave the executable and object files
3679-# in the current directory (where the source code is).
3680-# You will have to move the executable into the
3681-# executables directory (e.g. "mv dnaml ../exe")
3682-# Note that the program name should be lower case.
3683-#
3684-# ----------------------------------------------------------------------------
3685-# (Starting here is the section where you may want to change things)
3686-# ----------------------------------------------------------------------------
3687-#
3688-# the following specifies the directory where the executables will be placed
3689-EXEDIR = ../exe
3690-#
3691-# ----------------------------------------------------------------------------
3692-#
3693-# The following statements set these variables:
3694-#
3695-# CC -- the name (and, optionally, location) of your C compiler
3696-# CFLAGS -- compiler directives needed to compile most programs
3697-# DFLAGS -- compiler directives needed to compile draw programs
3698-# LIBS -- non-default system libraries needed to compile most programs
3699-# S -- non-default system libraries needed to compile draw programs
3700-#
3701-# We've provided a set of possible values for each variable.
3702-#
3703-# The value used is the one without a "#" at the beginning of the line.
3704-#
3705-# To try an alternate value, make sure the one you want has no "#"
3706-# as its first character and that all other possibilities have "#" for
3707-# their first character.
3708-#
3709-# Advanced users may need to further edit one of the alternatives in
3710-# order to correctly compile on their system.
3711-#
3712-# ----------------------------------------------------------------------------
3713-#
3714-# The next two assignments are the invocations of the compiler
3715-#
3716-# This one specifies the default cygwin "cc" C compiler
3717-# It requires cygwin1.dll to be in the execution directory
3718-#CC = cc
3719-#
3720-# This one uses the mingw w64 compiler which does not require any extra dll's
3721-# The full path makes this a bit touchy, so if the compile crashes you'll need
3722-# to find where the mingw32 compiler had been moved
3723-CC = /usr/bin/i686-w64-mingw32-gcc-4.5.3.exe
3724-#
3725-# To use GCC instead:
3726-#CC = gcc
3727-#
3728-# ----------------------------------------------------------------------------
3729-#
3730-# This is the CFLAGS statement. It specifies compiler behavior.
3731-CFLAGS = -MNO-CYGWIN -DWIN32 -O3 -fomit-frame-pointer -ffast-math
3732-#CFLAGS = -fomit-frame-pointer -ffast-math
3733-#
3734-# This is the DFLAGS statement. It specifies compiler behavior for the
3735-# programs drawgram and drawtree.
3736-DFLAGS = -MNO-CYGWIN -lgdi32
3737-#DFLAGS =
3738-#
3739-# ----------------------------------------------------------------------------
3740-#
3741-# The cygwin compile automatically pics up the libraries we need, so
3742-# the $(LIBS) variable is empty
3743-LIBS =
3744-#
3745-#S = $(LIBS) -luser32 -lgdi32
3746-#
3747-# ----------------------------------------------------------------------------
3748-# (After this point there should not be any reason to change anything)
3749-# ----------------------------------------------------------------------------
3750-
3751-WINDRES = windres
3752-#
3753-#
3754-# the list of programs
3755-# draw programs are listed last since they are the most likely to cause
3756-# compilation or linking problems
3757-
3758-PROGS = clique.exe \
3759- consense.exe \
3760- contml.exe \
3761- contrast.exe \
3762- dnacomp.exe \
3763- dnadist.exe \
3764- dnainvar.exe \
3765- dnaml.exe \
3766- dnamlk.exe \
3767- dnamove.exe \
3768- dnapars.exe \
3769- dnapenny.exe \
3770- dolmove.exe \
3771- dollop.exe \
3772- dolpenny.exe \
3773- drawgram.exe \
3774- drawtree.exe \
3775- factor.exe \
3776- fitch.exe \
3777- gendist.exe \
3778- kitsch.exe \
3779- mix.exe \
3780- move.exe \
3781- neighbor.exe \
3782- pars.exe \
3783- penny.exe \
3784- proml.exe \
3785- promlk.exe \
3786- protdist.exe \
3787- protpars.exe \
3788- restdist.exe \
3789- restml.exe \
3790- retree.exe \
3791- seqboot.exe \
3792- treedist.exe
3793-
3794-DYLIBS = drawgram.dll \
3795- drawtree.dll
3796-
3797-JARS = javajars/DrawGram.jar \
3798- javajars/DrawTree.jar \
3799- javajars/DrawGramJava.bat \
3800- javajars/DrawTreeJava.bat \
3801- javajars/DrawGramJava.exe \
3802- javajars/DrawTreeJava.exe
3803-#
3804-# general commands
3805-#
3806-
3807-# The first target it executed if you just type "make". It tells you how to
3808-# use the Makefile.
3809-#
3810-help:
3811- @echo ""
3812- @echo " To use the PHYLIP v$(VERSION) Makefile, type"
3813- @echo " make install to compile the whole package and install"
3814- @echo " the executables in $(EXEDIR), and then"
3815- @echo " remove the object files to save space"
3816- @echo " make all to compile the whole package but not install it"
3817- @echo " or remove the object files"
3818- @echo " make put to move the executables into $(EXEDIR)"
3819- @echo " make clean to remove all object files and executables from the"
3820- @echo " current directory"
3821- @echo " make dnaml to compile and link one program, (in this example,"
3822- @echo " Dnaml) and leave the executable and object files"
3823- @echo " in the current directory (where the source code is)."
3824- @echo " You will have to move the executable into the"
3825- @echo " executables directory (e.g. \"mv dnaml $(EXEDIR)\")"
3826- @echo " Note that the program name should be lower case."
3827- @echo " "
3828-
3829-# The following is so that a command like
3830-# make dnaml
3831-# will actually do something usefull
3832-.PHONY : clique consense contml contrast dnacomp dnadist \
3833- dnainvar dnaml dnamlk dnamove dnapars dnapenny \
3834- dolmove dollop dolpenny factor fitch gendist kitsch \
3835- mix move neighbor pars penny proml promlk protdist \
3836- protpars restdist restml retree seqboot treedist \
3837- drawgram drawtree
3838-
3839-clique: clique.exe
3840-consense: consense.exe
3841-contml: contml.exe
3842-contrast: contrast.exe
3843-dnacomp: dnacomp.exe
3844-dnadist: dnadist.exe
3845-dnainvar: dnainvar.exe
3846-dnaml: dnaml.exe
3847-dnamlk: dnamlk.exe
3848-dnamove: dnamove.exe
3849-dnapars: dnapars.exe
3850-dnapenny: dnapenny.exe
3851-dolmove: dolmove.exe
3852-dollop: dollop.exe
3853-dolpenny: dolpenny.exe
3854-drawgram: drawgram.exe
3855-drawtree: drawtree.exe
3856-factor: factor.exe
3857-fitch: fitch.exe
3858-gendist: gendist.exe
3859-kitsch: kitsch.exe
3860-mix: mix.exe
3861-move: move.exe
3862-neighbor: neighbor.exe
3863-pars: pars.exe
3864-penny: penny.exe
3865-proml: proml.exe
3866-promlk: promlk.exe
3867-protdist: protdist.exe
3868-protpars: protpars.exe
3869-restdist: restdist.exe
3870-restml: restml.exe
3871-retree: retree.exe
3872-seqboot: seqboot.exe
3873-treedist: treedist.exe
3874-
3875-introduce:
3876- @echo "Building PHYLIP version $(VERSION)"
3877-
3878-all: introduce $(PROGS) $(DYLIBS)
3879- @echo "Finished compiling."
3880- @echo ""
3881-
3882-install: all put clean
3883- @echo "Done."
3884- @echo ""
3885-
3886-put:
3887-# removed because cygwin does not like it
3888-# @echo "Stripping executables to save space"
3889-# strip --strip-all *.exe
3890- @echo "Installing PHYLIP v$(VERSION) binaries in $(EXEDIR)"
3891- @mkdir -p $(EXEDIR)
3892- @cp $(PROGS) $(EXEDIR)
3893- @echo "Installing dynamic libraries in $(EXEDIR)"
3894- @cp $(DYLIBS) $(EXEDIR)
3895- @echo "Installing jar files in $(EXEDIR)"
3896- @cp $(JARS) $(EXEDIR)
3897- @echo "Installing font files in $(EXEDIR)"
3898- @cp font* $(EXEDIR)
3899- mkdir $(EXEDIR)/testdata
3900- @echo "Copying testdata files to $(EXEDIR)/testdata..."
3901- for i in $(TESTDIR); do \
3902- mkdir $(EXEDIR)/testdata/$$i; \
3903- cp src/testdata/$$i/*.txt $(EXEDIR)/testdata/$$i; \
3904- done
3905- @echo "Finished installation."
3906- @echo ""
3907-
3908-clean:
3909- @echo "Removing object files to save space"
3910- @rm -f *.o
3911- @rm -f *.res
3912- @rm -f *.dll
3913- @echo "Finished removing object files. Now will remove"
3914- @echo "executable files from the current directory, but not from the"
3915- @echo "executables directory. (If some are not here, the makefile"
3916- @echo "will terminate with an error message but this is not a problem)"
3917- @echo ""
3918- @echo "Removing executables from this directory"
3919- @rm -f $(PROGS)
3920- @echo "Finished cleanup."
3921- @echo ""
3922-
3923-#
3924-# compile object files shared between programs
3925-# (make's implicit rule for %.o will take care of these)
3926-#
3927-
3928-phylip.o: phylip.c phylip.h
3929-seq.o: phylip.h seq.h
3930-disc.o: phylip.h disc.h
3931-discrete.o: phylip.h discrete.h
3932-dollo.o: phylip.h dollo.h
3933-wagner.o: phylip.h wagner.h
3934-dist.o: phylip.h dist.h
3935-cont.o: phylip.h cont.h
3936-mlclock.o: phylip.h mlclock.h
3937-moves.o: phylip.h moves.h
3938-printree.o: phylip.h printree.h
3939-
3940-
3941-#
3942-# compile the individual programs
3943-#
3944-
3945-clique.o: clique.c disc.h phylip.h
3946-
3947-clique.exe: clique.o disc.o phylip.o clique.res
3948- $(CC) $(CFLAGS) clique.o disc.o phylip.o clique.res $(LIBS) -o clique
3949-
3950-cons.o: cons.c cons.h phylip.h
3951-
3952-consense.o: consense.c cons.h phylip.h
3953-
3954-consense.exe: consense.o phylip.o cons.o consense.res
3955- $(CC) $(CFLAGS) consense.o phylip.o cons.o consense.res $(LIBS) -o consense
3956-
3957-contml.o: contml.c cont.h phylip.h
3958-
3959-contml.exe: contml.o cont.o phylip.o contml.res
3960- $(CC) $(CFLAGS) contml.o cont.o phylip.o contml.res $(LIBS) -o contml
3961-
3962-contrast.o: contrast.c cont.h phylip.h
3963-
3964-contrast.exe: contrast.o contrast.res cont.o phylip.o
3965- $(CC) $(CFLAGS) contrast.o cont.o phylip.o contrast.res $(LIBS) -o contrast
3966-
3967-dnacomp.o: dnacomp.c seq.h phylip.h
3968-
3969-dnacomp.exe: dnacomp.o seq.o phylip.o dnacomp.res
3970- $(CC) $(CFLAGS) dnacomp.o seq.o phylip.o dnacomp.res $(LIBS) -o dnacomp
3971-
3972-dnadist.o: dnadist.c seq.h phylip.h
3973-
3974-dnadist.exe: dnadist.o seq.o phylip.o dnadist.res
3975- $(CC) $(CFLAGS) dnadist.o seq.o phylip.o dnadist.res $(LIBS) -o dnadist
3976-
3977-dnainvar.o: dnainvar.c seq.h phylip.h
3978-
3979-dnainvar.exe: dnainvar.o seq.o phylip.o dnainvar.res
3980- $(CC) $(CFLAGS) dnainvar.o seq.o phylip.o dnainvar.res $(LIBS) -o dnainvar
3981-
3982-dnaml.o: dnaml.c seq.h phylip.h
3983-
3984-dnaml.exe: dnaml.o seq.o phylip.o dnaml.res
3985- $(CC) $(CFLAGS) dnaml.o seq.o phylip.o dnaml.res $(LIBS) -o dnaml
3986-
3987-dnamlk.o: dnamlk.c seq.h phylip.h mlclock.h printree.h
3988-
3989-dnamlk.exe: dnamlk.o seq.o phylip.o mlclock.o printree.o dnamlk.res
3990- $(CC) $(CFLAGS) dnamlk.o seq.o phylip.o mlclock.o printree.o dnamlk.res $(LIBS) -o dnamlk
3991-
3992-dnamove.o: dnamove.c seq.h moves.h phylip.h
3993-
3994-dnamove.exe: dnamove.o seq.o moves.o phylip.o dnamove.res
3995- $(CC) $(CFLAGS) dnamove.o seq.o moves.o phylip.o dnamove.res $(LIBS) -o dnamove
3996-
3997-dnapenny.o: dnapenny.c seq.h phylip.h
3998-
3999-dnapenny.exe: dnapenny.o seq.o phylip.o dnapenny.res
4000- $(CC) $(CFLAGS) dnapenny.o seq.o phylip.o dnapenny.res $(LIBS) -o dnapenny
4001-
4002-dnapars.o: dnapars.c seq.h phylip.h
4003-
4004-dnapars.exe: dnapars.o seq.o phylip.o dnapars.res
4005- $(CC) $(CFLAGS) dnapars.o seq.o phylip.o dnapars.res $(LIBS) -o dnapars
4006-
4007-dolmove.o: dolmove.c disc.h moves.h dollo.h phylip.h
4008-
4009-dolmove.exe: dolmove.o disc.o moves.o dollo.o phylip.o dolmove.res
4010- $(CC) $(CFLAGS) dolmove.o disc.o moves.o dollo.o phylip.o dolmove.res $(LIBS) -o dolmove
4011-
4012-dollop.o: dollop.c disc.h dollo.h phylip.h
4013-
4014-dollop.exe: dollop.o disc.o dollo.o phylip.o dollop.res
4015- $(CC) $(CFLAGS) dollop.o disc.o dollo.o phylip.o dollop.res $(LIBS) -o dollop
4016-
4017-dolpenny.o: dolpenny.c disc.h dollo.h phylip.h
4018-
4019-dolpenny.exe: dolpenny.o disc.o dollo.o phylip.o dolpenny.res
4020- $(CC) $(CFLAGS) dolpenny.o disc.o dollo.o phylip.o dolpenny.res $(LIBS) -o dolpenny
4021-
4022-draw.o: draw.c draw.h phylip.h
4023- $(CC) $(CFLAGS) -c draw.c
4024-
4025-draw2.o: draw2.c draw.h phylip.h
4026- $(CC) $(CFLAGS) -c draw2.c
4027-
4028-drawgram.o: drawgram.c draw.h phylip.h
4029- $(CC) $(CFLAGS) -c drawgram.c
4030-
4031-drawgram.exe: drawgram.o draw.o draw2.o phylip.o drawgram.res
4032- $(CC) $(CFLAGS) drawgram.o draw.o draw2.o phylip.o drawgram.res $(LIBS) -o drawgram
4033-
4034-drawtree.o: drawtree.c draw.h phylip.h
4035- $(CC) $(CFLAGS) -c drawtree.c
4036-
4037-drawtree.exe: drawtree.o draw.o draw2.o phylip.o drawtree.res
4038- $(CC) $(CFLAGS) drawtree.o draw.o draw2.o phylip.o drawtree.res $(LIBS) -o drawtree
4039-
4040-# needed by java
4041-phylipDlib.o: phylip.c phylip.h
4042- $(CC) $(DFLAGS) -c phylip.c -o phylipDlib.o
4043-
4044-drawDlib.o: draw.c draw.h phylip.h
4045- $(CC) $(DFLAGS) -c draw.c -o drawDlib.o
4046-
4047-draw2Dlib.o: draw2.c draw.h phylip.h
4048- $(CC) $(DFLAGS) -c draw2.c -o draw2Dlib.o
4049-
4050-drawgramDlib.o: drawgram.c draw.h phylip.h
4051- $(CC) $(DFLAGS) -c drawgram.c -o drawgramDlib.o
4052-
4053-drawtreeDlib.o: drawtree.c draw.h phylip.h
4054- $(CC) $(DFLAGS) -c drawtree.c -o drawtreeDlib.o
4055-
4056-drawgram.dll: drawgramDlib.o drawDlib.o draw2Dlib.o phylipDlib.o
4057- $(CC) $(DFLAGS) -shared -o drawgram.dll -shared drawgramDlib.o drawDlib.o draw2Dlib.o phylipDlib.o
4058-
4059-drawtree.dll: drawtreeDlib.o drawDlib.o draw2Dlib.o phylipDlib.o
4060- $(CC) $(DFLAGS) -shared -o drawtree.dll -shared drawtreeDlib.o drawDlib.o draw2Dlib.o phylipDlib.o
4061-# end Java interface stuff
4062-
4063-factor.o: factor.c phylip.h
4064-
4065-factor.exe: factor.o phylip.o factor.c factor.res
4066- $(CC) $(CFLAGS) factor.o phylip.o factor.res $(LIBS) -o factor
4067-
4068-fitch.o: fitch.c dist.h phylip.h
4069-
4070-fitch.exe: fitch.o dist.o phylip.o fitch.res
4071- $(CC) $(CFLAGS) fitch.o dist.o phylip.o fitch.res $(LIBS) -o fitch
4072-
4073-gendist.o: gendist.c phylip.h
4074-
4075-gendist.exe: gendist.o phylip.o gendist.res
4076- $(CC) $(CFLAGS) gendist.o phylip.o gendist.res $(LIBS) -o gendist
4077-
4078-kitsch.o: kitsch.c dist.h phylip.h
4079-
4080-kitsch.exe: kitsch.o dist.o phylip.o kitsch.res
4081- $(CC) $(CFLAGS) kitsch.o dist.o phylip.o kitsch.res $(LIBS) -o kitsch
4082-
4083-mix.o: mix.c disc.h wagner.h phylip.h
4084-
4085-mix.exe: mix.o disc.o wagner.o phylip.o mix.res
4086- $(CC) $(CFLAGS) mix.o disc.o wagner.o phylip.o mix.res $(LIBS) -o mix
4087-
4088-move.o: move.c disc.h moves.h wagner.h phylip.h
4089-
4090-move.exe: move.o disc.o moves.o wagner.o phylip.o move.c move.res
4091- $(CC) $(CFLAGS) move.o disc.o moves.o wagner.o phylip.o move.res $(LIBS) -o move
4092-
4093-neighbor.o: neighbor.c dist.h phylip.h
4094-
4095-neighbor.exe: neighbor.o dist.o phylip.o neighbor.res
4096- $(CC) $(CFLAGS) neighbor.o dist.o phylip.o neighbor.res $(LIBS) -o neighbor
4097-
4098-pars.o: pars.c discrete.c discrete.h phylip.h
4099-
4100-pars.exe: pars.o discrete.o phylip.o pars.res
4101- $(CC) $(CFLAGS) pars.o discrete.o phylip.o pars.res $(LIBS) -o pars
4102-
4103-penny.o: penny.c disc.h wagner.h phylip.h
4104-
4105-penny.exe: penny.o disc.o wagner.o phylip.o penny.res
4106- $(CC) $(CFLAGS) penny.o disc.o wagner.o phylip.o penny.res $(LIBS) -o penny
4107-
4108-proml.o: proml.c seq.h phylip.h
4109-
4110-proml.exe: proml.o seq.o phylip.o proml.res
4111- $(CC) $(CFLAGS) proml.o seq.o phylip.o proml.res $(LIBS) -o proml
4112-
4113-promlk.o: seq.h phylip.h mlclock.h printree.h
4114-
4115-promlk.exe: promlk.o seq.o phylip.o mlclock.o printree.o promlk.res
4116- $(CC) $(CFLAGS) promlk.o seq.o phylip.o mlclock.o printree.o promlk.res $(LIBS) -o promlk
4117-
4118-protdist.o: protdist.c seq.h phylip.h
4119-
4120-protdist.exe: protdist.o seq.o phylip.o protdist.res
4121- $(CC) $(CFLAGS) protdist.o seq.o phylip.o protdist.res $(LIBS) -o protdist
4122-
4123-protpars.o: protpars.c seq.h phylip.h
4124-
4125-protpars.exe: protpars.o seq.o phylip.o protpars.res
4126- $(CC) $(CFLAGS) protpars.o seq.o phylip.o protpars.res $(LIBS) -o protpars
4127-
4128-restdist.o: restdist.c seq.h phylip.h
4129-
4130-restdist.exe: restdist.o restdist.res seq.o phylip.o restdist.res
4131- $(CC) $(CFLAGS) restdist.o seq.o phylip.o restdist.res $(LIBS) -o restdist
4132-
4133-restml.o: restml.c seq.h phylip.h
4134-
4135-restml.exe: restml.o seq.o phylip.o restml.res
4136- $(CC) $(CFLAGS) restml.o seq.o phylip.o restml.res $(LIBS) -o restml
4137-
4138-retree.o: retree.c moves.h phylip.h
4139-
4140-retree.exe: retree.o moves.o phylip.o retree.res
4141- $(CC) $(CFLAGS) retree.o moves.o phylip.o retree.res $(LIBS) -o retree
4142-
4143-seqboot.o: seqboot.c phylip.h
4144-
4145-seqboot.exe: seqboot.o seq.o phylip.o seqboot.res
4146- $(CC) $(CFLAGS) seqboot.o seq.o phylip.o seqboot.res $(LIBS) -o seqboot
4147-
4148-treedist.o: treedist.c cons.c cons.h phylip.h
4149-
4150-treedist.exe: treedist.o phylip.o cons.o treedist.res
4151- $(CC) $(CFLAGS) treedist.o cons.o phylip.o treedist.res $(LIBS) -o treedist
4152-
4153-%.res: icons/%.rc
4154- $(WINDRES) $< -O coff -o $@
4155-
4156-#
4157-# Targets for making the Windows distribution archives
4158-#
4159-
4160-DISTDIR=$(PACKAGE)-$(VERSION)
4161-ASCII_EXT= .c .h .html
4162-
4163-SFX_STUB=SFXWiz32.exe
4164-
4165-DIST_COMMON = ../phylip.html
4166-
4167-DOC_DIR = ../doc
4168-
4169-IMG_DIR = ../doc/images
4170-
4171-TEST_DIR = ../src/testdata
4172-
4173-DOCS= clique.html consense.html contchar.html contml.html \
4174- contrast.html discrete.html distance.html dnacomp.html \
4175- dnadist.html dnainvar.html dnaml.html dnamlk.html \
4176- dnamove.html dnapars.html dnapenny.html dollop.html \
4177- dolmove.html dolpenny.html drawgram.html draw.html \
4178- drawtree.html factor.html fitch.html gendist.html \
4179- kitsch.html main.html mix.html move.html \
4180- neighbor.html pars.html penny.html proml.html \
4181- promlk.html protdist.html protpars.html restdist.html \
4182- restml.html retree.html seqboot.html sequence.html \
4183- treedist.html phylip.gif
4184-
4185-IMAGES= DrawGramCat.png DrawGramControls.png \
4186- DrawTreeCat.png DrawTreeControls.png \
4187- InputTree.png
4188-
4189-SOURCES= Makefile.cyg Makefile.osx Makefile.unx \
4190- clique.c cons.c consense.c cons.h cont.c \
4191- cont.h contml.c contrast.c disc.c disc.h discrete.c discrete.h dist.c \
4192- dist.h dnacomp.c dnadist.c dnainvar.c dnaml.c dnamlk.c dnamove.c \
4193- dnapars.c dnapenny.c dollo.c dollo.h dollop.c dolmove.c dolpenny.c \
4194- draw2.c draw.c draw.h drawgram.c drawtree.c\
4195- factor.c fitch.c gendist.c \
4196- interface.c interface.h io.h kitsch.c macface.c macface.h mix.c move.c \
4197- moves.c moves.h neighbor.c newmove.c pars.c penny.c \
4198- phylip.c phylip.h proml.c promlk.c protdist.c protpars.c restdist.c \
4199- restml.c retree.c seqboot.c seq.c seq.h treedist.c wagner.c wagner.h \
4200- mlclock.c mlclock.h printree.c printree.h font1 font2 font3 font4 font5 font6
4201-
4202-
4203-ICONS= icons/boot.ico icons/clique.ico icons/clique.rc icons/clique.rcb icons/consense.ico \
4204- icons/consense.rc icons/consense.rcb icons/contml.ico icons/contml.rc icons/contml.rcb \
4205- icons/contrast.ico icons/contrast.rc icons/contrast.rcb icons/disc.ico icons/dist.ico icons/dna.ico \
4206- icons/dnacomp.rc icons/dnacomp.rcb icons/dnadist.rc icons/dnadist.rcb icons/dnainvar.rc \
4207- icons/dnainvar.rcb icons/dnaml.rc icons/dnaml.rcb icons/dnamlk.rc icons/dnamlk.rcb icons/dnamove.rc \
4208- icons/dnamove.rcb icons/dnapars.rc icons/dnapars.rcb icons/dnapenny.rc icons/dnapenny.rcb \
4209- icons/dollo.ico icons/dollop.rc icons/dollop.rcb icons/dolmove.rc icons/dolmove.rcb \
4210- icons/dolpenny.rc icons/dolpenny.rcb icons/drawgram.ico icons/drawgram.rc icons/drawgram.rcb \
4211- icons/drawtree.ico icons/drawtree.rc icons/drawtree.rcb icons/factor.rc icons/factor.rcb \
4212- icons/fitch.rc icons/fitch.rcb icons/gendist.ico icons/gendist.rc icons/gendist.rcb icons/kitsch.rc \
4213- icons/kitsch.rcb icons/mix.rc icons/mix.rcb icons/move.rc icons/move.rcb icons/neighbor.rc \
4214- icons/neighbor.rcb icons/pars.rc icons/pars.rcb icons/penny.rc icons/penny.rcb icons/proml.rc \
4215- icons/proml.rcb icons/promlk.rc icons/promlk.rcb icons/protdist.rc icons/protdist.rcb \
4216- icons/protein.ico icons/protpars.rc icons/protpars.rcb icons/restdist.rc icons/restdist.rcb \
4217- icons/restml.rc icons/restml.rcb icons/restrict.ico icons/retree.ico icons/retree.rc \
4218- icons/retree.rcb icons/seqboot.rc icons/seqboot.rcb icons/treedist.ico icons/treedist.rc \
4219- icons/treedist.rcb
4220-
4221-W_EXES = dnacomp.exe dnadist.exe dnainvar.exe dnaml.exe dnamlk.exe \
4222- dnamove.exe dnapars.exe dnapenny.exe proml.exe promlk.exe \
4223- protdist.exe protpars.exe restdist.exe restml.exe seqboot.exe \
4224- clique.exe consense.exe contml.exe contrast.exe dollop.exe \
4225- dolmove.exe dolpenny.exe factor.exe \
4226- fitch.exe font1 font2 font3 font4 font5 font6 gendist.exe \
4227- kitsch.exe mix.exe move.exe neighbor.exe pars.exe penny.exe \
4228- retree.exe treedist.exe
4229-
4230-TESTDIR= clique consense contml contrast dnacomp \
4231- dnadist dnainvar dnaml dnamlk dnamove dnapars dnapenny dollop \
4232- dolmove dolpenny drawgram drawtree factor fitch gendist \
4233- kitsch mix move neighbor pars penny proml promlk \
4234- protdist protpars restdist restml retree seqboot treedist
4235-
4236-JAVAJAR= javajars/DrawGram.jar javajars/DrawTree.jar \
4237- javajars/DrawGramJava.bat javajars/DrawTreeJava.bat \
4238- javajars/DrawGramJava.exe javajars/DrawTreeJava.exe \
4239- javajars/DrawGramJava.unx javajars/DrawTreeJava.unx
4240-
4241-JAVAEXE= javajars/DrawGram.jar javajars/DrawTree.jar \
4242- javajars/DrawGramJava.exe javajars/DrawTreeJava.exe \
4243- drawgram.dll drawtree.dll
4244-
4245-.PHONY : phylipwdir phylipw.zip
4246-
4247-dists : dist sfx zips sfxs
4248-
4249-sfxs : phylipw.exe
4250-
4251-zips : phylipw.zip
4252-
4253-phylipw.exe : phylipw.zip
4254- cat $(SFX_STUB) phylipw.zip > phylipw.exe \
4255- && chmod 755 phylipw.exe
4256-
4257-phylipw.zip : phylipwdir
4258- @rm -f phylipw.zip
4259- cd phylipw && zip -q -r ../phylipw.zip *
4260- rm -rf phylipw
4261-
4262-phylipwdir : $(DOCS) $(SOURCES) $(ICONS)
4263- rm -rf phylipw
4264- mkdir phylipw
4265- mkdir phylipw/$(DISTDIR)
4266- mkdir phylipw/$(DISTDIR)/src
4267- mkdir phylipw/$(DISTDIR)/doc
4268- mkdir phylipw/$(DISTDIR)/doc/images
4269- mkdir phylipw/$(DISTDIR)/exe
4270- mkdir phylipw/$(DISTDIR)/src/icons
4271- for i in $(DIST_COMMON) ; do \
4272- cp $$i phylipw/$(DISTDIR) ; \
4273- done
4274- for i in $(DOCS) ; do \
4275- cp DOC_DIR/$$i phylipw/$(DISTDIR)/doc ; \
4276- done
4277- for i in $(SOURCES) ; do \
4278- cp $$i phylipw/$(DISTDIR)/src ; \
4279- done
4280- for i in $(ICONS) ; do \
4281- cp $$i phylipw/$(DISTDIR)/src/icons ; \
4282- done
4283- @for i in $(ASCII_EXT) ; do \
4284- echo "Translating newline characters on *$$i..." ; \
4285- find phylipw -name "*$$i" \
4286- -exec sed -i -e 's/$$/\r/g' '{}' ';' ; \
4287- done
4288-
4289-# not currently working
4290-#sfx : dist
4291-# @echo "Creating self-extracting zip archive $(DISTDIR).exe"
4292-# cat $(SFX_STUB) $(DISTDIR).zip > $(DISTDIR).exe \
4293-# && chmod 755 $(DISTDIR).exe
4294-
4295-dist : distdir
4296- -rm -rf $(DISTDIR).zip
4297- @echo "Creating ZIP archive $(DISTDIR).zip"
4298- zip -q -r $(DISTDIR).zip $(DISTDIR)
4299- rm -rf $(DISTDIR)
4300-
4301-
4302-distdir : $(DIST_COMMON) $(SOURCES) $(ICONS) $(TESTDIR) $(JAVAJAR) $(DYLIBS)
4303- -rm -rf $(DISTDIR)
4304- @echo "making $(DISTDIR)"
4305- mkdir $(DISTDIR)
4306- mkdir $(DISTDIR)/doc
4307- mkdir $(DISTDIR)/doc/images
4308- mkdir $(DISTDIR)/exe
4309- @echo "making $(DISTDIR)/src"
4310- mkdir $(DISTDIR)/src
4311- mkdir $(DISTDIR)/src/javajars
4312- mkdir $(DISTDIR)/src/icons
4313- mkdir $(DISTDIR)/src/testdata
4314- @echo "Copying testdata files from $(TEST_DIR) to $(DISTDIR)/src/testdata..."
4315- for i in $(TESTDIR); do \
4316- mkdir $(DISTDIR)/src/testdata/$$i; \
4317- cp $(TEST_DIR)/$$i/*.txt $(DISTDIR)/src/testdata/$$i; \
4318- done
4319- mkdir $(DISTDIR)/exe/testdata
4320- @echo "Copying testdata files from $(TEST_DIR) to $(DISTDIR)/exe/testdata..."
4321- for i in $(TESTDIR); do \
4322- mkdir $(DISTDIR)/exe/testdata/$$i; \
4323- cp $(TEST_DIR)/$$i/*.txt $(DISTDIR)/exe/testdata/$$i; \
4324- done
4325- @echo "Copying common files to $(DISTDIR)..."
4326- @for i in $(DIST_COMMON) ; do \
4327- cp $$i $(DISTDIR) ; \
4328- done
4329- @echo "Copying sources to $(DISTDIR)/src..."
4330- @for i in $(SOURCES) ; do \
4331- cp $$i $(DISTDIR)/src ; \
4332- done
4333- @echo "Copying icons to $(DISTDIR)/src/icons..."
4334- @for i in $(ICONS) ; do \
4335- cp $$i $(DISTDIR)/src/icons ; \
4336- done
4337- @echo "Copying Java code to $(DISTDIR)/src/javajars...." ; \
4338- for i in $(JAVAJAR) ; do \
4339- cp $$i $(DISTDIR)/src/javajars ; \
4340- done
4341- @echo "Copying Java programs to $(DISTDIR)/exe...." ; \
4342- for i in $(JAVAEXE) ; do \
4343- cp $$i $(DISTDIR)/exe ; \
4344- done
4345- @echo "Copying docs from $(DOC_DIR) to $(DISTDIR)/doc..."
4346- @for i in $(DOCS) ; do \
4347- cp $(DOC_DIR)/$$i $(DISTDIR)/doc ; \
4348- done
4349- @echo "Copying images from $(IMG_DIR) to $(DISTDIR)/doc/images..."
4350- @for i in $(IMAGES) ; do \
4351- cp $(IMG_DIR)/$$i $(DISTDIR)/doc/images ; \
4352- done
4353- @echo "Copying executables to $(DISTDIR)/exe..."
4354- @for i in $(W_EXES) ; do \
4355- cp $$i $(DISTDIR)/exe ; \
4356- done
4357- @for i in $(ASCII_EXT) ; do \
4358- echo "Translating newline characters on *$$i..." ; \
4359- find $(DISTDIR) -name "*$$i" \
4360- -exec sed -i -e 's/$$/\r/g' '{}' ';' ; \
4361- done
4362-
4363-distclean : clean
4364- @echo -n "Removing dists..."
4365- @for i in $(DISTDIR) $(DISTDIR).zip $(DISTDIR).exe $(DISTDIR).tar.gz \
4366- phylipw.zip phylipw.exe ; do \
4367- rm -rf $$i ; \
4368- done
4369- @echo "done."
4370-
4371-
4372-# vim: noet
4373
4374=== removed file 'src/Makefile.osx'
4375--- src/Makefile.osx 2013-08-07 22:17:03 +0000
4376+++ src/Makefile.osx 1970-01-01 00:00:00 +0000
4377@@ -1,678 +0,0 @@
4378-# Makefile
4379-#
4380-# Mac Makefile for PHYLIP 3.695
4381-
4382-PACKAGE=phylip
4383-VERSION=3.695
4384-
4385-# We use GNU's version of the make utility. It may be called "gmake" on
4386-# your system.
4387-#
4388-# If you're using a RedHat Linux system with default locations for
4389-# gcc libraries, you probably don't need to change anything. You might
4390-# might change the first noncomment statement below to redefine $(EXEDIR)
4391-# if you'd like your executables installed in a different location than
4392-# our default.
4393-#
4394-# Users with systems that differ substantially from ours may need to set
4395-# the following variables: $(CC) $(CFLAGS) $(LIBS)
4396-#
4397-# When uncompressed and extracted, the tar archive phylip-3.6x.tar.gz
4398-# produces the following directory structure:
4399-#
4400-# phylip-3.6x/src -- the source code, including this Makefile
4401-# phylip-3.6x/exe -- executables, changed by changing $(EXEDIR) value
4402-# phylip-3.6x/doc -- html documentation
4403-#
4404-# To use the PHYLIP v3.6 Makefile, type from the phylip-3.6x/src directory:
4405-#
4406-# make install to compile the whole package and install
4407-# the executables in $(EXEDIR), and then
4408-# remove the object files to save space
4409-#
4410-# make all to compile the whole package but not install it
4411-# or remove the object files.
4412-#
4413-# make put to move the executables into $(EXEDIR)
4414-#
4415-# make clean to remove all object files and executables from the
4416-# current directory
4417-#
4418-# make dnaml to compile and link one program, (in this example,
4419-# DnaML) and leave the executable and object files
4420-# in the current directory (where the source code is).
4421-# You will have to move the executable into the
4422-# executables directory (e.g. "mv dnaml ../exe")
4423-# Note that the program name should be lower case.
4424-#
4425-# ----------------------------------------------------------------------------
4426-# (Starting here is the section where you may want to change things)
4427-# ----------------------------------------------------------------------------
4428-#
4429-# the following specifies the directory where the executables will be placed
4430-EXEDIR = ../exe
4431-# the following specifies the directory where the testdata will be placed
4432-TESTDIR = ../exe/testdata
4433-#
4434-# ----------------------------------------------------------------------------
4435-#
4436-# The following statements set these variables:
4437-#
4438-# CC -- the name (and, optionally, location) of your C compiler
4439-# CFLAGS -- compiler directives needed to compile most programs
4440-# LIBS -- non-default system libraries needed to compile most programs
4441-#
4442-# We've provided a set of possible values for each variable.
4443-#
4444-# The value used is the one without a "#" at the beginning of the line.
4445-#
4446-# To try an alternate value, make sure the one you want has no "#"
4447-# as its first character and that all other possibilities have "#" for
4448-# their first character.
4449-#
4450-# Advanced users may need to further edit one of the alternatives in
4451-# order to correctly compile on their system.
4452-#
4453-# ----------------------------------------------------------------------------
4454-#
4455-# The next two assignments are the invocations of the compiler
4456-#
4457-# This one specifies the "cc" C compiler
4458-#CC = cc
4459-#
4460-# To use GCC instead:
4461-CC = gcc
4462-#
4463-# ----------------------------------------------------------------------------
4464-#
4465-# This is the CFLAGS statement. It specifies compiler behavior.
4466-#
4467-# Here are some possible CFLAGS statements:
4468-#
4469-#
4470-#A minimal one which tells Phylip that is is running on a modern Mac
4471-#CFLAGS = -DMACOS10
4472-#
4473-# A basic one for debugging
4474-CFLAGS = -ggdb -DMACOS10
4475-#
4476-# An optimized one for gcc
4477-#CFLAGS = -O3 -DMACOS10 -fomit-frame-pointer
4478-#
4479-# For some serious debugging using Gnu gcc
4480-#
4481-#CFLAGS=-g -DMACOS10 -Wall -Wmain -Wmissing-prototypes -Wreturn-type -Wstrict-prototypes -Wunused -Werror -Wredundant-decls -Waggregate-return -Wcast-align -Wcomment
4482-#
4483-# For doing code coverage with gcov
4484-#
4485-#CFLAGS = -ggdb -DMACOS10 -fprofile-arcs -ftest-coverage
4486-#CFLAGS = -pg -DMACOS10
4487-#
4488-# For Digital Alpha systems with Compaq Tru64 Unix
4489-# (however, be aware that this may cause floating-point problems in programs
4490-# like Dnaml owing to not using IEEE floating point standards).
4491-#CFLAGS = -fast -DMACOS10
4492-# ----------------------------------------------------------------------------
4493-#
4494-# Most of the programs need only the math libraries, specified like this;
4495-#
4496-LIBS = -lm
4497-#
4498-#
4499-# ----------------------------------------------------------------------------
4500-# (After this point there should not be any reason to change anything)
4501-# ----------------------------------------------------------------------------
4502-#
4503-#
4504-# the list of programs
4505-# draw programs are listed last since they are the most likely to cause
4506-# compilation or linking problems
4507-
4508-PROGS = clique \
4509- consense \
4510- contml \
4511- contrast \
4512- dnacomp \
4513- dnadist \
4514- dnainvar \
4515- dnaml \
4516- dnamlk \
4517- dnamove \
4518- dnapars \
4519- dnapenny \
4520- dolmove \
4521- dollop \
4522- dolpenny \
4523- factor \
4524- fitch \
4525- gendist \
4526- kitsch \
4527- mix \
4528- move \
4529- neighbor \
4530- pars \
4531- penny \
4532- proml \
4533- promlk \
4534- protdist \
4535- protpars \
4536- restdist \
4537- restml \
4538- retree \
4539- seqboot \
4540- treedist \
4541- drawgram \
4542- drawtree
4543-
4544-DYLIBS = libdrawgram.dylib \
4545- libdrawtree.dylib
4546-
4547-JARS = javajars/DrawGram.jar \
4548- javajars/DrawTree.jar
4549-
4550-APPS = clique.app consense.app contml.app contrast.app dnacomp.app \
4551- dnadist.app dnainvar.app dnaml.app dnamlk.app dnamove.app \
4552- dnapars.app dnapenny.app dollop.app dolmove.app dolpenny.app \
4553- drawgram.app drawtree.app factor.app fitch.app gendist.app \
4554- kitsch.app mix.app move.app neighbor.app pars.app penny.app \
4555- proml.app promlk.app protdist.app protpars.app restdist.app \
4556- restml.app retree.app seqboot.app treedist.app
4557-#
4558-# general commands
4559-#
4560-
4561-# The first target it executed if you just type "make". It tells you how to
4562-# use the Makefile.
4563-#
4564-help:
4565- @echo ""
4566- @echo " To use the PHYLIP v$(VERSION) Makefile, type"
4567- @echo " make install to compile the whole package and install"
4568- @echo " the executables in $(EXEDIR), and then"
4569- @echo " remove the object files to save space"
4570- @echo " make all to compile the whole package but not install it"
4571- @echo " or remove the object files"
4572- @echo " make put to move the executables into $(EXEDIR)"
4573- @echo " make clean to remove all object files and executables from the"
4574- @echo " current directory"
4575- @echo " make dnaml to compile and link one program, (in this example,"
4576- @echo " Dnaml) and leave the executable and object files"
4577- @echo " in the current directory (where the source code is)."
4578- @echo " You will have to move the executable into the"
4579- @echo " executables directory (e.g. \"mv dnaml $(EXEDIR)\")"
4580- @echo " Note that the program name should be lower case."
4581- @echo " "
4582-
4583-introduce:
4584- @echo "Building PHYLIP version $(VERSION)"
4585-
4586-all: introduce $(PROGS) $(DYLIBS)
4587- @echo "Finished compiling."
4588- @echo ""
4589-
4590-# For making clickable executables.
4591-apps: $(APPS) $(DYLIBS)
4592-
4593-install: pre-clean apps put clean
4594- @echo "Done."
4595- @echo ""
4596-
4597-put:
4598- @echo "Installing PHYLIP v3.6 binaries in $(EXEDIR)"
4599- @mkdir -p $(EXEDIR)
4600- @for i in $(APPS) ; do \
4601- rm -rf "$(EXEDIR)/$$i" ; \
4602- done
4603- @mv $(APPS) '$(EXEDIR)'
4604- @echo "Installing dynamic libraries in $(EXEDIR)"
4605- @cp $(DYLIBS) $(EXEDIR)
4606- @echo "Installing jar files in $(EXEDIR)"
4607- @cp $(JARS) $(EXEDIR)
4608- @echo "Installing font files in $(EXEDIR)"
4609- @cp font* $(EXEDIR)
4610- @echo "Copying testdata to $(EXEDIR)/testdata"
4611- mkdir $(EXEDIR)/testdata
4612- for i in $(TESTDIR); do \
4613- mkdir $(EXEDIR)/testdata/$$i; \
4614- cp testdata/$$i/*.txt $(EXEDIR)/testdata/$$i; \
4615- done
4616- @echo "Finished installation."
4617- @echo ""
4618-
4619-pre-clean:
4620- @echo "Removing preexisting executables"
4621- @for i in $(APPS) ; do \
4622- rm -rf "$(EXEDIR)/$$i" ; \
4623- done
4624- @echo "Removing preexisting testdata"
4625- @rm -rf $(EXEDIR)/testdata
4626- @echo "Ready for new executables"
4627- @echo ""
4628-
4629-clean:
4630- @echo "Removing object files to save space"
4631- @rm -f *.o
4632- @rm -f $(DYLIBS)
4633- @echo "Finished removing object files. Now will remove"
4634- @echo "executable files from the current directory, but not from the"
4635- @echo "executables directory. (If some are not here, the makefile"
4636- @echo "will terminate with an error message but this is not a problem)"
4637- @echo ""
4638- @echo "Removing executables from this directory"
4639- @rm -f $(PROGS)
4640- @rm -rf $(APPS)
4641- @echo "Finished cleanup."
4642- @echo ""
4643-
4644-#
4645-# compile object files shared between programs
4646-# (make's implicit rule for %.o will take care of these)
4647-#
4648-
4649-phylip.o: phylip.h
4650-seq.o: phylip.h seq.h
4651-disc.o: phylip.h disc.h
4652-discrete.o: phylip.h discrete.h
4653-dollo.o: phylip.h dollo.h
4654-wagner.o: phylip.h wagner.h
4655-dist.o: phylip.h dist.h
4656-cont.o: phylip.h cont.h
4657-mlclock.o: phylip.h mlclock.h
4658-moves.o: phylip.h moves.h
4659-printree.o: phylip.h printree.h
4660-
4661-#
4662-# compile the individual programs
4663-#
4664-
4665-clique.o: clique.c disc.h phylip.h
4666-
4667-clique: clique.o disc.o phylip.o
4668- $(CC) $(CFLAGS) clique.o disc.o phylip.o $(LIBS) -o clique
4669-
4670-cons.o: cons.c cons.h phylip.h
4671-
4672-consense.o: consense.c cons.h phylip.h
4673-
4674-consense: consense.o phylip.o cons.o
4675- $(CC) $(CFLAGS) consense.o phylip.o cons.o $(LIBS) -o consense
4676-
4677-contml.o: contml.c cont.h phylip.h
4678-
4679-contml: contml.o cont.o phylip.o
4680- $(CC) $(CFLAGS) contml.o cont.o phylip.o $(LIBS) -o contml
4681-
4682-contrast.o: contrast.c cont.h phylip.h
4683-
4684-contrast: contrast.o cont.o phylip.o
4685- $(CC) $(CFLAGS) contrast.o cont.o phylip.o $(LIBS) -o contrast
4686-
4687-dnacomp.o: dnacomp.c seq.h phylip.h
4688-
4689-dnacomp: dnacomp.o seq.o phylip.o
4690- $(CC) $(CFLAGS) dnacomp.o seq.o phylip.o $(LIBS) -o dnacomp
4691-
4692-dnadist.o: dnadist.c seq.h phylip.h
4693-
4694-dnadist: dnadist.o seq.o phylip.o
4695- $(CC) $(CFLAGS) dnadist.o seq.o phylip.o $(LIBS) -o dnadist
4696-
4697-dnainvar.o: dnainvar.c seq.h phylip.h
4698-
4699-dnainvar: dnainvar.o seq.o phylip.o
4700- $(CC) $(CFLAGS) dnainvar.o seq.o phylip.o $(LIBS) -o dnainvar
4701-
4702-dnaml.o: dnaml.c seq.h phylip.h
4703-
4704-dnaml: dnaml.o seq.o phylip.o
4705- $(CC) $(CFLAGS) dnaml.o seq.o phylip.o $(LIBS) -o dnaml
4706-
4707-dnamlk.o: dnamlk.c seq.h phylip.h mlclock.h printree.h
4708-
4709-dnamlk: dnamlk.o seq.o phylip.o mlclock.o printree.o
4710- $(CC) $(CFLAGS) dnamlk.o seq.o phylip.o mlclock.o printree.o $(LIBS) -o dnamlk
4711-
4712-dnamove.o: dnamove.c seq.h moves.h phylip.h
4713-
4714-dnamove: dnamove.o seq.o moves.o phylip.o
4715- $(CC) $(CFLAGS) dnamove.o seq.o moves.o phylip.o $(LIBS) -o dnamove
4716-
4717-dnapenny.o: dnapenny.c seq.h phylip.h
4718-
4719-dnapenny: dnapenny.o seq.o phylip.o
4720- $(CC) $(CFLAGS) dnapenny.o seq.o phylip.o $(LIBS) -o dnapenny
4721-
4722-dnapars.o: dnapars.c seq.h phylip.h
4723-
4724-dnapars: dnapars.o seq.o phylip.o
4725- $(CC) $(CFLAGS) dnapars.o seq.o phylip.o $(LIBS) -o dnapars
4726-
4727-dolmove.o: dolmove.c disc.h moves.h dollo.h phylip.h
4728-
4729-dolmove: dolmove.o disc.o moves.o dollo.o phylip.o
4730- $(CC) $(CFLAGS) dolmove.o disc.o moves.o dollo.o phylip.o $(LIBS) -o dolmove
4731-
4732-dollop.o: dollop.c disc.h dollo.h phylip.h
4733-
4734-dollop: dollop.o disc.o dollo.o phylip.o
4735- $(CC) $(CFLAGS) dollop.o disc.o dollo.o phylip.o $(LIBS) -o dollop
4736-
4737-dolpenny.o: dolpenny.c disc.h dollo.h phylip.h
4738-
4739-dolpenny: dolpenny.o disc.o dollo.o phylip.o
4740- $(CC) $(CFLAGS) dolpenny.o disc.o dollo.o phylip.o $(LIBS) -o dolpenny
4741-
4742-draw.o: draw.c draw.h phylip.h
4743- $(CC) $(CFLAGS) -c draw.c
4744-
4745-draw2.o: draw2.c draw.h phylip.h
4746- $(CC) $(CFLAGS) -c draw2.c
4747-
4748-drawgram.o: drawgram.c draw.h phylip.h
4749- $(CC) $(CFLAGS) -c drawgram.c
4750-
4751-drawgram: drawgram.o draw.o draw2.o phylip.o
4752- $(CC) $(CFLAGS) draw.o draw2.o drawgram.o phylip.o $(CLIBS) -o drawgram
4753-
4754-# needed by java
4755-libdrawgram.dylib: drawgram.o draw.o draw2.o phylip.o
4756- $(CC) $(CFLAGS) -shared drawgram.o draw.o draw2.o phylip.o $(CLIBS) -o libdrawgram.dylib
4757-
4758-drawtree.o: drawtree.c draw.h phylip.h
4759- $(CC) $(CFLAGS) -c drawtree.c
4760-
4761-drawtree: drawtree.o draw.o draw2.o phylip.o
4762- $(CC) $(CFLAGS) draw.o draw2.o drawtree.o phylip.o $(CLIBS) -o drawtree
4763-
4764-# needed by java
4765-libdrawtree.dylib: drawtree.o draw.o draw2.o phylip.o
4766- $(CC) $(CFLAGS) -shared drawtree.o draw.o draw2.o phylip.o $(CLIBS) -o libdrawtree.dylib
4767-
4768-factor.o: factor.c phylip.h
4769-
4770-factor: factor.o phylip.o
4771- $(CC) $(CFLAGS) factor.o phylip.o $(LIBS) -o factor
4772-
4773-fitch.o: fitch.c dist.h phylip.h
4774-
4775-fitch: fitch.o dist.o phylip.o
4776- $(CC) $(CFLAGS) fitch.o dist.o phylip.o $(LIBS) -o fitch
4777-
4778-gendist.o: gendist.c phylip.h
4779-
4780-gendist: gendist.o phylip.o
4781- $(CC) $(CFLAGS) gendist.o phylip.o $(LIBS) -o gendist
4782-
4783-kitsch.o: kitsch.c dist.h phylip.h
4784-
4785-kitsch: kitsch.o dist.o phylip.o
4786- $(CC) $(CFLAGS) kitsch.o dist.o phylip.o $(LIBS) -o kitsch
4787-
4788-mix.o: mix.c disc.h wagner.h phylip.h
4789-
4790-mix: mix.o disc.o wagner.o phylip.o
4791- $(CC) $(CFLAGS) mix.o disc.o wagner.o phylip.o $(LIBS) -o mix
4792-
4793-move.o: move.c disc.h moves.h wagner.h phylip.h
4794-
4795-move: move.o disc.o moves.o wagner.o phylip.o
4796- $(CC) $(CFLAGS) move.o disc.o moves.o wagner.o phylip.o $(LIBS) -o move
4797-
4798-neighbor.o: neighbor.c dist.h phylip.h
4799-
4800-neighbor: neighbor.o dist.o phylip.o
4801- $(CC) $(CFLAGS) neighbor.o dist.o phylip.o $(LIBS) -o neighbor
4802-
4803-pars.o: pars.c discrete.h phylip.h
4804-
4805-pars: pars.o discrete.o phylip.o
4806- $(CC) $(CFLAGS) pars.o discrete.o phylip.o $(LIBS) -o pars
4807-
4808-penny.o: penny.c disc.h wagner.h phylip.h
4809-
4810-penny: penny.o disc.o wagner.o phylip.o
4811- $(CC) $(CFLAGS) penny.o disc.o wagner.o phylip.o $(LIBS) -o penny
4812-
4813-proml.o: proml.c seq.h phylip.h
4814-
4815-proml: proml.o seq.o phylip.o
4816- $(CC) $(CFLAGS) proml.o seq.o phylip.o $(LIBS) -o proml
4817-
4818-promlk.o: promlk.c seq.h phylip.h mlclock.h printree.h
4819-
4820-promlk: promlk.o seq.o phylip.o mlclock.o printree.o
4821- $(CC) $(CFLAGS) promlk.o seq.o phylip.o mlclock.o printree.o $(LIBS) -o promlk
4822-
4823-protdist.o: protdist.c seq.h phylip.h
4824-
4825-protdist: protdist.o seq.o phylip.o
4826- $(CC) $(CFLAGS) protdist.o seq.o phylip.o $(LIBS) -o protdist
4827-
4828-protpars.o: protpars.c seq.h phylip.h
4829-
4830-protpars: protpars.o seq.o phylip.o
4831- $(CC) $(CFLAGS) protpars.o seq.o phylip.o $(LIBS) -o protpars
4832-
4833-restdist.o: restdist.c seq.h phylip.h
4834-
4835-restdist: restdist.o seq.o phylip.o
4836- $(CC) $(CFLAGS) restdist.o seq.o phylip.o $(LIBS) -o restdist
4837-
4838-restml.o: restml.c seq.h phylip.h
4839-
4840-restml: restml.o seq.o phylip.o
4841- $(CC) $(CFLAGS) restml.o seq.o phylip.o $(LIBS) -o restml
4842-
4843-retree.o: retree.c moves.h phylip.h
4844-
4845-retree: retree.o moves.o phylip.o
4846- $(CC) $(CFLAGS) retree.o moves.o phylip.o $(LIBS) -o retree
4847-
4848-seqboot.o: seqboot.c phylip.h
4849-
4850-seqboot: seqboot.o seq.o phylip.o
4851- $(CC) $(CFLAGS) seqboot.o seq.o phylip.o $(LIBS) -o seqboot
4852-
4853-treedist.o: treedist.c cons.h phylip.h
4854-
4855-treedist: treedist.o phylip.o cons.o
4856- $(CC) $(CFLAGS) treedist.o cons.o phylip.o $(LIBS) -o treedist
4857-
4858-#
4859-# This is where the clickable executables are made for Mac OSX
4860-#
4861-%.app: % mac/Info.plist.in mac/command.in mac/%.icns
4862- @rm -rf $@
4863- /Developer/Tools/Rez -d __DARWIN__ -t APPL Carbon.r -o $<
4864- /Developer/Tools/SetFile -a C $<
4865- -mkdir -p $@/Contents/MacOS
4866- -mkdir -p $@/Contents/Resources
4867- sed -e "s/IDENTIFIER/$</" \
4868- -e "s/COMMAND/$<.command/" \
4869- -e "s/EXECUTABLE/$</" \
4870- -e "s/ICONNAME/$</" \
4871- -e "s/VERSION/$(VERSION)/" \
4872- mac/Info.plist.in > $@/Contents/Info.plist
4873- sed -e "s/EXECUTABLE/$</" \
4874- mac/command.in > $@/Contents/MacOS/$<.command
4875- chmod ug+x $@/Contents/MacOS/$<.command
4876- echo -n "APPL????" >$@/Contents/PkgInfo
4877- cp $< $@/Contents/MacOS/$<
4878- cp -f mac/$<.icns $@/Contents/Resources/$<.icns
4879-
4880-# Location of the lsregister command to force re-registration with LaunchServices
4881-LSREGISTER=/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister
4882-
4883-%.install: %.app
4884- @rm -rf '$(EXEDIR)/$<'
4885- @mv $< '$(EXEDIR)'
4886-
4887-# ----------------------------------------------------------------------------
4888-# The following section is used to build a PHYLIP distribution. All sources
4889-# and other files except the documentation files must be placed in the
4890-# current directory. The HTML documentation files must be in folder "doc"
4891-# within this, the Mac icons in folder "mac", and the Windows icons and
4892-# resource files must be in folder "icons"
4893-#
4894-# Usage:
4895-# make distdir - Build the distribution dir phylip-<vers>/
4896-# make dist - Make a tarred and gzipped phylip-<vers>.tar.gz
4897-# ----------------------------------------------------------------------------
4898-
4899-DIST_COMMON = phylip.html
4900-
4901-DOCS= doc/clique.html doc/consense.html doc/contchar.html doc/contml.html \
4902- doc/contrast.html doc/discrete.html doc/distance.html doc/dnacomp.html \
4903- doc/dnadist.html doc/dnainvar.html doc/dnaml.html doc/dnamlk.html \
4904- doc/dnamove.html doc/dnapars.html doc/dnapenny.html doc/dollop.html \
4905- doc/dolmove.html doc/dolpenny.html doc/drawgram.html doc/draw.html \
4906- doc/drawtree.html doc/factor.html doc/fitch.html doc/gendist.html \
4907- doc/kitsch.html doc/main.html doc/mix.html doc/move.html \
4908- doc/neighbor.html doc/pars.html doc/penny.html doc/proml.html \
4909- doc/promlk.html doc/protdist.html doc/protpars.html doc/restdist.html \
4910- doc/restml.html doc/retree.html doc/seqboot.html doc/sequence.html \
4911- doc/treedist.html doc/phylip.gif
4912-
4913-IMAGES= doc/images/DrawGramCat.png doc/images/DrawGramControls.png \
4914- doc/images/DrawTreeCat.png doc/images/DrawTreeControls.png \
4915- doc/images/InputTree.png
4916-
4917-SOURCES= COPYRIGHT Makefile.cyg Makefile.osx Makefile.unx linkmac \
4918- clique.c cons.c consense.c cons.h cont.c \
4919- cont.h contml.c contrast.c disc.c disc.h discrete.c discrete.h dist.c \
4920- dist.h dnacomp.c dnadist.c dnainvar.c dnaml.c dnamlk.c dnamove.c \
4921- dnapars.c dnapenny.c dollo.c dollo.h dollop.c dolmove.c dolpenny.c \
4922- draw2.c draw.c drawgram.c draw.h drawtree.c \
4923- factor.c fitch.c gendist.c \
4924- interface.c interface.h io.h kitsch.c macface.c macface.h mix.c move.c \
4925- moves.c moves.h neighbor.c newmove.c pars.c penny.c \
4926- phylip.c phylip.h proml.c promlk.c protdist.c protpars.c restdist.c \
4927- restml.c retree.c seqboot.c seq.c seq.h treedist.c wagner.c wagner.h \
4928- mlclock.c mlclock.h printree.c printree.h
4929-
4930-MAC= \
4931- Info.plist.in boot.icns clique.icns command.in consense.icns \
4932- contml.icns contrast.icns disc.icns dist.icns dna.icns dnacomp.icns \
4933- dnadist.icns dnainvar.icns dnaml.icns dnamlk.icns dnamove.icns \
4934- dnapars.icns dnapenny.icns dollo.icns dollop.icns dolmove.icns \
4935- dolpenny.icns drawgram.icns drawtree.icns factor.icns fitch.icns \
4936- gendist.icns kitsch.icns mac.sit mix.icns move.icns neighbor.icns \
4937- pars.icns penny.icns proml.icns promlk.icns protdist.icns protein.icns \
4938- protpars.icns restdist.icns restml.icns restrict.icns retree.icns \
4939- seqboot.icns treedist.icns
4940-
4941-ICONS= boot.ico clique.ico clique.rc clique.rcb consense.ico \
4942- consense.rc consense.rcb contml.ico contml.rc contml.rcb \
4943- contrast.ico contrast.rc contrast.rcb disc.ico dist.ico dna.ico \
4944- dnacomp.rc dnacomp.rcb dnadist.rc dnadist.rcb dnainvar.rc \
4945- dnainvar.rcb dnaml.rc dnaml.rcb dnamlk.rc dnamlk.rcb dnamove.rc \
4946- dnamove.rcb dnapars.rc dnapars.rcb dnapenny.rc dnapenny.rcb \
4947- dollo.ico dollop.rc dollop.rcb dolmove.rc dolmove.rcb \
4948- dolpenny.rc dolpenny.rcb drawgram.ico drawgram.rc drawgram.rcb \
4949- drawtree.ico drawtree.rc drawtree.rcb factor.rc factor.rcb \
4950- fitch.rc fitch.rcb gendist.ico gendist.rc gendist.rcb kitsch.rc \
4951- kitsch.rcb mix.rc mix.rcb move.rc move.rcb neighbor.rc \
4952- neighbor.rcb pars.rc pars.rcb penny.rc penny.rcb proml.rc \
4953- proml.rcb promlk.rc promlk.rcb protdist.rc protdist.rcb \
4954- protein.ico protpars.rc protpars.rcb restdist.rc restdist.rcb \
4955- restml.rc restml.rcb restrict.ico retree.ico retree.rc \
4956- retree.rcb seqboot.rc seqboot.rcb treedist.ico treedist.rc \
4957- treedist.rcb
4958-
4959-FONTS= font1 font2 font3 font4 font5 font6
4960-
4961-TESTDIR= clique consense contml contrast dnacomp \
4962- dnadist dnainvar dnaml dnamlk dnamove dnapars dnapenny dollop \
4963- dolmove dolpenny drawgram drawtree factor fitch gendist \
4964- kitsch mix move neighbor pars penny proml promlk \
4965- protdist protpars restdist restml retree seqboot treedist
4966-
4967-JARAJAR= javajars/DrawGram.jar javajars/DrawTree.jar \
4968- javajars/DrawGramJava.bat javajars/DrawTreeJava.bat \
4969- javajars/DrawGramJava.exe javajars/DrawTreeJava.exe \
4970- javajars/DrawGramJava.unx javajars/DrawTreeJava.unx
4971-
4972-
4973-DISTDIR=$(PACKAGE)-$(VERSION)-osx
4974-dist_SRCDIR=$(DISTDIR)/src
4975-dist_DOCDIR=$(DISTDIR)/doc
4976-dist_IMGDIR=$(DISTDIR)/doc/images
4977-dist_EXEDIR=$(DISTDIR)/exe
4978-dist_JAVADIR=$(DISTDIR)/src/javajars
4979-MACICONDIR=src/mac
4980-
4981-SHELL=bash
4982-
4983-# We can use this target to create a tarred and gzipped distribution of PHYLIP
4984-dist: distdir
4985- -chmod -R a+r $(DISTDIR)
4986- tar chozf $(DISTDIR).tar.gz $(DISTDIR)
4987- -rm -rf $(DISTDIR)
4988-
4989-# This target creates the distribution directory which buildDmg.sh uses to build install "disk"
4990-distdir: $(DIST_COMMON) $(DOCS) $(SOURCES)
4991- -rm -rf $(DISTDIR)
4992- mkdir $(DISTDIR) && \
4993- mkdir $(dist_EXEDIR) && \
4994- mkdir $(dist_DOCDIR) && \
4995- mkdir $(dist_IMGDIR) && \
4996- mkdir $(dist_SRCDIR) && \
4997- mkdir $(dist_JAVADIR)
4998- mkdir $(dist_SRCDIR)/mac
4999- mkdir $(dist_SRCDIR)/icons
5000- mkdir $(dist_SRCDIR)/testdata
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: