1 #include "../autoconf.h"
2 #include "../Wine.tmpl"
53 OBJS = $(SRCS:.c=.o) $(CALLOBJS) $(DLLS16:.spec=.o) $(DLLS32:.spec=.o)
55 BUILD = $(TOP)/tools/build
57 #define MakeDll16FromSpec(name) @@\
58 name.S : name.spec $(BUILD) @@\
59 $(BUILD) -spec16 name.spec > name.S @@\
61 #define MakeDll32FromSpec(name) @@\
62 name.c : name.spec $(BUILD) @@\
63 $(BUILD) -spec32 name.spec > name.c @@\
66 * If you add a new spec file, copy one of these lines
68 MakeDll16FromSpec(commdlg)
69 MakeDll16FromSpec(compobj)
70 MakeDll16FromSpec(ddeml)
71 MakeDll16FromSpec(gdi)
72 MakeDll16FromSpec(kernel)
73 MakeDll16FromSpec(keyboard)
74 MakeDll16FromSpec(shell)
75 MakeDll16FromSpec(mmsystem)
76 MakeDll16FromSpec(mouse)
77 MakeDll16FromSpec(ole2)
78 MakeDll16FromSpec(ole2conv)
79 MakeDll16FromSpec(ole2disp)
80 MakeDll16FromSpec(ole2nls)
81 MakeDll16FromSpec(ole2prox)
82 MakeDll16FromSpec(olecli)
83 MakeDll16FromSpec(olesvr)
84 MakeDll16FromSpec(sound)
85 MakeDll16FromSpec(storage)
86 MakeDll16FromSpec(stress)
87 MakeDll16FromSpec(system)
88 MakeDll16FromSpec(toolhelp)
89 MakeDll16FromSpec(user)
90 MakeDll16FromSpec(win87em)
91 MakeDll16FromSpec(winprocs)
92 MakeDll16FromSpec(winsock)
94 MakeDll32FromSpec(gdi32)
95 MakeDll32FromSpec(kernel32)
96 MakeDll32FromSpec(shell32)
97 MakeDll32FromSpec(user32)
98 MakeDll32FromSpec(winprocs32)
100 WineRelocatableTarget($(MODULE),,$(OBJS))
105 call32.S: $(BUILD) $(DLLS16:.spec=.S)
106 $(BUILD) -call32 `cat $(DLLS16:.spec=.S) | grep CallTo32_ | sed 's/.*CallTo32_\(.*\)/\1/' | sort | uniq` > call32.S
108 call16.S: $(BUILD) $(TOP)/include/callback.h
109 $(BUILD) -call16 `cat $(TOP)/include/callback.h | grep "extern.*CallTo16_" | sed 's/.*CallTo16_\(.*\)(.*/\1/' | sort | uniq` > call16.S
118 $(RM) $(DLLS16:.spec=.S) $(DLLS32:.spec=.c) call32.S call16.S