2 TOPSRCDIR
= @top_srcdir@
55 SPEC_FILES
= $(DLLS
:.spec
=.s
)
74 $(BUILD
) -o
$@
-spec
$<
76 all: checkbuild
$(MODULE
).o
80 $(SPEC_FILES
): $(BUILD
)
82 callfrom16.s
: $(SPEC_FILES
)
83 $(BUILD
) -o
$@
-callfrom16
`cat $(SPEC_FILES) | grep CallFrom16_ | sed 's/.*CallFrom16_\(.*\)/\1/' | sort | uniq`
85 callfrom32.s
: $(SPEC_FILES
)
86 $(BUILD
) -o
$@
-callfrom32
`cat $(SPEC_FILES) | grep CallFrom32_ | sed 's/.*CallFrom32_\(.*\)/\1/' | sort | uniq`
88 callto16.s
: $(TOPSRCDIR
)/include/callback.h
$(BUILD
)
89 $(BUILD
) -o
$@
-callto16
`cat $(TOPSRCDIR)/include/callback.h | grep "extern.*CallTo16_" | sed 's/.*CallTo16_\(.*\)(.*/\1/' | sort | uniq`
91 callto32.s
: $(TOPSRCDIR
)/include/callback.h
$(BUILD
)
92 $(BUILD
) -o
$@
-callto32
`cat $(TOPSRCDIR)/include/callback.h | grep "extern.*CallTo32_" | sed 's/.*CallTo32_\(.*\)(.*/\1/' | sort | uniq`