# {X,T}M_CFLAGS, if defined, has system-dependent CFLAGS.
# CFLAGS for GDB
MINUS_G=-g
-GLOBAL_CFLAGS = $(MINUS_G) ${TM_CFLAGS} ${XM_CFLAGS}
+GLOBAL_CFLAGS = ${MINUS_G} ${TM_CFLAGS} ${XM_CFLAGS}
#PROFILE_CFLAGS = -pg
CFLAGS = ${GLOBAL_CFLAGS} ${PROFILE_CFLAGS} ${MALLOC_CFLAGS} ${INCLUDE_CFLAGS}
# You may need to make other arrangements for USG.
TERMCAP = -ltermcap
-# The xconfig file must define REGEX and REGEX1 on USG machines.
+# The config/mh-* file must define REGEX and REGEX1 on USG machines.
# If your sysyem is missing alloca(), or, more likely, it's there but
# it doesn't work, define ALLOCA & ALLOCA1 too.
# If your system is missing putenv(), add putenv.c to XM_ADD_FILES.
LINTFLAGS= -I${BFD_DIR}
# Source files in the main directory.
-# Files which are included via a tconfig/* or xconfig/* file
+# Files which are included via a config/* Makefile fragment
# should *not* be specified here; they're in "ALLDEPFILES".
SFILES_MAINDIR = \
blockframe.c breakpoint.c command.c core.c \
# Source files in subdirectories (which will be handled separately by
# 'make gdb.tar.Z').
-# Files which are included via a tconfig/* or xconfig/* file
+# Files which are included via a config/* Makefile fragment
# should *not* be specified here; they're in "ALLDEPFILES".
SFILES_SUBDIR = \
${srcdir}/vx-share/dbgRpcLib.h \
SFILES_STAND = $(SFILES) standalone.c
SFILES_KGDB = $(SFILES) stuff.c kdb-start.c
-# Header files that are not named in tconfig/* or xconfig/* go here.
+# Header files that are not named in config/* Makefile fragments go here.
HFILES= breakpoint.h command.h defs.h environ.h \
expression.h frame.h gdbcmd.h gdbcore.h getpagesize.h \
ieee-float.h inferior.h minimon.h param-no-tm.h param.h \
# generated dependencies, etc. alldeps.mak is a file that contains
# "make" variable definitions for all ALLDEPFILES, ALLDEPFILES_MAINDIR,
# ALLDEPFILES_SUBDIR, ALLPARAM, and ALLCONFIG, all cadged from the current
-# contents of the xconfig and tconfig subdirectories.
+# contents of the config subdirectory.
-alldeps.mak: ${srcdir}/tconfig ${srcdir}/xconfig
+alldeps.mak: ${srcdir}/config
rm -f alldeps.mak alldeps.tmp allparam.tmp allconfig.tmp
- for i in `ls -d ${srcdir}/tconfig/*[0-9A-Za-z] \
- ${srcdir}/xconfig/*[0-9A-Za-z] | \
- grep -v RCS | grep -v CVS.adm | grep -v SCCS` ; do \
+ for i in `ls -d ${srcdir}/config/m[ht]-*` ; do \
echo $$i >>allconfig.tmp; \
awk <$$i ' \
$$1 == "TDEPFILES=" || $$1 == "XDEPFILES=" { \
(mkdir $$i; cd $$i; \
ln -s ../../$$i/* .; \
rm -rf SCCS CVS.adm RCS); done
- mkdir proto-gdb.dir/xconfig proto-gdb.dir/tconfig
- cd proto-gdb.dir/tconfig ; \
+ mkdir proto-gdb.dir/config
+ cd proto-gdb.dir/config ; \
for i in $(ALLCONFIG) ; do ln -s ../../$$i ../$$i ; done
mkdir proto-gdb.dir/vx-share proto-gdb.dir/nindy-share
- cd proto-gdb.dir/tconfig ; \
+ cd proto-gdb.dir/config ; \
for i in $(SFILES_SUBDIR) $(NONSRC_SUBDIR) $(ALLDEPFILES_SUBDIR); \
do ln -s ../../$$i ../$$i ; done
chmod og=u `find . -print`