Subversion Repositories HelenOS

Rev

Rev 4537 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4537 Rev 4668
Line 30... Line 30...
30
#
30
#
31
 
31
 
32
LIBC_PREFIX = $(shell pwd)
32
LIBC_PREFIX = $(shell pwd)
33
SOFTINT_PREFIX = ../softint
33
SOFTINT_PREFIX = ../softint
34
 
34
 
-
 
35
 
35
## Setup toolchain
36
## Setup toolchain
36
#
37
#
37
 
38
 
38
include $(LIBC_PREFIX)/Makefile.toolchain
39
include $(LIBC_PREFIX)/Makefile.toolchain
39
 
40
 
Line 46... Line 47...
46
	generic/ddi.c \
47
	generic/ddi.c \
47
	generic/as.c \
48
	generic/as.c \
48
	generic/cap.c \
49
	generic/cap.c \
49
	generic/devmap.c \
50
	generic/devmap.c \
50
	generic/event.c \
51
	generic/event.c \
-
 
52
	generic/errno.c \
51
	generic/mem.c \
53
	generic/mem.c \
52
	generic/string.c \
54
	generic/string.c \
53
	generic/fibril.c \
55
	generic/fibril.c \
54
	generic/fibril_sync.c \
56
	generic/fibril_sync.c \
55
	generic/pcb.c \
57
	generic/pcb.c \
Line 65... Line 67...
65
	generic/io/snprintf.c \
67
	generic/io/snprintf.c \
66
	generic/io/vprintf.c \
68
	generic/io/vprintf.c \
67
	generic/io/vsnprintf.c \
69
	generic/io/vsnprintf.c \
68
	generic/io/printf_core.c \
70
	generic/io/printf_core.c \
69
	generic/io/console.c \
71
	generic/io/console.c \
70
	malloc/malloc.c \
72
	generic/malloc.c \
71
	generic/sysinfo.c \
73
	generic/sysinfo.c \
72
	generic/ipc.c \
74
	generic/ipc.c \
73
	generic/async.c \
75
	generic/async.c \
74
	generic/loader.c \
76
	generic/loader.c \
75
	generic/getopt.c \
77
	generic/getopt.c \
Line 102... Line 104...
102
 
104
 
103
-include Makefile.depend
105
-include Makefile.depend
104
 
106
 
105
clean:
107
clean:
106
	-rm -f include/kernel include/arch include/libarch libc.a arch/$(UARCH)/_link.ld Makefile.depend
108
	-rm -f include/kernel include/arch include/libarch libc.a arch/$(UARCH)/_link.ld Makefile.depend
107
	find generic/ arch/$(UARCH)/ malloc -name '*.o' -follow -exec rm \{\} \;
109
	find generic/ arch/$(UARCH)/ -name '*.o' -follow -exec rm \{\} \;
108
 
110
 
109
depend: kerninc
111
depend: kerninc
110
	-makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) -- $(ARCH_SOURCES) $(GENERIC_SOURCES) > Makefile.depend 2> /dev/null
112
	-makedepend -f - -- $(DEPEND_DEFS) $(CFLAGS) -- $(ARCH_SOURCES) $(GENERIC_SOURCES) > Makefile.depend 2> /dev/null
111
 
113
 
112
libc.a: depend $(ARCH_OBJECTS) $(GENERIC_OBJECTS)
114
libc.a: depend $(ARCH_OBJECTS) $(GENERIC_OBJECTS)