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.
This commit is contained in:
Ralf Corsepius
2003-07-25 14:42:01 +00:00
parent c7ff624cff
commit e37d719653
15 changed files with 83 additions and 134 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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