88 lines
1.5 KiB
Makefile
88 lines
1.5 KiB
Makefile
EXTRADEFS = -D_USER32_ -D_WINABLE_
|
|
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = user32
|
|
SOVERSION = 1.0
|
|
ALTNAMES = user keyboard ddeml display mouse
|
|
IMPORTS = gdi32 kernel32 ntdll
|
|
|
|
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/sysparams.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.spec.c: resources/version16.res
|
|
|
|
### Dependencies:
|