mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Make 'make install' ignore the new 'fuzzterm' binary.
It's for regression testing and fuzzing, so there's no use for it if you're not a developer working on the source. Leaving it out of the 'make install' target in Makefile.gtk is no trouble because that's already handled manually in Recipe by inserting a giant hairy Makefile fragment to do the installation. But Makefile.am was just setting bin_PROGRAMS to the full set of binaries built, so for that one, I had to invent a new Recipe program category [UT] which moves a particular binary into noinst_PROGRAMS. While I was at it, I've retired the [M] program category, which has been lying around unused since Ben's old Mac OS pre-X port.
This commit is contained in:
parent
fe16b577ef
commit
f14382ccce
2
Recipe
2
Recipe
@ -317,5 +317,5 @@ pageant : [X] uxpgnt uxagentc pageant sshrsa sshpubk sshdes sshbn sshmd5
|
|||||||
PuTTY : [MX] osxmain OSXTERM OSXMISC CHARSET U_BE_ALL NONSSH UXSSH
|
PuTTY : [MX] osxmain OSXTERM OSXMISC CHARSET U_BE_ALL NONSSH UXSSH
|
||||||
+ ux_x11 uxpty uxsignal testback putty.icns info.plist
|
+ ux_x11 uxpty uxsignal testback putty.icns info.plist
|
||||||
|
|
||||||
fuzzterm : [U] UXTERM CHARSET misc uxmisc uxucs fuzzterm time settings
|
fuzzterm : [UT] UXTERM CHARSET misc uxmisc uxucs fuzzterm time settings
|
||||||
+ uxstore be_none
|
+ uxstore be_none
|
||||||
|
32
mkfiles.pl
32
mkfiles.pl
@ -131,9 +131,10 @@ while (<IN>) {
|
|||||||
$i = shift @objs;
|
$i = shift @objs;
|
||||||
if ($groups{$i}) {
|
if ($groups{$i}) {
|
||||||
foreach $j (@{$groups{$i}}) { unshift @objs, $j; }
|
foreach $j (@{$groups{$i}}) { unshift @objs, $j; }
|
||||||
} elsif (($i eq "[G]" or $i eq "[C]" or $i eq "[M]" or
|
} elsif (($i =~ /^\[([A-Z]*)\]$/) and defined $prog) {
|
||||||
$i eq "[X]" or $i eq "[U]" or $i eq "[MX]") and defined $prog) {
|
|
||||||
$type = substr($i,1,(length $i)-2);
|
$type = substr($i,1,(length $i)-2);
|
||||||
|
die "unrecognised program type for $prog [$type]\n"
|
||||||
|
if ! grep { $type eq $_ } qw(G C X U MX UT);
|
||||||
} else {
|
} else {
|
||||||
push @$listref, $i;
|
push @$listref, $i;
|
||||||
}
|
}
|
||||||
@ -1378,9 +1379,9 @@ if (defined $makefiles{'gtk'}) {
|
|||||||
".SUFFIXES:\n".
|
".SUFFIXES:\n".
|
||||||
"\n".
|
"\n".
|
||||||
"\n";
|
"\n";
|
||||||
print &splitline("all:" . join "", map { " $_" } &progrealnames("X:U"));
|
print &splitline("all:" . join "", map { " $_" } &progrealnames("X:U:UT"));
|
||||||
print "\n\n";
|
print "\n\n";
|
||||||
foreach $p (&prognames("X:U")) {
|
foreach $p (&prognames("X:U:UT")) {
|
||||||
($prog, $type) = split ",", $p;
|
($prog, $type) = split ",", $p;
|
||||||
$objstr = &objects($p, "X.o", undef, undef);
|
$objstr = &objects($p, "X.o", undef, undef);
|
||||||
print &splitline($prog . ": " . $objstr), "\n";
|
print &splitline($prog . ": " . $objstr), "\n";
|
||||||
@ -1400,7 +1401,7 @@ if (defined $makefiles{'gtk'}) {
|
|||||||
print "\n";
|
print "\n";
|
||||||
print &def($makefile_extra{'gtk'}->{'end'});
|
print &def($makefile_extra{'gtk'}->{'end'});
|
||||||
print "\nclean:\n".
|
print "\nclean:\n".
|
||||||
"\trm -f *.o". (join "", map { " $_" } &progrealnames("X:U")) . "\n";
|
"\trm -f *.o". (join "", map { " $_" } &progrealnames("X:U:UT")) . "\n";
|
||||||
print "\nFORCE:\n";
|
print "\nFORCE:\n";
|
||||||
select STDOUT; close OUT;
|
select STDOUT; close OUT;
|
||||||
}
|
}
|
||||||
@ -1445,9 +1446,9 @@ if (defined $makefiles{'unix'}) {
|
|||||||
".SUFFIXES:\n".
|
".SUFFIXES:\n".
|
||||||
"\n".
|
"\n".
|
||||||
"\n";
|
"\n";
|
||||||
print &splitline("all:" . join "", map { " $_" } &progrealnames("U"));
|
print &splitline("all:" . join "", map { " $_" } &progrealnames("U:UT"));
|
||||||
print "\n\n";
|
print "\n\n";
|
||||||
foreach $p (&prognames("U")) {
|
foreach $p (&prognames("U:UT")) {
|
||||||
($prog, $type) = split ",", $p;
|
($prog, $type) = split ",", $p;
|
||||||
$objstr = &objects($p, "X.o", undef, undef);
|
$objstr = &objects($p, "X.o", undef, undef);
|
||||||
print &splitline($prog . ": " . $objstr), "\n";
|
print &splitline($prog . ": " . $objstr), "\n";
|
||||||
@ -1467,7 +1468,7 @@ if (defined $makefiles{'unix'}) {
|
|||||||
print "\n";
|
print "\n";
|
||||||
print &def($makefile_extra{'unix'}->{'end'});
|
print &def($makefile_extra{'unix'}->{'end'});
|
||||||
print "\nclean:\n".
|
print "\nclean:\n".
|
||||||
"\trm -f *.o". (join "", map { " $_" } &progrealnames("U")) . "\n";
|
"\trm -f *.o". (join "", map { " $_" } &progrealnames("U:UT")) . "\n";
|
||||||
print "\nFORCE:\n";
|
print "\nFORCE:\n";
|
||||||
select STDOUT; close OUT;
|
select STDOUT; close OUT;
|
||||||
}
|
}
|
||||||
@ -1510,6 +1511,13 @@ if (defined $makefiles{'am'}) {
|
|||||||
print &splitline(join " ", @cliprogs), "\n";
|
print &splitline(join " ", @cliprogs), "\n";
|
||||||
print "endif\n\n";
|
print "endif\n\n";
|
||||||
|
|
||||||
|
@noinstcliprogs = ("noinst_PROGRAMS", "=");
|
||||||
|
foreach $p (&prognames("UT")) {
|
||||||
|
($prog, $type) = split ",", $p;
|
||||||
|
push @noinstcliprogs, $prog;
|
||||||
|
}
|
||||||
|
print &splitline(join " ", @noinstcliprogs), "\n";
|
||||||
|
|
||||||
%objtosrc = ();
|
%objtosrc = ();
|
||||||
foreach $d (&deps("X", undef, "", "/", "am")) {
|
foreach $d (&deps("X", undef, "", "/", "am")) {
|
||||||
$objtosrc{$d->{obj}} = $d->{deps}->[0];
|
$objtosrc{$d->{obj}} = $d->{deps}->[0];
|
||||||
@ -1536,7 +1544,7 @@ if (defined $makefiles{'am'}) {
|
|||||||
print &splitline(join " ", "noinst_LIBRARIES", "=",
|
print &splitline(join " ", "noinst_LIBRARIES", "=",
|
||||||
sort { $a cmp $b } values %amspeciallibs), "\n\n";
|
sort { $a cmp $b } values %amspeciallibs), "\n\n";
|
||||||
|
|
||||||
foreach $p (&prognames("X:U")) {
|
foreach $p (&prognames("X:U:UT")) {
|
||||||
($prog, $type) = split ",", $p;
|
($prog, $type) = split ",", $p;
|
||||||
print "if HAVE_GTK\n" if $type eq "X";
|
print "if HAVE_GTK\n" if $type eq "X";
|
||||||
@progsources = ("${prog}_SOURCES", "=");
|
@progsources = ("${prog}_SOURCES", "=");
|
||||||
@ -1656,7 +1664,7 @@ if (defined $makefiles{'osx'}) {
|
|||||||
"\n" .
|
"\n" .
|
||||||
&def($makefile_extra{'osx'}->{'vars'}) .
|
&def($makefile_extra{'osx'}->{'vars'}) .
|
||||||
"\n" .
|
"\n" .
|
||||||
&splitline("all:" . join "", map { " $_" } &progrealnames("MX:U")) .
|
&splitline("all:" . join "", map { " $_" } &progrealnames("MX:U:UT")) .
|
||||||
"\n";
|
"\n";
|
||||||
foreach $p (&prognames("MX")) {
|
foreach $p (&prognames("MX")) {
|
||||||
($prog, $type) = split ",", $p;
|
($prog, $type) = split ",", $p;
|
||||||
@ -1684,7 +1692,7 @@ if (defined $makefiles{'osx'}) {
|
|||||||
print &splitline("\t\$(CC) \$(MLDFLAGS) -o \$@ " .
|
print &splitline("\t\$(CC) \$(MLDFLAGS) -o \$@ " .
|
||||||
$objstr . " $libstr", 69), "\n\n";
|
$objstr . " $libstr", 69), "\n\n";
|
||||||
}
|
}
|
||||||
foreach $p (&prognames("U")) {
|
foreach $p (&prognames("U:UT")) {
|
||||||
($prog, $type) = split ",", $p;
|
($prog, $type) = split ",", $p;
|
||||||
$objstr = &objects($p, "X.o", undef, undef);
|
$objstr = &objects($p, "X.o", undef, undef);
|
||||||
print &splitline($prog . ": " . $objstr), "\n";
|
print &splitline($prog . ": " . $objstr), "\n";
|
||||||
@ -1708,7 +1716,7 @@ if (defined $makefiles{'osx'}) {
|
|||||||
}
|
}
|
||||||
print "\n".&def($makefile_extra{'osx'}->{'end'});
|
print "\n".&def($makefile_extra{'osx'}->{'end'});
|
||||||
print "\nclean:\n".
|
print "\nclean:\n".
|
||||||
"\trm -f *.o *.dmg". (join "", map { " $_" } &progrealnames("U")) . "\n".
|
"\trm -f *.o *.dmg". (join "", map { " $_" } &progrealnames("U:UT")) . "\n".
|
||||||
"\trm -rf *.app\n".
|
"\trm -rf *.app\n".
|
||||||
"\n".
|
"\n".
|
||||||
"FORCE:\n";
|
"FORCE:\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user