Release 960805
[wine] / if1632 / Makefile.in
1 DEFS   = -D__WINE__ -DNO_TRANSITION_TYPES
2 TOPSRC = @top_srcdir@
3 MODULE = if1632
4
5 DLLS    = \
6         advapi32.spec \
7         comctl32.spec \
8         comdlg32.spec \
9         commdlg.spec \
10         compobj.spec \
11         crtdll.spec     \
12         ddeml.spec \
13         gdi.spec \
14         gdi32.spec \
15         kernel.spec \
16         kernel32.spec \
17         keyboard.spec \
18         lz32.spec \
19         lzexpand.spec \
20         mmsystem.spec \
21         mouse.spec \
22         ntdll.spec      \
23         ole2.spec \
24         ole2conv.spec \
25         ole2disp.spec \
26         ole2nls.spec \
27         ole2prox.spec \
28         ole32.spec \
29         olecli.spec \
30         olesvr.spec \
31         shell.spec \
32         shell32.spec \
33         sound.spec \
34         storage.spec \
35         stress.spec \
36         system.spec \
37         toolhelp.spec \
38         user.spec \
39         user32.spec \
40         ver.spec \
41         version.spec \
42         w32sys.spec \
43         win87em.spec \
44         winmm.spec \
45         winsock.spec \
46         winspool.spec \
47         wprocs.spec \
48         wsock32.spec
49
50 SPEC_FILES = $(DLLS:.spec=.S)
51
52 C_SRCS = \
53         dummy.c \
54         relay.c \
55         thunk.c
56
57 ASM_SRCS = \
58         $(SPEC_FILES) \
59         callfrom16.S \
60         callfrom32.S \
61         callto16.S \
62         callto32.S \
63         except.S
64
65 .SUFFIXES: .spec
66
67 .spec.S:
68         $(BUILD) -spec $< > $*.S
69
70 all: checkbuild $(MODULE).o
71
72 @MAKE_RULES@
73
74 $(SPEC_FILES): $(BUILD)
75
76 $(BUILD) checkbuild:
77         cd $(TOPSRC)/tools; $(SUBMAKE) build
78
79 callfrom16.S: $(SPEC_FILES)
80         $(BUILD) -callfrom16 `cat $(SPEC_FILES) | grep CallFrom16_ | sed 's/.*CallFrom16_\(.*\)/\1/' | sort | uniq` > callfrom16.S
81
82 callfrom32.S: $(SPEC_FILES)
83         $(BUILD) -callfrom32 `cat $(SPEC_FILES) | grep CallFrom32_ | sed 's/.*CallFrom32_\(.*\)/\1/' | sort | uniq` > callfrom32.S
84
85 callto16.S: $(TOPSRC)/include/callback.h $(BUILD)
86         $(BUILD) -callto16 `cat $(TOPSRC)/include/callback.h | grep "extern.*CallTo16_" | sed 's/.*CallTo16_\(.*\)(.*/\1/' | sort | uniq` > callto16.S
87
88 callto32.S: $(TOPSRC)/include/callback.h $(BUILD)
89         $(BUILD) -callto32 `cat $(TOPSRC)/include/callback.h | grep "extern.*CallTo32_" | sed 's/.*CallTo32_\(.*\)(.*/\1/' | sort | uniq` > callto32.S
90
91 clean::
92         rm -f $(SPEC_FILES) callfrom16.S callfrom32.S callto16.S callto32.S
93
94 ### Dependencies: