5 DLLS16
= commdlg.spec compobj.spec ddeml.spec gdi.spec kernel.spec \
6 keyboard.spec mmsystem.spec mouse.spec ole2.spec ole2conv.spec \
7 ole2disp.spec ole2nls.spec ole2prox.spec olecli.spec olesvr.spec \
8 shell.spec sound.spec storage.spec stress.spec system.spec \
9 toolhelp.spec user.spec win87em.spec winprocs.spec winsock.spec
11 DLLS32
= advapi32.spec comdlg32.spec gdi32.spec kernel32.spec shell32.spec user32.spec winprocs32.spec
13 SPEC16_FILES
= $(DLLS16
:.spec
=.S
)
14 SPEC32_FILES
= $(DLLS32
:.spec
=.c
)
31 $(BUILD
) -spec16
$< > $*.S
34 $(BUILD
) -spec32
$< > $*.c
36 all: checkbuild
$(MODULE
).o
40 $(SPEC16_FILES
) $(SPEC32_FILES
): $(BUILD
)
43 cd
$(TOPSRC
)/tools
; $(SUBMAKE
) build
45 call16.S
: $(TOPSRC
)/include/callback.h
$(BUILD
)
46 $(BUILD
) -call16
`cat $(TOPSRC)/include/callback.h | grep "extern.*CallTo16_" | sed 's/.*CallTo16_\(.*\)(.*/\1/' | sort | uniq` > call16.S
48 call32.S
: $(SPEC16_FILES
)
49 $(BUILD
) -call32
`cat $(SPEC16_FILES) | grep CallTo32_ | sed 's/.*CallTo32_\(.*\)/\1/' | sort | uniq` > call32.S
52 rm -f
$(SPEC16_FILES
) $(SPEC32_FILES
) call32.S call16.S