source: rtems/c/src/librdbg/src/i386/pc386/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.6 KB
RevLine 
[82307a11]1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
[6693a68]8top_builddir = ../../..
9subdir = librdbg/i386/pc386
[82307a11]10
[6693a68]11RTEMS_ROOT = @RTEMS_ROOT@
[82307a11]12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@:@srcdir@/..:@srcdir@/../..
15
[6693a68]16LIBNAME = librdbg.a
17LIB = ${ARCH}/${LIBNAME}
[82307a11]18
19# C and C++ source names, if any, go here -- minus the .c or .cc
[981b99f]20C_PIECES = rdbg servcon servbkpt servrpc excep excep_f \
21        servtgt servtsp servutil _servtgt rdbg_f \
22        ptrace
23 
[6693a68]24C_FILES = $(C_PIECES:%=%.c)
25C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
[82307a11]26
27# Asm source names, if any, go here -- minus the .s
[6693a68]28S_PIECES = rdbg_cpu_asm
29S_FILES = $(S_PIECES:%=%.S)
30S_O_FILES = $(S_PIECES:%=${ARCH}/%.o)
[82307a11]31
32# Generated C source names, if any, go here -- minus the .c
[6693a68]33GEN_C_PIECES = remdeb_xdr remdeb_svc
34GEN_C_FILES = $(GEN_C_PIECES:%=%.c)
35GEN_C_O_FILES = $(GEN_C_PIECES:%=${ARCH}/%.o)
[82307a11]36
37# H source names, if any, go here -- minus the .h
[6693a68]38H_PIECES = remdeb
39H_FILES = $(H_PIECES:%=%.h)
[82307a11]40
41# X source names
[6693a68]42X_FILES = remdeb.x remdeb_f.x
[82307a11]43
[6693a68]44SRCS = $(C_FILES) $(S_FILES) $(GEN_C_FILES) $(H_FILES)
45OBJS = $(GEN_C_O_FILES) $(C_O_FILES) $(S_O_FILES)
[82307a11]46
[6693a68]47RPCGEN = @RPCGEN@
48AWK = @AWK@
[82307a11]49
[6693a68]50include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
[82307a11]51include $(RTEMS_ROOT)/make/lib.cfg
52
[6693a68]53INSTALL_CHANGE = @INSTALL_CHANGE@
54mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
55
56INSTALLDIRS = $(PROJECT_INCLUDE)/rdbg
57
58$(INSTALLDIRS):
59        @$(mkinstalldirs) $(INSTALLDIRS)
60
[82307a11]61#
62# Add local stuff here using +=
63#
64
[6693a68]65DEFINES +=
[82307a11]66CPPFLAGS +=
[6693a68]67CFLAGS +=
[82307a11]68
69#
70# Add your list of files to delete here.  The config files
71#  already know how to delete some stuff, so you may want
72#  to just run 'make clean' first to see what gets missed.
73#  'make clobber' already includes 'make clean'
74#
75
[6693a68]76CLEAN_ADDITIONS += $(LIB) $(H_FILES) $(GEN_C_FILES)
[82307a11]77CLOBBER_ADDITIONS +=
78
[6693a68]79FRONTEND = \"$(RTEMS_CPU)/@RTEMS_BSP@/remdeb_f.x\"
[82307a11]80
[6693a68]81all: ${ARCH} $(LIB)
[1896a650]82        @$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
[82307a11]83
84$(LIB): $(SRCS) ${OBJS}
85        $(make-library)
86
87remdeb.h: $(X_FILES)
88        @rm -f $@
[6693a68]89        ( pwd=`pwd`; cd $(srcdir)/../..; \
[82307a11]90        $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \
[6693a68]91          -o $$pwd/$@ remdeb.x )
[1896a650]92        @$(INSTALL_CHANGE) -m 755 $@ $(PROJECT_INCLUDE)/rdbg
[82307a11]93
94remdeb_xdr.c: $(X_FILES)
95        @rm -f $@
[6693a68]96        ( pwd=`pwd`; cd $(srcdir)/../..; \
[82307a11]97        $(RPCGEN) -c -DFRONTEND=$(FRONTEND) \
[6693a68]98          -o $$pwd/$@ remdeb.x )
[82307a11]99
100remdeb_svc.c: $(X_FILES)
101        @rm -f $@ tmpSvc.c
[6693a68]102        ( pwd=`pwd`; cd $(srcdir)/../..; \
[82307a11]103        $(RPCGEN) -s udp -DFRONTEND=$(FRONTEND) \
[6693a68]104          -o $$pwd/tmpSvc.c remdeb.x )
105        $(AWK) -f $(srcdir)/../../awk.svc THEPROG="remdeb.h" tmpSvc.c >$@
[82307a11]106        @rm -f tmpSvc.c
107
[08b5f55]108Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
[82307a11]109        cd $(top_builddir) \
110         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.