/uspace/trunk/softint/Makefile |
---|
49,19 → 49,19 |
.PHONY: all clean depend |
all: softint.a |
all: libsoftint.a |
-include Makefile.depend |
clean: |
-rm -f softint.a Makefile.depend |
-rm -f libsoftint.a Makefile.depend |
find generic/ -name '*.o' -follow -exec rm \{\} \; |
depend: |
-makedepend $(DEFS) $(CFLAGS) -f - $(GENERIC_SOURCES) > Makefile.depend 2> /dev/null |
softint.a: depend $(ARCH_OBJECTS) $(GENERIC_OBJECTS) |
$(AR) rc softint.a $(ARCH_OBJECTS) $(GENERIC_OBJECTS) |
libsoftint.a: depend $(ARCH_OBJECTS) $(GENERIC_OBJECTS) |
$(AR) rc libsoftint.a $(ARCH_OBJECTS) $(GENERIC_OBJECTS) |
%.o: %.S |
$(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@ |
/uspace/trunk/libc/Makefile.toolchain |
---|
28,7 → 28,7 |
DEFS = -DARCH=$(ARCH) |
CFLAGS = -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -O3 -nostdlib -nostdinc -I$(LIBC_PREFIX)/include |
LFLAGS = -M -N $(SOFTINT_PREFIX)/softint.a |
LFLAGS = -M -N $(SOFTINT_PREFIX)/libsoftint.a |
AFLAGS = |
#-Werror |
/uspace/trunk/libc/arch/ia64/Makefile.inc |
---|
32,7 → 32,7 |
TARGET = ia64-pc-linux-gnu |
TOOLCHAIN_DIR = /usr/local/ia64/bin |
CFLAGS += -fno-unwind-tables -DMALLOC_ALIGNMENT_16 |
LFLAGS += -N ../softint/softint.a |
LFLAGS += -N ../softint/libsoftint.a |
AFLAGS += |
ARCH_SOURCES += arch/$(ARCH)/src/syscall.S \ |