Created a small static library in ole/libuuid.a that contains all the
UUID definitions (with the help of Francois Gouget).
This commit is contained in:
parent
e2222fd8ff
commit
5be8e7d8e0
|
@ -65,6 +65,7 @@ DLLDIR = $(TOPOBJDIR)/dlls
|
|||
LIBWINE = -L$(TOPOBJDIR)/library -lwine
|
||||
LIBTSX11 = -L$(TOPOBJDIR)/tsx11 -lwine_tsx11
|
||||
LIBUNICODE= -L$(TOPOBJDIR)/unicode -lwine_unicode
|
||||
LIBUUID = -L$(TOPOBJDIR)/ole -luuid
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
|
|
14
Makefile.in
14
Makefile.in
|
@ -33,6 +33,7 @@ LIBPROGRAMS = \
|
|||
# Libraries (not dlls) to build
|
||||
LIBRARIES = \
|
||||
library/libwine.$(LIBEXT) \
|
||||
ole/libuuid.a \
|
||||
tsx11/libwine_tsx11.$(LIBEXT) \
|
||||
unicode/libwine_unicode.$(LIBEXT)
|
||||
|
||||
|
@ -44,18 +45,10 @@ LIBSYMLINKS = \
|
|||
|
||||
# Sub-directories to run make depend/clean into
|
||||
SUBDIRS = \
|
||||
debugger \
|
||||
dlls \
|
||||
documentation \
|
||||
include \
|
||||
library \
|
||||
$(INSTALLSUBDIRS) \
|
||||
libtest \
|
||||
miscemu \
|
||||
programs \
|
||||
server \
|
||||
tools \
|
||||
tsx11 \
|
||||
unicode
|
||||
programs
|
||||
|
||||
# Sub-directories to run make install into
|
||||
INSTALLSUBDIRS = \
|
||||
|
@ -64,6 +57,7 @@ INSTALLSUBDIRS = \
|
|||
documentation \
|
||||
include \
|
||||
library \
|
||||
ole \
|
||||
server \
|
||||
tools \
|
||||
tsx11 \
|
||||
|
|
|
@ -4,6 +4,7 @@ SRCDIR = @srcdir@
|
|||
VPATH = @srcdir@
|
||||
MODULE = avifil32
|
||||
ALTNAMES = avifile
|
||||
EXTRALIBS = $(LIBUUID)
|
||||
|
||||
LDDLLFLAGS = @LDDLLFLAGS@
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
|
|
|
@ -9,10 +9,8 @@
|
|||
#include "winnls.h"
|
||||
#include "mmsystem.h"
|
||||
#include "winerror.h"
|
||||
#include "debugtools.h"
|
||||
|
||||
#include "initguid.h"
|
||||
#include "vfw.h"
|
||||
#include "debugtools.h"
|
||||
|
||||
DEFAULT_DEBUG_CHANNEL(avifile);
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ SRCDIR = @srcdir@
|
|||
VPATH = @srcdir@
|
||||
MODULE = comdlg32
|
||||
ALTNAMES = commdlg
|
||||
EXTRALIBS = $(LIBUUID)
|
||||
|
||||
LDDLLFLAGS = @LDDLLFLAGS@
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
|
|
|
@ -13,9 +13,6 @@
|
|||
#include "heap.h"
|
||||
#include "debugtools.h"
|
||||
|
||||
#define INITGUID
|
||||
#include "initguid.h"
|
||||
#include "unknwn.h"
|
||||
#include "filedlgbrowser.h"
|
||||
#include "cdlg.h"
|
||||
#include "shlguid.h"
|
||||
|
|
|
@ -3,6 +3,7 @@ TOPOBJDIR = ../..
|
|||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = ddraw
|
||||
EXTRALIBS = $(LIBUUID)
|
||||
SOVERSION = 1.0
|
||||
IMPORTS = user32 x11drv gdi32 kernel32
|
||||
|
||||
|
|
|
@ -18,10 +18,6 @@
|
|||
#include "wine/exception.h"
|
||||
#include "debugtools.h"
|
||||
|
||||
#include "initguid.h"
|
||||
#include "ddraw.h"
|
||||
#include "d3d.h"
|
||||
|
||||
/* This for all the enumeration and creation of D3D-related objects */
|
||||
#include "ddraw_private.h"
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ TOPOBJDIR = ../..
|
|||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = dinput
|
||||
EXTRALIBS = $(LIBUUID)
|
||||
SOVERSION = 1.0
|
||||
IMPORTS = user32 kernel32 ntdll
|
||||
|
||||
|
|
|
@ -25,9 +25,6 @@
|
|||
#include "winbase.h"
|
||||
#include "winerror.h"
|
||||
#include "windef.h"
|
||||
|
||||
#include "initguid.h"
|
||||
#include "dinput.h"
|
||||
#include "dinput_private.h"
|
||||
|
||||
DEFAULT_DEBUG_CHANNEL(dinput);
|
||||
|
|
|
@ -3,6 +3,7 @@ TOPOBJDIR = ../..
|
|||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = dplayx
|
||||
EXTRALIBS = $(LIBUUID)
|
||||
|
||||
LDDLLFLAGS = @LDDLLFLAGS@
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
|
|
|
@ -8,15 +8,10 @@
|
|||
#include "winerror.h"
|
||||
#include "winbase.h"
|
||||
#include "debugtools.h"
|
||||
|
||||
#include "initguid.h" /* To define the GUIDs */
|
||||
#include "dplaysp.h"
|
||||
#include "dplayx_global.h"
|
||||
|
||||
DEFAULT_DEBUG_CHANNEL(dplay);
|
||||
|
||||
DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
|
||||
|
||||
static DWORD DPLAYX_dwProcessesAttached = 0;
|
||||
|
||||
/* This is a globally exported variable at ordinal 6 of DPLAYX.DLL */
|
||||
|
|
|
@ -3,6 +3,7 @@ TOPOBJDIR = ../..
|
|||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = dsound
|
||||
EXTRALIBS = $(LIBUUID)
|
||||
|
||||
LDDLLFLAGS = @LDDLLFLAGS@
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
|
|
|
@ -40,8 +40,6 @@
|
|||
#include "mmsystem.h"
|
||||
#include "wine/windef16.h"
|
||||
#include "debugtools.h"
|
||||
|
||||
#include "initguid.h"
|
||||
#include "dsound.h"
|
||||
#include "dsdriver.h"
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ SRCDIR = @srcdir@
|
|||
VPATH = @srcdir@
|
||||
MODULE = ole32
|
||||
ALTNAMES = ole2 ole2nls ole2conv ole2prox ole2thk storage compobj
|
||||
EXTRALIBS = $(LIBUUID)
|
||||
|
||||
LDDLLFLAGS = @LDDLLFLAGS@
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
#include "winbase.h"
|
||||
#include "winerror.h"
|
||||
#include "debugtools.h"
|
||||
|
||||
#include "initguid.h"
|
||||
#include "oleidl.h"
|
||||
|
||||
DEFAULT_DEBUG_CHANNEL(ole);
|
||||
|
|
|
@ -4,6 +4,7 @@ SRCDIR = @srcdir@
|
|||
VPATH = @srcdir@
|
||||
MODULE = oleaut32
|
||||
ALTNAMES = ole2disp typelib
|
||||
EXTRALIBS = $(LIBUUID)
|
||||
|
||||
LDDLLFLAGS = @LDDLLFLAGS@
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
|
|
|
@ -8,15 +8,11 @@
|
|||
#include "winuser.h"
|
||||
#include "winerror.h"
|
||||
|
||||
#include "ole2.h"
|
||||
#include "heap.h"
|
||||
#include "ldt.h"
|
||||
#include "debugtools.h"
|
||||
|
||||
#include "initguid.h"
|
||||
#include "oleauto.h"
|
||||
#include "ole2.h"
|
||||
#include "olectl.h"
|
||||
|
||||
DEFAULT_DEBUG_CHANNEL(ole);
|
||||
|
||||
static WCHAR _delimiter[2] = {'!',0}; /* default delimiter apparently */
|
||||
|
|
|
@ -4,7 +4,7 @@ SRCDIR = @srcdir@
|
|||
VPATH = @srcdir@
|
||||
MODULE = shell32
|
||||
ALTNAMES = shell
|
||||
EXTRALIBS = $(LIBUNICODE)
|
||||
EXTRALIBS = $(LIBUUID) $(LIBUNICODE)
|
||||
|
||||
LDDLLFLAGS = @LDDLLFLAGS@
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
|
@ -23,7 +23,6 @@ C_SRCS = \
|
|||
pidl.c \
|
||||
shell32_main.c \
|
||||
shell.c \
|
||||
shellguid.c \
|
||||
shelllink.c \
|
||||
shlmenu.c \
|
||||
shellole.c \
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* Shell UID
|
||||
*
|
||||
* 1998 Juergen Schmied (jsch) * <juergen.schmied@metronet.de>
|
||||
*
|
||||
* this in in a single file due to interfering definitions
|
||||
*
|
||||
*/
|
||||
#include "winbase.h"
|
||||
|
||||
#include "initguid.h"
|
||||
|
||||
#include "shlwapi.h"
|
||||
#include "shlguid.h"
|
||||
#include "shlobj.h"
|
||||
#include "docobj.h"
|
|
@ -27,11 +27,7 @@
|
|||
#include "shell32_main.h"
|
||||
#include "shresdef.h"
|
||||
#include "shlwapi.h"
|
||||
|
||||
#define INITGUID
|
||||
#include "initguid.h"
|
||||
#include "shellfolder.h"
|
||||
#include "wine/obj_queryassociations.h"
|
||||
|
||||
DEFAULT_DEBUG_CHANNEL(shell);
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ TOPOBJDIR = ../..
|
|||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = shlwapi
|
||||
EXTRALIBS = $(LIBUNICODE)
|
||||
EXTRALIBS = $(LIBUUID) $(LIBUNICODE)
|
||||
|
||||
LDDLLFLAGS = @LDDLLFLAGS@
|
||||
SYMBOLFILE = $(MODULE).tmp.o
|
||||
|
|
|
@ -8,10 +8,6 @@
|
|||
#include "winbase.h"
|
||||
#include "winerror.h"
|
||||
#include "debugtools.h"
|
||||
|
||||
#include "initguid.h"
|
||||
#include "wine/obj_base.h"
|
||||
#include "wine/obj_storage.h"
|
||||
#include "shlwapi.h"
|
||||
|
||||
DEFAULT_DEBUG_CHANNEL(shell);
|
||||
|
|
|
@ -352,7 +352,10 @@ typedef BOOL CALLBACK (*LPDPENUMDPCALLBACKA)(
|
|||
DWORD dwMinorVersion, /* Minor # of driver spec in lpguidSP */
|
||||
LPVOID lpContext); /* User given */
|
||||
|
||||
#ifndef __LPCGUID_DEFINED__
|
||||
#define __LPCGUID_DEFINED__
|
||||
typedef const GUID *LPCGUID;
|
||||
#endif
|
||||
|
||||
typedef const DPNAME *LPCDPNAME;
|
||||
|
||||
|
|
|
@ -6,13 +6,26 @@ VPATH = @srcdir@
|
|||
MODULE = ole
|
||||
|
||||
C_SRCS = \
|
||||
ole2nls.c
|
||||
ole2nls.c \
|
||||
uuid.c
|
||||
|
||||
all: $(MODULE).o
|
||||
all: $(MODULE).o libuuid.a
|
||||
|
||||
@MAKE_RULES@
|
||||
|
||||
$(MODULE).o: $(OBJS) Makefile.in $(TOPSRCDIR)/Make.rules.in
|
||||
$(LDCOMBINE) $(OBJS) -o $@
|
||||
$(MODULE).o: ole2nls.o Makefile.in $(TOPSRCDIR)/Make.rules.in
|
||||
$(LDCOMBINE) ole2nls.o -o $@
|
||||
|
||||
libuuid.a: uuid.o
|
||||
$(RM) $@
|
||||
$(AR) $@ uuid.o
|
||||
$(RANLIB) $@
|
||||
|
||||
install: libuuid.a
|
||||
[ -d $(libdir) ] || $(MKDIR) $(libdir)
|
||||
$(INSTALL_DATA) libuuid.a $(libdir)/libuuid.a
|
||||
|
||||
uninstall::
|
||||
cd $(libdir) && $(RM) libuuid.a
|
||||
|
||||
### Dependencies:
|
||||
|
|
|
@ -0,0 +1,51 @@
|
|||
/*
|
||||
* GUID definitions
|
||||
*/
|
||||
|
||||
#include "initguid.h"
|
||||
|
||||
/* GUIDs defined in uuids.lib */
|
||||
|
||||
DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "wingdi.h"
|
||||
#include "winuser.h"
|
||||
|
||||
#include "objbase.h"
|
||||
#include "servprov.h"
|
||||
|
||||
#include "oleauto.h"
|
||||
#include "oleidl.h"
|
||||
#include "objidl.h"
|
||||
#include "olectl.h"
|
||||
|
||||
#include "ocidl.h"
|
||||
|
||||
#include "docobj.h"
|
||||
|
||||
#include "shlguid.h"
|
||||
#include "shlobj.h"
|
||||
#include "wine/obj_queryassociations.h"
|
||||
|
||||
/* FIXME: cguids declares GUIDs but does not define their values */
|
||||
|
||||
|
||||
|
||||
/* GUIDs defined in dxguid.lib */
|
||||
|
||||
#include "d3d.h"
|
||||
#include "ddraw.h"
|
||||
#include "dsound.h"
|
||||
#include "dplay.h"
|
||||
#include "dplobby.h"
|
||||
#include "dinput.h"
|
||||
|
||||
/* other GUIDs */
|
||||
|
||||
#include "vfw.h"
|
||||
|
||||
/* GUIDs not declared in an exported header file */
|
||||
DEFINE_GUID(IID_IDirectPlaySP,0xc9f6360,0xcc61,0x11cf,0xac,0xec,0x00,0xaa,0x00,0x68,0x86,0xe3);
|
||||
DEFINE_GUID(IID_ISFHelper,0x1fe68efb,0x1874,0x9812,0x56,0xdc,0x00,0x00,0x00,0x00,0x00,0x00);
|
Loading…
Reference in New Issue