Commit 32459912 authored by Alexandre Julliard's avatar Alexandre Julliard

Moved imports specification from the .spec into the Makefile so that

it can be used on platforms that don't build a .spec.c file.
parent aac0dd7a
......@@ -16,6 +16,8 @@
# GLUE : C sources for which glue code needs to be generated
# EXTRA_SRCS : extra source files for make depend
# EXTRA_OBJS : extra object files
# IMPORTS : dlls to import
# DELAYIMPORTS : dlls to import in delayed mode
# SUBDIRS : subdirectories that contain a Makefile
# EXTRASUBDIRS : subdirectories that do not contain a Makefile
# PLTESTS : Perl test scripts
......@@ -162,7 +164,7 @@ $(MODULE).tmp.o: $(OBJS) Makefile.in
# Rule for main module spec file
$(MAINSPEC).c: $(MAINSPEC) $(RC_SRCS:.rc=.res) $(SYMBOLFILE) $(WINEBUILD)
$(LDPATH) $(WINEBUILD) @DLLFLAGS@ -L$(DLLDIR) $(SYMBOLFILE:%=-sym %) -o $@ -spec $(SRCDIR)/$(MAINSPEC)
$(LDPATH) $(WINEBUILD) @DLLFLAGS@ $(SYMBOLFILE:%=-sym %) -o $@ -spec $(SRCDIR)/$(MAINSPEC) -L$(DLLDIR) $(DELAYIMPORTS:%=-dl%) $(IMPORTS:%=-l%)
# Rule to rebuild the resource compiler
......@@ -282,7 +284,7 @@ $(TESTPROGRAM).tmp.o: $(TESTOBJS)
-strip --strip-unneeded $@
$(TESTPROGRAM).spec.c: $(TESTPROGRAM).spec $(TESTPROGRAM).tmp.o $(WINEBUILD)
$(LDPATH) $(WINEBUILD) @DLLFLAGS@ -L$(DLLDIR) -sym $(TESTPROGRAM).tmp.o -o $@ -spec $(SRCDIR)/$(TESTPROGRAM).spec
$(LDPATH) $(WINEBUILD) @DLLFLAGS@ -sym $(TESTPROGRAM).tmp.o -o $@ -spec $(SRCDIR)/$(TESTPROGRAM).spec -L$(DLLDIR) $(TESTIMPORTS:%=-l%)
# Misc. rules
......
......@@ -21,7 +21,7 @@ VPATH = @srcdir@
LIBEXT = @LIBEXT@
LDCONFIG = @LDCONFIG@
MODULE = wine
IMPORTS = ntdll.dll
LDIMPORTS = ntdll.dll
# Stand-alone programs
PROGRAMS = \
......@@ -89,8 +89,8 @@ Make.rules: Make.rules.in configure
@echo $? is newer than 'Make.rules', please rerun ./configure!
@exit 1
wine: $(EMUOBJS) $(IMPORTS:%=lib%.$(LIBEXT)) library/libwine.$(LIBEXT) unicode/libwine_unicode.$(LIBEXT)
$(CC) -o wine $(EMUOBJS) -L. $(IMPORTS:%=-l%) $(LIBWINE) $(LIBUNICODE) $(LIBS) $(LDFLAGS)
wine: $(EMUOBJS) $(LDIMPORTS:%=lib%.$(LIBEXT)) library/libwine.$(LIBEXT) unicode/libwine_unicode.$(LIBEXT)
$(CC) -o wine $(EMUOBJS) -L. $(LDIMPORTS:%=-l%) $(LIBWINE) $(LIBUNICODE) $(LIBS) $(LDFLAGS)
install_wine: dummy
[ -d $(bindir) ] || $(MKDIR) $(bindir)
......@@ -146,7 +146,7 @@ server tools: $(LIBRARIES)
dlls: tools $(LIBRARIES)
checklink::
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c $(LIBWINE) $(LIBS) && $(RM) checklink
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c && $(RM) checklink
checklink::
@cd dlls && $(MAKE) checklink
......
......@@ -4,6 +4,8 @@ TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = winedbg
IMPORTS = advapi32.dll kernel32.dll ntdll.dll
DELAYIMPORTS = user32.dll
C_SRCS = \
break.c \
......
......@@ -2,8 +2,3 @@ name winedbg
mode cuiexe
type win32
init DEBUG_main
import -delay user32.dll
import advapi32.dll
import kernel32.dll
import ntdll.dll
......@@ -3,7 +3,6 @@
# Each individual makefile should define the following variables:
# MODULE : name of the main module being built
# ALTNAMES : alternate names for this dll (optional)
# IMPORTS : dlls to import (optional)
# EXTRALIBS : extra libraries to link in (optional)
#
# plus all variables required by the global Make.rules.in
......@@ -15,6 +14,8 @@ ALTSPECS = $(ALTNAMES:%.dll=%)
SPEC_SRCS = $(ALTSPECS:%=%.spec)
ALL_OBJS = $(MODULE:%.dll=%).spec.o $(OBJS)
ALL_LIBS = $(LIBWINE) $(EXTRALIBS) $(LIBS)
SPEC_DEF = $(MODULE:%.dll=%).spec.def
TESTIMPORTS = $(MODULE) $(DELAYIMPORTS) $(IMPORTS)
all: $(MODULE)$(DLLEXT)
......@@ -23,17 +24,17 @@ all: $(MODULE)$(DLLEXT)
# Rules for .so files
$(MODULE).so: $(ALL_OBJS) Makefile.in
$(LDSHARED) $(LDDLLFLAGS) $(ALL_OBJS) -o $@ -L$(DLLDIR) $(IMPORTS:%=-l%) $(ALL_LIBS)
$(LDSHARED) $(LDDLLFLAGS) $(ALL_OBJS) -o $@ -L$(DLLDIR) $(LDIMPORTS:%=-l%) $(ALL_LIBS)
# Rules for .dll files
$(MODULE): $(ALL_OBJS) Makefile.in
$(DLLWRAP) $(DLLWRAPFLAGS) --implib $(MODULE:.dll=.a) -o $(MODULE) $(ALL_OBJS) -L$(DLLDIR) $(IMPORTS:%=-l%) $(ALL_LIBS)
$(MODULE): $(ALL_OBJS) $(SPEC_DEF) Makefile.in
$(DLLWRAP) $(DLLWRAPFLAGS) --def $(SPEC_DEF) --implib $(MODULE:.dll=.a) -o $(MODULE) $(ALL_OBJS) -L$(DLLDIR) $(LDIMPORTS:%=-l%) $(ALL_LIBS)
# Rules for checking that no imports are missing
checklink:: $(MODULE)$(DLLEXT)
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c $(MODULE)$(DLLEXT) $(ALL_LIBS) && $(RM) checklink
$(CC) -o checklink $(TOPSRCDIR)/library/checklink.c $(MODULE)$(DLLEXT) && $(RM) checklink
# Rules for testing
......
......@@ -4,6 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = advapi32.dll
IMPORTS = kernel32.dll ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
name advapi32
type win32
import kernel32.dll
import ntdll.dll
debug_channels (advapi crypt reg)
@ stdcall AbortSystemShutdownA(ptr) AbortSystemShutdownA
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = avicap32.dll
IMPORTS = ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
name avicap32
type win32
import ntdll.dll
debug_channels ()
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = avifil32.dll
IMPORTS = msvfw32.dll kernel32.dll ntdll.dll
ALTNAMES = avifile.dll
EXTRALIBS = $(LIBUUID)
......
name avifil32
type win32
import msvfw32.dll
import kernel32.dll
import ntdll.dll
debug_channels (avifile)
@ stub AVIBuildFilter
......
......@@ -4,6 +4,8 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = comctl32.dll
IMPORTS = user32.dll gdi32.dll advapi32.dll kernel32.dll ntdll.dll
DELAYIMPORTS = winmm.dll
EXTRALIBS = $(LIBUNICODE)
LDDLLFLAGS = @LDDLLFLAGS@
......
......@@ -3,13 +3,6 @@ type win32
init COMCTL32_LibMain
rsrc rsrc.res
import -delay winmm.dll
import user32.dll
import gdi32.dll
import advapi32.dll
import kernel32.dll
import ntdll.dll
debug_channels (animate comboex commctrl datetime header hotkey imagelist ipaddress
listview message monthcal nativefont pager progress propsheet
rebar statusbar tab toolbar tooltips trackbar treeview updown)
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = comdlg32.dll
IMPORTS = shell32.dll shlwapi.dll comctl32.dll winspool.drv user32.dll gdi32.dll kernel32.dll ntdll.dll
ALTNAMES = commdlg.dll
EXTRALIBS = $(LIBUUID)
......
......@@ -3,15 +3,6 @@ type win32
init COMDLG32_DllEntryPoint
rsrc rsrc.res
import shell32.dll
import shlwapi.dll
import comctl32.dll
import winspool.drv
import user32.dll
import gdi32.dll
import kernel32.dll
import ntdll.dll
debug_channels (commdlg)
@ stdcall ChooseColorA(ptr) ChooseColorA
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = crtdll.dll
IMPORTS = msvcrt.dll kernel32.dll ntdll.dll
EXTRALIBS = $(LIBUNICODE)
LDDLLFLAGS = @LDDLLFLAGS@
......
......@@ -3,10 +3,6 @@ name crtdll
type win32
init CRTDLL_Init
import msvcrt.dll
import kernel32.dll
import ntdll.dll
debug_channels (crtdll)
@ forward ??2@YAPAXI@Z msvcrt.??2@YAPAXI@Z
......
......@@ -4,6 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = crypt32.dll
IMPORTS = advapi32.dll kernel32.dll ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
name crypt32
type win32
import advapi32.dll
import kernel32.dll
import ntdll.dll
debug_channels ()
@ stub CertAddCRLContextToStore
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = dciman32.dll
IMPORTS = kernel32.dll ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
name dciman32
type win32
import kernel32.dll
import ntdll.dll
@ stub DCIBeginAccess
@ stdcall DCICloseProvider(long) DCICloseProvider
@ stub DCICreateOffscreen
......
......@@ -3,8 +3,9 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = ddraw.dll
EXTRALIBS = $(LIBUUID) $(LIBTSX11) $(X_LIBS) $(XLIB)
IMPORTS = user32.dll gdi32.dll kernel32.dll ntdll.dll
EXTRALIBS = $(LIBUUID) $(LIBTSX11) $(X_LIBS) $(XLIB)
LDIMPORTS = user32.dll gdi32.dll kernel32.dll ntdll.dll
OPENGLFILES = \
d3dcommon.c \
......
......@@ -3,11 +3,6 @@ type win32
init DDRAW_DllMain
rsrc version.res
import user32.dll
import gdi32.dll
import kernel32.dll
import ntdll.dll
debug_channels (ddraw)
@ stub DDHAL32_VidMemAlloc
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = devenum.dll
IMPORTS = ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
name devenum
type win32
import ntdll.dll
debug_channels()
@ stub DllCanUnloadNow
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = dinput.dll
IMPORTS = user32.dll kernel32.dll ntdll.dll
EXTRALIBS = $(LIBUUID)
LDDLLFLAGS = @LDDLLFLAGS@
......
name dinput
type win32
import user32.dll
import kernel32.dll
import ntdll.dll
debug_channels (dinput)
@ stdcall DirectInputCreateA(long long ptr ptr) DirectInputCreateA
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = dplay.dll
IMPORTS = dplayx.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
......@@ -2,7 +2,5 @@
name dplay
type win32
import dplayx.dll
@ forward DirectPlayCreate dplayx.DirectPlayCreate
@ forward DirectPlayEnumerate dplayx.DirectPlayEnumerate
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = dplayx.dll
IMPORTS = winmm.dll ole32.dll user32.dll advapi32.dll kernel32.dll ntdll.dll
EXTRALIBS = $(LIBUUID)
LDDLLFLAGS = @LDDLLFLAGS@
......
......@@ -3,13 +3,6 @@ type win32
init DPLAYX_LibMain
rsrc version.res
import winmm.dll
import ole32.dll
import user32.dll
import advapi32.dll
import kernel32.dll
import ntdll.dll
debug_channels (dplay)
1 stdcall DirectPlayCreate(ptr ptr ptr) DirectPlayCreate
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = dsound.dll
IMPORTS = winmm.dll kernel32.dll ntdll.dll
EXTRALIBS = $(LIBUUID)
LDDLLFLAGS = @LDDLLFLAGS@
......
name dsound
type win32
import winmm.dll
import kernel32.dll
import ntdll.dll
debug_channels (dsound)
0 stub DirectSoundUnknown
......
......@@ -4,8 +4,9 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = gdi32.dll
IMPORTS = advapi32.dll kernel32.dll ntdll.dll
ALTNAMES = gdi.exe dispdib.dll wing.dll
IMPORTS = kernel32.dll ntdll.dll
LDIMPORTS = kernel32.dll ntdll.dll
EXTRAINCL = @FREETYPEINCL@
C_SRCS = \
......
......@@ -3,10 +3,6 @@ type win32
init MAIN_GdiInit
rsrc version.res
import advapi32.dll
import kernel32.dll
import ntdll.dll
debug_channels (bitblt bitmap clipping dc ddraw driver enhmetafile font gdi
metafile palette print region text win16drv wing)
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = icmp.dll
IMPORTS = kernel32.dll ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
name icmp
type win32
import kernel32.dll
import ntdll.dll
debug_channels (icmp)
@ stdcall IcmpCloseHandle(ptr) IcmpCloseHandle
......
......@@ -4,6 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = imagehlp.dll
IMPORTS = kernel32.dll ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
......@@ -2,9 +2,6 @@ name imagehlp
type win32
init IMAGEHLP_LibMain
import kernel32.dll
import ntdll.dll
debug_channels (imagehlp)
@ stdcall BindImage(str str str) BindImage
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = imm32.dll
IMPORTS = kernel32.dll ntdll.dll
ALTNAMES = imm.dll
LDDLLFLAGS = @LDDLLFLAGS@
......
name imm32
type win32
import kernel32.dll
import ntdll.dll
debug_channels (imm)
@ stdcall ImmAssociateContext(long long) ImmAssociateContext
......
......@@ -3,8 +3,9 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = kernel32.dll
ALTNAMES = krnl386.exe comm.dll stress.dll system.dll toolhelp.dll windebug.dll win87em.dll wprocs.dll
IMPORTS = ntdll.dll
ALTNAMES = krnl386.exe comm.dll stress.dll system.dll toolhelp.dll windebug.dll win87em.dll wprocs.dll
LDIMPORTS = ntdll.dll
C_SRCS = \
comm.c \
......
......@@ -3,8 +3,6 @@ type win32
init MAIN_KernelInit
rsrc kernel.res
import ntdll.dll
debug_channels (comm console debugstr dll int resource stress thunk toolhelp
win32)
......
name kernel32_test
type win32
mode cuiexe
import kernel32.dll
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = lz32.dll
IMPORTS = kernel32.dll ntdll.dll
ALTNAMES = lzexpand.dll
EXTRALIBS = $(LIBUNICODE)
......
name lz32
type win32
import kernel32.dll
import ntdll.dll
debug_channels (file)
@ stdcall CopyLZFile(long long) CopyLZFile
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = mapi32.dll
IMPORTS = ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
name mapi32
type win32
import ntdll.dll
debug_channels (mapi)
@ stub BMAPIAddress
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = mpr.dll
IMPORTS = kernel32.dll ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
name mpr
type win32
import kernel32.dll
import ntdll.dll
debug_channels (mpr)
# ordinal exports
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = msacm32.dll
IMPORTS = winmm.dll user32.dll advapi32.dll kernel32.dll ntdll.dll
ALTNAMES = msacm.dll
LDDLLFLAGS = @LDDLLFLAGS@
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = imaadp32.acm
IMPORTS = ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
......@@ -2,8 +2,6 @@ name imaadp32
file imaadp32.acm
type win32
import ntdll.dll
debug_channels ()
@ stub DriverProc #(long long long long long)
......@@ -3,12 +3,6 @@ type win32
init MSACM32_LibMain
rsrc msacm.res
import winmm.dll
import user32.dll
import advapi32.dll
import kernel32.dll
import ntdll.dll
debug_channels (msacm)
@ stdcall acmDriverAddA(ptr long long long long) acmDriverAddA
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = msg711.drv
IMPORTS = ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
......@@ -2,8 +2,6 @@ name msg711
file msg711.drv
type win32
import ntdll.dll
debug_channels ()
@ stub DriverProc #(long long long long long)
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = msdmo.dll
IMPORTS = ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
name msdmo
type win32
import ntdll.dll
debug_channels ()
@ stub DMOEnum
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = msimg32.dll
IMPORTS = ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
name msimg32
type win32
import ntdll.dll
debug_channels (msimg32)
@ stdcall AlphaBlend(long long long long long long long long long long long) AlphaBlend
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = msisys.ocx
IMPORTS = ntdll.dll
EXTRALIBS = $(LIBUUID)
LDDLLFLAGS = @LDDLLFLAGS@
......
......@@ -3,8 +3,6 @@ file msisys.ocx
type win32
init MSISYS_DllMain
import ntdll.dll
debug_channels (msisys)
@ stdcall DllCanUnloadNow() MSISYS_DllCanUnloadNow
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = msnet32.dll
IMPORTS = ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
name msnet32
type win32
import ntdll.dll
1 stub @
2 stub @
3 stub @
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = msrle32.dll
IMPORTS = ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
name msrle32
type win32
import ntdll.dll
debug_channels()
@ stub DriverProc #(long long long long long)
......
......@@ -4,6 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = msvcrt.dll
IMPORTS = kernel32.dll ntdll.dll
EXTRALIBS = $(LIBUNICODE)
LDDLLFLAGS = @LDDLLFLAGS@
......
......@@ -3,9 +3,6 @@ name msvcrt
type win32
init MSVCRT_Init
import kernel32.dll
import ntdll.dll
debug_channels (msvcrt)
@ cdecl $I10_OUTPUT() MSVCRT_I10_OUTPUT
......
......@@ -4,6 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = msvcrt20.dll
IMPORTS = msvcrt.dll ntdll.dll
EXTRALIBS = $(LIBUNICODE)
LDDLLFLAGS = @LDDLLFLAGS@
......
......@@ -2,9 +2,6 @@
name msvcrt20
type win32
import msvcrt.dll
import ntdll.dll
debug_channels (msvcrt)
@ stub ??0Iostream_init@@QAE@AAVios@@H@Z #
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = msvfw32.dll
IMPORTS = winmm.dll comctl32.dll version.dll user32.dll gdi32.dll kernel32.dll ntdll.dll
ALTNAMES = msvideo.dll
LDDLLFLAGS = @LDDLLFLAGS@
......
name msvfw32
type win32
import winmm.dll
import comctl32.dll
import version.dll
import user32.dll
import gdi32.dll
import kernel32.dll
import ntdll.dll
debug_channels (mci msvideo)
# Yes, ICCompress,ICDecompress,MCIWnd* and ICDraw* are cdecl (VFWAPIV).
......
......@@ -4,6 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = netapi32.dll
IMPORTS = ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
......@@ -2,11 +2,6 @@ name netapi32
type win32
init NETAPI32_LibMain
#import user32.dll
#import advapi32.dll
#import kernel32.dll
import ntdll.dll
debug_channels (netbios)
1 stdcall Netbios(ptr) Netbios
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = odbc32.dll
IMPORTS = ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
......@@ -2,8 +2,6 @@ name odbc32
type win32
init MAIN_OdbcInit
import ntdll.dll
debug_channels (odbc)
001 stdcall SQLAllocConnect(long ptr) SQLAllocConnect
......
......@@ -4,6 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = ole32.dll
IMPORTS = advapi32.dll user32.dll gdi32.dll rpcrt4.dll kernel32.dll ntdll.dll
ALTNAMES = ole2.dll ole2nls.dll ole2conv.dll ole2prox.dll ole2thk.dll storage.dll compobj.dll
EXTRALIBS = $(LIBUUID)
......
......@@ -3,13 +3,6 @@ type win32
init OLE32_DllEntryPoint
rsrc ole32res.res
import advapi32.dll
import user32.dll
import gdi32.dll
import rpcrt4.dll
import kernel32.dll
import ntdll.dll
debug_channels (accel ole relay storage)
1 stub BindMoniker # stdcall (ptr long ptr ptr) return 0,ERR_NOTIMPLEMENTED
......
......@@ -3,6 +3,8 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = oleaut32.dll
IMPORTS = ole32.dll user32.dll gdi32.dll advapi32.dll kernel32.dll ntdll.dll
DELAYIMPORTS = comctl32.dll
ALTNAMES = ole2disp.dll typelib.dll
EXTRALIBS = $(LIBUUID) @JPEGLIB@
......
......@@ -2,14 +2,6 @@ name oleaut32
type win32
rsrc version.res
import -delay comctl32.dll
import ole32.dll
import user32.dll
import gdi32.dll
import advapi32.dll
import kernel32.dll
import ntdll.dll
debug_channels (ole olerelay typelib)
1 stdcall DllGetClassObject(ptr ptr ptr) OLEAUT32_DllGetClassObject
......
name oleaut32_tests
mode cuiexe
type win32
import oleaut32.dll
import gdi32.dll
import kernel32.dll
import ntdll.dll
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = olecli32.dll
IMPORTS = ole32.dll gdi32.dll kernel32.dll ntdll.dll
ALTNAMES = olecli.dll
LDDLLFLAGS = @LDDLLFLAGS@
......
name olecli32
type win32
import ole32.dll
import gdi32.dll
import kernel32.dll
import ntdll.dll
debug_channels (ole)
1 stub WEP
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = oledlg.dll
IMPORTS = kernel32.dll ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
name oledlg
type win32
import kernel32.dll
import ntdll.dll
debug_channels (ole)
1 stdcall OleUIAddVerbMenuA(ptr str long long long long long long ptr) OleUIAddVerbMenuA
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = olepro32.dll
IMPORTS = oleaut32.dll ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
name olepro32
type win32
import oleaut32.dll
import ntdll.dll
debug_channels (ole)
248 forward OleIconToCursor OLEAUT32.OleIconToCursor
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = olesvr32.dll
IMPORTS = kernel32.dll ntdll.dll
ALTNAMES = olesvr.dll
LDDLLFLAGS = @LDDLLFLAGS@
......
name olesvr32
type win32
import kernel32.dll
import ntdll.dll
debug_channels (ole)
1 stub WEP
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = opengl32.dll
IMPORTS = user32.dll gdi32.dll kernel32.dll ntdll.dll
EXTRALIBS = $(LIBTSX11) $(X_LIBS) $(XLIB)
LDDLLFLAGS = @LDDLLFLAGS@
......
......@@ -2,11 +2,6 @@ name opengl32
type win32
init OpenGL32_Init
import user32.dll
import gdi32.dll
import kernel32.dll
import ntdll.dll
debug_channels (opengl)
@ stdcall wglCreateContext(long) wglCreateContext
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = psapi.dll
IMPORTS = kernel32.dll ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
name psapi
type win32
import kernel32.dll
import ntdll.dll
debug_channels (psapi)
@ stdcall EmptyWorkingSet(long) EmptyWorkingSet
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = qcap.dll
IMPORTS = ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
name qcap
type win32
import ntdll.dll
debug_channels()
@ stub DllCanUnloadNow
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = quartz.dll
IMPORTS = ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
name quartz
type win32
import ntdll.dll
debug_channels (quartz)
@ stub AMGetErrorTextA
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = rasapi32.dll
IMPORTS = kernel32.dll ntdll.dll
ALTNAMES = rasapi16.dll
LDDLLFLAGS = @LDDLLFLAGS@
......
name rasapi32
type win32
import kernel32.dll
import ntdll.dll
debug_channels (ras)
1 stub RasAutodialAddressToNetwork
......
......@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = riched32.dll
IMPORTS = user32.dll kernel32.dll ntdll.dll
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
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