2 TOPSRCDIR
= @top_srcdir@
55 SPEC_FILES
= $(DLLS
:.spec
=.s
)
73 $(BUILD
) -o
$@
-spec
$<
75 all: checkbuild
$(MODULE
).o
79 $(SPEC_FILES
): $(BUILD
)
81 callfrom16.s
: $(SPEC_FILES
)
82 $(BUILD
) -o
$@
-callfrom16
`cat $(SPEC_FILES) | grep CallFrom16_ | sed 's/.*CallFrom16_\(.*\)/\1/' | sort | uniq`
84 callfrom32.s
: $(SPEC_FILES
)
85 $(BUILD
) -o
$@
-callfrom32
`cat $(SPEC_FILES) | grep CallFrom32_ | sed 's/.*CallFrom32_\(.*\)/\1/' | sort | uniq`
87 callto16.s
: $(TOPSRCDIR
)/include/callback.h
$(BUILD
)
88 $(BUILD
) -o
$@
-callto16
`cat $(TOPSRCDIR)/include/callback.h | grep "extern.*CallTo16_" | sed 's/.*CallTo16_\(.*\)(.*/\1/' | sort | uniq`
90 callto32.s
: $(TOPSRCDIR
)/include/callback.h
$(BUILD
)
91 $(BUILD
) -o
$@
-callto32
`cat $(TOPSRCDIR)/include/callback.h | grep "extern.*CallTo32_" | sed 's/.*CallTo32_\(.*\)(.*/\1/' | sort | uniq`