source: rtems/c/src/librdbg/src/i386/any/Makefile.in @ 08b5f55

4.104.114.84.95
Last change on this file since 08b5f55 was 08b5f55, checked in by Joel Sherrill <joel.sherrill@…>, on 07/26/99 at 20:31:49

Patch from Ralf Corsepius <corsepiu@…>:

A bug in acpolish made it into rtems-rc-19990709-0.diff, which
unfortunately affects all Makefile.ins:

  • The maintainer mode conditional was erroniously applied to the dependencies of "Makefile".

In case you already checked in rtems-rc-19990709-0.diff to CVS you have
to check in all Makefile.ins again after applying the patch below :).

Please apply the patch below as follows:

patch -p1 < rtems-rc-19990709-1.diff
tools/update/rtems-polish.sh -ac

Note: There is no need to rerun your tests if you have used
--enable-maintainer-mode to configure RTEMS, because this patch converts
all Makefile.ins to the same settings as used for
--enable-maintainer-mode.

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