115 lines
2.8 KiB
Makefile
115 lines
2.8 KiB
Makefile
EXTRADEFS = -D_USER32_ -D_WINABLE_
|
|
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = user32.dll
|
|
IMPORTS = gdi32 advapi32 kernel32
|
|
ALTNAMES = user.exe keyboard.dll ddeml.dll display.dll mouse.dll
|
|
LDIMPORTS = gdi32.dll kernel32.dll ntdll.dll
|
|
|
|
C_SRCS = \
|
|
$(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/caret.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/focus.c \
|
|
$(TOPOBJDIR)/windows/hook.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 \
|
|
bidi16.c \
|
|
cache.c \
|
|
comm16.c \
|
|
dde/client.c \
|
|
dde/ddeml16.c \
|
|
dde/misc.c \
|
|
dde/server.c \
|
|
display.c \
|
|
exticon.c \
|
|
lstr.c \
|
|
message.c \
|
|
misc.c \
|
|
mouse.c \
|
|
msg16.c \
|
|
network.c \
|
|
painting.c \
|
|
property.c \
|
|
resource.c \
|
|
text.c \
|
|
user_main.c \
|
|
wnd16.c \
|
|
wsprintf.c
|
|
|
|
RC_SRCS = resources/user32.rc
|
|
|
|
RC_SRCS16 = \
|
|
resources/display.rc \
|
|
resources/mouse.rc \
|
|
resources/version16.rc
|
|
|
|
SUBDIRS = tests
|
|
|
|
EXTRA_OBJS = $(MODULE).glue.o
|
|
|
|
EXTRASUBDIRS = \
|
|
$(TOPOBJDIR)/controls \
|
|
$(TOPOBJDIR)/windows \
|
|
dde \
|
|
resources
|
|
|
|
@MAKE_DLL_RULES@
|
|
|
|
# Special rules for 16-bit resource files
|
|
|
|
resources/display.res: resources/display.rc
|
|
$(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/resources/display.rc
|
|
|
|
resources/mouse.res: resources/mouse.rc
|
|
$(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/resources/mouse.rc
|
|
|
|
resources/version16.res: resources/version16.rc
|
|
$(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/resources/version16.rc
|
|
|
|
display.spec.c: resources/display.res
|
|
|
|
mouse.spec.c: resources/mouse.res
|
|
|
|
user.exe.spec.c: resources/version16.res
|
|
|
|
### Dependencies:
|