diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-05-26 23:46:00 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-05-26 23:46:00 +0000 |
commit | 667fb5c3a7d3885fc2d5a0c255122fb7b33f59bd (patch) | |
tree | dc8cf468413cbd2c06c4dc6067d7979c7e7c6f5e /gdb/Makefile.in | |
parent | ada45a2a82ac8d312c15f8b5efae3ddee79ba818 (diff) | |
download | gdb-667fb5c3a7d3885fc2d5a0c255122fb7b33f59bd.zip gdb-667fb5c3a7d3885fc2d5a0c255122fb7b33f59bd.tar.gz gdb-667fb5c3a7d3885fc2d5a0c255122fb7b33f59bd.tar.bz2 |
* Makefile.in: Replace libgdb.a with libgdb-files. Make "all"
build it.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index b01a8e8..1842d52 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -449,7 +449,7 @@ COMMON_OBS = version.o blockframe.o breakpoint.o findvar.o stack.o thread.o \ OBS = $(COMMON_OBS) main.o utils.o annotate.o -LIBGDB_OBS = $(COMMON_OBS) libmain.o libutils.o +LIBGDB_OBS = libmain.o libutils.o TSOBS = inflow.o @@ -468,7 +468,7 @@ YYOBJ = c-exp.tab.o m2-exp.tab.o ch-exp.tab.o .c.o: $(CC) -c $(INTERNAL_CFLAGS) $< -all: gdb +all: gdb libgdb-files $(LIBGDB_OBS) @$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do installcheck: @@ -549,28 +549,19 @@ init.c: $(OBS) $(TSOBS) .PRECIOUS: init.c -# The gdb target has two dependencies that aren't really -# used when linking gdb. They are built for the sake of cyscm. - # Removing the old gdb first works better if it is running, at least on SunOS. -gdb: $(OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o libmain.o libutils.o +gdb: $(OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o rm -f gdb $(CC-LD) $(INTERNAL_LDFLAGS) -o gdb \ init.o $(OBS) $(TSOBS) $(ADD_FILES) $(CLIBS) $(LOADLIBES) -LIBGDBFILES=$(LIBGDB_OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o -LIBGDBPREFIX=. -libgdb-files: force_update +LIBGDBFILES=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o +libgdb-files: $(LIBGDBFILES) Makefile.in -rm -f libgdb-files for i in $(LIBGDBFILES); do\ - echo ${LIBGDBPREFIX}/$$i >> libgdb-files;\ + echo $$i >> libgdb-files;\ done -libgdb.a: $(LIBGDB_OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o - rm -f libgdb.a - $(AR) $(AR_FLAGS) libgdb.a $(LIBGDB_OBS) $(TSOBS) $(ADD_FILES) init.o - $(RANLIB) libgdb.a - libmain.o: main.c $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/main.c -DMAIN_OVERRIDE \ -o libmain.o |