Subversion Repositories HelenOS

Rev

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

Rev 2968 Rev 2969
Line 35... Line 35...
35
LIBC_PREFIX = ../../lib/libc
35
LIBC_PREFIX = ../../lib/libc
36
SOFTINT_PREFIX = ../../lib/softint
36
SOFTINT_PREFIX = ../../lib/softint
37
include $(LIBC_PREFIX)/Makefile.toolchain
37
include $(LIBC_PREFIX)/Makefile.toolchain
38
include arch/$(ARCH)/Makefile.inc
38
include arch/$(ARCH)/Makefile.inc
39
 
39
 
40
CFLAGS += -I../../srv/kbd/include -I../../srv/console -Iinclude -fPIC -O0
40
CFLAGS += -I../../app/iloader/include -Iinclude -fPIC -O0 -ggdb
41
LFLAGS = -shared --no-undefined
41
LFLAGS = -shared --no-undefined
42
 
42
 
43
LIBS = $(LIBC_PREFIX)/libc.pic.a
43
LIBS = $(LIBC_PREFIX)/libc.pic.a
44
DEFS += -DRELEASE=\"$(RELEASE)\"
44
DEFS += -DRELEASE=\"$(RELEASE)\"
45
 
45
 
Line 55... Line 55...
55
#
55
#
56
 
56
 
57
OUTPUT = rtld.so
57
OUTPUT = rtld.so
58
GENERIC_SOURCES = \
58
GENERIC_SOURCES = \
59
	rtld.c \
59
	rtld.c \
60
	dynamic.c
60
	dynamic.c \
-
 
61
	elf_load.c
61
 
62
 
62
GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES)))
63
GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES)))
63
ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES)))
64
ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES)))
64
 
65
 
65
.PHONY: all clean depend disasm sections inc
66
.PHONY: all clean depend disasm sections inc