OSDN Git Service

When we converted ld-elf2flt from the shell script to C, one small nuance
[uclinux-h8/elf2flt.git] / Makefile.in
index 2e6b9ea..81e1afc 100644 (file)
@@ -25,7 +25,8 @@ DEFS = @DEFS@ \
        -DTARGET_ALIAS=\"$(TARGET)\" \
        -DNO_GOT_CHECK=@got_check@ \
        -DUSE_EMIT_RELOCS=@emit_relocs@ \
-       -DEMIT_CTOR_DTOR=@emit_ctor_dtor@
+       -DEMIT_CTOR_DTOR=@emit_ctor_dtor@ \
+       -DALWAYS_RELOC_TEXT=@always_reloc_text@
 EXEEXT = @EXEEXT@
 OBJEXT = @OBJEXT@
 
@@ -64,7 +65,7 @@ endif
 
 PROGS = $(PROG_ELF2FLT) $(PROG_FLTHDR) $(PROG_LD_ELF2FLT_C) $(PROG_LD_ELF2FLT_SH)
 
-all: $(PROGS) ld-elf2flt
+all: $(PROGS)
 
 # We need to declare the link explicitly because make only provides
 # implicit rules when EXEEXT is set to nothing
@@ -110,4 +111,4 @@ install:
 
 sinclude .deps
 .deps:
-       $(CC) -MM $(CPPFLAGS) *.c > .deps
+       $(CC) -MM $(CPPFLAGS) $(srcdir)/*.c > .deps