-EXTRADEFS = -D_OLE32_
+EXTRADEFS = -D_OLE32_ -DCOM_NO_WINDOWS_H -DWINE_NO_LONG_AS_INT
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = ole32.dll
+IMPORTLIB = libole32.$(IMPLIBEXT)
IMPORTS = advapi32 user32 gdi32 rpcrt4 kernel32 ntdll
-ALTNAMES = ole2.dll ole2nls.dll ole2conv.dll ole2prox.dll ole2thk.dll storage.dll compobj.dll
-EXTRALIBS = $(LIBUUID)
-
-LDDLLFLAGS = @LDDLLFLAGS@
-SYMBOLFILE = $(MODULE).tmp.o
+EXTRALIBS = -luuid
C_SRCS = \
antimoniker.c \
bindctx.c \
+ classmoniker.c \
clipboard.c \
compobj.c \
compositemoniker.c \
datacache.c \
defaulthandler.c \
+ dictionary.c \
+ enumx.c \
errorinfo.c \
filemoniker.c \
ftmarshal.c \
+ git.c \
hglobalstream.c \
ifs.c \
itemmoniker.c \
marshal.c \
memlockbytes.c \
moniker.c \
- ole16.c \
ole2.c \
ole2stubs.c \
ole2impl.c \
- ole2nls.c \
ole32_main.c \
oleobj.c \
oleproxy.c \
+ regsvr.c \
rpc.c \
stg_bigblockfile.c \
+ stg_prop.c \
stg_stream.c \
- storage.c \
- storage32.c
+ storage32.c \
+ stubmanager.c \
+ usrmarshal.c
+
+C_SRCS16 = \
+ memlockbytes16.c \
+ ole16.c \
+ ole2_16.c \
+ ole2nls.c \
+ storage.c
+
+SPEC_SRCS16 = \
+ compobj.spec \
+ ole2.spec \
+ ole2conv.spec \
+ ole2nls.spec \
+ ole2prox.spec \
+ ole2thk.spec \
+ storage.spec
RC_SRCS = ole32res.rc
+RC_BINSRC = ole32res.rc
+RC_BINARIES = \
+ drag_copy.cur \
+ drag_link.cur \
+ drag_move.cur \
+ nodrop.cur
+
+IDL_SRCS = \
+ dcom.idl
@MAKE_DLL_RULES@
-### Dependencies:
+@DEPENDENCIES@ # everything below this line is overwritten by make depend