2002-11-22 22:22:14 +01:00
|
|
|
EXTRADEFS = -D_USER32_ -D_WINABLE_
|
2000-03-19 13:08:09 +01:00
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ../..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2002-03-20 23:19:06 +01:00
|
|
|
MODULE = user32.dll
|
2003-04-01 02:08:32 +02:00
|
|
|
IMPORTS = gdi32 advapi32 kernel32 ntdll
|
2002-03-26 20:56:06 +01:00
|
|
|
ALTNAMES = user.exe keyboard.dll ddeml.dll display.dll mouse.dll
|
2002-09-06 20:51:31 +02:00
|
|
|
EXTRALIBS = $(LIBUNICODE)
|
2003-04-01 02:08:32 +02:00
|
|
|
DLLMAIN = UserClientDllInitialize@12
|
2002-09-06 20:51:31 +02:00
|
|
|
|
|
|
|
LDDLLFLAGS = @LDDLLFLAGS@
|
|
|
|
SYMBOLFILE = $(MODULE).tmp.o
|
2000-03-19 13:08:09 +01:00
|
|
|
|
2003-03-23 21:00:02 +01:00
|
|
|
SPEC_SRCS16 = \
|
|
|
|
ddeml.spec \
|
|
|
|
display.spec \
|
|
|
|
keyboard.spec \
|
|
|
|
mouse.spec \
|
|
|
|
user.exe.spec
|
|
|
|
|
2000-03-19 13:08:09 +01:00
|
|
|
C_SRCS = \
|
2002-05-14 20:36:54 +02:00
|
|
|
$(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/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/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 \
|
2000-08-04 06:21:02 +02:00
|
|
|
cache.c \
|
2002-10-17 03:24:33 +02:00
|
|
|
caret.c \
|
2001-07-24 22:49:41 +02:00
|
|
|
comm16.c \
|
2001-06-23 01:02:48 +02:00
|
|
|
dde/client.c \
|
|
|
|
dde/ddeml16.c \
|
|
|
|
dde/misc.c \
|
|
|
|
dde/server.c \
|
2003-03-28 20:40:37 +01:00
|
|
|
dialog16.c \
|
2000-06-03 06:20:19 +02:00
|
|
|
display.c \
|
2000-06-13 00:00:11 +02:00
|
|
|
exticon.c \
|
2002-10-12 01:41:06 +02:00
|
|
|
focus.c \
|
2002-10-29 01:41:42 +01:00
|
|
|
hook.c \
|
2000-08-04 06:21:02 +02:00
|
|
|
lstr.c \
|
2001-08-07 21:19:08 +02:00
|
|
|
message.c \
|
2000-08-04 06:21:02 +02:00
|
|
|
misc.c \
|
2000-06-08 06:57:22 +02:00
|
|
|
mouse.c \
|
2001-08-07 21:19:08 +02:00
|
|
|
msg16.c \
|
2001-12-13 02:03:30 +01:00
|
|
|
painting.c \
|
2001-10-12 21:10:26 +02:00
|
|
|
property.c \
|
2000-08-04 06:21:02 +02:00
|
|
|
resource.c \
|
|
|
|
text.c \
|
2000-11-26 23:39:50 +01:00
|
|
|
user_main.c \
|
|
|
|
wsprintf.c
|
2000-03-24 22:38:30 +01:00
|
|
|
|
2002-10-02 04:34:09 +02:00
|
|
|
C_SRCS16 = \
|
|
|
|
bidi16.c \
|
2002-10-29 01:41:42 +01:00
|
|
|
hook16.c \
|
2002-10-23 22:22:53 +02:00
|
|
|
network.c \
|
2002-10-28 20:04:39 +01:00
|
|
|
user16.c \
|
|
|
|
wnd16.c
|
2002-10-02 04:34:09 +02:00
|
|
|
|
2002-05-12 01:06:32 +02:00
|
|
|
RC_SRCS = resources/user32.rc
|
2001-05-31 23:37:29 +02:00
|
|
|
|
|
|
|
RC_SRCS16 = \
|
2000-10-25 22:33:58 +02:00
|
|
|
resources/display.rc \
|
|
|
|
resources/mouse.rc \
|
2001-02-23 21:37:13 +01:00
|
|
|
resources/version16.rc
|
2000-06-03 06:20:19 +02:00
|
|
|
|
2002-08-09 03:22:40 +02:00
|
|
|
SUBDIRS = tests
|
|
|
|
|
2000-10-23 23:39:39 +02:00
|
|
|
EXTRASUBDIRS = \
|
2002-05-14 20:36:54 +02:00
|
|
|
$(TOPOBJDIR)/controls \
|
|
|
|
$(TOPOBJDIR)/windows \
|
2001-06-23 01:02:48 +02:00
|
|
|
dde \
|
2002-08-09 03:22:40 +02:00
|
|
|
resources
|
2000-10-23 23:39:39 +02:00
|
|
|
|
2000-03-19 13:08:09 +01:00
|
|
|
@MAKE_DLL_RULES@
|
|
|
|
|
2002-09-13 00:51:20 +02:00
|
|
|
# Special rules for 16-bit resource and spec files
|
|
|
|
|
|
|
|
user.exe.spec.c: user.exe.spec resources/version16.res
|
2003-03-23 02:12:30 +01:00
|
|
|
$(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --heap 65520 --main-module $(MODULE) --res resources/version16.res --spec $(SRCDIR)/user.exe.spec
|
2002-11-19 00:16:09 +01:00
|
|
|
|
|
|
|
display.spec.c: display.spec resources/display.res
|
2003-03-23 02:12:30 +01:00
|
|
|
$(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --main-module $(MODULE) --res resources/display.res --spec $(SRCDIR)/display.spec
|
2002-11-19 00:16:09 +01:00
|
|
|
|
|
|
|
mouse.spec.c: mouse.spec resources/mouse.res
|
2003-03-23 02:12:30 +01:00
|
|
|
$(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --main-module $(MODULE) --res resources/mouse.res --spec $(SRCDIR)/mouse.spec
|
2000-10-25 22:33:58 +02:00
|
|
|
|
|
|
|
resources/display.res: resources/display.rc
|
2003-03-27 19:37:59 +01:00
|
|
|
$(LDPATH) $(WRC) $(WRCFLAGS) $(DIVINCL) -o $@ -O res16 $(SRCDIR)/resources/display.rc
|
2000-10-25 22:33:58 +02:00
|
|
|
|
|
|
|
resources/mouse.res: resources/mouse.rc
|
2003-03-27 19:37:59 +01:00
|
|
|
$(LDPATH) $(WRC) $(WRCFLAGS) $(DIVINCL) -o $@ -O res16 $(SRCDIR)/resources/mouse.rc
|
2000-11-06 06:31:14 +01:00
|
|
|
|
2001-02-23 21:37:13 +01:00
|
|
|
resources/version16.res: resources/version16.rc
|
2003-03-27 19:37:59 +01:00
|
|
|
$(LDPATH) $(WRC) $(WRCFLAGS) $(DIVINCL) -o $@ -O res16 $(SRCDIR)/resources/version16.rc
|
2001-02-23 21:37:13 +01:00
|
|
|
|
2000-03-19 13:08:09 +01:00
|
|
|
### Dependencies:
|