93 lines
1.7 KiB
Makefile
93 lines
1.7 KiB
Makefile
EXTRADEFS = -D_USER32_ -D_WINABLE_
|
|
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = user32.dll
|
|
IMPORTS = gdi32.dll advapi32.dll kernel32.dll ntdll.dll
|
|
ALTNAMES = user.exe keyboard.dll ddeml.dll display.dll mouse.dll
|
|
LDIMPORTS = gdi32.dll kernel32.dll ntdll.dll
|
|
|
|
C_SRCS = \
|
|
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
|
|
|
|
GLUE = \
|
|
dde/ddeml16.c \
|
|
property.c \
|
|
text.c \
|
|
wnd16.c
|
|
|
|
EXTRA_OBJS = \
|
|
$(TOPOBJDIR)/controls/controls.o \
|
|
$(TOPOBJDIR)/windows/windows.o
|
|
|
|
SUBDIRS = \
|
|
$(TOPOBJDIR)/controls \
|
|
$(TOPOBJDIR)/windows
|
|
|
|
EXTRASUBDIRS = \
|
|
dde \
|
|
resources \
|
|
tests
|
|
|
|
CTESTS = \
|
|
tests/class.c \
|
|
tests/sysparams.c \
|
|
tests/wsprintf.c
|
|
|
|
@MAKE_DLL_RULES@
|
|
|
|
$(EXTRA_OBJS): dummy
|
|
@cd `dirname $@` && $(MAKE) `basename $@`
|
|
|
|
# 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
|
|
|
|
install:: install_libdir
|
|
uninstall:: uninstall_libdir
|
|
|
|
### Dependencies:
|