From 23e3f642e4f0753029b4bd4d444cd94b8f4bb4c6 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 23 Nov 1999 14:10:05 +0000 Subject: Missed in previous automake conversion patches from Ralf Corsepius . --- c/src/librdbg/src/i386/any/Makefile.am | 98 ++++++++++++++++++++++++++++++++ c/src/librdbg/src/i386/pc386/Makefile.am | 98 ++++++++++++++++++++++++++++++++ 2 files changed, 196 insertions(+) create mode 100644 c/src/librdbg/src/i386/any/Makefile.am create mode 100644 c/src/librdbg/src/i386/pc386/Makefile.am (limited to 'c/src/librdbg/src/i386') diff --git a/c/src/librdbg/src/i386/any/Makefile.am b/c/src/librdbg/src/i386/any/Makefile.am new file mode 100644 index 0000000000..2ef724a0ae --- /dev/null +++ b/c/src/librdbg/src/i386/any/Makefile.am @@ -0,0 +1,98 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +VPATH = @srcdir@:@srcdir@/..:@srcdir@/../.. + +LIBNAME = librdbg +LIB = ${ARCH}/${LIBNAME}.a + +# C and C++ source names, if any, go here -- minus the .c or .cc +C_FILES = rdbg.c servcon.c servbkpt.c servrpc.c excep.c excep_f.c servtgt.c \ + servtsp.c servutil.c _servtgt.c rdbg_f.c ptrace.c +C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) + +# Asm source names, if any, go here -- minus the .s +S_FILES = rdbg_cpu_asm.S +S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) + +# Generated C source names, if any, go here -- minus the .c +GEN_C_FILES = remdeb_xdr.c remdeb_svc.c +GEN_C_O_FILES = $(GEN_C_PIECES:%.c=${ARCH}/%.o) + +# H source names, if any, go here -- minus the .h +H_FILES = remdeb.h + +# X source names +X_FILES = remdeb.x remdeb_f.x + +SRCS = $(C_FILES) $(S_FILES) $(GEN_C_FILES) $(H_FILES) +OBJS = $(GEN_C_O_FILES) $(C_O_FILES) $(S_O_FILES) + +RPCGEN = @RPCGEN@ +AWK = @AWK@ + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../../../automake/lib.am + +PREINSTALL_FILES = \ +$(PROJECT_INCLUDE)/rdbg \ +$(PROJECT_INCLUDE)/rdbg/remdeb.h + +$(PROJECT_INCLUDE)/rdbg: + @$(mkinstalldirs) $@ + +TMPINSTALL_FILES += \ +$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBVARIANT).a + +# +# Add local stuff here using += +# + +# +# Add your list of files to delete here. The config files +# already know how to delete some stuff, so you may want +# to just run 'make clean' first to see what gets missed. +# 'make clobber' already includes 'make clean' +# + +CLEANFILES += $(LIB) $(H_FILES) $(GEN_C_FILES) + +FRONTEND = \"$(RTEMS_CPU)/@RTEMS_BSP@/remdeb_f.x\" + +$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBVARIANT).a: $(LIB) + $(INSTALL_DATA) $< $@ + +all: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES) + +$(LIB): ${OBJS} + $(make-library) + +remdeb.h: $(X_FILES) + @rm -f $@ + ( pwd=`pwd`; cd $(srcdir)/../..; \ + $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \ + -o $$pwd/$@ remdeb.x ) + +$(PROJECT_INCLUDE)/rdbg/remdeb.h: remdeb.h + $(INSTALL_DATA) $< $@ + +remdeb_xdr.c: $(X_FILES) + @rm -f $@ + ( pwd=`pwd`; cd $(srcdir)/../..; \ + $(RPCGEN) -c -DFRONTEND=$(FRONTEND) \ + -o $$pwd/$@ remdeb.x ) + +remdeb_svc.c: $(X_FILES) + @rm -f $@ tmpSvc.c + ( pwd=`pwd`; cd $(srcdir)/../..; \ + $(RPCGEN) -s udp -DFRONTEND=$(FRONTEND) \ + -o $$pwd/tmpSvc.c remdeb.x ) + $(AWK) -f $(srcdir)/../../awk.svc THEPROG="remdeb.h" tmpSvc.c >$@ + @rm -f tmpSvc.c + +EXTRA_DIST = remdeb_f.x + +include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/librdbg/src/i386/pc386/Makefile.am b/c/src/librdbg/src/i386/pc386/Makefile.am new file mode 100644 index 0000000000..2ef724a0ae --- /dev/null +++ b/c/src/librdbg/src/i386/pc386/Makefile.am @@ -0,0 +1,98 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +VPATH = @srcdir@:@srcdir@/..:@srcdir@/../.. + +LIBNAME = librdbg +LIB = ${ARCH}/${LIBNAME}.a + +# C and C++ source names, if any, go here -- minus the .c or .cc +C_FILES = rdbg.c servcon.c servbkpt.c servrpc.c excep.c excep_f.c servtgt.c \ + servtsp.c servutil.c _servtgt.c rdbg_f.c ptrace.c +C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) + +# Asm source names, if any, go here -- minus the .s +S_FILES = rdbg_cpu_asm.S +S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) + +# Generated C source names, if any, go here -- minus the .c +GEN_C_FILES = remdeb_xdr.c remdeb_svc.c +GEN_C_O_FILES = $(GEN_C_PIECES:%.c=${ARCH}/%.o) + +# H source names, if any, go here -- minus the .h +H_FILES = remdeb.h + +# X source names +X_FILES = remdeb.x remdeb_f.x + +SRCS = $(C_FILES) $(S_FILES) $(GEN_C_FILES) $(H_FILES) +OBJS = $(GEN_C_O_FILES) $(C_O_FILES) $(S_O_FILES) + +RPCGEN = @RPCGEN@ +AWK = @AWK@ + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../../../automake/lib.am + +PREINSTALL_FILES = \ +$(PROJECT_INCLUDE)/rdbg \ +$(PROJECT_INCLUDE)/rdbg/remdeb.h + +$(PROJECT_INCLUDE)/rdbg: + @$(mkinstalldirs) $@ + +TMPINSTALL_FILES += \ +$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBVARIANT).a + +# +# Add local stuff here using += +# + +# +# Add your list of files to delete here. The config files +# already know how to delete some stuff, so you may want +# to just run 'make clean' first to see what gets missed. +# 'make clobber' already includes 'make clean' +# + +CLEANFILES += $(LIB) $(H_FILES) $(GEN_C_FILES) + +FRONTEND = \"$(RTEMS_CPU)/@RTEMS_BSP@/remdeb_f.x\" + +$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBVARIANT).a: $(LIB) + $(INSTALL_DATA) $< $@ + +all: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES) + +$(LIB): ${OBJS} + $(make-library) + +remdeb.h: $(X_FILES) + @rm -f $@ + ( pwd=`pwd`; cd $(srcdir)/../..; \ + $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \ + -o $$pwd/$@ remdeb.x ) + +$(PROJECT_INCLUDE)/rdbg/remdeb.h: remdeb.h + $(INSTALL_DATA) $< $@ + +remdeb_xdr.c: $(X_FILES) + @rm -f $@ + ( pwd=`pwd`; cd $(srcdir)/../..; \ + $(RPCGEN) -c -DFRONTEND=$(FRONTEND) \ + -o $$pwd/$@ remdeb.x ) + +remdeb_svc.c: $(X_FILES) + @rm -f $@ tmpSvc.c + ( pwd=`pwd`; cd $(srcdir)/../..; \ + $(RPCGEN) -s udp -DFRONTEND=$(FRONTEND) \ + -o $$pwd/tmpSvc.c remdeb.x ) + $(AWK) -f $(srcdir)/../../awk.svc THEPROG="remdeb.h" tmpSvc.c >$@ + @rm -f tmpSvc.c + +EXTRA_DIST = remdeb_f.x + +include $(top_srcdir)/../../../automake/local.am -- cgit v1.2.3