source: rtems/c/src/librdbg/src/powerpc/mcp750/Makefile.in @ 7c2243e3

4.104.114.84.95
Last change on this file since 7c2243e3 was 7c2243e3, checked in by Joel Sherrill <joel.sherrill@…>, on 08/30/99 at 14:28:39

Patch from Ralf Corsepius <corsepiu@…>:

The patch below actually consists of 3 patches:

  1. Addition of maintainer-mode dependencies on config.status and aclocal.m4 for autoconf toplevel Makefile.ins. These rules are taken over from automake generated Makefile.ins, i.e. they are contained in any automake generated toplevel Makefile.in. Having this patch in is at least a great releaf for me when working on RTEMS configuration :)
  1. Automated support for #1 in acpolish
  1. Some minor "beautifications" on Makefile.ins resulting from running acpolish.

FYI: This patch has been generated by running
tools/update/rtems-polish.sh -ac on the source tree and manually editing
the resulting patch afterwards to work around a problem with acpolish,
which still corrupts one Makefile.in - WARNING: Be careful with running
acpolish!

I expect this patch not to have any influence on normal users, unless
they use --enable-maintainer-mode, thus merging it should be rather
harmless.

  • 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 servtgt servtsp \
21    servutil _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 +=
65#
66# Enable traces in RDBG
67#
68#CFLAGS   += -DDDEBUG
69#
70CFLAGS +=
71
72#
73# Add your list of files to delete here.  The config files
74#  already know how to delete some stuff, so you may want
75#  to just run 'make clean' first to see what gets missed.
76#  'make clobber' already includes 'make clean'
77#
78
79CLEAN_ADDITIONS += $(LIB) $(H_FILES) $(GEN_C_FILES)
80CLOBBER_ADDITIONS +=
81
82FRONTEND = \"$(RTEMS_CPU)/@RTEMS_BSP@/remdeb_f.x\"
83
84all: ${ARCH} $(LIB)
85        @$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
86
87$(LIB): $(SRCS) ${OBJS}
88        $(make-library)
89
90remdeb.h: $(X_FILES)
91        @rm -f $@
92        ( pwd=`pwd`; cd $(srcdir)/../..; \
93        $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \
94          -o $$pwd/$@ remdeb.x )
95        @$(INSTALL_CHANGE) -m 755 $@ $(PROJECT_INCLUDE)/rdbg
96
97remdeb_xdr.c: $(X_FILES)
98        @rm -f $@
99        ( pwd=`pwd`; cd $(srcdir)/../..; \
100        $(RPCGEN) -c -DFRONTEND=$(FRONTEND) \
101          -o $$pwd/$@ remdeb.x )
102
103remdeb_svc.c: $(X_FILES)
104        @rm -f $@ tmpSvc.c
105        ( pwd=`pwd`; cd $(srcdir)/../..; \
106        $(RPCGEN) -s udp -DFRONTEND=$(FRONTEND) \
107          -o $$pwd/tmpSvc.c remdeb.x )
108        $(AWK) -f $(srcdir)/../../awk.svc THEPROG="remdeb.h" tmpSvc.c >$@
109        @rm -f tmpSvc.c
110
111Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
112        cd $(top_builddir) \
113         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.