Makefile.in 4.9 KB
Newer Older
1
EXTRADEFS = -D_USER32_ -D_WINABLE_
2 3 4 5
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR    = @srcdir@
VPATH     = @srcdir@
6
MODULE    = user32.dll
7
IMPORTS   = gdi32 advapi32 kernel32 ntdll
8
ALTNAMES  = user.exe ddeml.dll display.drv keyboard.drv mouse.drv
9 10
EXTRALIBS = $(LIBUNICODE)

11 12
SPEC_SRCS16 = \
	ddeml.spec \
13 14 15
	display.drv.spec \
	keyboard.drv.spec \
	mouse.drv.spec \
16 17
	user.exe.spec

18
C_SRCS = \
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
	$(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/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/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 \
59
	cache.c \
60
	caret.c \
61 62 63 64
	dde/client.c \
	dde/ddeml16.c \
	dde/misc.c \
	dde/server.c \
65
	dialog16.c \
66
	display.c \
67
	exticon.c \
68
	focus.c \
69
	hook.c \
70
	lstr.c \
71
	message.c \
72
	misc.c \
73
	mouse.c \
74
	msg16.c \
75
	painting.c \
76
	property.c \
77 78
	resource.c \
	text.c \
79 80
	user_main.c \
	wsprintf.c
81

82 83
C_SRCS16 = \
	bidi16.c \
84
	comm16.c \
85
	hook16.c \
86
	network.c \
87 88
	user16.c \
	wnd16.c
89

90
RC_SRCS = resources/user32.rc
91

92 93
RC_BINSRC = resources/user32_bin.rc
RC_BINARIES = \
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
	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 \
128
	resources/obm_zoomd.bmp \
129 130 131 132 133 134 135 136 137 138
	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 \
139
	resources/ocr_sizeall.cur \
140 141 142 143 144
	resources/ocr_sizenesw.cur \
	resources/ocr_sizens.cur \
	resources/ocr_sizenwse.cur \
	resources/ocr_sizewe.cur \
	resources/ocr_up.cur \
145
	resources/ocr_wait.cur \
146 147 148 149 150 151 152
	resources/oic_bang.ico \
	resources/oic_hand.ico \
	resources/oic_note.ico \
	resources/oic_ques.ico \
	resources/oic_sample.ico \
	resources/oic_winlogo.ico

153
RC_SRCS16 = \
154 155
	resources/display.rc \
	resources/mouse.rc \
156
	resources/version16.rc
157

158 159
SUBDIRS = tests

160
EXTRASUBDIRS = \
161 162
	$(TOPOBJDIR)/controls \
	$(TOPOBJDIR)/windows \
163
	dde \
164
	resources
165

166 167
@MAKE_DLL_RULES@

168 169 170
# Special rules for 16-bit resource and spec files

user.exe.spec.c: user.exe.spec resources/version16.res
171
	$(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --heap 65520 --main-module $(MODULE) --res resources/version16.res --dll $(SRCDIR)/user.exe.spec
172

173
display.drv.spec.c: display.drv.spec resources/display.res
174
	$(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --main-module $(MODULE) --res resources/display.res --dll $(SRCDIR)/display.drv.spec
175

176
mouse.drv.spec.c: mouse.drv.spec resources/mouse.res
177
	$(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --main-module $(MODULE) --res resources/mouse.res --dll $(SRCDIR)/mouse.drv.spec
178 179

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

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

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

188
### Dependencies: