2001-09-17 22:09:08 +02:00
|
|
|
#!/usr/bin/perl -w
|
2001-06-08 21:09:44 +02:00
|
|
|
#
|
|
|
|
# Update the dll dependencies in the dlls main Makefile.in.
|
|
|
|
# Must be run in the dlls/ directory of the Wine tree.
|
|
|
|
#
|
|
|
|
# Copyright 2001 Alexandre Julliard
|
|
|
|
#
|
2002-03-10 00:29:33 +01:00
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
|
|
# License as published by the Free Software Foundation; either
|
|
|
|
# version 2.1 of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This library is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# Lesser General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
|
|
# License along with this library; if not, write to the Free Software
|
2006-05-18 14:49:52 +02:00
|
|
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2002-03-10 00:29:33 +01:00
|
|
|
#
|
2001-06-08 21:09:44 +02:00
|
|
|
|
2002-05-21 20:29:31 +02:00
|
|
|
use strict;
|
2001-06-08 21:09:44 +02:00
|
|
|
|
2002-05-21 20:29:31 +02:00
|
|
|
my $makefiles = `find . -name Makefile.in -print`;
|
|
|
|
|
|
|
|
my %directories = ();
|
2005-05-10 15:21:04 +02:00
|
|
|
my %importlibs = ();
|
|
|
|
my %static_implibs = ();
|
|
|
|
my %staticlib_dirs = ();
|
2002-05-21 20:29:31 +02:00
|
|
|
my %altnames = ();
|
2001-06-08 21:09:44 +02:00
|
|
|
|
2001-09-17 22:09:08 +02:00
|
|
|
# list of special dlls that can be switched on or off by configure
|
2002-05-21 20:29:31 +02:00
|
|
|
my %special_dlls =
|
2001-09-17 22:09:08 +02:00
|
|
|
(
|
|
|
|
"glu32" => "GLU32FILES",
|
2003-12-02 05:11:09 +01:00
|
|
|
"glut32" => "GLUT32FILES",
|
2001-09-17 22:09:08 +02:00
|
|
|
"opengl32" => "OPENGLFILES",
|
2003-11-14 04:50:35 +01:00
|
|
|
"wined3d" => "OPENGLFILES",
|
2006-06-16 09:57:50 +02:00
|
|
|
"winex11.drv" => "XFILES"
|
2001-09-17 22:09:08 +02:00
|
|
|
);
|
|
|
|
|
2006-03-21 12:01:31 +01:00
|
|
|
sub needs_symlink($)
|
|
|
|
{
|
|
|
|
(my $mod = $_[0]) =~ s/\.dll$//;
|
|
|
|
return $mod ne $directories{$_[0]};
|
|
|
|
}
|
|
|
|
|
2002-05-21 20:29:31 +02:00
|
|
|
foreach my $i (split(/\s/,$makefiles))
|
2001-06-08 21:09:44 +02:00
|
|
|
{
|
2002-05-21 20:29:31 +02:00
|
|
|
my $module;
|
|
|
|
|
2002-08-09 03:22:40 +02:00
|
|
|
next if $i =~ /\/tests\/Makefile.in/;
|
|
|
|
|
2001-06-08 21:09:44 +02:00
|
|
|
open MAKE,$i;
|
2002-05-21 20:29:31 +02:00
|
|
|
|
|
|
|
$module = undef;
|
2001-06-08 21:09:44 +02:00
|
|
|
while (<MAKE>)
|
|
|
|
{
|
|
|
|
chop;
|
2002-05-21 20:29:31 +02:00
|
|
|
# EPP hack to disable this DLL... the MKDLL_SKIP comment must appear
|
|
|
|
# at the very top of the Makefile.in
|
|
|
|
last if (/^\#\s*MKDLL_SKIP/);
|
|
|
|
|
2001-06-08 21:09:44 +02:00
|
|
|
if (/^MODULE\s*=\s*([a-zA-Z0-9_.]+)/)
|
|
|
|
{
|
|
|
|
$module = $1;
|
2004-01-26 22:29:05 +01:00
|
|
|
if ($module =~ /^lib.*\.a$/)
|
|
|
|
{
|
2005-05-10 15:21:04 +02:00
|
|
|
($staticlib_dirs{$module} = $i) =~ s/^\.\/(.*)\/[^\/]+$/$1/;
|
2006-03-16 17:25:06 +01:00
|
|
|
die "invalid module $module in dir $staticlib_dirs{$module}\n" if "lib$staticlib_dirs{$module}.a" ne $module;
|
2004-01-26 22:29:05 +01:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
($directories{$module} = $i) =~ s/^\.\/(.*)\/[^\/]+$/$1/;
|
|
|
|
}
|
2001-06-08 21:09:44 +02:00
|
|
|
next;
|
|
|
|
}
|
2005-05-10 15:21:04 +02:00
|
|
|
if (/^IMPORTLIB\s*=\s*([a-zA-Z0-9_.]+)\.\$\(IMPLIBEXT\)/)
|
|
|
|
{
|
|
|
|
$importlibs{$module} = $1;
|
|
|
|
next;
|
|
|
|
}
|
|
|
|
if (/^IMPLIB_SRCS\s*=/)
|
|
|
|
{
|
|
|
|
$static_implibs{$module} = 1;
|
|
|
|
next;
|
|
|
|
}
|
2004-08-18 00:10:26 +02:00
|
|
|
if (/^SPEC_SRCS16\s*=\s*(.*)/)
|
2001-06-08 21:09:44 +02:00
|
|
|
{
|
2004-08-18 00:10:26 +02:00
|
|
|
my $specs = $1;
|
|
|
|
while ($specs =~ /\s*(.*)\\$/) { $specs = $1 . <MAKE>; }
|
|
|
|
my @list = split(/\s+/,$specs);
|
|
|
|
@list = map { $_ =~ s/\.spec$//; $_ .= ".dll" unless $_ =~ /\./; $_; } @list;
|
2001-06-08 21:09:44 +02:00
|
|
|
$altnames{$module} = \@list;
|
|
|
|
next;
|
|
|
|
}
|
|
|
|
}
|
2002-05-21 20:29:31 +02:00
|
|
|
close MAKE;
|
2001-06-08 21:09:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
open NEWMAKE,">Makefile.in.new" or die "cannot create Makefile.in.new";
|
|
|
|
|
2001-09-17 22:09:08 +02:00
|
|
|
################################################################
|
|
|
|
# makefile header
|
|
|
|
|
|
|
|
print NEWMAKE <<EOF;
|
|
|
|
# Automatically generated by make_dlls; DO NOT EDIT!!
|
|
|
|
|
|
|
|
TOPSRCDIR = \@top_srcdir\@
|
|
|
|
TOPOBJDIR = ..
|
|
|
|
SRCDIR = \@srcdir\@
|
|
|
|
VPATH = \@srcdir\@
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
################################################################
|
|
|
|
# output special dlls configure definitions
|
|
|
|
|
|
|
|
printf NEWMAKE "# special configure-dependent targets\n\n";
|
|
|
|
my %specials = ();
|
2002-05-21 20:29:31 +02:00
|
|
|
foreach my $mod (sort keys %special_dlls)
|
2001-06-08 21:09:44 +02:00
|
|
|
{
|
2001-09-17 22:09:08 +02:00
|
|
|
$specials{$special_dlls{$mod}} .= " " . $mod;
|
2001-06-08 21:09:44 +02:00
|
|
|
}
|
2002-05-21 20:29:31 +02:00
|
|
|
foreach my $i (sort keys %specials)
|
2001-06-08 21:09:44 +02:00
|
|
|
{
|
2001-09-17 22:09:08 +02:00
|
|
|
printf NEWMAKE "%s =%s\n", $i, $specials{$i};
|
2001-06-08 21:09:44 +02:00
|
|
|
}
|
2001-09-17 22:09:08 +02:00
|
|
|
printf NEWMAKE "EXTRADIRS =";
|
2002-05-21 20:29:31 +02:00
|
|
|
foreach my $i (sort keys %specials) { printf NEWMAKE " \@%s\@", $i; }
|
2001-09-17 22:09:08 +02:00
|
|
|
printf NEWMAKE "\n\n";
|
|
|
|
|
|
|
|
|
|
|
|
################################################################
|
|
|
|
# output the subdirs list
|
2001-06-08 21:09:44 +02:00
|
|
|
|
2002-05-23 04:47:16 +02:00
|
|
|
print NEWMAKE "# Subdir list\n\nBASEDIRS =";
|
2002-05-21 20:29:31 +02:00
|
|
|
foreach my $dir (sort values %directories)
|
2001-06-08 21:09:44 +02:00
|
|
|
{
|
2001-09-17 22:09:08 +02:00
|
|
|
next if defined($special_dlls{$dir}); # skip special dlls
|
2001-06-08 21:09:44 +02:00
|
|
|
printf NEWMAKE " \\\n\t%s", $dir;
|
|
|
|
}
|
|
|
|
|
2005-08-25 14:15:06 +02:00
|
|
|
printf NEWMAKE "\n\nIMPLIBSUBDIRS =";
|
|
|
|
foreach my $dir (sort values %staticlib_dirs)
|
|
|
|
{
|
|
|
|
printf NEWMAKE " \\\n\t%s", $dir;
|
|
|
|
}
|
|
|
|
|
|
|
|
printf NEWMAKE "\n\nSUBDIRS = \\\n\t\$(BASEDIRS) \\\n\t\$(IMPLIBSUBDIRS)";
|
|
|
|
foreach my $dir (sort keys %special_dlls)
|
2002-05-23 04:47:16 +02:00
|
|
|
{
|
|
|
|
printf NEWMAKE " \\\n\t%s", $dir;
|
|
|
|
}
|
|
|
|
printf NEWMAKE <<EOF;
|
|
|
|
|
|
|
|
|
|
|
|
BUILDSUBDIRS = \$(BASEDIRS) \$(EXTRADIRS)
|
2002-06-15 01:48:27 +02:00
|
|
|
|
2005-08-25 14:15:06 +02:00
|
|
|
INSTALLSUBDIRS = \$(BUILDSUBDIRS) \$(IMPLIBSUBDIRS)
|
2002-05-23 04:47:16 +02:00
|
|
|
EOF
|
2001-09-17 22:09:08 +02:00
|
|
|
|
|
|
|
################################################################
|
|
|
|
# output the all: target
|
|
|
|
|
|
|
|
my %targets = (); # use a hash to get rid of duplicate target names
|
2002-10-02 04:34:09 +02:00
|
|
|
my %targets16 = ();
|
2002-05-21 20:29:31 +02:00
|
|
|
foreach my $mod (sort keys %directories)
|
2001-09-17 22:09:08 +02:00
|
|
|
{
|
2002-03-20 23:19:06 +01:00
|
|
|
next if defined($special_dlls{$directories{$mod}}); # skip special dlls
|
2006-03-21 12:01:31 +01:00
|
|
|
$targets{$mod . ".so"} = 1 if needs_symlink($mod);
|
2001-09-17 22:09:08 +02:00
|
|
|
next unless defined $altnames{$mod};
|
2002-05-21 20:29:31 +02:00
|
|
|
foreach my $i (sort @{$altnames{$mod}})
|
2001-09-17 22:09:08 +02:00
|
|
|
{
|
2006-02-16 13:44:38 +01:00
|
|
|
$targets16{$i . "16"} = $mod;
|
2001-09-17 22:09:08 +02:00
|
|
|
}
|
|
|
|
}
|
2004-01-26 22:29:05 +01:00
|
|
|
|
2001-09-17 22:09:08 +02:00
|
|
|
print NEWMAKE <<EOF;
|
|
|
|
|
2002-03-20 23:19:06 +01:00
|
|
|
\@MAKE_RULES\@
|
|
|
|
|
2003-05-15 06:30:46 +02:00
|
|
|
# Symbolic links
|
|
|
|
|
2002-10-02 04:34:09 +02:00
|
|
|
WIN16_FILES = \\
|
|
|
|
EOF
|
|
|
|
printf NEWMAKE "\t%s\n", join( " \\\n\t", sort keys %targets16 );
|
|
|
|
|
|
|
|
print NEWMAKE <<EOF;
|
|
|
|
|
2004-03-10 02:56:00 +01:00
|
|
|
SYMLINKS_SO = \\
|
2002-10-02 04:34:09 +02:00
|
|
|
\@WIN16_FILES\@ \\
|
2001-09-17 22:09:08 +02:00
|
|
|
EOF
|
|
|
|
printf NEWMAKE "\t%s\n", join( " \\\n\t", sort keys %targets );
|
|
|
|
|
2003-05-15 06:30:46 +02:00
|
|
|
print NEWMAKE <<EOF;
|
|
|
|
|
|
|
|
# Main target
|
|
|
|
|
2006-03-21 12:01:31 +01:00
|
|
|
all: \$(BUILDSUBDIRS) symlinks\$(DLLEXT)
|
2004-03-10 02:56:00 +01:00
|
|
|
|
|
|
|
.PHONY: symlinks symlinks.so implib
|
|
|
|
|
|
|
|
symlinks.so: \$(SYMLINKS_SO)
|
|
|
|
|
|
|
|
symlinks: \$(BUILDSUBDIRS)
|
|
|
|
|
2003-05-15 06:30:46 +02:00
|
|
|
EOF
|
2001-09-17 22:09:08 +02:00
|
|
|
|
|
|
|
################################################################
|
|
|
|
# output the lib name -> directory rules
|
|
|
|
|
2006-03-21 12:01:31 +01:00
|
|
|
print NEWMAKE "# Map symlink name to the corresponding library\n\n";
|
2002-05-21 20:29:31 +02:00
|
|
|
foreach my $mod (sort keys %directories)
|
2001-06-08 21:09:44 +02:00
|
|
|
{
|
2006-06-15 16:52:23 +02:00
|
|
|
next unless needs_symlink($mod);
|
2004-03-10 02:56:00 +01:00
|
|
|
printf NEWMAKE "%s.so: %s/%s.so\n", $mod, $directories{$mod}, $mod;
|
|
|
|
printf NEWMAKE "\t\$(RM) \$@ && \$(LN_S) %s/%s.so \$@\n\n", $directories{$mod}, $mod;
|
2006-03-21 12:01:31 +01:00
|
|
|
}
|
2004-01-02 21:54:03 +01:00
|
|
|
|
2006-03-21 12:01:31 +01:00
|
|
|
print NEWMAKE "# Placeholders for 16-bit libraries\n\n";
|
|
|
|
foreach my $mod (sort keys %directories)
|
|
|
|
{
|
|
|
|
next unless defined $altnames{$mod};
|
2006-03-30 13:24:11 +02:00
|
|
|
printf NEWMAKE "%s:\n", join(" ", map { $_ . "16"; } sort @{$altnames{$mod}});
|
2006-03-21 12:01:31 +01:00
|
|
|
printf NEWMAKE "\techo \"%s\" >\$\@\n\n", $mod;
|
2001-06-08 21:09:44 +02:00
|
|
|
}
|
2001-09-17 22:09:08 +02:00
|
|
|
|
2002-12-12 23:03:14 +01:00
|
|
|
################################################################
|
|
|
|
# output the import libraries rules
|
|
|
|
|
2006-03-21 12:01:31 +01:00
|
|
|
print NEWMAKE "# Import libraries\n\n";
|
2005-05-10 15:21:04 +02:00
|
|
|
print NEWMAKE "STATIC_IMPLIBEXT = \$(IMPLIBEXT:def=def.a)\n\n";
|
2002-12-12 23:03:14 +01:00
|
|
|
|
2005-08-26 10:52:06 +02:00
|
|
|
my @lib_symlinks = ();
|
2005-05-10 15:21:04 +02:00
|
|
|
foreach my $mod (sort keys %importlibs)
|
2002-12-12 23:03:14 +01:00
|
|
|
{
|
2005-05-10 15:21:04 +02:00
|
|
|
my $dir = $directories{$mod};
|
|
|
|
my $lib = $importlibs{$mod};
|
|
|
|
if ($lib ne "lib" . $dir) { push @lib_symlinks, $mod; }
|
2002-12-12 23:03:14 +01:00
|
|
|
}
|
2005-05-10 15:21:04 +02:00
|
|
|
print NEWMAKE "IMPORT_SYMLINKS =";
|
|
|
|
foreach my $mod (sort @lib_symlinks)
|
|
|
|
{
|
|
|
|
printf NEWMAKE " \\\n\t%s.\$(IMPLIBEXT)", $importlibs{$mod};
|
|
|
|
}
|
2006-03-16 17:25:06 +01:00
|
|
|
|
|
|
|
print NEWMAKE "\n\nIMPORT_LIBS = \\\n\t\$(IMPORT_SYMLINKS)";
|
2005-05-10 15:21:04 +02:00
|
|
|
foreach my $mod (sort keys %staticlib_dirs)
|
2004-01-26 22:29:05 +01:00
|
|
|
{
|
2006-03-16 17:25:06 +01:00
|
|
|
printf NEWMAKE " \\\n\t%s/%s", $staticlib_dirs{$mod}, $mod;
|
2004-01-26 22:29:05 +01:00
|
|
|
}
|
2005-05-10 15:21:04 +02:00
|
|
|
foreach my $mod (sort keys %importlibs)
|
|
|
|
{
|
|
|
|
my $dir = $directories{$mod};
|
|
|
|
my $def = $mod;
|
|
|
|
$def =~ s/\.(dll|drv)$//;
|
|
|
|
printf NEWMAKE " \\\n\t%s/lib%s.\$(IMPLIBEXT)", $dir, $def;
|
|
|
|
printf NEWMAKE " \\\n\t%s/lib%s.\$(STATIC_IMPLIBEXT)", $dir, $def if $static_implibs{$mod};
|
|
|
|
}
|
2002-12-12 23:03:14 +01:00
|
|
|
print NEWMAKE "\n\n";
|
2004-08-11 22:59:09 +02:00
|
|
|
print NEWMAKE "implib: \$(IMPORT_LIBS)\n\n";
|
2002-12-12 23:03:14 +01:00
|
|
|
|
2005-05-10 15:21:04 +02:00
|
|
|
foreach my $mod (sort keys %importlibs)
|
2002-12-12 23:03:14 +01:00
|
|
|
{
|
|
|
|
my $dir = $directories{$mod};
|
2005-05-10 15:21:04 +02:00
|
|
|
my $lib = $importlibs{$mod};
|
2002-12-12 23:03:14 +01:00
|
|
|
my $spec = $mod;
|
|
|
|
$spec =~ s/\.dll$//;
|
2005-05-10 15:21:04 +02:00
|
|
|
printf NEWMAKE "%s/%s.\$(IMPLIBEXT): %s/%s.spec \$(WINEBUILD)\n", $dir, $lib, $dir, $spec;
|
|
|
|
printf NEWMAKE "\t\@cd %s && \$(MAKE) %s.\$(IMPLIBEXT)\n\n", $dir, $lib;
|
|
|
|
next unless $static_implibs{$mod};
|
|
|
|
printf NEWMAKE "%s/%s.\$(STATIC_IMPLIBEXT): dummy\n", $dir, $lib, $dir, $spec;
|
|
|
|
printf NEWMAKE "\t\@cd %s && \$(MAKE) %s.\$(STATIC_IMPLIBEXT)\n\n", $dir, $lib;
|
|
|
|
}
|
|
|
|
foreach my $mod (sort @lib_symlinks)
|
|
|
|
{
|
|
|
|
my $dir = $directories{$mod};
|
|
|
|
my $lib = $importlibs{$mod} . ".\$(IMPLIBEXT)";
|
|
|
|
printf NEWMAKE "%s: %s/%s\n", $lib, $dir, $lib;
|
|
|
|
printf NEWMAKE "\t\$(RM) \$@ && \$(LN_S) %s/%s \$@\n\n", $dir, $lib;
|
2002-12-12 23:03:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
print NEWMAKE <<EOF;
|
2004-08-11 22:59:09 +02:00
|
|
|
\$(BUILDSUBDIRS): \$(IMPORT_LIBS)
|
2005-05-13 15:57:55 +02:00
|
|
|
\$(INSTALLSUBDIRS:%=%/__install__) \$(INSTALLSUBDIRS:%=%/__install-lib__): \$(IMPORT_LIBS)
|
2002-12-12 23:03:14 +01:00
|
|
|
|
|
|
|
EOF
|
|
|
|
|
2001-09-17 22:09:08 +02:00
|
|
|
################################################################
|
|
|
|
# output the inter-dll dependencies and rules
|
|
|
|
|
2002-05-23 21:13:22 +02:00
|
|
|
print NEWMAKE "# Map library name to the corresponding directory\n\n";
|
|
|
|
|
|
|
|
foreach my $mod (sort keys %directories)
|
|
|
|
{
|
2006-06-15 16:52:23 +02:00
|
|
|
next unless needs_symlink($mod);
|
2004-03-10 02:56:00 +01:00
|
|
|
printf NEWMAKE "%s/%s.so: %s\n", $directories{$mod}, $mod, $directories{$mod};
|
2002-05-23 21:13:22 +02:00
|
|
|
}
|
2005-05-10 15:21:04 +02:00
|
|
|
foreach my $mod (sort keys %staticlib_dirs)
|
2004-01-26 22:29:05 +01:00
|
|
|
{
|
2005-05-10 15:21:04 +02:00
|
|
|
printf NEWMAKE "%s/%s: %s\n", $staticlib_dirs{$mod}, $mod, $staticlib_dirs{$mod};
|
2004-01-26 22:29:05 +01:00
|
|
|
}
|
2002-05-23 21:13:22 +02:00
|
|
|
|
2001-09-17 22:09:08 +02:00
|
|
|
################################################################
|
|
|
|
# makefile trailer
|
2001-06-08 21:09:44 +02:00
|
|
|
|
2001-09-17 22:09:08 +02:00
|
|
|
print NEWMAKE <<EOF;
|
2004-01-26 22:29:05 +01:00
|
|
|
|
2003-04-12 02:05:27 +02:00
|
|
|
# Rules for auto documentation
|
|
|
|
|
|
|
|
\$(SUBDIRS:%=%/__man__): dummy
|
|
|
|
cd `dirname \$@` && \$(MAKE) man
|
|
|
|
|
|
|
|
man: \$(SUBDIRS:%=%/__man__)
|
|
|
|
|
|
|
|
\$(SUBDIRS:%=%/__doc_html__): dummy
|
|
|
|
cd `dirname \$@` && \$(MAKE) doc-html
|
|
|
|
|
|
|
|
doc-html: \$(SUBDIRS:%=%/__doc_html__)
|
|
|
|
|
|
|
|
\$(SUBDIRS:%=%/__doc_sgml__): dummy
|
|
|
|
cd `dirname \$@` && \$(MAKE) doc-sgml
|
|
|
|
|
|
|
|
doc-sgml: \$(SUBDIRS:%=%/__doc_sgml__)
|
|
|
|
|
2004-03-10 02:56:00 +01:00
|
|
|
.PHONY: man doc-html doc-sgml \$(SUBDIRS:%=%/__man__) \$(SUBDIRS:%=%/__doc_html__) \$(SUBDIRS:%=%/__doc_sgml__)
|
2003-04-12 02:05:27 +02:00
|
|
|
|
2001-09-17 22:09:08 +02:00
|
|
|
# Misc rules
|
2001-06-08 21:09:44 +02:00
|
|
|
|
2005-05-09 16:42:30 +02:00
|
|
|
install-lib:: \$(INSTALLSUBDIRS:%=%/__install-lib__)
|
2002-12-12 23:03:14 +01:00
|
|
|
|
2005-05-09 16:42:30 +02:00
|
|
|
install-dev:: \$(INSTALLSUBDIRS:%=%/__install-dev__)
|
2003-10-11 03:00:35 +02:00
|
|
|
|
2002-06-15 01:48:27 +02:00
|
|
|
uninstall::
|
2006-02-14 13:51:38 +01:00
|
|
|
-rmdir \$(DESTDIR)\$(dlldir)
|
2001-06-08 21:09:44 +02:00
|
|
|
|
2002-12-12 23:03:14 +01:00
|
|
|
clean::
|
2006-03-02 16:16:31 +01:00
|
|
|
\$(RM) \$(IMPORT_SYMLINKS) \$(WIN16_FILES)
|
2002-12-12 23:03:14 +01:00
|
|
|
|
2002-05-23 04:47:16 +02:00
|
|
|
check test:: \$(BUILDSUBDIRS:%=%/__test__)
|
2002-01-14 20:56:46 +01:00
|
|
|
|
2002-09-06 21:46:00 +02:00
|
|
|
crosstest:: \$(BUILDSUBDIRS:%=%/__crosstest__)
|
|
|
|
|
2002-05-23 04:47:16 +02:00
|
|
|
checklink:: \$(BUILDSUBDIRS:%=%/__checklink__)
|
2002-06-15 01:48:27 +02:00
|
|
|
|
|
|
|
### Dependencies:
|
2001-06-08 21:09:44 +02:00
|
|
|
EOF
|
|
|
|
|
|
|
|
close NEWMAKE;
|
|
|
|
rename "Makefile.in.new", "Makefile.in";
|
|
|
|
printf "Successfully updated Makefile.in\n";
|