Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / compiler / arossupport / mmakefile.src
blobce9175e9ba0876fe22ac49d073aee276d0c42a5b
1 #   $Id$
3 #   Generate the AROS support library, libarossupport.a
5 include $(TOP)/config/make.cfg
7 FILES   := \
8     _kprintf \
9     calcchecksum \
10     debugmem \
11     freestruct \
12     hexdump \
13     isdosentrya \
14     kprintf \
15     rkprintf \
16     nastyfreemem \
17     purify \
18     rawputchars \
19     readbyte \
20     readdouble \
21     readfloat \
22     readlong \
23     readstring \
24     readstruct \
25     readword \
26     removeslist \
27     rt \
28     rt_dos \
29     rt_exec \
30     rt_intuition \
31     strrncasecmp \
32     writebyte \
33     writedouble \
34     writefloat \
35     writelong \
36     writestring \
37     writestruct \
38     writeword
40 #MM- linklibs-core : linklibs-arossupport
41 #MM- linklibs: linklibs-arossupport
42 #MM linklibs-arossupport : includes
44 USER_CFLAGS := -I$(SRCDIR)/rom/exec
45 %build_linklib mmake=linklibs-arossupport libname=arossupport files=$(FILES)
47 INCLUDE_FILES       := $(call WILDCARD, include/*.h)
48 %copy_includes mmake=compiler-includes path=aros dir=include
50 # Tests - these probably won't work at the moment.
51 ifeq (1,0)
52 #MM
53 check : $(EXEDIR)/betest $(EXEDIR)/wstest $(EXEDIR)/rstest
55 TEST_ILDFLAGS := -DTEST $(ILDFLAGS)
57 $(EXEDIR)/rstest : readstruct.c $(LIBDIR)/startup.o $(DEPLIBS)
58         %link_q opt=$(TEST_ILDFLAGS)
60 $(EXEDIR)/wstest : writestruct.c $(LIBDIR)/startup.o $(DEPLIBS)
61         %link_q opt=$(TEST_ILDFLAGS)
63 $(EXEDIR)/betest : betest.c $(LIBDIR)/startup.o $(DEPLIBS)
64         %link_q opt=$(TEST_ILDFLAGS)
65 endif
67 %common