Release 951226
[wine/gsoc-2012-control.git] / if1632 / Makefile.in
blobb8926e20f8941320410e8d45b03ab9e1c5c3ad35
1 TOPSRC = @top_srcdir@
3 MODULE = if1632
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)
16 C_SRCS = \
17 $(SPEC32_FILES) \
18 callback.c \
19 dummy.c \
20 relay.c \
21 relay32.c
23 ASM_SRCS = \
24 $(SPEC16_FILES) \
25 call16.S \
26 call32.S
28 .SUFFIXES: .spec
30 .spec.S:
31 $(BUILD) -spec16 $< > $*.S
33 .spec.c:
34 $(BUILD) -spec32 $< > $*.c
36 all: checkbuild $(MODULE).o
38 @MAKE_RULES@
40 $(SPEC16_FILES) $(SPEC32_FILES): $(BUILD)
42 $(BUILD) checkbuild:
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
51 clean::
52 rm -f $(SPEC16_FILES) $(SPEC32_FILES) call32.S call16.S
54 ### Dependencies: