source: rtems/c/src/librdbg/src/i386/any/Makefile.am @ 369ef189

4.104.114.84.95
Last change on this file since 369ef189 was d16faa2, checked in by Joel Sherrill <joel.sherrill@…>, on 12/13/99 at 15:54:23

Patch rtems-rc-19991203-2.diff from Ralf Corsepius <corsepiu@…>
to correct the missing part of the mcp750 patch.

  • Property mode set to 100644
File size: 2.2 KB
Line 
1##
2##  $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7VPATH = @srcdir@:@srcdir@/..:@srcdir@/../..
8
9LIBNAME = librdbg
10LIB = ${ARCH}/${LIBNAME}.a
11
12# C and C++ source names, if any, go here -- minus the .c or .cc
13C_FILES = rdbg.c servcon.c servbkpt.c servrpc.c excep.c excep_f.c servtgt.c \
14    servtsp.c servutil.c _servtgt.c rdbg_f.c ptrace.c
15C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
16
17# Asm source names, if any, go here -- minus the .s
18S_FILES = rdbg_cpu_asm.S
19S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
20
21# Generated C source names, if any, go here -- minus the .c
22GEN_C_FILES = remdeb_xdr.c remdeb_svc.c
23GEN_C_O_FILES = $(GEN_C_PIECES:%.c=${ARCH}/%.o)
24
25# H source names, if any, go here -- minus the .h
26H_FILES = remdeb.h
27
28# X source names
29X_FILES = remdeb.x remdeb_f.x
30
31OBJS = $(GEN_C_O_FILES) $(C_O_FILES) $(S_O_FILES)
32
33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
34include $(top_srcdir)/../../../automake/lib.am
35
36PREINSTALL_FILES = \
37$(PROJECT_INCLUDE)/rdbg \
38$(PROJECT_INCLUDE)/rdbg/remdeb.h
39
40$(PROJECT_INCLUDE)/rdbg:
41        @$(mkinstalldirs) $@
42
43TMPINSTALL_FILES += \
44$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBVARIANT).a
45
46#
47# Add local stuff here using +=
48#
49
50#
51# Add your list of files to delete here.  The config files
52#  already know how to delete some stuff, so you may want
53#  to just run 'make clean' first to see what gets missed.
54#  'make clobber' already includes 'make clean'
55#
56
57CLEANFILES += $(LIB) $(H_FILES) $(GEN_C_FILES)
58
59FRONTEND = \"$(RTEMS_CPU)/any/remdeb_f.x\"
60
61$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBVARIANT).a: $(LIB)
62        $(INSTALL_DATA) $< $@
63
64all: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
65
66$(LIB): ${OBJS}
67        $(make-library)
68
69remdeb.h: $(X_FILES)
70        @rm -f $@
71        ( pwd=`pwd`; cd $(srcdir)/../..; \
72        $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \
73          -o $$pwd/$@ remdeb.x )
74
75$(PROJECT_INCLUDE)/rdbg/remdeb.h: remdeb.h
76        $(INSTALL_DATA) $< $@
77
78remdeb_xdr.c: $(X_FILES)
79        @rm -f $@
80        ( pwd=`pwd`; cd $(srcdir)/../..; \
81        $(RPCGEN) -c -DFRONTEND=$(FRONTEND) \
82          -o $$pwd/$@ remdeb.x )
83
84remdeb_svc.c: $(X_FILES)
85        @rm -f $@ tmpSvc.c
86        ( pwd=`pwd`; cd $(srcdir)/../..; \
87        $(RPCGEN) -s udp -DFRONTEND=$(FRONTEND) \
88          -o $$pwd/tmpSvc.c remdeb.x )
89        $(AWK) -f $(srcdir)/../../awk.svc THEPROG="remdeb.h" tmpSvc.c >$@
90        @rm -f tmpSvc.c
91
92EXTRA_DIST = remdeb_f.x
93
94include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.