Makefile.in 2.25 KB
EXTRADEFS = -D_USER32_ -D_WINABLE_
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR    = @srcdir@
VPATH     = @srcdir@
MODULE    = user32.dll
IMPORTLIB = user32
IMPORTS   = gdi32 advapi32 kernel32 ntdll
DELAYIMPORTS = imm32

SPEC_SRCS16 = \
	ddeml.spec \
	display.drv.spec \
	keyboard.drv.spec \
	mouse.drv.spec \
	user.exe.spec

C_SRCS = \
	button.c \
	caret.c \
	class.c \
	clipboard.c \
	combo.c \
	cursoricon.c \
	dde_client.c \
	dde_misc.c \
	dde_server.c \
	ddeml16.c \
	defdlg.c \
	defwnd.c \
	desktop.c \
	dialog.c \
	dialog16.c \
	driver.c \
	driver16.c \
	edit.c \
	exticon.c \
	focus.c \
	hook.c \
	icontitle.c \
	input.c \
	listbox.c \
	lstr.c \
	mdi.c \
	menu.c \
	message.c \
	misc.c \
	msg16.c \
	msgbox.c \
	nonclient.c \
	painting.c \
	property.c \
	resource.c \
	scroll.c \
	spy.c \
	static.c \
	sysparams.c \
	text.c \
	uitools.c \
	user_main.c \
	win.c \
	winhelp.c \
	winpos.c \
	winproc.c \
	winstation.c \
	wsprintf.c

C_SRCS16 = \
	bidi16.c \
	comm16.c \
	display.c \
	hook16.c \
	kbd16.c \
	mouse16.c \
	network.c \
	user16.c \
	wnd16.c

RC_SRCS = resources/user32.rc

SVG_SRCS = resources/oic_winlogo.svg

RC_SRCS16 = \
	resources/display.rc \
	resources/mouse.rc \
	resources/version16.rc

EXTRASUBDIRS = resources

@MAKE_DLL_RULES@

# Special rules for 16-bit resource and spec files

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

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

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

resources/display.res: resources/display.rc
	$(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/display.rc

resources/mouse.res: resources/mouse.rc
	$(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/mouse.rc

resources/version16.res: resources/version16.rc
	$(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/version16.rc

@DEPENDENCIES@  # everything below this line is overwritten by make depend