source: rtems/c/src/lib/librdbg/powerpc/mcp750/Makefile.in @ 981b99f

4.104.114.84.95
Last change on this file since 981b99f was 981b99f, checked in by Joel Sherrill <joel.sherrill@…>, on 08/10/99 at 16:41:44

Patch from Eric Valette <valette@…> and Emmanuel Raguet
<raguet@…>:

  • the dec21140 driver code has been hardened (various bug fixed) Emmanuel,
  • bug in the mcp750 init code have been fixed (interrupt stack/initial stack initialization), BSS correctly cleared (Eric V)
  • remote debugging over TCP/IP is nearly complete (berakpoints, backtrace, variables,...) (Eric V),
  • exception handling code has also been improved in order to fully support RDBG requirements (Eric V),
  • Property mode set to 100644
File size: 2.7 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../..
9subdir = librdbg/powerpc/mcp750
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@:@srcdir@/..:@srcdir@/../..
15
16LIBNAME = librdbg.a
17LIB = ${ARCH}/${LIBNAME}
18
19# C and C++ source names, if any, go here -- minus the .c or .cc
20C_PIECES = rdbg servcon servbkpt servrpc excep excep_f \
21          servtgt servtsp servutil _servtgt rdbg_f \
22          ptrace
23C_FILES = $(C_PIECES:%=%.c)
24C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
25
26# Asm source names, if any, go here -- minus the .s
27S_PIECES = rdbg_cpu_asm
28S_FILES = $(ASM_PIECES:%=%.S)
29S_O_FILES = $(ASM_PIECES:%=${ARCH}/%.o)
30
31# Generated C source names, if any, go here -- minus the .c
32GEN_C_PIECES= remdeb_xdr remdeb_svc
33GEN_C_FILES = $(GEN_C_PIECES:%=%.c)
34GEN_C_O_FILES = $(GEN_C_PIECES:%=${ARCH}/%.o)
35
36# H source names, if any, go here -- minus the .h
37H_PIECES = remdeb
38H_FILES = $(H_PIECES:%=%.h)
39
40# X source names
41X_FILES = remdeb.x remdeb_f.x
42
43SRCS= $(C_FILES) $(S_FILES) $(GEN_C_FILES) $(H_FILES)
44OBJS = $(GEN_C_O_FILES) $(C_O_FILES) $(S_O_FILES)
45
46RPCGEN = @RPCGEN@
47AWK = @AWK@
48
49include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
50include $(RTEMS_ROOT)/make/lib.cfg
51
52INSTALL_CHANGE = @INSTALL_CHANGE@
53mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
54
55INSTALLDIRS = $(PROJECT_INCLUDE)/rdbg
56
57$(INSTALLDIRS):
58        @$(mkinstalldirs) $(INSTALLDIRS)
59
60#
61# Add local stuff here using +=
62#
63
64DEFINES +=
65CPPFLAGS +=
66#
67# Enable traces in RDBG
68#
69#CFLAGS   += -DDDEBUG
70#
71CFLAGS +=
72
73#
74# Add your list of files to delete here.  The config files
75#  already know how to delete some stuff, so you may want
76#  to just run 'make clean' first to see what gets missed.
77#  'make clobber' already includes 'make clean'
78#
79
80CLEAN_ADDITIONS += $(LIB) $(H_FILES) $(GEN_C_FILES)
81CLOBBER_ADDITIONS +=
82
83FRONTEND = \"$(RTEMS_CPU)/@RTEMS_BSP@/remdeb_f.x\"
84
85all: ${ARCH} $(LIB)
86        @$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
87
88$(LIB): $(SRCS) ${OBJS}
89        $(make-library)
90
91remdeb.h: $(X_FILES)
92        @rm -f $@
93        ( pwd=`pwd`; cd $(srcdir)/../..; \
94        $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \
95          -o $$pwd/$@ remdeb.x )
96        @$(INSTALL_CHANGE) -m 755 $@ $(PROJECT_INCLUDE)/rdbg
97
98remdeb_xdr.c: $(X_FILES)
99        @rm -f $@
100        ( pwd=`pwd`; cd $(srcdir)/../..; \
101        $(RPCGEN) -c -DFRONTEND=$(FRONTEND) \
102          -o $$pwd/$@ remdeb.x )
103
104remdeb_svc.c: $(X_FILES)
105        @rm -f $@ tmpSvc.c
106        ( pwd=`pwd`; cd $(srcdir)/../..; \
107        $(RPCGEN) -s udp -DFRONTEND=$(FRONTEND) \
108          -o $$pwd/tmpSvc.c remdeb.x )
109        $(AWK) -f $(srcdir)/../../awk.svc THEPROG="remdeb.h" tmpSvc.c >$@
110        @rm -f tmpSvc.c
111
112Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
113        cd $(top_builddir) \
114         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.