Changeset 832bed1 in rtems


Ignore:
Timestamp:
02/14/04 09:44:51 (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
9e23302
Parents:
20b80be
Message:

2004-02-14 Ralf Corsepius <corsepiu@…>

  • librdbg/src/i386/Makefile.am, librdbg/src/m68k/Makefile.am, librdbg/src/powerpc/Makefile.am: Remove.
  • librdbg/src/Makefile.am: Merge-in librdbg/src/i386/Makefile.am, librdbg/src/m68k/Makefile.am, librdbg/src/powerpc/Makefile.am.
  • configure.ac: Reflect changes above.
Location:
c/src
Files:
3 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    r20b80be r832bed1  
     12004-02-14      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * librdbg/src/i386/Makefile.am, librdbg/src/m68k/Makefile.am,
     4        librdbg/src/powerpc/Makefile.am:
     5        Remove.
     6        * librdbg/src/Makefile.am: Merge-in librdbg/src/i386/Makefile.am,
     7        librdbg/src/m68k/Makefile.am, librdbg/src/powerpc/Makefile.am.
     8        * configure.ac: Reflect changes above.
     9
     102004-02-14      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     11
     12
    1132004-02-14      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    214
  • c/src/configure.ac

    r20b80be r832bed1  
    155155BSP_SUBDIRS="$BSP_SUBDIRS libnetworking"
    156156BSP_SUBDIRS="$BSP_SUBDIRS librdbg"
    157                                                          
     157
    158158AS_IF([test "$RTEMS_HAS_CPLUSPLUS" = "yes"],[
    159159  AC_CONFIG_SUBDIRS([librtems++])
     
    196196
    197197AM_CONDITIONAL([HAS_NETWORKING],[test "$HAS_NETWORKING" = "yes"])
     198
     199# FIXME: This is sick
    198200AM_CONDITIONAL([HAS_RDBG],[test "$HAS_RDBG" = "yes"])
     201AM_CONDITIONAL([HAS_RDBG_i386],[test "$HAS_RDBG" = "yes" \
     202 && test $RTEMS_CPU = "i386"])
     203AM_CONDITIONAL([HAS_RDBG_m68k],[test "$HAS_RDBG" = "yes" \
     204 && test $RTEMS_CPU = "m68k"])
     205AM_CONDITIONAL([HAS_RDBG_powerpc],[test "$HAS_RDBG" = "yes" \
     206 && test $RTEMS_CPU = "powerpc"])
     207
    199208AM_CONDITIONAL(HAS_POSIX,test "$HAS_POSIX_API" = "yes")
    200209
     
    243252librdbg/include/Makefile
    244253librdbg/src/Makefile
    245 librdbg/src/i386/Makefile
    246 librdbg/src/powerpc/Makefile
    247 librdbg/src/m68k/Makefile
    248254
    249255libchip/Makefile
  • c/src/librdbg/src/Makefile.am

    r20b80be r832bed1  
    33##
    44
    5 if HAS_RDBG
    6 SUBDIRS = $(RTEMS_CPU)
    7 DIST_SUBDIRS = $(RTEMS_CPU)
    8 endif
    9 
    10 EXTRA_DIST = _servtgt.c awk.svc excep.c ptrace.c rdbg.c remdeb.x servbkpt.c \
    11     servcon.c servrpc.c servtgt.c servtsp.c servutil.c
    12 
    13 include $(top_srcdir)/automake/subdirs.am
     5include $(top_srcdir)/automake/compile.am
     6
     7CLEANFILES =
     8BUILT_SOURCES =
     9
     10if HAS_RDBG
     11include_rdbgdir = $(includedir)/rdbg
     12
     13EXTRA_LIBRARIES = librdbg.a
     14CLEANFILES += librdbg.a
     15librdbg_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     16
     17EXTRA_LIBRARIES += librdbg_g.a
     18CLEANFILES += librdbg_g.a
     19librdbg_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     20librdbg_g_a_SOURCES = $(librdbg_a_SOURCES)
     21
     22project_lib_DATA = librdbg$(LIB_VARIANT).a
     23
     24librdbg_a_SOURCES = rdbg.c servcon.c servbkpt.c servrpc.c excep.c servtgt.c \
     25    servtsp.c servutil.c _servtgt.c ptrace.c
     26endif
     27
     28X_FILES = remdeb.x
     29EXTRA_DIST = remdeb.x
     30
     31if HAS_RDBG
     32if HAS_RDBG_powerpc
     33librdbg_a_SOURCES += powerpc/excep_f.c powerpc/rdbg_f.c \
     34    powerpc/rdbg_cpu_asm.S
     35
     36# Generated sources
     37librdbg_a_SOURCES += powerpc/new_exception_processing/remdeb_xdr.c
     38librdbg_a_SOURCES += powerpc/new_exception_processing/remdeb_svc.c
     39librdbg_a_SOURCES += powerpc/new_exception_processing/remdeb.h
     40MAINTAINERCLEANFILES = powerpc/new_exception_processing/remdeb_xdr.c
     41MAINTAINERCLEANFILES += powerpc/new_exception_processing/remdeb_svc.c
     42MAINTAINERCLEANFILES += powerpc/new_exception_processing/remdeb.h
     43
     44include_rdbg_HEADERS = powerpc/new_exception_processing/remdeb.h
     45endif
     46endif
     47
     48# X source names
     49EXTRA_DIST += powerpc/new_exception_processing/remdeb_f.x
     50BUILT_SOURCES += powerpc/new_exception_processing/remdeb.h \
     51powerpc/new_exception_processing/remdeb_xdr.c \
     52powerpc/new_exception_processing/remdeb_svc.c
     53
     54if RPCTOOLS
     55powerpc/new_exception_processing/remdeb.h: $(X_FILES) \
     56    powerpc/new_exception_processing/remdeb_f.x
     57        @rm -f $@
     58        ( cd $(top_srcdir)/librdbg/src; \
     59        $(RPCGEN) -h -DFRONTEND=\"powerpc/new_exception_processing/remdeb_f.x\" \
     60          -o powerpc/new_exception_processing/remdeb.h remdeb.x )
     61
     62powerpc/new_exception_processing/remdeb_xdr.c: $(X_FILES) \
     63   powerpc/new_exception_processing/remdeb_f.x
     64        @rm -f $@
     65        ( cd $(top_srcdir)/librdbg/src; \
     66        $(RPCGEN) -c -DFRONTEND=\"powerpc/new_exception_processing/remdeb_f.x\" \
     67          -o powerpc/new_exception_processing/remdeb_xdr.c remdeb.x )
     68
     69powerpc/new_exception_processing/remdeb_svc.c: $(X_FILES) \
     70   powerpc/new_exception_processing/remdeb_f.x
     71        @rm -f $@ tmpSvc.c
     72        ( cd $(top_srcdir)/librdbg/src; \
     73        $(RPCGEN) -m -DFRONTEND=\"powerpc/new_exception_processing/remdeb_f.x\" \
     74          -o powerpc/new_exception_processing/tmpSvc.c remdeb.x; \
     75        $(AWK) -f ./awk.svc THEPROG="remdeb.h" powerpc/new_exception_processing/tmpSvc.c \
     76          > powerpc/new_exception_processing/remdeb_svc.c; \
     77        sed -e 's/fprintf.*,/printf(/'  powerpc/new_exception_processing/remdeb_svc.c > powerpc/new_exception_processing/remdeb_svc.tmp; \
     78        mv powerpc/new_exception_processing/remdeb_svc.tmp powerpc/new_exception_processing/remdeb_svc.c; \
     79        rm -f powerpc/new_exception_processing/tmpSvc.c )
     80endif
     81
     82if HAS_RDBG
     83if HAS_RDBG_i386
     84librdbg_a_SOURCES += i386/excep_f.c i386/rdbg_f.c i386/rdbg_cpu_asm.S
     85
     86# Generated sources
     87librdbg_a_SOURCES += i386/any/remdeb_xdr.c
     88librdbg_a_SOURCES += i386/any/remdeb_svc.c
     89librdbg_a_SOURCES += i386/any/remdeb.h
     90MAINTAINERCLEANFILES = i386/any/remdeb_xdr.c
     91MAINTAINERCLEANFILES += i386/any/remdeb_svc.c
     92MAINTAINERCLEANFILES += i386/any/remdeb.h
     93
     94include_rdbg_HEADERS = i386/any/remdeb.h
     95endif
     96endif
     97
     98# X source names
     99EXTRA_DIST += i386/any/remdeb_f.x
     100BUILT_SOURCES += i386/any/remdeb.h i386/any/remdeb_xdr.c i386/any/remdeb_svc.c
     101
     102if RPCTOOLS
     103i386/any/remdeb.h: $(X_FILES) i386/any/remdeb_f.x
     104        @rm -f $@
     105        ( cd $(top_srcdir)/librdbg/src; \
     106        $(RPCGEN) -h -DFRONTEND=\"i386/any/remdeb_f.x\" \
     107          -o i386/any/remdeb.h remdeb.x )
     108
     109i386/any/remdeb_xdr.c: $(X_FILES) i386/any/remdeb_f.x
     110        @rm -f $@
     111        ( cd $(top_srcdir)/librdbg/src; \
     112        $(RPCGEN) -c -DFRONTEND=\"i386/any/remdeb_f.x\" \
     113          -o i386/any/remdeb_xdr.c remdeb.x )
     114
     115i386/any/remdeb_svc.c: $(X_FILES) i386/any/remdeb_f.x
     116        @rm -f $@ tmpSvc.c
     117        ( cd $(top_srcdir)/librdbg/src; \
     118        $(RPCGEN) -m -DFRONTEND=\"i386/any/remdeb_f.x\" \
     119          -o i386/any/tmpSvc.c remdeb.x; \
     120        $(AWK) -f ./awk.svc THEPROG="remdeb.h" i386/any/tmpSvc.c \
     121          > i386/any/remdeb_svc.c; \
     122        sed -e 's/fprintf.*,/printf(/'  i386/any/remdeb_svc.c > i386/any/remdeb_svc.tmp; \
     123        mv i386/any/remdeb_svc.tmp i386/any/remdeb_svc.c; \
     124        rm -f i386/any/tmpSvc.c )
     125endif
     126
     127if HAS_RDBG
     128if HAS_RDBG_m68k
     129librdbg_a_SOURCES += m68k/excep_f.c m68k/rdbg_f.c m68k/rdbg_cpu_asm.S
     130
     131# Generated sources
     132librdbg_a_SOURCES += m68k/any/remdeb_xdr.c
     133librdbg_a_SOURCES += m68k/any/remdeb_svc.c
     134librdbg_a_SOURCES += m68k/any/remdeb.h
     135MAINTAINERCLEANFILES = m68k/any/remdeb_xdr.c
     136MAINTAINERCLEANFILES += m68k/any/remdeb_svc.c
     137MAINTAINERCLEANFILES += m68k/any/remdeb.h
     138
     139include_rdbg_HEADERS = m68k/any/remdeb.h
     140endif
     141endif
     142
     143# X source names
     144EXTRA_DIST += m68k/any/remdeb_f.x
     145BUILT_SOURCES += m68k/any/remdeb.h m68k/any/remdeb_xdr.c m68k/any/remdeb_svc.c
     146if RPCTOOLS
     147m68k/any/remdeb.h: $(X_FILES) m68k/any/remdeb_f.x
     148        @rm -f $@
     149        ( cd $(top_srcdir)/librdbg/src; \
     150        $(RPCGEN) -h -DFRONTEND=\"m68k/any/remdeb_f.x\" \
     151          -o m68k/any/remdeb.h remdeb.x )
     152m68k/any/remdeb_xdr.c: $(X_FILES) m68k/any/remdeb_f.x
     153        @rm -f $@
     154        ( cd $(top_srcdir)/librdbg/src; \
     155        $(RPCGEN) -c -DFRONTEND=\"m68k/any/remdeb_f.x\" \
     156          -o m68k/any/remdeb_xdr.c remdeb.x )
     157m68k/any/remdeb_svc.c: $(X_FILES) m68k/any/remdeb_f.x
     158        @rm -f $@ tmpSvc.c
     159        ( cd $(top_srcdir)/librdbg/src; \
     160        $(RPCGEN) -m -DFRONTEND=\"m68k/any/remdeb_f.x\" \
     161          -o m68k/any/tmpSvc.c remdeb.x; \
     162        $(AWK) -f ./awk.svc THEPROG="remdeb.h" m68k/any/tmpSvc.c \
     163          > m68k/any/remdeb_svc.c; \
     164        sed -e 's/fprintf.*,/printf(/'  m68k/any/remdeb_svc.c > m68k/any/remdeb_svc.tmp; \
     165        mv m68k/any/remdeb_svc.tmp m68k/any/remdeb_svc.c; \
     166        rm -f m68k/any/tmpSvc.c )
     167endif
     168
     169EXTRA_DIST += awk.svc
     170
     171all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
     172
     173PREINSTALL_DIRS =
     174PREINSTALL_FILES =
     175TMPINSTALL_FILES =
     176
     177$(PROJECT_LIB)/$(dirstamp):
     178        @$(mkdir_p) $(PROJECT_LIB)
     179        @: > $(PROJECT_LIB)/$(dirstamp)
     180TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
     181
     182if HAS_RDBG
     183$(PROJECT_INCLUDE)/rdbg/$(dirstamp):
     184        @$(mkdir_p) $(PROJECT_INCLUDE)/rdbg
     185        @: > $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
     186PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
     187
     188$(PROJECT_LIB)/librdbg$(LIB_VARIANT).a: librdbg$(LIB_VARIANT).a $(PROJECT_LIB)/$(dirstamp)
     189        $(INSTALL_DATA) $< $(PROJECT_LIB)/librdbg$(LIB_VARIANT).a
     190TMPINSTALL_FILES += $(PROJECT_LIB)/librdbg$(LIB_VARIANT).a
     191endif
     192
     193if HAS_RDBG
     194if HAS_RDBG_powerpc
     195$(PROJECT_INCLUDE)/rdbg/remdeb.h: powerpc/new_exception_processing/remdeb.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
     196        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rdbg/remdeb.h
     197PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/remdeb.h
     198endif
     199endif
     200
     201if HAS_RDBG
     202if HAS_RDBG_i386
     203$(PROJECT_INCLUDE)/rdbg/remdeb.h: i386/any/remdeb.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
     204        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rdbg/remdeb.h
     205PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/remdeb.h
     206endif
     207endif
     208
     209if HAS_RDBG
     210if HAS_RDBG_m68k
     211$(PROJECT_INCLUDE)/rdbg/remdeb.h: m68k/any/remdeb.h $(PROJECT_INCLUDE)/rdbg/$(dirstamp)
     212        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rdbg/remdeb.h
     213PREINSTALL_FILES += $(PROJECT_INCLUDE)/rdbg/remdeb.h
     214endif
     215endif
     216
     217CLEANFILES += $(PREINSTALL_FILES)
     218DISTCLEANFILES = $(PREINSTALL_DIRS)
     219CLEANFILES += $(TMPINSTALL_FILES)
     220
    14221include $(top_srcdir)/automake/local.am
Note: See TracChangeset for help on using the changeset viewer.