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