aboutsummaryrefslogtreecommitdiff
path: root/gprof/Makefile.in
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1993-04-13 23:20:14 +0000
committerPer Bothner <per@bothner.com>1993-04-13 23:20:14 +0000
commit9d65137307d0efc6f2623614747ffc30b4ef26eb (patch)
treef6a37cc0b43e6ccec8a98060cfcd5eeb488daa68 /gprof/Makefile.in
parente2ff731bf7586317aea1dfbe588cc8d1ec182457 (diff)
downloadgdb-9d65137307d0efc6f2623614747ffc30b4ef26eb.zip
gdb-9d65137307d0efc6f2623614747ffc30b4ef26eb.tar.gz
gdb-9d65137307d0efc6f2623614747ffc30b4ef26eb.tar.bz2
* M Makefile.in: Add -g to CFLAGS.
Ads LDFLAGS and use in place of CFLAGS where appropriate. * configure.in: Make a sysdep.hlink in the same way other bfd-based directories do. * gprof.h (UNIT): Replace non-standard 'u_short' by 'unsigned short'. * gprof.h: #include sysdep.h instead of a bunch of stuff. * gprof.c (main): Fix typo gproff->gprof.
Diffstat (limited to 'gprof/Makefile.in')
-rw-r--r--gprof/Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/gprof/Makefile.in b/gprof/Makefile.in
index ed148e7..fa43826 100644
--- a/gprof/Makefile.in
+++ b/gprof/Makefile.in
@@ -40,9 +40,10 @@ OBJS= gprof.o arcs.o dfn.o lookup.o $(MACHINE).o hertz.o \
# Files that can be generated, but should be included in distribution.
DISTSTUFF = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
-CFLAGS=
+CFLAGS=-g
+LDFLAGS=
.c.o:
- $(CC) -c $(CFLAGS) -I$(srcdir) -I$(srcdir)/../include -DMACHINE_H=\"$(MACHINE).h\" $(TCFLAGS) $(HCFLAGS) $<
+ $(CC) -c $(CFLAGS) -I. -I$(srcdir) -I$(srcdir)/../include -I$(srcdir)/../bfd -DMACHINE_H=\"$(MACHINE).h\" $(TCFLAGS) $(HCFLAGS) $<
all: diststuff $(PROG)
@@ -90,7 +91,7 @@ install: all install-info
$(INSTALL_DATA) $(srcdir)/gprof.1 $(man1dir)/gprof.1
$(PROG): $(OBJS)
- $(CC) $(CFLAGS) $(OBJS) -o $(PROG) $(LIBS)
+ $(CC) -o $(PROG) $(LDFLAGS) $(OBJS) $(LIBS)
mostlyclean:
-rm -f *.o core gprof nohup.out gprof.info* \