Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4345 → Rev 4341

/branches/dynload/uspace/lib/rtld/Makefile
34,7 → 34,7
 
LIBC_PREFIX = ../../lib/libc
include $(LIBC_PREFIX)/Makefile.toolchain
include arch/$(UARCH)/Makefile.inc
include arch/$(ARCH)/Makefile.inc
 
#CFLAGS += -Iinclude -I../../srv/loader/include -fPIC -O0 -ggdb
#LFLAGS += -shared --no-undefined -soname rtld.so
75,13 → 75,13
all: inc $(OUTPUT) librtld.pic.a
 
inc:
ln -sfn ../arch/$(UARCH)/include include/arch
ln -sfn ../arch/$(ARCH)/include include/arch
 
-include Makefile.depend
 
clean:
-rm -f $(OUTPUT) librtld.pic.a $(OUTPUT).map $(OUTPUT).disasm $(OUTPUT).sections Makefile.depend *.o $(PIC_OBJECTS) arch/$(UARCH)/_link.ld include/arch
find arch/$(UARCH)/ -name '*.o' -follow -exec rm \{\} \;
-rm -f $(OUTPUT) librtld.pic.a $(OUTPUT).map $(OUTPUT).disasm $(OUTPUT).sections Makefile.depend *.o $(PIC_OBJECTS) arch/$(ARCH)/_link.ld include/arch
find arch/$(ARCH)/ -name '*.o' -follow -exec rm \{\} \;
 
depend:
$(CC) $(DEFS) $(CFLAGS) -M $(ARCH_SOURCES) $(GENERIC_SOURCES)> Makefile.depend
/branches/dynload/uspace/lib/rtld/arch/mips32/Makefile.inc
29,5 → 29,5
CFLAGS += -D__32_BITS__
 
ARCH_SOURCES := \
arch/$(UARCH)/src/dynamic.c \
arch/$(UARCH)/src/reloc.c
arch/$(ARCH)/src/dynamic.c \
arch/$(ARCH)/src/reloc.c
/branches/dynload/uspace/lib/rtld/arch/ppc32/Makefile.inc
29,5 → 29,5
CFLAGS += -D__32_BITS__
 
ARCH_SOURCES := \
arch/$(UARCH)/src/dynamic.c \
arch/$(UARCH)/src/reloc.c
arch/$(ARCH)/src/dynamic.c \
arch/$(ARCH)/src/reloc.c
/branches/dynload/uspace/lib/rtld/arch/ia32/Makefile.inc
29,5 → 29,5
CFLAGS += -D__32_BITS__
 
ARCH_SOURCES := \
arch/$(UARCH)/src/dynamic.c \
arch/$(UARCH)/src/reloc.c
arch/$(ARCH)/src/dynamic.c \
arch/$(ARCH)/src/reloc.c