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-09-06 20:51:31 +02:00
|
|
|
EXTRALIBS = $(LIBUNICODE)
|
|
|
|
|
2003-03-23 21:00:02 +01:00
|
|
|
SPEC_SRCS16 = \
|
|
|
|
ddeml.spec \
|
2003-09-27 04:32:53 +02:00
|
|
|
display.drv.spec \
|
|
|
|
keyboard.drv.spec \
|
|
|
|
mouse.drv.spec \
|
2003-03-23 21:00:02 +01:00
|
|
|
user.exe.spec
|
|
|
|
|
2000-03-19 13:08:09 +01:00
|
|
|
C_SRCS = \
|
2002-05-14 20:36:54 +02:00
|
|
|
$(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/mdi.c \
|
|
|
|
$(TOPOBJDIR)/windows/message.c \
|
|
|
|
$(TOPOBJDIR)/windows/msgbox.c \
|
|
|
|
$(TOPOBJDIR)/windows/multimon.c \
|
|
|
|
$(TOPOBJDIR)/windows/nonclient.c \
|
|
|
|
$(TOPOBJDIR)/windows/queue.c \
|
|
|
|
$(TOPOBJDIR)/windows/rect.c \
|
|
|
|
$(TOPOBJDIR)/windows/scroll.c \
|
|
|
|
$(TOPOBJDIR)/windows/spy.c \
|
|
|
|
$(TOPOBJDIR)/windows/syscolor.c \
|
|
|
|
$(TOPOBJDIR)/windows/user.c \
|
|
|
|
$(TOPOBJDIR)/windows/win.c \
|
|
|
|
$(TOPOBJDIR)/windows/winhelp.c \
|
|
|
|
$(TOPOBJDIR)/windows/winpos.c \
|
|
|
|
$(TOPOBJDIR)/windows/winproc.c \
|
2004-08-31 03:10:08 +02:00
|
|
|
button.c \
|
2002-10-17 03:24:33 +02:00
|
|
|
caret.c \
|
2004-08-31 03:10:08 +02:00
|
|
|
combo.c \
|
2001-06-23 01:02:48 +02:00
|
|
|
dde/client.c \
|
|
|
|
dde/ddeml16.c \
|
|
|
|
dde/misc.c \
|
|
|
|
dde/server.c \
|
2004-08-31 03:10:08 +02:00
|
|
|
desktop.c \
|
2003-03-28 20:40:37 +01:00
|
|
|
dialog16.c \
|
2004-08-31 03:10:08 +02:00
|
|
|
edit.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 \
|
2004-08-31 03:10:08 +02:00
|
|
|
icontitle.c \
|
|
|
|
listbox.c \
|
2000-08-04 06:21:02 +02:00
|
|
|
lstr.c \
|
2004-08-31 03:10:08 +02:00
|
|
|
menu.c \
|
2001-08-07 21:19:08 +02:00
|
|
|
message.c \
|
2000-08-04 06:21:02 +02:00
|
|
|
misc.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 \
|
2004-08-31 03:10:08 +02:00
|
|
|
scroll.c \
|
|
|
|
static.c \
|
2004-12-09 14:48:56 +01:00
|
|
|
sysparams.c \
|
2000-08-04 06:21:02 +02:00
|
|
|
text.c \
|
2004-08-31 03:10:08 +02:00
|
|
|
uitools.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 \
|
2003-07-24 02:04:35 +02:00
|
|
|
comm16.c \
|
2004-09-02 00:47:48 +02:00
|
|
|
display.c \
|
2002-10-29 01:41:42 +01:00
|
|
|
hook16.c \
|
2004-09-02 00:47:48 +02:00
|
|
|
kbd16.c \
|
|
|
|
mouse16.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
|
|
|
|
2003-10-04 05:58:57 +02:00
|
|
|
RC_BINSRC = resources/user32_bin.rc
|
|
|
|
RC_BINARIES = \
|
2003-10-03 07:01:33 +02:00
|
|
|
resources/obm_btncorners.bmp \
|
|
|
|
resources/obm_btsize.bmp \
|
|
|
|
resources/obm_check.bmp \
|
|
|
|
resources/obm_checkboxes.bmp \
|
|
|
|
resources/obm_close.bmp \
|
|
|
|
resources/obm_combo.bmp \
|
|
|
|
resources/obm_dnarrow.bmp \
|
|
|
|
resources/obm_dnarrowd.bmp \
|
|
|
|
resources/obm_dnarrowi.bmp \
|
|
|
|
resources/obm_lfarrow.bmp \
|
|
|
|
resources/obm_lfarrowd.bmp \
|
|
|
|
resources/obm_lfarrowi.bmp \
|
|
|
|
resources/obm_mnarrow.bmp \
|
|
|
|
resources/obm_old_close.bmp \
|
|
|
|
resources/obm_old_dnarrow.bmp \
|
|
|
|
resources/obm_old_lfarrow.bmp \
|
|
|
|
resources/obm_old_reduce.bmp \
|
|
|
|
resources/obm_old_restore.bmp \
|
|
|
|
resources/obm_old_rgarrow.bmp \
|
|
|
|
resources/obm_old_uparrow.bmp \
|
|
|
|
resources/obm_old_zoom.bmp \
|
|
|
|
resources/obm_reduce.bmp \
|
|
|
|
resources/obm_reduced.bmp \
|
|
|
|
resources/obm_restore.bmp \
|
|
|
|
resources/obm_restored.bmp \
|
|
|
|
resources/obm_rgarrow.bmp \
|
|
|
|
resources/obm_rgarrowd.bmp \
|
|
|
|
resources/obm_rgarrowi.bmp \
|
|
|
|
resources/obm_size.bmp \
|
|
|
|
resources/obm_trtype.bmp \
|
|
|
|
resources/obm_uparrow.bmp \
|
|
|
|
resources/obm_uparrowd.bmp \
|
|
|
|
resources/obm_uparrowi.bmp \
|
|
|
|
resources/obm_zoom.bmp \
|
2003-10-04 05:58:57 +02:00
|
|
|
resources/obm_zoomd.bmp \
|
2003-10-03 07:01:33 +02:00
|
|
|
resources/ocr_appstarting.cur \
|
|
|
|
resources/ocr_cross.cur \
|
|
|
|
resources/ocr_dragobject.cur \
|
|
|
|
resources/ocr_hand.cur \
|
|
|
|
resources/ocr_help.cur \
|
|
|
|
resources/ocr_ibeam.cur \
|
|
|
|
resources/ocr_icon.cur \
|
|
|
|
resources/ocr_no.cur \
|
|
|
|
resources/ocr_normal.cur \
|
|
|
|
resources/ocr_size.cur \
|
2003-10-04 05:58:57 +02:00
|
|
|
resources/ocr_sizeall.cur \
|
2003-10-03 07:01:33 +02:00
|
|
|
resources/ocr_sizenesw.cur \
|
|
|
|
resources/ocr_sizens.cur \
|
|
|
|
resources/ocr_sizenwse.cur \
|
|
|
|
resources/ocr_sizewe.cur \
|
|
|
|
resources/ocr_up.cur \
|
2003-10-04 05:58:57 +02:00
|
|
|
resources/ocr_wait.cur \
|
2003-10-03 07:01:33 +02:00
|
|
|
resources/oic_bang.ico \
|
|
|
|
resources/oic_hand.ico \
|
|
|
|
resources/oic_note.ico \
|
|
|
|
resources/oic_ques.ico \
|
|
|
|
resources/oic_sample.ico \
|
|
|
|
resources/oic_winlogo.ico
|
|
|
|
|
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)/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
|
2004-02-17 21:36:16 +01:00
|
|
|
$(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --heap 65520 --main-module $(MODULE) --res resources/version16.res --dll $(SRCDIR)/user.exe.spec
|
2002-11-19 00:16:09 +01:00
|
|
|
|
2003-09-27 04:32:53 +02:00
|
|
|
display.drv.spec.c: display.drv.spec resources/display.res
|
2004-02-17 21:36:16 +01:00
|
|
|
$(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --main-module $(MODULE) --res resources/display.res --dll $(SRCDIR)/display.drv.spec
|
2002-11-19 00:16:09 +01:00
|
|
|
|
2003-09-27 04:32:53 +02:00
|
|
|
mouse.drv.spec.c: mouse.drv.spec resources/mouse.res
|
2004-02-17 21:36:16 +01:00
|
|
|
$(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --main-module $(MODULE) --res resources/mouse.res --dll $(SRCDIR)/mouse.drv.spec
|
2000-10-25 22:33:58 +02:00
|
|
|
|
|
|
|
resources/display.res: resources/display.rc
|
2003-05-06 20:34:53 +02:00
|
|
|
$(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/display.rc
|
2000-10-25 22:33:58 +02:00
|
|
|
|
|
|
|
resources/mouse.res: resources/mouse.rc
|
2003-05-06 20:34:53 +02:00
|
|
|
$(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(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-05-06 20:34:53 +02:00
|
|
|
$(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/version16.rc
|
2001-02-23 21:37:13 +01:00
|
|
|
|
2000-03-19 13:08:09 +01:00
|
|
|
### Dependencies:
|