diff options
author | John Gilmore <gnu@cygnus> | 1992-09-19 11:09:01 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-09-19 11:09:01 +0000 |
commit | d40309c72a376a9c18434aa94c6c9a28adf3f424 (patch) | |
tree | 2e2e25cbcad63178eea863c0614bac17509aeff6 /gdb/Makefile.in | |
parent | a4afec9ade92246dd0eae1476abcc0f408c10f1d (diff) | |
download | gdb-d40309c72a376a9c18434aa94c6c9a28adf3f424.zip gdb-d40309c72a376a9c18434aa94c6c9a28adf3f424.tar.gz gdb-d40309c72a376a9c18434aa94c6c9a28adf3f424.tar.bz2 |
* Makefile.in, configure.in: add support for files used only when
configured native, that is, when host == target.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index ff2c0fa..d459af3 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -139,7 +139,7 @@ CFLAGS = -g # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. INTERNAL_CFLAGS = ${CFLAGS} ${GLOBAL_CFLAGS} ${PROFILE_CFLAGS} ${MMALLOC_CFLAGS} ${INCLUDE_CFLAGS} ${USER_CFLAGS} # None of the things in CFLAGS will do any harm, and on some systems -# (e.g. SunOS4) it is important to use the M_CFLAGS. +# (e.g. SunOS4) it is important to use the MH_CFLAGS. LDFLAGS = $(CFLAGS) # Where is the "-liberty" library, containing getopt and obstack? @@ -153,18 +153,17 @@ OPCODES = ./../opcodes${subdir}/libopcodes.a # 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. # Libraries and corresponding dependencies for compiling gdb. # {X,T}M_CLIBS, defined in *config files, have host- and target-dependent libs. # TERMCAP comes after readline, since readline depends on it. -CLIBS = ${BFD_LIB} ${RL_LIB} ${TERMCAP} ${OPCODES} ${MMALLOC_LIB} ${LIBIBERTY} \ - ${XM_CLIBS} ${TM_CLIBS} -CDEPS = ${XM_CDEPS} ${TM_CDEPS} ${BFD_LIB} ${OPCODES} ${MMALLOC_LIB} ${LIBIBERTY} \ - ${RL_LIB} ${MMALLOC_LIB} +CLIBS = ${BFD_LIB} ${RL_LIB} ${TERMCAP} ${OPCODES} ${MMALLOC_LIB} ${LIBIBERTY} \ + ${XM_CLIBS} ${TM_CLIBS} ${NAT_CLIBS} +CDEPS = ${XM_CDEPS} ${TM_CDEPS} ${NAT_CDEPS} \ + ${BFD_LIB} ${RL_LIB} ${TERMCAP} ${OPCODES} ${MMALLOC_LIB} ${LIBIBERTY} -ADD_FILES = ${REGEX} ${ALLOCA} ${XM_ADD_FILES} ${TM_ADD_FILES} -ADD_DEPS = ${REGEX1} ${ALLOCA1} ${XM_ADD_FILES} ${TM_ADD_FILES} +ADD_FILES = ${REGEX} ${ALLOCA} ${XM_ADD_FILES} ${TM_ADD_FILES} ${NAT_ADD_FILES} +ADD_DEPS = ${REGEX1} ${ALLOCA1} ${XM_ADD_FILES} ${TM_ADD_FILES} ${NAT_ADD_FILES} VERSION = 4.6.6 DIST=gdb @@ -276,7 +275,7 @@ TARDIRS = doc # tests # GDB "info" files, which should be included in their entirety INFOFILES = gdb.info* -DEPFILES= ${TDEPFILES} ${XDEPFILES} +DEPFILES= ${TDEPFILES} ${XDEPFILES} ${NATDEPFILES} SOURCES=$(SFILES) $(ALLDEPFILES) $(YYFILES) TAGFILES = $(SOURCES) ${HFILES} ${ALLPARAM} ${POSSLIBS} @@ -395,11 +394,12 @@ alldeps.mak: ${srcdir}/config for i in `ls -d ${srcdir}/config/*.m[ht]` ; do \ echo $$i >>allconfig.tmp; \ awk <$$i ' \ - $$1 == "TDEPFILES=" || $$1 == "XDEPFILES=" { \ + $$1 == "TDEPFILES=" || $$1 == "XDEPFILES=" \ + || $$1 == "NATDEPFILES" { \ for (i = 2; i <= NF; i++) \ print $$i >> "alldeps.tmp" ; \ } \ - $$1 == "TM_FILE=" || $$1 == "XM_FILE=" { \ + $$1 == "TM_FILE=" || $$1 == "XM_FILE=" || $$1 == "NAT_FILE" { \ print $$2 >> "allparam.tmp" }' ; \ done sort <alldeps.tmp | uniq | \ @@ -519,7 +519,8 @@ kdb: $(NTSSTART) $(OBS) $(NTSOBS) ${ADD_DEPS} ${CDEPS} # Put the proper machine-specific files first. # createtags will edit the .o in DEPFILES into .c TAGS: ${TAGFILES} - $(srcdir)/createtags $(TM_FILE) ${XM_FILE} $(DEPFILES) ${TAGFILES} + $(srcdir)/createtags $(TM_FILE) ${XM_FILE} ${NAT_FILE} \ + $(DEPFILES) ${TAGFILES} tags: TAGS # Making distributions of GDB and friends. |