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
|
2005-05-09 14:42:30 +00:00
|
|
|
IMPORTLIB = libuser32.$(IMPLIBEXT)
|
2003-04-01 00:08:32 +00:00
|
|
|
IMPORTS = gdi32 advapi32 kernel32 ntdll
|
2005-12-19 17:17:51 +00:00
|
|
|
DELAYIMPORTS = imm32
|
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 = \
|
2004-08-31 01:10:08 +00:00
|
|
|
button.c \
|
2002-10-17 01:24:33 +00:00
|
|
|
caret.c \
|
2005-04-25 11:33:34 +00:00
|
|
|
class.c \
|
|
|
|
clipboard.c \
|
2004-08-31 01:10:08 +00:00
|
|
|
combo.c \
|
2005-04-25 11:33:34 +00:00
|
|
|
cursoricon.c \
|
2005-06-09 10:21:31 +00:00
|
|
|
dde_client.c \
|
|
|
|
dde_misc.c \
|
|
|
|
dde_server.c \
|
|
|
|
ddeml16.c \
|
2005-04-25 11:33:34 +00:00
|
|
|
defdlg.c \
|
|
|
|
defwnd.c \
|
2004-08-31 01:10:08 +00:00
|
|
|
desktop.c \
|
2005-04-25 11:33:34 +00:00
|
|
|
dialog.c \
|
2003-03-28 19:40:37 +00:00
|
|
|
dialog16.c \
|
2005-07-18 15:14:56 +00:00
|
|
|
driver.c \
|
2005-06-09 09:50:03 +00:00
|
|
|
driver16.c \
|
2004-08-31 01:10:08 +00:00
|
|
|
edit.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 \
|
2004-08-31 01:10:08 +00:00
|
|
|
icontitle.c \
|
2005-04-25 11:33:34 +00:00
|
|
|
input.c \
|
2004-08-31 01:10:08 +00:00
|
|
|
listbox.c \
|
2000-08-04 04:21:02 +00:00
|
|
|
lstr.c \
|
2005-04-25 11:33:34 +00:00
|
|
|
mdi.c \
|
2004-08-31 01:10:08 +00:00
|
|
|
menu.c \
|
2001-08-07 19:19:08 +00:00
|
|
|
message.c \
|
2000-08-04 04:21:02 +00:00
|
|
|
misc.c \
|
2001-08-07 19:19:08 +00:00
|
|
|
msg16.c \
|
2005-04-25 11:33:34 +00:00
|
|
|
msgbox.c \
|
|
|
|
nonclient.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 \
|
2004-08-31 01:10:08 +00:00
|
|
|
scroll.c \
|
2005-04-25 11:33:34 +00:00
|
|
|
spy.c \
|
2004-08-31 01:10:08 +00:00
|
|
|
static.c \
|
2004-12-09 13:48:56 +00:00
|
|
|
sysparams.c \
|
2000-08-04 04:21:02 +00:00
|
|
|
text.c \
|
2004-08-31 01:10:08 +00:00
|
|
|
uitools.c \
|
2000-11-26 22:39:50 +00:00
|
|
|
user_main.c \
|
2005-04-25 11:33:34 +00:00
|
|
|
win.c \
|
|
|
|
winhelp.c \
|
|
|
|
winpos.c \
|
|
|
|
winproc.c \
|
2005-06-08 18:44:50 +00:00
|
|
|
winstation.c \
|
2000-11-26 22:39:50 +00:00
|
|
|
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 \
|
2004-09-01 22:47:48 +00:00
|
|
|
display.c \
|
2002-10-29 00:41:42 +00:00
|
|
|
hook16.c \
|
2004-09-01 22:47:48 +00:00
|
|
|
kbd16.c \
|
|
|
|
mouse16.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
|
|
|
|
|
2005-06-09 10:21:31 +00:00
|
|
|
EXTRASUBDIRS = 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
|
|
|
|
|
2005-09-21 14:23:54 +00:00
|
|
|
user.exe.spec.o: user.exe.spec resources/version16.res
|
|
|
|
$(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --heap 65520 --main-module $(MODULE) --res resources/version16.res --export $(SRCDIR)/user.exe.spec
|
2002-11-18 23:16:09 +00:00
|
|
|
|
2005-09-21 14:23:54 +00:00
|
|
|
display.drv.spec.o: display.drv.spec resources/display.res
|
|
|
|
$(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --res resources/display.res --export $(SRCDIR)/display.drv.spec
|
2002-11-18 23:16:09 +00:00
|
|
|
|
2005-09-21 14:23:54 +00:00
|
|
|
mouse.drv.spec.o: mouse.drv.spec resources/mouse.res
|
|
|
|
$(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --res resources/mouse.res --export $(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:
|