Skip to content
Snippets Groups Projects
Commit 4e9f1a41 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

makefiles: Always use the global SOURCES variable for .man.in files.

parent 9d78031d
No related branches found
No related tags found
No related merge requests found
Showing
with 80 additions and 131 deletions
......@@ -3,12 +3,9 @@ IMPORTS = msi ole32 advapi32 user32 comctl32
EXTRADLLFLAGS = -mwindows
C_SRCS = \
SOURCES = \
msiexec.c \
msiexec.man.in \
msiexec.svg \
rsrc.rc \
service.c
RC_SRCS = rsrc.rc
MANPAGES = msiexec.man.in
SVG_SRCS = msiexec.svg
......@@ -3,12 +3,9 @@ IMPORTS = comdlg32 shell32 shlwapi user32 gdi32 advapi32 comctl32
EXTRADLLFLAGS = -mwindows
C_SRCS = \
SOURCES = \
dialog.c \
main.c
RC_SRCS = notepad.rc
MANPAGES = notepad.man.in
SVG_SRCS = notepad.svg
main.c \
notepad.man.in \
notepad.rc \
notepad.svg
......@@ -4,7 +4,7 @@ DELAYIMPORTS = shlwapi shell32 comdlg32 comctl32 user32 gdi32
EXTRADLLFLAGS = -mwindows -municode
C_SRCS = \
SOURCES = \
about.c \
childwnd.c \
edit.c \
......@@ -13,11 +13,8 @@ C_SRCS = \
listview.c \
main.c \
regedit.c \
regedit.man.in \
regedit.rc \
regedit.svg \
regproc.c \
treeview.c
RC_SRCS = regedit.rc
MANPAGES = regedit.man.in
SVG_SRCS = regedit.svg
......@@ -3,9 +3,7 @@ IMPORTS = ole32 user32 kernelbase
EXTRADLLFLAGS = -mwindows -municode
C_SRCS = \
regsvr32.c
RC_SRCS = regsvr32.rc
MANPAGES = regsvr32.man.in
SOURCES = \
regsvr32.c \
regsvr32.man.in \
regsvr32.rc
......@@ -4,10 +4,8 @@ DELAYIMPORTS = shell32 shlwapi version user32 setupapi newdev
EXTRADLLFLAGS = -mconsole
C_SRCS = \
SOURCES = \
shutdown.c \
wineboot.c
RC_SRCS = wineboot.rc
MANPAGES = wineboot.man.in
wineboot.c \
wineboot.man.in \
wineboot.rc
......@@ -3,22 +3,18 @@ IMPORTS = uuid comdlg32 comctl32 shell32 ole32 winmm shlwapi uxtheme user32 gd
EXTRADLLFLAGS = -mwindows -municode
C_SRCS = \
SOURCES = \
about.c \
appdefaults.c \
audio.c \
drive.c \
driveui.c \
libraries.c \
logo.svg \
main.c \
theme.c \
winecfg.c \
winecfg.man.in \
winecfg.rc \
winecfg.svg \
x11drvdlg.c
RC_SRCS = winecfg.rc
MANPAGES = winecfg.man.in
SVG_SRCS = \
logo.svg \
winecfg.svg
......@@ -4,9 +4,7 @@ DELAYIMPORTS = comctl32 user32 gdi32
EXTRADLLFLAGS = -mwindows -municode
C_SRCS = \
wineconsole.c
RC_SRCS = wineconsole.rc
MANPAGES = wineconsole.man.in
SOURCES = \
wineconsole.c \
wineconsole.man.in \
wineconsole.rc
......@@ -5,13 +5,15 @@ DELAYIMPORTS = comdlg32 shell32 comctl32 user32 gdi32 ws2_32
EXTRADLLFLAGS = -mconsole
C_SRCS = \
SOURCES = \
be_arm.c \
be_arm64.c \
be_i386.c \
be_x86_64.c \
break.c \
crashdlg.c \
dbg.y \
debug.l \
display.c \
expr.c \
gdbproxy.c \
......@@ -24,11 +26,6 @@ C_SRCS = \
tgt_minidump.c \
tgt_module.c \
types.c \
winedbg.c
RC_SRCS = winedbg.rc
LEX_SRCS = debug.l
BISON_SRCS = dbg.y
MANPAGES = winedbg.man.in
winedbg.c \
winedbg.man.in \
winedbg.rc
......@@ -3,11 +3,8 @@ IMPORTS = uuid shell32 comdlg32 comctl32 ole32 mpr version user32 gdi32 advapi
EXTRADLLFLAGS = -mwindows -municode
C_SRCS = \
winefile.c
RC_SRCS = winefile.rc
MANPAGES = winefile.man.in
SVG_SRCS = winefile.svg
SOURCES = \
winefile.c \
winefile.man.in \
winefile.rc \
winefile.svg
......@@ -4,12 +4,9 @@ DELAYIMPORTS = shell32
EXTRADLLFLAGS = -mwindows -municode
C_SRCS = \
SOURCES = \
dialog.c \
main.c
RC_SRCS = winemine.rc
MANPAGES = winemine.man.in
SVG_SRCS = winemine.svg
main.c \
winemine.man.in \
winemine.rc \
winemine.svg
......@@ -2,6 +2,6 @@ MODULE = winepath.exe
EXTRADLLFLAGS = -mconsole -municode
C_SRCS = winepath.c
MANPAGES = winepath.man.in
SOURCES = \
winepath.c \
winepath.man.in
PROGRAMS = wineserver
C_SRCS = \
SOURCES = \
async.c \
atom.c \
change.c \
......@@ -42,12 +42,10 @@ C_SRCS = \
unicode.c \
user.c \
window.c \
winstation.c
MANPAGES = \
wineserver.de.UTF-8.man.in \
wineserver.fr.UTF-8.man.in \
wineserver.man.in
wineserver.man.in \
winstation.c
UNIX_LIBS = $(LDEXECFLAGS) $(RT_LIBS) $(INOTIFY_LIBS) $(PROCSTAT_LIBS)
......
......@@ -338,7 +338,7 @@ sub assign_sources_to_makefiles(@)
my $make = $makefiles{"$dir/Makefile.in"};
my $name = substr( $file, length($dir) + 1 );
if ($name =~ /\.(m|mc|po|sfd)$/)
if ($name =~ /\.(in|m|mc|po|sfd)$/)
{
push @{${$make}{"=SOURCES"}}, $name;
next;
......@@ -363,15 +363,6 @@ sub assign_sources_to_makefiles(@)
die "no makedep flags specified in $file" unless $dir eq "include" || get_makedep_flags($file);
push @{${$make}{"=IDL_SRCS"}}, $name;
}
elsif ($name =~ /\.man\.in$/)
{
push @{${$make}{"=MANPAGES"}}, $name;
}
elsif ($name =~ /\.in$/)
{
push @{${$make}{"=SOURCES"}}, $name;
next;
}
elsif ($name =~ /\.spec$/)
{
my $dllflags = ${$make}{"EXTRADLLFLAGS"} || "";
......
PROGRAMS = widl
PARENTSRC = ../wrc
C_SRCS = \
SOURCES = \
attribute.c \
client.c \
expr.c \
hash.c \
header.c \
parser.l \
parser.y \
ppl.l \
ppy.y \
proxy.c \
register.c \
server.c \
......@@ -15,19 +19,10 @@ C_SRCS = \
typetree.c \
utils.c \
widl.c \
widl.man.in \
wpp.c \
write_msft.c
LEX_SRCS = \
parser.l \
ppl.l
BISON_SRCS = \
parser.y \
ppy.y
MANPAGES = widl.man.in
widl_EXTRADEFS = \
-DINCLUDEDIR="\"${includedir}\"" \
-DDLLDIR="\"${dlldir}\"" \
......
PROGRAMS = winebuild
MANPAGES = winebuild.man.in
C_SRCS = \
SOURCES = \
import.c \
main.c \
parser.c \
......@@ -10,6 +9,7 @@ C_SRCS = \
res32.c \
spec16.c \
spec32.c \
utils.c
utils.c \
winebuild.man.in
INSTALL_DEV = $(PROGRAMS)
PROGRAMS = winedump
MANPAGES = winedump.man.in
SCRIPTS = function_grep.pl
C_SRCS = \
SOURCES = \
debug.c \
dos.c \
dump.c \
......@@ -26,6 +25,7 @@ C_SRCS = \
reg.c \
search.c \
symbol.c \
tlb.c
tlb.c \
winedump.man.in
INSTALL_DEV = $(PROGRAMS) $(SCRIPTS)
PROGRAMS = winegcc
MANPAGES = winegcc.man.in
SOURCES = \
utils.c \
winegcc.c \
winegcc.man.in
winegcc_SYMLINKS = winecpp wineg++
C_SRCS = \
utils.c \
winegcc.c
winegcc_EXTRADEFS = \
-DINCLUDEDIR="\"${includedir}\"" \
-DLIBDIR="\"${libdir}\"" \
......
SCRIPTS = winemaker
MANPAGES = \
SOURCES = \
winemaker.de.UTF-8.man.in \
winemaker.fr.UTF-8.man.in \
winemaker.man.in
......
PROGRAMS = wmc
MANPAGES = wmc.man.in
UNIX_LIBS = $(GETTEXTPO_LIBS)
C_SRCS = \
SOURCES = \
lang.c \
mcl.c \
mcy.y \
po.c \
utils.c \
wmc.c \
wmc.man.in \
write.c
BISON_SRCS = mcy.y
wmc_EXTRADEFS = \
-DNLSDIR="\"${nlsdir}\"" \
-DBIN_TO_NLSDIR=\"`${MAKEDEP} -R ${bindir} ${nlsdir}`\"
......
PROGRAMS = wrc
UNIX_LIBS = $(GETTEXTPO_LIBS)
C_SRCS = \
SOURCES = \
genres.c \
newstruc.c \
parser.l \
parser.y \
po.c \
ppl.l \
ppy.y \
utils.c \
wpp.c \
wrc.c
LEX_SRCS = \
parser.l \
ppl.l
BISON_SRCS = \
parser.y \
ppy.y
MANPAGES = wrc.man.in
wrc.c \
wrc.man.in
wrc_EXTRADEFS = \
-DNLSDIR="\"${nlsdir}\"" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment