3 include $(SRCDIR)/config/aros.cfg
5 #MM- test : test-sdi-libraries
7 #MM- test-sdi-libraries : test-sdi-libraries-test
9 #MM test-sdi-libraries-test : includes linklibs \
10 #MM test-sdi-libraries-library test-sdi-libraries-linklib
12 #MM test-sdi-libraries-library : includes
14 #MM test-sdi-libraries-linklib : includes
16 EXEDIR := $(AROS_TESTS)/sdi
18 FILES := example_lib stubs-aros
19 USER_INCLUDES := -idirafter $(SRCDIR)/$(CURDIR)/../..
20 USER_CFLAGS := -DAROS_ABI_V1
21 USER_LDFLAGS := -static
23 %build_module_simple mmake=test-sdi-libraries-library \
24 modname=example modtype=library \
25 files=$(FILES) moduledir=$(EXEDIR)
28 FILES := example_linklib
29 USER_INCLUDES := -idirafter $(SRCDIR)/$(CURDIR)/include
32 %build_linklib mmake=test-sdi-libraries-linklib libname=example \
33 files=$(FILES) libdir=$(EXEDIR)
36 FILES := example_libtest
37 USER_INCLUDES := -I$(SRCDIR)/$(CURDIR)/include
39 USER_LDFLAGS := -L$(EXEDIR)
41 %build_progs mmake=test-sdi-libraries-test \
42 files=$(FILES) targetdir=$(EXEDIR) uselibs="example"