diff --git a/Makefile.in b/Makefile.in index 1f529eb1094..d08e80d314c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -39,16 +39,11 @@ LIBRARIES = \ # Sub-directories to run make depend/clean into SUBDIRS = \ console \ - controls \ debugger \ dlls \ dlls/ntdll \ documentation \ files \ - graphics \ - graphics/enhmetafiledrv \ - graphics/metafiledrv \ - graphics/win16drv \ if1632 \ include \ library \ @@ -60,7 +55,6 @@ SUBDIRS = \ misc \ miscemu \ msdos \ - objects \ ole \ programs \ relay32 \ @@ -69,8 +63,7 @@ SUBDIRS = \ server \ tools \ unicode \ - win32 \ - windows + win32 # Sub-directories to run make install into INSTALLSUBDIRS = \ @@ -83,14 +76,9 @@ INSTALLSUBDIRS = \ unicode LIBOBJS = \ - controls/controls.o \ console/console.o \ dlls/ntdll/ntdll.o \ files/files.o \ - graphics/graphics.o \ - graphics/enhmetafiledrv/enhmetafiledrv.o \ - graphics/metafiledrv/metafiledrv.o \ - graphics/win16drv/win16drv.o \ if1632/if1632.o \ loader/loader.o \ loader/ne/ne.o \ @@ -98,13 +86,11 @@ LIBOBJS = \ memory/memory.o \ misc/misc.o \ msdos/msdos.o \ - objects/objects.o \ ole/ole.o \ relay32/relay32.o \ resources/resources.o \ scheduler/scheduler.o \ - win32/win32.o \ - windows/windows.o + win32/win32.o EMUOBJS = \ miscemu/miscemu.o diff --git a/dlls/gdi/.cvsignore b/dlls/gdi/.cvsignore index 025013cb277..9e9ece2d007 100644 --- a/dlls/gdi/.cvsignore +++ b/dlls/gdi/.cvsignore @@ -2,4 +2,5 @@ *.spec.glue.s Makefile libgdi32.so.1.0 +printdrv.glue.c thunk.glue.c diff --git a/dlls/gdi/Makefile.in b/dlls/gdi/Makefile.in index 7680164624e..96036b9b0f3 100644 --- a/dlls/gdi/Makefile.in +++ b/dlls/gdi/Makefile.in @@ -9,12 +9,30 @@ ALTNAMES = gdi dispdib wing C_SRCS = \ bidi16.c \ gdi_main.c \ + printdrv.c \ thunk.c \ wing.c -GLUE = thunk.c +GLUE = printdrv.c thunk.c + +EXTRA_OBJS = \ + $(TOPOBJDIR)/graphics/graphics.o \ + $(TOPOBJDIR)/graphics/enhmetafiledrv/enhmetafiledrv.o \ + $(TOPOBJDIR)/graphics/metafiledrv/metafiledrv.o \ + $(TOPOBJDIR)/graphics/win16drv/win16drv.o \ + $(TOPOBJDIR)/objects/objects.o + +SUBDIRS = \ + $(TOPOBJDIR)/graphics \ + $(TOPOBJDIR)/graphics/enhmetafiledrv \ + $(TOPOBJDIR)/graphics/metafiledrv \ + $(TOPOBJDIR)/graphics/win16drv \ + $(TOPOBJDIR)/objects @MAKE_DLL_RULES@ +$(EXTRA_OBJS): $(TOOLSUBDIRS) dummy + @cd `dirname $@` && $(MAKE) `basename $@` + ### Dependencies: diff --git a/misc/printdrv.c b/dlls/gdi/printdrv.c similarity index 100% rename from misc/printdrv.c rename to dlls/gdi/printdrv.c diff --git a/dlls/kernel/toolhelp.spec b/dlls/kernel/toolhelp.spec index 3e6eb16028c..071968aad70 100644 --- a/dlls/kernel/toolhelp.spec +++ b/dlls/kernel/toolhelp.spec @@ -21,8 +21,11 @@ owner kernel32 66 pascal16 StackTraceFirst(ptr word) StackTraceFirst16 67 pascal16 StackTraceCSIPFirst(ptr word word word word) StackTraceCSIPFirst16 68 pascal16 StackTraceNext(ptr) StackTraceNext16 -69 pascal16 ClassFirst(ptr) ClassFirst16 -70 pascal16 ClassNext(ptr) ClassNext16 +#69 pascal16 ClassFirst(ptr) ClassFirst16 +#70 pascal16 ClassNext(ptr) ClassNext16 +#FIXME: window classes are USER objects +69 stub ClassFirst +70 stub ClassNext 71 pascal16 SystemHeapInfo(ptr) SystemHeapInfo16 72 pascal16 MemManInfo(ptr) MemManInfo16 73 pascal16 NotifyRegister(word segptr word) NotifyRegister16 diff --git a/dlls/user/Makefile.in b/dlls/user/Makefile.in index 22f489aee05..3fccf8a9ded 100644 --- a/dlls/user/Makefile.in +++ b/dlls/user/Makefile.in @@ -24,7 +24,18 @@ RC_SRCS = \ GLUE = thunk.c +EXTRA_OBJS = \ + $(TOPOBJDIR)/controls/controls.o \ + $(TOPOBJDIR)/windows/windows.o + +SUBDIRS = \ + $(TOPOBJDIR)/controls \ + $(TOPOBJDIR)/windows + @MAKE_DLL_RULES@ +$(EXTRA_OBJS): $(TOOLSUBDIRS) dummy + @cd `dirname $@` && $(MAKE) `basename $@` + ### Dependencies: diff --git a/misc/Makefile.in b/misc/Makefile.in index 424f38dd369..28efe29778f 100644 --- a/misc/Makefile.in +++ b/misc/Makefile.in @@ -17,15 +17,12 @@ C_SRCS = \ main.c \ options.c \ port.c \ - printdrv.c \ registry.c \ system.c \ tweak.c \ version.c \ wsprintf.c -GLUE = printdrv.c - all: $(MODULE).o @MAKE_RULES@ diff --git a/msdos/int09.c b/msdos/int09.c index c68f4ca1551..9278d94ca8f 100644 --- a/msdos/int09.c +++ b/msdos/int09.c @@ -28,7 +28,6 @@ typedef struct { void WINAPI INT_Int09Handler( CONTEXT86 *context ) { BYTE ascii, scan = INT_Int09ReadScan(&ascii); - UINT vkey = MapVirtualKeyA(scan&0x7f, 1); BYTE ch[2]; int cnt, c2; @@ -39,8 +38,13 @@ void WINAPI INT_Int09Handler( CONTEXT86 *context ) ch[0] = ascii; cnt = 1; } else { +#if 0 /* FIXME: cannot call USER functions here */ + UINT vkey = MapVirtualKeyA(scan&0x7f, 1); /* as in TranslateMessage, windows/input.c */ cnt = ToAscii(vkey, scan, QueueKeyStateTable, (LPWORD)ch, 0); +#else + cnt = 0; +#endif } if (cnt>0) { for (c2=0; c2