source: rtems/c/src/librdbg/src/i386/any/Makefile.am @ 9ba1f0a

4.104.114.84.95
Last change on this file since 9ba1f0a was 9ba1f0a, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 21, 1999 at 3:04:48 PM

Patch rtems-rc-19991203-9.diff from Ralf Corsepius <corsepiu@…>
which ontains all what was left over from the other patches (Primarily
minor configuration cleanups).

To apply:

patch -p1 < rtems-rc-19991203-9.diff
./bootstrap

  • Property mode set to 100644
File size: 2.0 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
50CLEANFILES += $(LIB) $(H_FILES) $(GEN_C_FILES)
51
52FRONTEND = \"$(RTEMS_CPU)/any/remdeb_f.x\"
53
54$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBVARIANT).a: $(LIB)
55        $(INSTALL_DATA) $< $@
56
57all: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
58
59$(LIB): ${OBJS}
60        $(make-library)
61
62remdeb.h: $(X_FILES)
63        @rm -f $@
64        ( pwd=`pwd`; cd $(srcdir)/../..; \
65        $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \
66          -o $$pwd/$@ remdeb.x )
67
68$(PROJECT_INCLUDE)/rdbg/remdeb.h: remdeb.h
69        $(INSTALL_DATA) $< $@
70
71remdeb_xdr.c: $(X_FILES)
72        @rm -f $@
73        ( pwd=`pwd`; cd $(srcdir)/../..; \
74        $(RPCGEN) -c -DFRONTEND=$(FRONTEND) \
75          -o $$pwd/$@ remdeb.x )
76
77remdeb_svc.c: $(X_FILES)
78        @rm -f $@ tmpSvc.c
79        ( pwd=`pwd`; cd $(srcdir)/../..; \
80        $(RPCGEN) -s udp -DFRONTEND=$(FRONTEND) \
81          -o $$pwd/tmpSvc.c remdeb.x )
82        $(AWK) -f $(srcdir)/../../awk.svc THEPROG="remdeb.h" tmpSvc.c >$@
83        @rm -f tmpSvc.c
84
85EXTRA_DIST = remdeb_f.x
86
87include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.