1 | #
|
---|
2 | # Copyright (c) 2005 Martin Decky
|
---|
3 | # Copyright (c) 2007 Jakub Jermar
|
---|
4 | # All rights reserved.
|
---|
5 | #
|
---|
6 | # Redistribution and use in source and binary forms, with or without
|
---|
7 | # modification, are permitted provided that the following conditions
|
---|
8 | # are met:
|
---|
9 | #
|
---|
10 | # - Redistributions of source code must retain the above copyright
|
---|
11 | # notice, this list of conditions and the following disclaimer.
|
---|
12 | # - Redistributions in binary form must reproduce the above copyright
|
---|
13 | # notice, this list of conditions and the following disclaimer in the
|
---|
14 | # documentation and/or other materials provided with the distribution.
|
---|
15 | # - The name of the author may not be used to endorse or promote products
|
---|
16 | # derived from this software without specific prior written permission.
|
---|
17 | #
|
---|
18 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
---|
19 | # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
---|
20 | # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
---|
21 | # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
---|
22 | # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
---|
23 | # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
---|
24 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
---|
25 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
---|
26 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
---|
27 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
---|
28 | #
|
---|
29 |
|
---|
30 | USPACE_PREFIX = ../..
|
---|
31 |
|
---|
32 | LIBS = \
|
---|
33 | $(LIBBLOCK_PREFIX)/libblock.a \
|
---|
34 | $(LIBSOFTFLOAT_PREFIX)/libsoftfloat.a \
|
---|
35 | $(LIBDRV_PREFIX)/libdrv.a
|
---|
36 |
|
---|
37 | EXTRA_CFLAGS = \
|
---|
38 | -I$(LIBBLOCK_PREFIX) \
|
---|
39 | -I$(LIBSOFTFLOAT_PREFIX) \
|
---|
40 | -I$(LIBDRV_PREFIX)/include
|
---|
41 |
|
---|
42 | BINARY = tester
|
---|
43 | MATH = y
|
---|
44 |
|
---|
45 | SOURCES = \
|
---|
46 | tester.c \
|
---|
47 | util.c \
|
---|
48 | thread/thread1.c \
|
---|
49 | thread/setjmp1.c \
|
---|
50 | print/print1.c \
|
---|
51 | print/print2.c \
|
---|
52 | print/print3.c \
|
---|
53 | print/print4.c \
|
---|
54 | print/print5.c \
|
---|
55 | print/print6.c \
|
---|
56 | console/console1.c \
|
---|
57 | stdio/stdio1.c \
|
---|
58 | stdio/stdio2.c \
|
---|
59 | stdio/logger1.c \
|
---|
60 | stdio/logger2.c \
|
---|
61 | fault/fault1.c \
|
---|
62 | fault/fault2.c \
|
---|
63 | fault/fault3.c \
|
---|
64 | float/float1.c \
|
---|
65 | float/float2.c \
|
---|
66 | float/softfloat1.c \
|
---|
67 | vfs/vfs1.c \
|
---|
68 | ipc/ping_pong.c \
|
---|
69 | ipc/starve.c \
|
---|
70 | loop/loop1.c \
|
---|
71 | mm/common.c \
|
---|
72 | mm/malloc1.c \
|
---|
73 | mm/malloc2.c \
|
---|
74 | mm/malloc3.c \
|
---|
75 | mm/mapping1.c \
|
---|
76 | hw/misc/virtchar1.c \
|
---|
77 | hw/serial/serial1.c
|
---|
78 |
|
---|
79 | include $(USPACE_PREFIX)/Makefile.common
|
---|