summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-07-25 14:42:01 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-07-25 14:42:01 +0000
commite37d7196530443eb40fc9b269b5b19cacc3738ac (patch)
tree35f2683b304a9b81c34178fdfacbb221a26fd445
parentc7ff624cffbb9c9b3c5161ee828f3f00efd2d326 (diff)
downloadrtems-e37d7196530443eb40fc9b269b5b19cacc3738ac.tar.bz2
2003-07-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove (Merged into ../configure.ac). * Makefile.am, include/Makefile.am, include/rdbg/Makefile.am, include/rdbg/i386/Makefile.am, include/rdbg/m68k/Makefile.am, include/rdbg/powerpc/Makefile.am, src/Makefile.am, src/i386/Makefile.am, src/i386/any/Makefile.am, src/m68k/Makefile.am, src/m68k/any/Makefile.am, src/powerpc/Makefile.am, src/powerpc/new_exception_processing/Makefile.am: Reflect having merged configure.ac into ../configure.ac.
-rw-r--r--c/src/librdbg/ChangeLog12
-rw-r--r--c/src/librdbg/Makefile.am6
-rw-r--r--c/src/librdbg/configure.ac66
-rw-r--r--c/src/librdbg/include/Makefile.am4
-rw-r--r--c/src/librdbg/include/rdbg/Makefile.am9
-rw-r--r--c/src/librdbg/include/rdbg/i386/Makefile.am2
-rw-r--r--c/src/librdbg/include/rdbg/m68k/Makefile.am2
-rw-r--r--c/src/librdbg/include/rdbg/powerpc/Makefile.am2
-rw-r--r--c/src/librdbg/src/Makefile.am6
-rw-r--r--c/src/librdbg/src/i386/Makefile.am4
-rw-r--r--c/src/librdbg/src/i386/any/Makefile.am32
-rw-r--r--c/src/librdbg/src/m68k/Makefile.am4
-rw-r--r--c/src/librdbg/src/m68k/any/Makefile.am32
-rw-r--r--c/src/librdbg/src/powerpc/Makefile.am4
-rw-r--r--c/src/librdbg/src/powerpc/new_exception_processing/Makefile.am32
15 files changed, 83 insertions, 134 deletions
diff --git a/c/src/librdbg/ChangeLog b/c/src/librdbg/ChangeLog
index 812e0c9f2a..77cff6cf93 100644
--- a/c/src/librdbg/ChangeLog
+++ b/c/src/librdbg/ChangeLog
@@ -1,3 +1,15 @@
+2003-07-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * configure.ac: Remove (Merged into ../configure.ac).
+ * Makefile.am, include/Makefile.am, include/rdbg/Makefile.am,
+ include/rdbg/i386/Makefile.am, include/rdbg/m68k/Makefile.am,
+ include/rdbg/powerpc/Makefile.am, src/Makefile.am,
+ src/i386/Makefile.am, src/i386/any/Makefile.am,
+ src/m68k/Makefile.am, src/m68k/any/Makefile.am,
+ src/powerpc/Makefile.am,
+ src/powerpc/new_exception_processing/Makefile.am:
+ Reflect having merged configure.ac into ../configure.ac.
+
2003-07-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 427/rtems
diff --git a/c/src/librdbg/Makefile.am b/c/src/librdbg/Makefile.am
index 4fbb395f69..b50d7e3770 100644
--- a/c/src/librdbg/Makefile.am
+++ b/c/src/librdbg/Makefile.am
@@ -2,9 +2,7 @@
## $Id$
##
-ACLOCAL_AMFLAGS = -I ../../../aclocal
-
SUBDIRS = include src
-include $(top_srcdir)/../../../automake/subdirs.am
-include $(top_srcdir)/../../../automake/local.am
+include $(top_srcdir)/../../automake/subdirs.am
+include $(top_srcdir)/../../automake/local.am
diff --git a/c/src/librdbg/configure.ac b/c/src/librdbg/configure.ac
deleted file mode 100644
index 90e2967983..0000000000
--- a/c/src/librdbg/configure.ac
+++ /dev/null
@@ -1,66 +0,0 @@
-## Process this file with autoconf to produce a configure script.
-##
-## $Id$
-
-AC_PREREQ(2.57)
-AC_INIT([rtems-c-src-librdbg],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
-AC_CONFIG_SRCDIR([src/awk.svc])
-RTEMS_TOP(../../..)
-
-RTEMS_CANONICAL_TARGET_CPU
-
-AM_INIT_AUTOMAKE([no-define foreign 1.7.2])
-AM_MAINTAINER_MODE
-
-RTEMS_ENABLE_NETWORKING
-RTEMS_ENABLE_RDBG
-RTEMS_ENABLE_BARE
-
-RTEMS_ENV_RTEMSBSP
-
-RTEMS_CHECK_CPU
-RTEMS_CANONICAL_HOST
-
-RTEMS_PROG_CC_FOR_TARGET
-RTEMS_CANONICALIZE_TOOLS
-RTEMS_PROG_CCAS
-
-AC_CHECK_PROG(RPCGEN,rpcgen,rpcgen,no)
-AC_PROG_AWK
-
-if test "$RPCGEN" = "no"; then
- AC_MSG_WARN([** missing rpcgen, required to build librdbg **])
- rpctools="no"
-fi
-if test "$AWK" = "no"; then
- AC_MSG_WARN([** missing awk, required to build librdbg **])
- rpctools="no"
-fi
-
-AM_CONDITIONAL(RPCTOOLS, test "$rpctools" != "no")
-
-RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
-
-RTEMS_CHECK_NETWORKING(RTEMS_BSP)
-RTEMS_CHECK_RDBG(RTEMS_BSP)
-
-AM_CONDITIONAL(HAS_RDBG,test "$HAS_RDBG" = "yes")
-
-RTEMS_PROJECT_ROOT
-
-# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile
-include/Makefile
-include/rdbg/Makefile
-include/rdbg/i386/Makefile
-include/rdbg/powerpc/Makefile
-include/rdbg/m68k/Makefile
-src/Makefile
-src/i386/Makefile
-src/i386/any/Makefile
-src/powerpc/Makefile
-src/powerpc/new_exception_processing/Makefile
-src/m68k/Makefile
-src/m68k/any/Makefile
-])
-AC_OUTPUT
diff --git a/c/src/librdbg/include/Makefile.am b/c/src/librdbg/include/Makefile.am
index 5d7e7a2ec3..9cb3f2ae03 100644
--- a/c/src/librdbg/include/Makefile.am
+++ b/c/src/librdbg/include/Makefile.am
@@ -5,5 +5,5 @@
SUBDIRS = rdbg
-include $(top_srcdir)/../../../automake/subdirs.am
-include $(top_srcdir)/../../../automake/local.am
+include $(top_srcdir)/../../automake/subdirs.am
+include $(top_srcdir)/../../automake/local.am
diff --git a/c/src/librdbg/include/rdbg/Makefile.am b/c/src/librdbg/include/rdbg/Makefile.am
index 236d89e5de..4a21a83c92 100644
--- a/c/src/librdbg/include/rdbg/Makefile.am
+++ b/c/src/librdbg/include/rdbg/Makefile.am
@@ -2,10 +2,9 @@
## $Id$
##
-
+if HAS_RDBG
include_rdbgdir = $(includedir)/rdbg
-if HAS_RDBG
include_rdbg_HEADERS = rdbg.h servrpc.h
PREINSTALL_FILES = $(PROJECT_INCLUDE)/rdbg \
@@ -23,7 +22,5 @@ if HAS_RDBG
SUBDIRS = $(RTEMS_CPU)
endif
-EXTRA_DIST = rdbg.h servrpc.h
-
-include $(top_srcdir)/../../../automake/subdirs.am
-include $(top_srcdir)/../../../automake/local.am
+include $(top_srcdir)/../../automake/subdirs.am
+include $(top_srcdir)/../../automake/local.am
diff --git a/c/src/librdbg/include/rdbg/i386/Makefile.am b/c/src/librdbg/include/rdbg/i386/Makefile.am
index 18c9b52acf..e5fb159ff1 100644
--- a/c/src/librdbg/include/rdbg/i386/Makefile.am
+++ b/c/src/librdbg/include/rdbg/i386/Makefile.am
@@ -17,4 +17,4 @@ $(PROJECT_INCLUDE)/rdbg/%.h: %.h
all-local: $(PREINSTALL_FILES)
-include $(top_srcdir)/../../../automake/local.am
+include $(top_srcdir)/../../automake/local.am
diff --git a/c/src/librdbg/include/rdbg/m68k/Makefile.am b/c/src/librdbg/include/rdbg/m68k/Makefile.am
index 18c9b52acf..e5fb159ff1 100644
--- a/c/src/librdbg/include/rdbg/m68k/Makefile.am
+++ b/c/src/librdbg/include/rdbg/m68k/Makefile.am
@@ -17,4 +17,4 @@ $(PROJECT_INCLUDE)/rdbg/%.h: %.h
all-local: $(PREINSTALL_FILES)
-include $(top_srcdir)/../../../automake/local.am
+include $(top_srcdir)/../../automake/local.am
diff --git a/c/src/librdbg/include/rdbg/powerpc/Makefile.am b/c/src/librdbg/include/rdbg/powerpc/Makefile.am
index 18c9b52acf..e5fb159ff1 100644
--- a/c/src/librdbg/include/rdbg/powerpc/Makefile.am
+++ b/c/src/librdbg/include/rdbg/powerpc/Makefile.am
@@ -17,4 +17,4 @@ $(PROJECT_INCLUDE)/rdbg/%.h: %.h
all-local: $(PREINSTALL_FILES)
-include $(top_srcdir)/../../../automake/local.am
+include $(top_srcdir)/../../automake/local.am
diff --git a/c/src/librdbg/src/Makefile.am b/c/src/librdbg/src/Makefile.am
index 07bce9eb8c..1278eea33d 100644
--- a/c/src/librdbg/src/Makefile.am
+++ b/c/src/librdbg/src/Makefile.am
@@ -3,10 +3,12 @@
##
+if HAS_RDBG
SUBDIRS = $(RTEMS_CPU)
+endif
EXTRA_DIST = _servtgt.c awk.svc excep.c ptrace.c rdbg.c remdeb.x servbkpt.c \
servcon.c servrpc.c servtgt.c servtsp.c servutil.c
-include $(top_srcdir)/../../../automake/subdirs.am
-include $(top_srcdir)/../../../automake/local.am
+include $(top_srcdir)/../../automake/subdirs.am
+include $(top_srcdir)/../../automake/local.am
diff --git a/c/src/librdbg/src/i386/Makefile.am b/c/src/librdbg/src/i386/Makefile.am
index 3f43d58668..a82e459dc3 100644
--- a/c/src/librdbg/src/i386/Makefile.am
+++ b/c/src/librdbg/src/i386/Makefile.am
@@ -7,5 +7,5 @@ SUBDIRS = any
EXTRA_DIST = excep_f.c rdbg_cpu_asm.S rdbg_f.c
-include $(top_srcdir)/../../../automake/subdirs.am
-include $(top_srcdir)/../../../automake/local.am
+include $(top_srcdir)/../../automake/subdirs.am
+include $(top_srcdir)/../../automake/local.am
diff --git a/c/src/librdbg/src/i386/any/Makefile.am b/c/src/librdbg/src/i386/any/Makefile.am
index 0d609fe10c..ee255ff6b2 100644
--- a/c/src/librdbg/src/i386/any/Makefile.am
+++ b/c/src/librdbg/src/i386/any/Makefile.am
@@ -5,6 +5,8 @@
VPATH = @srcdir@:@srcdir@/..:@srcdir@/../..
+RPCCPUDIR = $(RTEMS_CPU)/any
+
LIBNAME = librdbg
LIB = ${ARCH}/${LIBNAME}.a
@@ -32,14 +34,14 @@ OBJS = $(GEN_C_O_FILES) $(C_O_FILES) $(S_O_FILES)
MAINTAINERCLEANFILES = $(H_FILES) $(GEN_C_FILES)
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
-include $(top_srcdir)/../../../automake/compile.am
-include $(top_srcdir)/../../../automake/lib.am
+include $(top_srcdir)/../../automake/compile.am
+include $(top_srcdir)/../../automake/lib.am
#
# Add local stuff here using +=
#
-FRONTEND = \"$(RTEMS_CPU)/any/remdeb_f.x\"
+FRONTEND = \"$(RPCCPUDIR)/remdeb_f.x\"
$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
$(INSTALL_DATA) $< $@
@@ -50,29 +52,29 @@ $(LIB): ${OBJS}
$(srcdir)/remdeb.h: $(X_FILES)
if RPCTOOLS
@rm -f $@
- ( cd $(top_srcdir)/src; \
+ ( cd $(top_srcdir)/librdbg/src; \
$(RPCGEN) -h -DFRONTEND=$(FRONTEND) \
- -o i386/any/remdeb.h remdeb.x )
+ -o $(RPCCPUDIR)/remdeb.h remdeb.x )
endif
$(srcdir)/remdeb_xdr.c: $(X_FILES)
if RPCTOOLS
@rm -f $@
- ( cd $(top_srcdir)/src; \
+ ( cd $(top_srcdir)/librdbg/src; \
$(RPCGEN) -c -DFRONTEND=$(FRONTEND) \
- -o i386/any/remdeb_xdr.c remdeb.x )
+ -o $(RPCCPUDIR)/remdeb_xdr.c remdeb.x )
endif
$(srcdir)/remdeb_svc.c: $(X_FILES)
if RPCTOOLS
@rm -f $@ tmpSvc.c
- ( cd $(top_srcdir)/src; \
+ ( cd $(top_srcdir)/librdbg/src; \
$(RPCGEN) -m -DFRONTEND=$(FRONTEND) \
- -o i386/any/tmpSvc.c remdeb.x; \
- $(AWK) -f ./awk.svc THEPROG="remdeb.h" i386/any/tmpSvc.c \
- > i386/any/remdeb_svc.c; \
- sed -e 's/fprintf.*,/printf(/' i386/any/remdeb_svc.c > i386/any/remdeb_svc.tmp; \
- mv i386/any/remdeb_svc.tmp i386/any/remdeb_svc.c; \
- rm -f i386/any/tmpSvc.c )
+ -o $(RPCCPUDIR)/tmpSvc.c remdeb.x; \
+ $(AWK) -f ./awk.svc THEPROG="remdeb.h" $(RPCCPUDIR)/tmpSvc.c \
+ > $(RPCCPUDIR)/remdeb_svc.c; \
+ sed -e 's/fprintf.*,/printf(/' $(RPCCPUDIR)/remdeb_svc.c > $(RPCCPUDIR)/remdeb_svc.tmp; \
+ mv $(RPCCPUDIR)/remdeb_svc.tmp $(RPCCPUDIR)/remdeb_svc.c; \
+ rm -f $(RPCCPUDIR)/tmpSvc.c )
endif
$(PROJECT_INCLUDE)/rdbg/remdeb.h: $(srcdir)/remdeb.h
@@ -89,4 +91,4 @@ all-local: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
EXTRA_DIST = remdeb_f.x $(GEN_C_FILES)
-include $(top_srcdir)/../../../automake/local.am
+include $(top_srcdir)/../../automake/local.am
diff --git a/c/src/librdbg/src/m68k/Makefile.am b/c/src/librdbg/src/m68k/Makefile.am
index 3f43d58668..a82e459dc3 100644
--- a/c/src/librdbg/src/m68k/Makefile.am
+++ b/c/src/librdbg/src/m68k/Makefile.am
@@ -7,5 +7,5 @@ SUBDIRS = any
EXTRA_DIST = excep_f.c rdbg_cpu_asm.S rdbg_f.c
-include $(top_srcdir)/../../../automake/subdirs.am
-include $(top_srcdir)/../../../automake/local.am
+include $(top_srcdir)/../../automake/subdirs.am
+include $(top_srcdir)/../../automake/local.am
diff --git a/c/src/librdbg/src/m68k/any/Makefile.am b/c/src/librdbg/src/m68k/any/Makefile.am
index 4316d1dc5b..ee255ff6b2 100644
--- a/c/src/librdbg/src/m68k/any/Makefile.am
+++ b/c/src/librdbg/src/m68k/any/Makefile.am
@@ -5,6 +5,8 @@
VPATH = @srcdir@:@srcdir@/..:@srcdir@/../..
+RPCCPUDIR = $(RTEMS_CPU)/any
+
LIBNAME = librdbg
LIB = ${ARCH}/${LIBNAME}.a
@@ -32,14 +34,14 @@ OBJS = $(GEN_C_O_FILES) $(C_O_FILES) $(S_O_FILES)
MAINTAINERCLEANFILES = $(H_FILES) $(GEN_C_FILES)
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
-include $(top_srcdir)/../../../automake/compile.am
-include $(top_srcdir)/../../../automake/lib.am
+include $(top_srcdir)/../../automake/compile.am
+include $(top_srcdir)/../../automake/lib.am
#
# Add local stuff here using +=
#
-FRONTEND = \"$(RTEMS_CPU)/any/remdeb_f.x\"
+FRONTEND = \"$(RPCCPUDIR)/remdeb_f.x\"
$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
$(INSTALL_DATA) $< $@
@@ -50,29 +52,29 @@ $(LIB): ${OBJS}
$(srcdir)/remdeb.h: $(X_FILES)
if RPCTOOLS
@rm -f $@
- ( cd $(top_srcdir)/src; \
+ ( cd $(top_srcdir)/librdbg/src; \
$(RPCGEN) -h -DFRONTEND=$(FRONTEND) \
- -o m68k/any/remdeb.h remdeb.x )
+ -o $(RPCCPUDIR)/remdeb.h remdeb.x )
endif
$(srcdir)/remdeb_xdr.c: $(X_FILES)
if RPCTOOLS
@rm -f $@
- ( cd $(top_srcdir)/src; \
+ ( cd $(top_srcdir)/librdbg/src; \
$(RPCGEN) -c -DFRONTEND=$(FRONTEND) \
- -o m68k/any/remdeb_xdr.c remdeb.x )
+ -o $(RPCCPUDIR)/remdeb_xdr.c remdeb.x )
endif
$(srcdir)/remdeb_svc.c: $(X_FILES)
if RPCTOOLS
@rm -f $@ tmpSvc.c
- ( cd $(top_srcdir)/src; \
+ ( cd $(top_srcdir)/librdbg/src; \
$(RPCGEN) -m -DFRONTEND=$(FRONTEND) \
- -o m68k/any/tmpSvc.c remdeb.x; \
- $(AWK) -f ./awk.svc THEPROG="remdeb.h" m68k/any/tmpSvc.c \
- > m68k/any/remdeb_svc.c; \
- sed -e 's/fprintf.*,/printf(/' m68k/any/remdeb_svc.c > m68k/any/remdeb_svc.tmp; \
- mv m68k/any/remdeb_svc.tmp m68k/any/remdeb_svc.c; \
- rm -f m68k/any/tmpSvc.c )
+ -o $(RPCCPUDIR)/tmpSvc.c remdeb.x; \
+ $(AWK) -f ./awk.svc THEPROG="remdeb.h" $(RPCCPUDIR)/tmpSvc.c \
+ > $(RPCCPUDIR)/remdeb_svc.c; \
+ sed -e 's/fprintf.*,/printf(/' $(RPCCPUDIR)/remdeb_svc.c > $(RPCCPUDIR)/remdeb_svc.tmp; \
+ mv $(RPCCPUDIR)/remdeb_svc.tmp $(RPCCPUDIR)/remdeb_svc.c; \
+ rm -f $(RPCCPUDIR)/tmpSvc.c )
endif
$(PROJECT_INCLUDE)/rdbg/remdeb.h: $(srcdir)/remdeb.h
@@ -89,4 +91,4 @@ all-local: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
EXTRA_DIST = remdeb_f.x $(GEN_C_FILES)
-include $(top_srcdir)/../../../automake/local.am
+include $(top_srcdir)/../../automake/local.am
diff --git a/c/src/librdbg/src/powerpc/Makefile.am b/c/src/librdbg/src/powerpc/Makefile.am
index e322d3f4c4..b0897a1b0e 100644
--- a/c/src/librdbg/src/powerpc/Makefile.am
+++ b/c/src/librdbg/src/powerpc/Makefile.am
@@ -7,5 +7,5 @@ SUBDIRS = new_exception_processing
EXTRA_DIST = excep_f.c rdbg_cpu_asm.S rdbg_f.c
-include $(top_srcdir)/../../../automake/subdirs.am
-include $(top_srcdir)/../../../automake/local.am
+include $(top_srcdir)/../../automake/subdirs.am
+include $(top_srcdir)/../../automake/local.am
diff --git a/c/src/librdbg/src/powerpc/new_exception_processing/Makefile.am b/c/src/librdbg/src/powerpc/new_exception_processing/Makefile.am
index 6d88639bb4..7b45d7f678 100644
--- a/c/src/librdbg/src/powerpc/new_exception_processing/Makefile.am
+++ b/c/src/librdbg/src/powerpc/new_exception_processing/Makefile.am
@@ -5,6 +5,8 @@
VPATH = @srcdir@:@srcdir@/..:@srcdir@/../..
+RPCCPUDIR = $(RTEMS_CPU)/new_exception_processing
+
LIBNAME = librdbg
LIB = ${ARCH}/${LIBNAME}.a
@@ -32,14 +34,14 @@ OBJS = $(GEN_C_O_FILES) $(C_O_FILES) $(S_O_FILES)
MAINTAINERCLEANFILES = $(H_FILES) $(GEN_C_FILES)
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
-include $(top_srcdir)/../../../automake/compile.am
-include $(top_srcdir)/../../../automake/lib.am
+include $(top_srcdir)/../../automake/compile.am
+include $(top_srcdir)/../../automake/lib.am
#
# Add local stuff here using +=
#
-FRONTEND = \"$(RTEMS_CPU)/new_exception_processing/remdeb_f.x\"
+FRONTEND = \"$(RPCCPUDIR)/remdeb_f.x\"
$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
$(INSTALL_DATA) $< $@
@@ -50,29 +52,29 @@ $(LIB): ${OBJS}
$(srcdir)/remdeb.h: $(X_FILES)
if RPCTOOLS
@rm -f $@
- ( cd $(top_srcdir)/src; \
+ ( cd $(top_srcdir)/librdbg/src; \
$(RPCGEN) -h -DFRONTEND=$(FRONTEND) \
- -o powerpc/new_exception_processing/remdeb.h remdeb.x )
+ -o $(RPCCPUDIR)/remdeb.h remdeb.x )
endif
$(srcdir)/remdeb_xdr.c: $(X_FILES)
if RPCTOOLS
@rm -f $@
- ( cd $(top_srcdir)/src; \
+ ( cd $(top_srcdir)/librdbg/src; \
$(RPCGEN) -c -DFRONTEND=$(FRONTEND) \
- -o powerpc/new_exception_processing/remdeb_xdr.c remdeb.x )
+ -o $(RPCCPUDIR)/remdeb_xdr.c remdeb.x )
endif
$(srcdir)/remdeb_svc.c: $(X_FILES)
if RPCTOOLS
@rm -f $@ tmpSvc.c
- ( cd $(top_srcdir)/src; \
+ ( cd $(top_srcdir)/librdbg/src; \
$(RPCGEN) -m -DFRONTEND=$(FRONTEND) \
- -o powerpc/new_exception_processing/tmpSvc.c remdeb.x; \
- $(AWK) -f ./awk.svc THEPROG="remdeb.h" powerpc/new_exception_processing/tmpSvc.c \
- > powerpc/new_exception_processing/remdeb_svc.c; \
- sed -e 's/fprintf.*,/printf(/' powerpc/new_exception_processing/remdeb_svc.c > powerpc/new_exception_processing/remdeb_svc.tmp; \
- mv powerpc/new_exception_processing/remdeb_svc.tmp powerpc/new_exception_processing/remdeb_svc.c; \
- rm -f powerpc/new_exception_processing/tmpSvc.c )
+ -o $(RPCCPUDIR)/tmpSvc.c remdeb.x; \
+ $(AWK) -f ./awk.svc THEPROG="remdeb.h" $(RPCCPUDIR)/tmpSvc.c \
+ > $(RPCCPUDIR)/remdeb_svc.c; \
+ sed -e 's/fprintf.*,/printf(/' $(RPCCPUDIR)/remdeb_svc.c > $(RPCCPUDIR)/remdeb_svc.tmp; \
+ mv $(RPCCPUDIR)/remdeb_svc.tmp $(RPCCPUDIR)/remdeb_svc.c; \
+ rm -f $(RPCCPUDIR)/tmpSvc.c )
endif
$(PROJECT_INCLUDE)/rdbg/remdeb.h: $(srcdir)/remdeb.h
@@ -89,4 +91,4 @@ all-local: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
EXTRA_DIST = remdeb_f.x $(GEN_C_FILES)
-include $(top_srcdir)/../../../automake/local.am
+include $(top_srcdir)/../../automake/local.am