Changeset ecd78c4 in rtems


Ignore:
Timestamp:
Dec 9, 2003, 12:13:13 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
109d660
Parents:
91fd793d
Message:

2003-12-09 Ralf Corsepius <corsepiu@…>

  • src/powerpc/new_exception_processing/Makefile.am: Remove.
  • src/powerpc/Makefile.am: Merge-in former new_exception_processing/Makefile.am.
  • src/m68k/any/Makefile.am: Remove.
  • src/m68k/Makefile.am: Merge-in former any/Makefile.am.
  • src/i386/any/Makefile.am: Remove.
  • src/i386/Makefile.am: Merge-in former any/Makefile.am.
  • src/Makefile.am: Cosmetics.
  • include/Makefile.am: Cosmetics.
  • Makefile.am: Cosmetics.
Location:
c/src/librdbg
Files:
3 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • c/src/librdbg/ChangeLog

    r91fd793d recd78c4  
     12003-12-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * src/powerpc/new_exception_processing/Makefile.am: Remove.
     4        * src/powerpc/Makefile.am: Merge-in former
     5        new_exception_processing/Makefile.am.
     6        * src/m68k/any/Makefile.am: Remove.
     7        * src/m68k/Makefile.am: Merge-in former any/Makefile.am.
     8        * src/i386/any/Makefile.am: Remove.
     9        * src/i386/Makefile.am: Merge-in former any/Makefile.am.
     10        * src/Makefile.am: Cosmetics.
     11        * include/Makefile.am: Cosmetics.
     12        * Makefile.am: Cosmetics.
     13
    1142003-12-02      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    215
  • c/src/librdbg/Makefile.am

    r91fd793d recd78c4  
    55SUBDIRS = include src
    66
    7 PREINSTALL_FILES =
    8 
    97include $(top_srcdir)/automake/subdirs.am
    108include $(top_srcdir)/automake/local.am
  • c/src/librdbg/include/Makefile.am

    r91fd793d recd78c4  
    55SUBDIRS = rdbg
    66
    7 PREINSTALL_FILES =
    8 
    97include $(top_srcdir)/automake/subdirs.am
    108include $(top_srcdir)/automake/local.am
  • c/src/librdbg/src/Makefile.am

    r91fd793d recd78c4  
    1111    servcon.c servrpc.c servtgt.c servtsp.c servutil.c
    1212
    13 PREINSTALL_FILES =
    14 
    1513include $(top_srcdir)/automake/subdirs.am
    1614include $(top_srcdir)/automake/local.am
  • c/src/librdbg/src/i386/Makefile.am

    r91fd793d recd78c4  
    33##
    44
    5 SUBDIRS = any
     5EXTRA_DIST = excep_f.c rdbg_cpu_asm.S rdbg_f.c
    66
    7 EXTRA_DIST = excep_f.c rdbg_cpu_asm.S rdbg_f.c
     7RPCCPUDIR = $(RTEMS_CPU)/any
     8
     9project_lib_DATA = $(ARCH)/librdbg$(LIB_VARIANT).a
     10
     11C_FILES = excep_f.c rdbg_f.c
     12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
     13
     14up_C_FILES = ../rdbg.c ../servcon.c ../servbkpt.c ../servrpc.c ../excep.c
     15up_C_FILES += ../servtgt.c ../servtsp.c ../servutil.c ../_servtgt.c \
     16    ../ptrace.c
     17C_O_FILES += $(up_C_FILES:../%.c=$(ARCH)/%.$(OBJEXT))
     18
     19${ARCH}/%.o: ../%.c $(ARCH)/$(dirstamp)
     20        ${COMPILE} -o $@ -c $<
     21
     22# Asm source names
     23S_FILES = rdbg_cpu_asm.S
     24S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
     25
     26# Generated C source names
     27GEN_C_FILES = any/remdeb_xdr.c
     28GEN_C_FILES += any/remdeb_svc.c
     29C_O_FILES += $(GEN_C_FILES:any/%.c=$(ARCH)/%.$(OBJEXT))
     30
     31${ARCH}/%.o: any/%.c $(ARCH)/$(dirstamp)
     32        ${COMPILE} -o $@ -c $<
     33
     34# H source names
     35H_FILES = any/remdeb.h
     36
     37# X source names
     38X_FILES = ../remdeb.x any/remdeb_f.x
     39
     40OBJS = $(GEN_C_O_FILES) $(C_O_FILES) $(S_O_FILES)
     41
     42MAINTAINERCLEANFILES = $(H_FILES) $(GEN_C_FILES)
     43
     44include $(top_srcdir)/automake/compile.am
     45include $(top_srcdir)/automake/lib.am
     46
     47#
     48# Add local stuff here using +=
     49#
     50
     51FRONTEND = \"$(RPCCPUDIR)/remdeb_f.x\"
     52
     53$(ARCH)/librdbg$(LIB_VARIANT).a: ${OBJS}
     54        $(make-library)
     55
     56$(srcdir)/any/remdeb.h: $(X_FILES)
     57if RPCTOOLS
     58        @rm -f $@
     59        ( cd $(top_srcdir)/librdbg/src; \
     60        $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \
     61          -o $(RPCCPUDIR)/remdeb.h remdeb.x )
     62endif
     63$(srcdir)/any/remdeb_xdr.c: $(X_FILES)
     64if RPCTOOLS
     65        @rm -f $@
     66        ( cd $(top_srcdir)/librdbg/src; \
     67        $(RPCGEN) -c -DFRONTEND=$(FRONTEND) \
     68          -o $(RPCCPUDIR)/remdeb_xdr.c remdeb.x )
     69endif
     70
     71$(srcdir)/any/remdeb_svc.c: $(X_FILES)
     72if RPCTOOLS
     73        @rm -f $@ tmpSvc.c
     74        ( cd $(top_srcdir)/librdbg/src; \
     75        $(RPCGEN) -m -DFRONTEND=$(FRONTEND) \
     76          -o $(RPCCPUDIR)/tmpSvc.c remdeb.x; \
     77        $(AWK) -f ./awk.svc THEPROG="remdeb.h" $(RPCCPUDIR)/tmpSvc.c \
     78          > $(RPCCPUDIR)/remdeb_svc.c; \
     79        sed -e 's/fprintf.*,/printf(/'  $(RPCCPUDIR)/remdeb_svc.c > $(RPCCPUDIR)/remdeb_svc.tmp; \
     80        mv $(RPCCPUDIR)/remdeb_svc.tmp $(RPCCPUDIR)/remdeb_svc.c; \
     81        rm -f $(RPCCPUDIR)/tmpSvc.c )
     82endif
     83
     84include_rdbgdir = $(includedir)/rdbg
     85include_rdbg_HEADERS = $(srcdir)/any/remdeb.h
     86
     87all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
     88
     89EXTRA_DIST += remdeb_f.x $(GEN_C_FILES)
    890
    991PREINSTALL_FILES =
    1092
    11 include $(top_srcdir)/automake/subdirs.am
     93${PROJECT_RELEASE}/lib/librdbg$(LIB_VARIANT).a: $(ARCH)/librdbg$(LIB_VARIANT).a ${PROJECT_RELEASE}/lib/$(dirstamp)
     94        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/librdbg$(LIB_VARIANT).a
     95TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/librdbg$(LIB_VARIANT).a
     96
     97$(PROJECT_INCLUDE)/rdbg/$(dirstamp):
     98        @$(mkinstalldirs) $(PROJECT_INCLUDE)/rdbg
     99        @: > $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
     100PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
     101
     102$(PROJECT_INCLUDE)/rdbg/remdeb.h: $(srcdir)/any/remdeb.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
     103        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rdbg/remdeb.h
     104PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/remdeb.h
     105
    12106include $(top_srcdir)/automake/local.am
  • c/src/librdbg/src/m68k/Makefile.am

    r91fd793d recd78c4  
    33##
    44
    5 SUBDIRS = any
     5EXTRA_DIST = excep_f.c rdbg_cpu_asm.S rdbg_f.c
    66
    7 EXTRA_DIST = excep_f.c rdbg_cpu_asm.S rdbg_f.c
     7RPCCPUDIR = $(RTEMS_CPU)/any
     8
     9project_lib_DATA = $(ARCH)/librdbg$(LIB_VARIANT).a
     10
     11C_FILES = excep_f.c rdbg_f.c
     12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
     13
     14up_C_FILES = ../rdbg.c ../servcon.c ../servbkpt.c ../servrpc.c ../excep.c
     15up_C_FILES += ../servtgt.c ../servtsp.c ../servutil.c ../_servtgt.c \
     16    ../ptrace.c
     17C_O_FILES += $(up_C_FILES:../%.c=$(ARCH)/%.$(OBJEXT))
     18
     19${ARCH}/%.o: ../%.c $(ARCH)/$(dirstamp)
     20        ${COMPILE} -o $@ -c $<
     21
     22# Asm source names
     23S_FILES = rdbg_cpu_asm.S
     24S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
     25
     26# Generated C source names
     27GEN_C_FILES = any/remdeb_xdr.c
     28GEN_C_FILES += any/remdeb_svc.c
     29C_O_FILES += $(GEN_C_FILES:any/%.c=$(ARCH)/%.$(OBJEXT))
     30
     31${ARCH}/%.o: any/%.c $(ARCH)/$(dirstamp)
     32        ${COMPILE} -o $@ -c $<
     33
     34# H source names
     35H_FILES = any/remdeb.h
     36
     37# X source names
     38X_FILES = ../remdeb.x any/remdeb_f.x
     39
     40OBJS = $(GEN_C_O_FILES) $(C_O_FILES) $(S_O_FILES)
     41
     42MAINTAINERCLEANFILES = $(H_FILES) $(GEN_C_FILES)
     43
     44include $(top_srcdir)/automake/compile.am
     45include $(top_srcdir)/automake/lib.am
     46
     47#
     48# Add local stuff here using +=
     49#
     50
     51FRONTEND = \"$(RPCCPUDIR)/remdeb_f.x\"
     52
     53$(ARCH)/librdbg$(LIB_VARIANT).a: ${OBJS}
     54        $(make-library)
     55
     56$(srcdir)/any/remdeb.h: $(X_FILES)
     57if RPCTOOLS
     58        @rm -f $@
     59        ( cd $(top_srcdir)/librdbg/src; \
     60        $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \
     61          -o $(RPCCPUDIR)/remdeb.h remdeb.x )
     62endif
     63$(srcdir)/any/remdeb_xdr.c: $(X_FILES)
     64if RPCTOOLS
     65        @rm -f $@
     66        ( cd $(top_srcdir)/librdbg/src; \
     67        $(RPCGEN) -c -DFRONTEND=$(FRONTEND) \
     68          -o $(RPCCPUDIR)/remdeb_xdr.c remdeb.x )
     69endif
     70
     71$(srcdir)/any/remdeb_svc.c: $(X_FILES)
     72if RPCTOOLS
     73        @rm -f $@ tmpSvc.c
     74        ( cd $(top_srcdir)/librdbg/src; \
     75        $(RPCGEN) -m -DFRONTEND=$(FRONTEND) \
     76          -o $(RPCCPUDIR)/tmpSvc.c remdeb.x; \
     77        $(AWK) -f ./awk.svc THEPROG="remdeb.h" $(RPCCPUDIR)/tmpSvc.c \
     78          > $(RPCCPUDIR)/remdeb_svc.c; \
     79        sed -e 's/fprintf.*,/printf(/'  $(RPCCPUDIR)/remdeb_svc.c > $(RPCCPUDIR)/remdeb_svc.tmp; \
     80        mv $(RPCCPUDIR)/remdeb_svc.tmp $(RPCCPUDIR)/remdeb_svc.c; \
     81        rm -f $(RPCCPUDIR)/tmpSvc.c )
     82endif
     83
     84include_rdbgdir = $(includedir)/rdbg
     85include_rdbg_HEADERS = $(srcdir)/any/remdeb.h
     86
     87all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
     88
     89EXTRA_DIST += remdeb_f.x $(GEN_C_FILES)
    890
    991PREINSTALL_FILES =
    1092
    11 include $(top_srcdir)/automake/subdirs.am
     93${PROJECT_RELEASE}/lib/librdbg$(LIB_VARIANT).a: $(ARCH)/librdbg$(LIB_VARIANT).a ${PROJECT_RELEASE}/lib/$(dirstamp)
     94        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/librdbg$(LIB_VARIANT).a
     95TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/librdbg$(LIB_VARIANT).a
     96
     97$(PROJECT_INCLUDE)/rdbg/$(dirstamp):
     98        @$(mkinstalldirs) $(PROJECT_INCLUDE)/rdbg
     99        @: > $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
     100PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
     101
     102$(PROJECT_INCLUDE)/rdbg/remdeb.h: $(srcdir)/any/remdeb.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
     103        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rdbg/remdeb.h
     104PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/remdeb.h
     105
    12106include $(top_srcdir)/automake/local.am
  • c/src/librdbg/src/powerpc/Makefile.am

    r91fd793d recd78c4  
    33##
    44
    5 SUBDIRS = new_exception_processing
     5EXTRA_DIST = excep_f.c rdbg_cpu_asm.S rdbg_f.c
    66
    7 EXTRA_DIST = excep_f.c rdbg_cpu_asm.S rdbg_f.c
     7RPCCPUDIR = $(RTEMS_CPU)/new_exception_processing
     8
     9project_lib_DATA = $(ARCH)/librdbg$(LIB_VARIANT).a
     10
     11C_FILES = excep_f.c rdbg_f.c
     12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
     13
     14up_C_FILES = ../rdbg.c ../servcon.c ../servbkpt.c ../servrpc.c ../excep.c
     15up_C_FILES += ../servtgt.c ../servtsp.c ../servutil.c ../_servtgt.c \
     16    ../ptrace.c
     17C_O_FILES += $(up_C_FILES:../%.c=$(ARCH)/%.$(OBJEXT))
     18
     19${ARCH}/%.o: ../%.c $(ARCH)/$(dirstamp)
     20        ${COMPILE} -o $@ -c $<
     21
     22# Asm source names
     23S_FILES = rdbg_cpu_asm.S
     24S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
     25
     26# Generated C source names
     27GEN_C_FILES = new_exception_processing/remdeb_xdr.c
     28GEN_C_FILES += new_exception_processing/remdeb_svc.c
     29C_O_FILES += \
     30    $(GEN_C_FILES:new_exception_processing/%.c=$(ARCH)/%.$(OBJEXT))
     31
     32${ARCH}/%.o: new_exception_processing/%.c $(ARCH)/$(dirstamp)
     33        ${COMPILE} -o $@ -c $<
     34
     35# H source names
     36H_FILES = new_exception_processing/remdeb.h
     37
     38# X source names
     39X_FILES = ../remdeb.x new_exception_processing/remdeb_f.x
     40
     41OBJS = $(GEN_C_O_FILES) $(C_O_FILES) $(S_O_FILES)
     42
     43MAINTAINERCLEANFILES = $(H_FILES) $(GEN_C_FILES)
     44
     45include $(top_srcdir)/automake/compile.am
     46include $(top_srcdir)/automake/lib.am
     47
     48#
     49# Add local stuff here using +=
     50#
     51
     52FRONTEND = \"$(RPCCPUDIR)/remdeb_f.x\"
     53
     54$(ARCH)/librdbg$(LIB_VARIANT).a: ${OBJS}
     55        $(make-library)
     56
     57$(srcdir)/new_exception_processing/remdeb.h: $(X_FILES)
     58if RPCTOOLS
     59        @rm -f $@
     60        ( cd $(top_srcdir)/librdbg/src; \
     61        $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \
     62          -o $(RPCCPUDIR)/remdeb.h remdeb.x )
     63endif
     64$(srcdir)/new_exception_processing/remdeb_xdr.c: $(X_FILES)
     65if RPCTOOLS
     66        @rm -f $@
     67        ( cd $(top_srcdir)/librdbg/src; \
     68        $(RPCGEN) -c -DFRONTEND=$(FRONTEND) \
     69          -o $(RPCCPUDIR)/remdeb_xdr.c remdeb.x )
     70endif
     71
     72$(srcdir)/new_exception_processing/remdeb_svc.c: $(X_FILES)
     73if RPCTOOLS
     74        @rm -f $@ tmpSvc.c
     75        ( cd $(top_srcdir)/librdbg/src; \
     76        $(RPCGEN) -m -DFRONTEND=$(FRONTEND) \
     77          -o $(RPCCPUDIR)/tmpSvc.c remdeb.x; \
     78        $(AWK) -f ./awk.svc THEPROG="remdeb.h" $(RPCCPUDIR)/tmpSvc.c \
     79          > $(RPCCPUDIR)/remdeb_svc.c; \
     80        sed -e 's/fprintf.*,/printf(/'  $(RPCCPUDIR)/remdeb_svc.c > $(RPCCPUDIR)/remdeb_svc.tmp; \
     81        mv $(RPCCPUDIR)/remdeb_svc.tmp $(RPCCPUDIR)/remdeb_svc.c; \
     82        rm -f $(RPCCPUDIR)/tmpSvc.c )
     83endif
     84
     85include_rdbgdir = $(includedir)/rdbg
     86include_rdbg_HEADERS = $(srcdir)/new_exception_processing/remdeb.h
     87
     88all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
     89
     90EXTRA_DIST += remdeb_f.x $(GEN_C_FILES)
    891
    992PREINSTALL_FILES =
    1093
    11 include $(top_srcdir)/automake/subdirs.am
     94${PROJECT_RELEASE}/lib/librdbg$(LIB_VARIANT).a: $(ARCH)/librdbg$(LIB_VARIANT).a ${PROJECT_RELEASE}/lib/$(dirstamp)
     95        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/librdbg$(LIB_VARIANT).a
     96TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/librdbg$(LIB_VARIANT).a
     97
     98$(PROJECT_INCLUDE)/rdbg/$(dirstamp):
     99        @$(mkinstalldirs) $(PROJECT_INCLUDE)/rdbg
     100        @: > $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
     101PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
     102
     103$(PROJECT_INCLUDE)/rdbg/remdeb.h: $(srcdir)/new_exception_processing/remdeb.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
     104        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rdbg/remdeb.h
     105PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/remdeb.h
     106
    12107include $(top_srcdir)/automake/local.am
Note: See TracChangeset for help on using the changeset viewer.