Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5852f7a1
Commit
5852f7a1
authored
May 23, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run make clean in all directories, even the ones we don't compile in.
Simplified sub-directories rules a bit.
parent
261e28a7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
25 deletions
+29
-25
Makefile.in
dlls/Makefile.in
+0
-0
make_dlls
dlls/make_dlls
+29
-25
No files found.
dlls/Makefile.in
View file @
5852f7a1
This diff is collapsed.
Click to expand it.
dlls/make_dlls
View file @
5852f7a1
...
@@ -118,19 +118,23 @@ printf NEWMAKE "\n\n";
...
@@ -118,19 +118,23 @@ printf NEWMAKE "\n\n";
################################################################
################################################################
# output the subdirs list
# output the subdirs list
print
NEWMAKE
<<EOF;
print
NEWMAKE
"# Subdir list\n\nBASEDIRS ="
;
# Subdir list
SUBDIRS = \\
EOF
printf
NEWMAKE
"\t\$(EXTRADIRS)"
;
foreach
my
$dir
(
sort
values
%
directories
)
foreach
my
$dir
(
sort
values
%
directories
)
{
{
next
if
defined
(
$special_dlls
{
$dir
});
# skip special dlls
next
if
defined
(
$special_dlls
{
$dir
});
# skip special dlls
printf
NEWMAKE
" \\\n\t%s"
,
$dir
;
printf
NEWMAKE
" \\\n\t%s"
,
$dir
;
}
}
printf
NEWMAKE
"\n"
;
printf
NEWMAKE
"\n\nSUBDIRS = \\\n\t\$(BASEDIRS)"
;
foreach
my
$dir
(
sort
keys
%
special_dlls
)
{
printf
NEWMAKE
" \\\n\t%s"
,
$dir
;
}
printf
NEWMAKE
<<EOF;
BUILDSUBDIRS = \$(BASEDIRS) \$(EXTRADIRS)
EOF
################################################################
################################################################
# output the all: target
# output the all: target
...
@@ -179,7 +183,7 @@ foreach my $mod (sort keys %directories)
...
@@ -179,7 +183,7 @@ foreach my $mod (sort keys %directories)
printf
NEWMAKE
" %s\$(DLLEXT)"
,
$i
;
printf
NEWMAKE
" %s\$(DLLEXT)"
,
$i
;
}
}
}
}
printf
NEWMAKE
": %s
/%s\$(DLLEXT)\n"
,
$directories
{
$mod
},
$mod
;
printf
NEWMAKE
": %s
\n"
,
$directories
{
$mod
}
;
printf
NEWMAKE
"\t\$(RM) \$@ && \$(LN_S) %s/%s\$(DLLEXT) \$@\n\n"
,
$directories
{
$mod
},
$mod
;
printf
NEWMAKE
"\t\$(RM) \$@ && \$(LN_S) %s/%s\$(DLLEXT) \$@\n\n"
,
$directories
{
$mod
},
$mod
;
}
}
...
@@ -192,28 +196,28 @@ print NEWMAKE "# Inter-dll dependencies\n\n";
...
@@ -192,28 +196,28 @@ print NEWMAKE "# Inter-dll dependencies\n\n";
my
@depends
=
();
my
@depends
=
();
foreach
my
$mod
(
sort
keys
%
imports
)
foreach
my
$mod
(
sort
keys
%
imports
)
{
{
my
$count
=
1
;
my
$count
=
0
;
my
$dep
=
sprintf
(
"%s/%s\$(DLLEXT): dummy"
,
$directories
{
$mod
},
$mod
);
my
$dep
=
sprintf
(
"%s:"
,
$directories
{
$mod
});
$dep
.=
" "
x
(
8
-
length
(
$directories
{
$mod
}));
foreach
my
$i
(
@
{
$imports
{
$mod
}})
foreach
my
$i
(
@
{
$imports
{
$mod
}})
{
{
if
(
$count
++
>=
3
)
if
(
$count
++
>=
4
)
{
{
$count
=
0
;
$count
=
1
;
$dep
.=
" \\\n
"
;
$dep
.=
" \\\n
"
.
" "
x
9
;
}
}
$dep
.=
sprintf
(
" %s\$(DLLEXT)"
,
$i
);
$dep
.=
sprintf
(
" %s\$(DLLEXT)"
,
$i
);
}
}
foreach
my
$i
(
@
{
$linked_dlls
{
$mod
}})
foreach
my
$i
(
@
{
$linked_dlls
{
$mod
}})
{
{
if
(
$count
++
>=
3
)
if
(
$count
++
>=
4
)
{
{
$count
=
0
;
$count
=
1
;
$dep
.=
" \\\n
"
;
$dep
.=
" \\\n
"
.
" "
x
9
;
}
}
$dep
.=
sprintf
(
" lib%s.\$(LIBEXT)"
,
$i
);
$dep
.=
sprintf
(
" lib%s.\$(LIBEXT)"
,
$i
);
}
}
$dep
.=
sprintf
(
"\n\t\@cd %s && \$(MAKE) %s\$(DLLEXT)\n\n"
,
$directories
{
$mod
},
$mod
);
push
@depends
,
$dep
.
"\n"
;
push
@depends
,
$dep
;
}
}
print
NEWMAKE
sort
@depends
;
print
NEWMAKE
sort
@depends
;
...
@@ -227,10 +231,10 @@ foreach my $mod (keys %imports)
...
@@ -227,10 +231,10 @@ foreach my $mod (keys %imports)
foreach
my
$i
(
@
{
$linked_dlls
{
$mod
}})
{
$linkable_dlls
{
$i
}
=
1
;
}
foreach
my
$i
(
@
{
$linked_dlls
{
$mod
}})
{
$linkable_dlls
{
$i
}
=
1
;
}
}
}
print
NEWMAKE
"# Special targets for dlls that we need to link to\n\n"
;
print
NEWMAKE
"
\n
# Special targets for dlls that we need to link to\n\n"
;
foreach
my
$mod
(
keys
%
linkable_dlls
)
foreach
my
$mod
(
keys
%
linkable_dlls
)
{
{
printf
NEWMAKE
"lib%s.\$(LIBEXT): %s
/%s\$(DLLEXT)\n"
,
$mod
,
$directories
{
$mod
},
$mod
;
printf
NEWMAKE
"lib%s.\$(LIBEXT): %s
\n"
,
$mod
,
$directories
{
$mod
}
;
printf
NEWMAKE
"\t\$(RM) \$@ && \$(LN_S) %s/%s\$(DLLEXT) \$@\n\n"
,
$directories
{
$mod
},
$mod
;
printf
NEWMAKE
"\t\$(RM) \$@ && \$(LN_S) %s/%s\$(DLLEXT) \$@\n\n"
,
$directories
{
$mod
},
$mod
;
}
}
...
@@ -240,17 +244,17 @@ foreach my $mod (keys %linkable_dlls)
...
@@ -240,17 +244,17 @@ foreach my $mod (keys %linkable_dlls)
print
NEWMAKE
<<EOF;
print
NEWMAKE
<<EOF;
# Misc rules
# Misc rules
\$(SUBDIRS:%=%/__checklink__): dummy
\$(
BUILD
SUBDIRS:%=%/__checklink__): dummy
\@cd `dirname \$\@` && \$(MAKE) checklink
\@cd `dirname \$\@` && \$(MAKE) checklink
install:: \$(SUBDIRS:%=%/__install__)
install:: \$(
BUILD
SUBDIRS:%=%/__install__)
uninstall:: \$(SUBDIRS:%=%/__uninstall__)
uninstall:: \$(
BUILD
SUBDIRS:%=%/__uninstall__)
-rmdir \$(dlldir)
-rmdir \$(dlldir)
check test:: \$(SUBDIRS:%=%/__test__)
check test:: \$(
BUILD
SUBDIRS:%=%/__test__)
checklink:: \$(SUBDIRS:%=%/__checklink__)
checklink:: \$(
BUILD
SUBDIRS:%=%/__checklink__)
EOF
EOF
close
NEWMAKE
;
close
NEWMAKE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment