mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
a215e6f930
These are Makefiles that do not participate in progressive yet have still been brought current. * added exec_prefix * default bindir now exec_prefix/bin * default libdir now exec_prefix/lib * default mandir now prefix/man * default infodir now prefix/info * added oldincludedir, default NULL * remove all traces of the old -subdirs and -namesubdir support, including code, for loops, and all subdir/unsubdir stuff. * remove old style staging targets {de-}stage[1234], comparison, bootstrapN, from all but the bootstrappable tools. * added check targets. * removed any "Last Mod" lines. * forced copyrights to '92 and shifted some from Cygnus to FSF. * added tooldir and program_prefix where needed. * updated texinfo and man pages, removed all references to multiple hosts or targets.
31 lines
713 B
Makefile
31 lines
713 B
Makefile
# @(#)Makefile 5.17 (Berkeley) 5/11/90
|
|
|
|
#### host and target dependent Makefile fragments come in here.
|
|
###
|
|
|
|
PROG= gprof
|
|
SRCS= gprof.c arcs.c dfn.c lookup.c ${MACHINE}.c hertz.c \
|
|
printgprof.c printlist.c
|
|
LIBS = ../bfd/libbfd.a ../libiberty/libiberty.a
|
|
|
|
OBJS= gprof.o arcs.o dfn.o lookup.o ${MACHINE}.o hertz.o \
|
|
printgprof.o printlist.o
|
|
|
|
CFLAGS= -I. -I../include -DMACHINE_H=\"${MACHINE}.h\" ${TCFLAGS} ${HCFLAGS}
|
|
|
|
all: ${PROG}
|
|
|
|
.PHONY: check
|
|
check:
|
|
|
|
beforeinstall:
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
|
${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg \
|
|
${DESTDIR}/usr/share/misc
|
|
|
|
$(PROG): $(OBJS)
|
|
$(CC) $(CFLAGS) $(OBJS) -o $(PROG) $(LIBS)
|
|
|
|
clean:
|
|
-rm -f $(OBJS) core gprof nohup.out
|