diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-02-07 19:08:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-02-07 19:08:04 +0000 |
commit | ba8e3a2e3f730181c07e38145fcd8f6145b81efb (patch) | |
tree | cc7ea90c59a876f13d71f4cc73d383fd15a49196 /gprof/Makefile.in | |
parent | 2e5983457a7e68ef9089acf42d80be836ba15c01 (diff) | |
download | gdb-ba8e3a2e3f730181c07e38145fcd8f6145b81efb.zip gdb-ba8e3a2e3f730181c07e38145fcd8f6145b81efb.tar.gz gdb-ba8e3a2e3f730181c07e38145fcd8f6145b81efb.tar.bz2 |
* configure.in: Don't set CC. Look for --enable-shared. Set
BFDLIB and HLDFLAGS and substitute them.
* configure: Rebuild.
* Makefile.in (LIBS): Use @BFDLIB@.
(HLDFLAGS): New variable.
(gprof): Use $(HLDFLAGS).
Diffstat (limited to 'gprof/Makefile.in')
-rw-r--r-- | gprof/Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gprof/Makefile.in b/gprof/Makefile.in index fb7234f..1f5e0f0 100644 --- a/gprof/Makefile.in +++ b/gprof/Makefile.in @@ -41,7 +41,7 @@ SRCS= $(MY_TARGET).c basic_blocks.c call_graph.c \ sym_ids.c utils.c LIBDEPS = ../bfd/libbfd.a ../libiberty/libiberty.a -LIBS = -L../bfd -lbfd ../libiberty/libiberty.a +LIBS = @BFDLIB@ ../libiberty/libiberty.a OBJS= $(MY_TARGET).o basic_blocks.o bsd_callg_bl.o call_graph.o \ cg_arcs.o cg_dfn.o cg_print.o core.o flat_bl.o fsf_callg_bl.o \ @@ -53,6 +53,7 @@ GEN_FILES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c CFLAGS=-g -DDEBUG LDFLAGS= +HLDFLAGS = @HLDFLAGS@ .c.o: $(CC) -c $(CFLAGS) -I. -I$(srcdir) -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd -DMACHINE_H=\"$(MY_TARGET).h\" $(TCFLAGS) $(HCFLAGS) $< @@ -102,7 +103,7 @@ install: all $(INSTALL_XFORM1) $(srcdir)/gprof.1 $(man1dir)/gprof.1 gprof: $(OBJS) $(LIBDEPS) - $(CC) -o $(PROG) $(LDFLAGS) $(OBJS) $(LIBS) + $(CC) -o $(PROG) $(HLDFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) mostlyclean: -rm -f *.o core gprof nohup.out \ |