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