Commit 9bb05fc4 authored by Alexandre Julliard's avatar Alexandre Julliard

Specify the complete source file list for a dll inside the main

makefile and get rid of the subdirectories makefiles.
parent 011c08db
......@@ -101,10 +101,11 @@ bindir = @bindir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
sysconfdir = @sysconfdir@
includedir = @includedir@/wine
dlldir = @libdir@/wine
prog_manext = 1
conf_manext = 5
includedir = @includedir@/wine
CLEAN_FILES = *.o *.a *.so *.ln *.$(LIBEXT) \\\#*\\\# *~ *% .\\\#* *.bak *.orig *.rej \
*.flc *.spec.c *.spec.def *.glue.c y.tab.c y.tab.h @LEX_OUTPUT_ROOT@.c core
......
......@@ -1243,6 +1243,7 @@ AC_DEFUN([WINE_CONFIG_EXTRA_DIR],
AH_TOP([#define __WINE_CONFIG_H])
WINE_CONFIG_EXTRA_DIR(controls)
WINE_CONFIG_EXTRA_DIR(dlls/ddraw/d3ddevice)
WINE_CONFIG_EXTRA_DIR(dlls/ddraw/dclipper)
WINE_CONFIG_EXTRA_DIR(dlls/ddraw/ddraw)
......@@ -1264,9 +1265,23 @@ WINE_CONFIG_EXTRA_DIR(dlls/user/resources)
WINE_CONFIG_EXTRA_DIR(dlls/user/tests)
WINE_CONFIG_EXTRA_DIR(dlls/wineps/data)
WINE_CONFIG_EXTRA_DIR(dlls/winsock/tests)
WINE_CONFIG_EXTRA_DIR(files)
WINE_CONFIG_EXTRA_DIR(graphics)
WINE_CONFIG_EXTRA_DIR(graphics/x11drv)
WINE_CONFIG_EXTRA_DIR(if1632)
WINE_CONFIG_EXTRA_DIR(include/wine)
WINE_CONFIG_EXTRA_DIR(loader)
WINE_CONFIG_EXTRA_DIR(loader/ne)
WINE_CONFIG_EXTRA_DIR(memory)
WINE_CONFIG_EXTRA_DIR(misc)
WINE_CONFIG_EXTRA_DIR(msdos)
WINE_CONFIG_EXTRA_DIR(objects)
WINE_CONFIG_EXTRA_DIR(programs/regapi/tests)
WINE_CONFIG_EXTRA_DIR(programs/winetest/tests)
WINE_CONFIG_EXTRA_DIR(relay32)
WINE_CONFIG_EXTRA_DIR(scheduler)
WINE_CONFIG_EXTRA_DIR(win32)
WINE_CONFIG_EXTRA_DIR(windows)
MAKE_RULES=Make.rules
AC_SUBST_FILE(MAKE_RULES)
......@@ -1282,7 +1297,6 @@ Make.rules
dlls/Makedll.rules
programs/Makeprog.rules
Makefile
controls/Makefile
debugger/Makefile
dlls/Makefile
dlls/advapi32/Makefile
......@@ -1374,20 +1388,10 @@ dlls/wow32/Makefile
dlls/wsock32/Makefile
dlls/x11drv/Makefile
documentation/Makefile
files/Makefile
graphics/Makefile
graphics/x11drv/Makefile
if1632/Makefile
include/Makefile
library/Makefile
libtest/Makefile
loader/Makefile
loader/ne/Makefile
memory/Makefile
misc/Makefile
miscemu/Makefile
msdos/Makefile
objects/Makefile
ole/Makefile
programs/Makefile
programs/avitools/Makefile
......@@ -1410,8 +1414,6 @@ programs/winepath/Makefile
programs/winetest/Makefile
programs/winhelp/Makefile
programs/winver/Makefile
relay32/Makefile
scheduler/Makefile
server/Makefile
tools/Makefile
tools/winapi/Makefile
......@@ -1420,9 +1422,7 @@ tools/winedump/Makefile
tools/wmc/Makefile
tools/wrc/Makefile
tsx11/Makefile
unicode/Makefile
win32/Makefile
windows/Makefile])
unicode/Makefile])
AC_OUTPUT
......
DEFS = @DLLFLAGS@ -D__WINE__
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = controls
EXTRAINCL = -I$(TOPSRCDIR)/dlls/user
C_SRCS = \
button.c \
combo.c \
desktop.c \
edit.c \
icontitle.c \
listbox.c \
menu.c \
scroll.c \
static.c \
uitools.c
GLUE = edit.c
all: $(MODULE).o
@MAKE_RULES@
$(MODULE).o: $(OBJS) Makefile.in $(TOPSRCDIR)/Make.rules.in
$(LDCOMBINE) $(OBJS) -o $@
### Dependencies:
......@@ -10,6 +10,30 @@ LDIMPORTS = kernel32.dll ntdll.dll
EXTRAINCL = @FREETYPEINCL@
C_SRCS = \
$(TOPOBJDIR)/graphics/bitblt.c \
$(TOPOBJDIR)/graphics/dispdib.c \
$(TOPOBJDIR)/graphics/env.c \
$(TOPOBJDIR)/graphics/escape.c \
$(TOPOBJDIR)/graphics/fontengine.c \
$(TOPOBJDIR)/graphics/mapping.c \
$(TOPOBJDIR)/graphics/painting.c \
$(TOPOBJDIR)/graphics/path.c \
$(TOPOBJDIR)/objects/bitmap.c \
$(TOPOBJDIR)/objects/brush.c \
$(TOPOBJDIR)/objects/clipping.c \
$(TOPOBJDIR)/objects/color.c \
$(TOPOBJDIR)/objects/dc.c \
$(TOPOBJDIR)/objects/dcvalues.c \
$(TOPOBJDIR)/objects/dib.c \
$(TOPOBJDIR)/objects/enhmetafile.c \
$(TOPOBJDIR)/objects/font.c \
$(TOPOBJDIR)/objects/gdiobj.c \
$(TOPOBJDIR)/objects/linedda.c \
$(TOPOBJDIR)/objects/metafile.c \
$(TOPOBJDIR)/objects/palette.c \
$(TOPOBJDIR)/objects/pen.c \
$(TOPOBJDIR)/objects/region.c \
$(TOPOBJDIR)/objects/text.c \
bidi16.c \
driver.c \
enhmfdrv/dc.c \
......@@ -39,27 +63,23 @@ RC_SRCS = version.rc
RC_SRCS16 = version16.rc
GLUE = \
$(TOPOBJDIR)/objects/dc.c \
$(TOPOBJDIR)/objects/font.c \
$(TOPOBJDIR)/objects/gdiobj.c \
$(TOPOBJDIR)/objects/linedda.c \
$(TOPOBJDIR)/objects/metafile.c \
printdrv.c \
win16drv/prtdrv.c
EXTRA_OBJS = \
$(TOPOBJDIR)/graphics/graphics.o \
$(TOPOBJDIR)/objects/objects.o
SUBDIRS = \
$(TOPOBJDIR)/graphics \
$(TOPOBJDIR)/objects
EXTRASUBDIRS = \
$(TOPOBJDIR)/graphics \
$(TOPOBJDIR)/objects \
enhmfdrv \
mfdrv \
win16drv
@MAKE_DLL_RULES@
$(EXTRA_OBJS): dummy
@cd `dirname $@` && $(MAKE) `basename $@`
# Special rules for 16-bit resource files
version16.res: version16.rc
......
Makefile
ntdll.spec.c
relay16.s
relay32.s
EXTRADEFS = -D_NTSYSTEM_
EXTRADEFS = -D_NTSYSTEM_ -DBINDIR="\"$(bindir)\"" -DETCDIR="\"$(sysconfdir)\""
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
......@@ -7,6 +7,92 @@ MODULE = ntdll.dll
EXTRALIBS = $(LIBUNICODE)
C_SRCS = \
$(TOPOBJDIR)/files/change.c \
$(TOPOBJDIR)/files/directory.c \
$(TOPOBJDIR)/files/dos_fs.c \
$(TOPOBJDIR)/files/drive.c \
$(TOPOBJDIR)/files/file.c \
$(TOPOBJDIR)/files/profile.c \
$(TOPOBJDIR)/files/smb.c \
$(TOPOBJDIR)/files/tape.c \
$(TOPOBJDIR)/if1632/builtin.c \
$(TOPOBJDIR)/if1632/relay.c \
$(TOPOBJDIR)/if1632/snoop.c \
$(TOPOBJDIR)/loader/elf.c \
$(TOPOBJDIR)/loader/loadorder.c \
$(TOPOBJDIR)/loader/main.c \
$(TOPOBJDIR)/loader/module.c \
$(TOPOBJDIR)/loader/pe_image.c \
$(TOPOBJDIR)/loader/pe_resource.c \
$(TOPOBJDIR)/loader/resource.c \
$(TOPOBJDIR)/loader/task.c \
$(TOPOBJDIR)/loader/ne/convert.c \
$(TOPOBJDIR)/loader/ne/module.c \
$(TOPOBJDIR)/loader/ne/resource.c \
$(TOPOBJDIR)/loader/ne/segment.c \
$(TOPOBJDIR)/memory/atom.c \
$(TOPOBJDIR)/memory/codepage.c \
$(TOPOBJDIR)/memory/environ.c \
$(TOPOBJDIR)/memory/global.c \
$(TOPOBJDIR)/memory/heap.c \
$(TOPOBJDIR)/memory/instr.c \
$(TOPOBJDIR)/memory/local.c \
$(TOPOBJDIR)/memory/registry.c \
$(TOPOBJDIR)/memory/selector.c \
$(TOPOBJDIR)/memory/string.c \
$(TOPOBJDIR)/memory/virtual.c \
$(TOPOBJDIR)/misc/cpu.c \
$(TOPOBJDIR)/misc/error.c \
$(TOPOBJDIR)/misc/main.c \
$(TOPOBJDIR)/misc/options.c \
$(TOPOBJDIR)/misc/registry.c \
$(TOPOBJDIR)/misc/system.c \
$(TOPOBJDIR)/misc/version.c \
$(TOPOBJDIR)/msdos/dosconf.c \
$(TOPOBJDIR)/msdos/dosmem.c \
$(TOPOBJDIR)/msdos/dpmi.c \
$(TOPOBJDIR)/msdos/int11.c \
$(TOPOBJDIR)/msdos/int12.c \
$(TOPOBJDIR)/msdos/int13.c \
$(TOPOBJDIR)/msdos/int15.c \
$(TOPOBJDIR)/msdos/int1a.c \
$(TOPOBJDIR)/msdos/int20.c \
$(TOPOBJDIR)/msdos/int21.c \
$(TOPOBJDIR)/msdos/int25.c \
$(TOPOBJDIR)/msdos/int26.c \
$(TOPOBJDIR)/msdos/int2a.c \
$(TOPOBJDIR)/msdos/int2f.c \
$(TOPOBJDIR)/msdos/int3d.c \
$(TOPOBJDIR)/msdos/int41.c \
$(TOPOBJDIR)/msdos/int4b.c \
$(TOPOBJDIR)/msdos/int5c.c \
$(TOPOBJDIR)/msdos/interrupts.c \
$(TOPOBJDIR)/msdos/ioports.c \
$(TOPOBJDIR)/msdos/ppdev.c \
$(TOPOBJDIR)/msdos/vxd.c \
$(TOPOBJDIR)/ole/ole2nls.c \
$(TOPOBJDIR)/relay32/builtin32.c \
$(TOPOBJDIR)/relay32/relay386.c \
$(TOPOBJDIR)/relay32/snoop.c \
$(TOPOBJDIR)/scheduler/client.c \
$(TOPOBJDIR)/scheduler/critsection.c \
$(TOPOBJDIR)/scheduler/handle.c \
$(TOPOBJDIR)/scheduler/pipe.c \
$(TOPOBJDIR)/scheduler/process.c \
$(TOPOBJDIR)/scheduler/pthread.c \
$(TOPOBJDIR)/scheduler/synchro.c \
$(TOPOBJDIR)/scheduler/sysdeps.c \
$(TOPOBJDIR)/scheduler/syslevel.c \
$(TOPOBJDIR)/scheduler/thread.c \
$(TOPOBJDIR)/scheduler/timer.c \
$(TOPOBJDIR)/win32/console.c \
$(TOPOBJDIR)/win32/device.c \
$(TOPOBJDIR)/win32/editline.c \
$(TOPOBJDIR)/win32/except.c \
$(TOPOBJDIR)/win32/init.c \
$(TOPOBJDIR)/win32/kernel32.c \
$(TOPOBJDIR)/win32/newfns.c \
$(TOPOBJDIR)/win32/time.c \
cdrom.c \
critsection.c \
debugtools.c \
......@@ -31,22 +117,16 @@ C_SRCS = \
wcstring.c
GEN_ASM_SRCS = \
relay16.s \
relay32.s
EXTRA_OBJS = \
$(TOPOBJDIR)/files/files.o \
$(TOPOBJDIR)/if1632/if1632.o \
$(TOPOBJDIR)/loader/loader.o \
$(TOPOBJDIR)/loader/ne/ne.o \
$(TOPOBJDIR)/memory/memory.o \
$(TOPOBJDIR)/misc/misc.o \
$(TOPOBJDIR)/msdos/msdos.o \
$(TOPOBJDIR)/ole/ole.o \
$(TOPOBJDIR)/relay32/relay32.o \
$(TOPOBJDIR)/scheduler/scheduler.o \
$(TOPOBJDIR)/win32/win32.o
GLUE = \
$(TOPOBJDIR)/loader/task.c \
$(TOPOBJDIR)/loader/ne/module.c \
$(TOPOBJDIR)/loader/ne/segment.c \
$(TOPOBJDIR)/memory/local.c
SUBDIRS = \
EXTRASUBDIRS = \
$(TOPOBJDIR)/files \
$(TOPOBJDIR)/if1632 \
$(TOPOBJDIR)/loader \
......@@ -61,8 +141,8 @@ SUBDIRS = \
@MAKE_DLL_RULES@
$(EXTRA_OBJS): dummy
@cd `dirname $@` && $(MAKE) `basename $@`
relay16.s: $(WINEBUILD)
$(LDPATH) $(WINEBUILD) @DLLFLAGS@ -o $@ -relay16
relay32.s: $(WINEBUILD)
$(LDPATH) $(WINEBUILD) @DLLFLAGS@ -o $@ -relay32
......
......@@ -9,6 +9,49 @@ ALTNAMES = user.exe keyboard.dll ddeml.dll display.dll mouse.dll
LDIMPORTS = gdi32.dll kernel32.dll ntdll.dll
C_SRCS = \
$(TOPOBJDIR)/controls/button.c \
$(TOPOBJDIR)/controls/combo.c \
$(TOPOBJDIR)/controls/desktop.c \
$(TOPOBJDIR)/controls/edit.c \
$(TOPOBJDIR)/controls/icontitle.c \
$(TOPOBJDIR)/controls/listbox.c \
$(TOPOBJDIR)/controls/menu.c \
$(TOPOBJDIR)/controls/scroll.c \
$(TOPOBJDIR)/controls/static.c \
$(TOPOBJDIR)/controls/uitools.c \
$(TOPOBJDIR)/windows/caret.c \
$(TOPOBJDIR)/windows/class.c \
$(TOPOBJDIR)/windows/clipboard.c \
$(TOPOBJDIR)/windows/cursoricon.c \
$(TOPOBJDIR)/windows/dce.c \
$(TOPOBJDIR)/windows/defdlg.c \
$(TOPOBJDIR)/windows/defwnd.c \
$(TOPOBJDIR)/windows/dialog.c \
$(TOPOBJDIR)/windows/driver.c \
$(TOPOBJDIR)/windows/focus.c \
$(TOPOBJDIR)/windows/hook.c \
$(TOPOBJDIR)/windows/input.c \
$(TOPOBJDIR)/windows/keyboard.c \
$(TOPOBJDIR)/windows/mdi.c \
$(TOPOBJDIR)/windows/message.c \
$(TOPOBJDIR)/windows/msgbox.c \
$(TOPOBJDIR)/windows/multimon.c \
$(TOPOBJDIR)/windows/nonclient.c \
$(TOPOBJDIR)/windows/painting.c \
$(TOPOBJDIR)/windows/queue.c \
$(TOPOBJDIR)/windows/rect.c \
$(TOPOBJDIR)/windows/scroll.c \
$(TOPOBJDIR)/windows/spy.c \
$(TOPOBJDIR)/windows/struct32.c \
$(TOPOBJDIR)/windows/syscolor.c \
$(TOPOBJDIR)/windows/sysmetrics.c \
$(TOPOBJDIR)/windows/sysparams.c \
$(TOPOBJDIR)/windows/timer.c \
$(TOPOBJDIR)/windows/user.c \
$(TOPOBJDIR)/windows/win.c \
$(TOPOBJDIR)/windows/winhelp.c \
$(TOPOBJDIR)/windows/winpos.c \
$(TOPOBJDIR)/windows/winproc.c \
bidi16.c \
cache.c \
comm16.c \
......@@ -40,20 +83,18 @@ RC_SRCS16 = \
resources/version16.rc
GLUE = \
$(TOPOBJDIR)/controls/edit.c \
$(TOPOBJDIR)/windows/driver.c \
$(TOPOBJDIR)/windows/hook.c \
$(TOPOBJDIR)/windows/painting.c \
dde/ddeml16.c \
property.c \
text.c \
wnd16.c
EXTRA_OBJS = \
$(TOPOBJDIR)/controls/controls.o \
$(TOPOBJDIR)/windows/windows.o
SUBDIRS = \
$(TOPOBJDIR)/controls \
$(TOPOBJDIR)/windows
EXTRASUBDIRS = \
$(TOPOBJDIR)/controls \
$(TOPOBJDIR)/windows \
dde \
resources \
tests
......@@ -65,9 +106,6 @@ CTESTS = \
@MAKE_DLL_RULES@
$(EXTRA_OBJS): dummy
@cd `dirname $@` && $(MAKE) `basename $@`
# Special rules for 16-bit resource files
resources/display.res: resources/display.rc
......
......@@ -9,6 +9,20 @@ EXTRALIBS = $(LIBTSX11) $(X_LIBS) $(XLIB)
LDIMPORTS = user32.dll gdi32.dll kernel32.dll
C_SRCS = \
$(TOPOBJDIR)/graphics/x11drv/bitblt.c \
$(TOPOBJDIR)/graphics/x11drv/bitmap.c \
$(TOPOBJDIR)/graphics/x11drv/brush.c \
$(TOPOBJDIR)/graphics/x11drv/clipping.c \
$(TOPOBJDIR)/graphics/x11drv/codepage.c \
$(TOPOBJDIR)/graphics/x11drv/dib.c \
$(TOPOBJDIR)/graphics/x11drv/graphics.c \
$(TOPOBJDIR)/graphics/x11drv/init.c \
$(TOPOBJDIR)/graphics/x11drv/objects.c \
$(TOPOBJDIR)/graphics/x11drv/opengl.c \
$(TOPOBJDIR)/graphics/x11drv/palette.c \
$(TOPOBJDIR)/graphics/x11drv/pen.c \
$(TOPOBJDIR)/graphics/x11drv/text.c \
$(TOPOBJDIR)/graphics/x11drv/xfont.c \
desktop.c \
clipboard.c \
dga2.c \
......@@ -25,10 +39,7 @@ C_SRCS = \
PROGRAMS = wineclipsrv
EXTRA_OBJS = \
$(TOPOBJDIR)/graphics/x11drv/x11drv.o
SUBDIRS = \
EXTRASUBDIRS = \
$(TOPOBJDIR)/graphics/x11drv
@MAKE_DLL_RULES@
......@@ -38,9 +49,6 @@ all: $(PROGRAMS)
wineclipsrv: wineclipsrv.c
$(CC) $(ALLCFLAGS) -o wineclipsrv $(SRCDIR)/wineclipsrv.c $(X_LIBS) $(XLIB) $(LIBS)
$(EXTRA_OBJS): dummy
@cd `dirname $@` && $(MAKE) `basename $@`
install:: $(PROGRAMS) install_libdir
$(MKINSTALLDIRS) $(bindir)
$(INSTALL_PROGRAM) wineclipsrv $(bindir)/wineclipsrv
......
DEFS = @DLLFLAGS@ -D__WINE__
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = files
C_SRCS = \
change.c \
directory.c \
dos_fs.c \
drive.c \
file.c \
profile.c \
smb.c \
tape.c
all: $(MODULE).o
@MAKE_RULES@
$(MODULE).o: $(OBJS) Makefile.in $(TOPSRCDIR)/Make.rules.in
$(LDCOMBINE) $(OBJS) -o $@
### Dependencies:
DEFS = @DLLFLAGS@ -D__WINE__
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = graphics
C_SRCS = \
bitblt.c \
dispdib.c \
env.c \
escape.c \
fontengine.c \
mapping.c \
painting.c \
path.c
all: $(MODULE).o
@MAKE_RULES@
$(MODULE).o: $(OBJS) Makefile.in $(TOPSRCDIR)/Make.rules.in
$(LDCOMBINE) $(OBJS) -o $@
### Dependencies:
DEFS = @DLLFLAGS@ -D__WINE__
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = x11drv
C_SRCS = \
bitblt.c \
bitmap.c \
brush.c \
clipping.c \
codepage.c \
dib.c \
graphics.c \
init.c \
objects.c \
opengl.c \
palette.c \
pen.c \
text.c \
xfont.c
all: $(MODULE).o
@MAKE_RULES@
$(MODULE).o: $(OBJS) Makefile.in $(TOPSRCDIR)/Make.rules.in
$(LDCOMBINE) $(OBJS) -o $@
### Dependencies:
Makefile
relay16.s
DEFS = @DLLFLAGS@ -D__WINE__
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = if1632
C_SRCS = \
builtin.c \
relay.c \
snoop.c
GEN_ASM_SRCS = \
relay16.s
all: $(MODULE).o
@MAKE_RULES@
$(MODULE).o: $(OBJS) Makefile.in $(TOPSRCDIR)/Make.rules.in
$(LDCOMBINE) $(OBJS) -o $@
relay16.s: $(WINEBUILD)
$(LDPATH) $(WINEBUILD) @DLLFLAGS@ -o $@ -relay16
### Dependencies:
DEFS = @DLLFLAGS@ -D__WINE__
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = loader
C_SRCS = \
elf.c \
loadorder.c \
main.c \
module.c \
pe_image.c \
pe_resource.c \
resource.c \
task.c
GLUE = task.c
all: $(MODULE).o
@MAKE_RULES@
$(MODULE).o: $(OBJS) Makefile.in $(TOPSRCDIR)/Make.rules.in
$(LDCOMBINE) $(OBJS) -o $@
### Dependencies:
Makefile
module.glue.c
segment.glue.c
DEFS = @DLLFLAGS@ -D__WINE__
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = ne
C_SRCS = \
convert.c \
module.c \
resource.c \
segment.c
GLUE = module.c segment.c
all: $(MODULE).o
@MAKE_RULES@
$(MODULE).o: $(OBJS) Makefile.in $(TOPSRCDIR)/Make.rules.in
$(LDCOMBINE) $(OBJS) -o $@
### Dependencies:
DEFS = @DLLFLAGS@ -D__WINE__
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = memory
C_SRCS = \
atom.c \
codepage.c \
environ.c \
global.c \
heap.c \
instr.c \
local.c \
registry.c \
selector.c \
string.c \
virtual.c
GLUE = local.c
all: $(MODULE).o
@MAKE_RULES@
$(MODULE).o: $(OBJS) Makefile.in $(TOPSRCDIR)/Make.rules.in
$(LDCOMBINE) $(OBJS) -o $@
### Dependencies:
Makefile
printdrv.glue.c
sysconfdir = @sysconfdir@
DEFS = @DLLFLAGS@ -D__WINE__ -DETCDIR="\"$(sysconfdir)\""
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = misc
C_SRCS = \
cpu.c \
error.c \
main.c \
options.c \
registry.c \
system.c \
version.c
all: $(MODULE).o
@MAKE_RULES@
$(MODULE).o: $(OBJS) Makefile.in $(TOPSRCDIR)/Make.rules.in
$(LDCOMBINE) $(OBJS) -o $@
### Dependencies:
DEFS = @DLLFLAGS@ -D__WINE__
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = msdos
C_SRCS = \
dosconf.c \
dosmem.c \
dpmi.c \
int11.c \
int12.c \
int13.c \
int15.c \
int1a.c \
int20.c \
int21.c \
int25.c \
int26.c \
int2a.c \
int2f.c \
int3d.c \
int41.c \
int4b.c \
int5c.c \
interrupts.c \
ioports.c \
ppdev.c \
vxd.c
all: $(MODULE).o
@MAKE_RULES@
$(MODULE).o: $(OBJS) Makefile.in $(TOPSRCDIR)/Make.rules.in
$(LDCOMBINE) $(OBJS) -o $@
### Dependencies:
DEFS = @DLLFLAGS@ -D__WINE__
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = objects
C_SRCS = \
bitmap.c \
brush.c \
clipping.c \
color.c \
dc.c \
dcvalues.c \
dib.c \
enhmetafile.c \
font.c \
gdiobj.c \
linedda.c \
metafile.c \
palette.c \
pen.c \
region.c \
text.c
GLUE = \
dc.c \
font.c \
gdiobj.c \
linedda.c \
metafile.c
all: $(MODULE).o
@MAKE_RULES@
$(MODULE).o: $(OBJS) Makefile.in $(TOPSRCDIR)/Make.rules.in
$(LDCOMBINE) $(OBJS) -o $@
### Dependencies:
......@@ -3,19 +3,15 @@ TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = ole
MODULE = none
C_SRCS = \
ole2nls.c \
uuid.c
all: $(MODULE).o libwine_uuid.a
all: libwine_uuid.a
@MAKE_RULES@
$(MODULE).o: ole2nls.o Makefile.in $(TOPSRCDIR)/Make.rules.in
$(LDCOMBINE) ole2nls.o -o $@
libwine_uuid.a: uuid.o
$(RM) $@
$(AR) $@ uuid.o
......
DEFS = @DLLFLAGS@ -D__WINE__
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = relay32
C_SRCS = \
builtin32.c \
relay386.c \
snoop.c
all: $(MODULE).o
@MAKE_RULES@
$(MODULE).o: $(OBJS) Makefile.in $(TOPSRCDIR)/Make.rules.in
$(LDCOMBINE) $(OBJS) -o $@
### Dependencies:
DEFS = @DLLFLAGS@ -D__WINE__ -DBINDIR="\"$(bindir)\""
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = scheduler
C_SRCS = \
client.c \
critsection.c \
handle.c \
pipe.c \
process.c \
pthread.c \
synchro.c \
sysdeps.c \
syslevel.c \
thread.c \
timer.c
all: $(MODULE).o
@MAKE_RULES@
$(MODULE).o: $(OBJS) Makefile.in $(TOPSRCDIR)/Make.rules.in
$(LDCOMBINE) $(OBJS) -o $@
### Dependencies:
......@@ -231,12 +231,12 @@ static FILE *open_include_file( INCL_FILE *pFile )
/* try in src file directory */
if (!file)
{
char *p = strrchr(pFile->included_by->name, '/');
char *p = strrchr(pFile->included_by->filename, '/');
if (p)
{
int l = p - pFile->included_by->name + 1;
int l = p - pFile->included_by->filename + 1;
char *filename = xmalloc(l + strlen(pFile->name) + 1);
memcpy( filename, pFile->included_by->name, l );
memcpy( filename, pFile->included_by->filename, l );
strcpy( filename + l, pFile->name );
if ((file = fopen( filename, "r" ))) pFile->filename = filename;
else free( filename );
......
DEFS = @DLLFLAGS@ -D__WINE__ -DBINDIR="\"$(bindir)\""
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = win32
C_SRCS = \
console.c \
device.c \
editline.c \
except.c \
init.c \
kernel32.c \
newfns.c \
time.c
all: $(MODULE).o
@MAKE_RULES@
$(MODULE).o: $(OBJS) Makefile.in $(TOPSRCDIR)/Make.rules.in
$(LDCOMBINE) $(OBJS) -o $@
### Dependencies:
Makefile
driver.glue.c
hook.glue.c
painting.glue.c
DEFS = @DLLFLAGS@ -D__WINE__
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = windows
EXTRAINCL = -I$(TOPSRCDIR)/dlls/user
C_SRCS = \
caret.c \
class.c \
clipboard.c \
cursoricon.c \
dce.c \
defdlg.c \
defwnd.c \
dialog.c \
driver.c \
focus.c \
hook.c \
input.c \
keyboard.c \
mdi.c \
message.c \
msgbox.c \
multimon.c \
nonclient.c \
painting.c \
queue.c \
rect.c \
scroll.c \
spy.c \
struct32.c \
syscolor.c \
sysmetrics.c \
sysparams.c \
timer.c \
user.c \
win.c \
winhelp.c \
winpos.c \
winproc.c
GLUE = \
driver.c \
hook.c \
painting.c
all: $(MODULE).o
@MAKE_RULES@
$(MODULE).o: $(OBJS) Makefile.in $(TOPSRCDIR)/Make.rules.in
$(LDCOMBINE) $(OBJS) -o $@
### Dependencies:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment