add raddr2line back to build
Added: trunk/reactos/tools/raddr2line.mak
Modified: trunk/reactos/tools/tools.mak
_____
Added: trunk/reactos/tools/raddr2line.mak
--- trunk/reactos/tools/raddr2line.mak 2005-10-22 12:11:42 UTC (rev
18674)
+++ trunk/reactos/tools/raddr2line.mak 2005-10-22 13:37:48 UTC (rev
18675)
@@ -0,0 +1,41 @@
+RADDR2LINE_BASE = $(TOOLS_BASE)
+RADDR2LINE_BASE_ = $(RADDR2LINE_BASE)$(SEP)
+
+RADDR2LINE_INT = $(INTERMEDIATE_)$(RADDR2LINE_BASE)
+RADDR2LINE_INT_ = $(RADDR2LINE_INT)$(SEP)
+RADDR2LINE_OUT = $(OUTPUT_)$(RADDR2LINE_BASE)
+RADDR2LINE_OUT_ = $(RADDR2LINE_OUT)$(SEP)
+
+RADDR2LINE_TARGET = \
+ $(EXEPREFIX)$(RADDR2LINE_OUT_)raddr2line$(EXEPOSTFIX)
+
+RADDR2LINE_SOURCES = \
+ $(RADDR2LINE_BASE_)raddr2line.c \
+ $(RADDR2LINE_BASE_)rsym_common.c
+
+RADDR2LINE_OBJECTS = \
+ $(addprefix $(INTERMEDIATE_), $(RADDR2LINE_SOURCES:.c=.o))
+
+RADDR2LINE_HOST_CFLAGS = $(TOOLS_CFLAGS)
+
+RADDR2LINE_HOST_LFLAGS = $(TOOLS_LFLAGS)
+
+.PHONY: raddr2line
+raddr2line: $(RADDR2LINE_TARGET)
+
+$(RADDR2LINE_TARGET): $(RADDR2LINE_OBJECTS) | $(RADDR2LINE_OUT)
+ $(ECHO_LD)
+ ${host_gcc} $(RADDR2LINE_OBJECTS) $(RADDR2LINE_HOST_LFLAGS) -o
$@
+
+$(RADDR2LINE_INT_)raddr2line.o: $(RADDR2LINE_BASE_)raddr2line.c |
$(RADDR2LINE_INT)
+ $(ECHO_CC)
+ ${host_gcc} $(RADDR2LINE_HOST_CFLAGS) -c $< -o $@
+
+#$(RADDR2LINE_INT_)rsym_common.o: $(RADDR2LINE_BASE_)rsym_common.c |
$(RADDR2LINE_INT)
+# $(ECHO_CC)
+# ${host_gcc} $(RADDR2LINE_HOST_CFLAGS) -c $< -o $@
+
+.PHONY: raddr2line_clean
+raddr2line_clean:
+ -@$(rm) $(RADDR2LINE_TARGET) $(RADDR2LINE_OBJECTS) 2>$(NUL)
+clean: raddr2line_clean
_____
Modified: trunk/reactos/tools/tools.mak
--- trunk/reactos/tools/tools.mak 2005-10-22 12:11:42 UTC (rev
18674)
+++ trunk/reactos/tools/tools.mak 2005-10-22 13:37:48 UTC (rev
18675)
@@ -22,6 +22,7 @@
include tools/bin2c.mak
include tools/rsym.mak
+include tools/raddr2line.mak
include tools/pefixup.mak
include tools/bin2res/bin2res.mak
include tools/buildno/buildno.mak
Show replies by date